Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
bd219114
Commit
bd219114
authored
Apr 12, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
08cb82fb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
151 additions
and
5 deletions
+151
-5
assessmentConfig.vue
src/pages/teacher/assessmentConfig.vue
+47
-0
assessmentRule.vue
src/pages/teacher/assessmentRule.vue
+101
-0
assessmentType.vue
src/pages/teacher/assessmentType.vue
+1
-3
routes.js
src/router/routes.js
+2
-2
No files found.
src/pages/teacher/assessmentConfig.vue
0 → 100644
View file @
bd219114
<
style
scoped
>
</
style
>
<
template
>
<div
class=
"page-body"
>
<q-tabs
v-model=
"tabCheck"
narrow-indicator
dense
align=
"left"
class=
"text-primary q-mb-sm"
>
<q-tab
:ripple=
"false"
:name=
"1"
label=
"考评项配置"
/>
<q-tab
:ripple=
"false"
:name=
"2"
label=
"考评审核配置"
/>
</q-tabs>
<template
v-if=
"tabCheck==1"
>
<assessmentType></assessmentType>
</
template
>
<
template
v-if=
"tabCheck==2"
>
<assessmentRule></assessmentRule>
</
template
>
</div>
</template>
<
script
>
import
assessmentType
from
'./assessmentType'
;
import
assessmentRule
from
'./assessmentRule'
;
export
default
{
meta
:
{
title
:
"教师考评配置"
},
components
:
{
assessmentType
,
assessmentRule
},
data
()
{
return
{
tabCheck
:
1
,
}
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
\ No newline at end of file
src/pages/teacher/assessmentRule.vue
0 → 100644
View file @
bd219114
<
style
>
</
style
>
<
template
>
<div>
<q-card
flat
class=
"q-pa-lg q-my-lg"
v-loading=
"loading"
>
<div
class=
"text-h6 text-weight-bold"
style=
"margin-bottom:20px;"
>
分配给以下成员
</div>
<q-select
class=
"col-6 q-pb"
v-model=
"saveObj.teachingDirector"
style=
"width:300px;"
clearable
filled
stack-label
use-input
option-value=
"Id"
option-label=
"EmployeeName"
ref=
"ManagerId"
:options=
"EmployeeList"
label=
"教学主管"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
<template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
未找到相关数据
</q-item-section>
</q-item>
</
template
>
</q-select>
<q-select
class=
"col-6 q-pb"
v-model=
"saveObj.jiaoWuDirector"
style=
"width:300px;margin-top:20px;"
clearable
filled
stack-label
use-input
option-value=
"Id"
option-label=
"EmployeeName"
ref=
"ManagerId"
:options=
"EmployeeList"
label=
"教务主管"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
<
template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
未找到相关数据
</q-item-section>
</q-item>
</
template
>
</q-select>
<q-btn
class=
"q-mt-xl q-px-lg"
unelevated
color=
"primary"
:loading=
"saving"
@
click=
"saveHandler"
>
立即保存
</q-btn>
</q-card>
</div>
</template>
<
script
>
import
{
getDictValue
}
from
"../../api/administration/administration"
;
import
{
saveDict
}
from
"../../api/system/notiveSysSet"
;
import
{
queryEmployee
}
from
"../../api/users/user"
;
//获取员工
export
default
{
data
()
{
return
{
saveObj
:
{
teachingDirector
:
""
,
//教学主管
jiaoWuDirector
:
""
,
//教务主管
},
saving
:
false
,
loading
:
false
,
EmployeeList
:
[],
// 员工
AllemployeeList
:
[],
};
},
created
()
{
this
.
getEmployee
();
},
mounted
()
{
this
.
init
();
},
methods
:
{
//获取业务员
getEmployee
()
{
var
qMsg
=
{
EmployeeName
:
''
,
IsLeave
:
1
,
}
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
EmployeeList
=
res
.
Data
;
this
.
AllemployeeList
=
res
.
Data
;
}
})
},
//筛选员工
filterFn
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
''
)
{
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllemployeeList
))
}
else
{
const
needle
=
val
.
toLowerCase
();
this
.
EmployeeList
=
this
.
AllemployeeList
.
filter
(
v
=>
v
.
EmployeeName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
}
})
},
//获取数据
init
()
{
},
saveHandler
()
{
}
}
};
</
script
>
<
style
></
style
>
\ No newline at end of file
src/pages/teacher/assessmentType.vue
View file @
bd219114
...
@@ -3,14 +3,12 @@
...
@@ -3,14 +3,12 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body"
>
<div
class=
"page-body"
>
<div
class=
"page-search row items-center"
>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
separator=
"Cell"
:data=
"dataList"
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
separator=
"Cell"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top
>
<template
v-slot:top
>
<div
class=
"col-2 q-table__title"
>
类型配置
</div>
<div
class=
"col-2 q-table__title"
>
考评项配置列表
</div>
<q-space
/>
<q-space
/>
<div
class=
"page-option"
>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"新增"
@
click=
"AddMsg(null)"
/>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"新增"
@
click=
"AddMsg(null)"
/>
...
...
src/router/routes.js
View file @
bd219114
...
@@ -1437,9 +1437,9 @@ const routes = [{
...
@@ -1437,9 +1437,9 @@ const routes = [{
import
(
"pages/teacher/yearStatic"
)
import
(
"pages/teacher/yearStatic"
)
},
},
{
{
path
:
"/teacher/assessment
Type
"
,
//教师季度考评配置
path
:
"/teacher/assessment
Config
"
,
//教师季度考评配置
component
:
()
=>
component
:
()
=>
import
(
"pages/teacher/assessment
Type
"
)
import
(
"pages/teacher/assessment
Config
"
)
},
},
{
{
path
:
"/teacher/appraisalList"
,
//考评列表
path
:
"/teacher/appraisalList"
,
//考评列表
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment