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
898dbbe3
Commit
898dbbe3
authored
Apr 20, 2022
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
into master
parents
1ce8ef7c
f03952be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
15 deletions
+31
-15
appraisalList.vue
src/pages/teacher/appraisalList.vue
+29
-13
teacherAssessment.vue
src/pages/teacher/teacherAssessment.vue
+2
-2
No files found.
src/pages/teacher/appraisalList.vue
View file @
898dbbe3
...
@@ -17,6 +17,10 @@
...
@@ -17,6 +17,10 @@
</
template
>
</
template
>
</q-field>
</q-field>
</div>
</div>
<div
class=
"col-2"
>
<q-select
filled
v-model=
"msg.TeacherAccountId"
dense
use-input
label=
"教师"
:options=
"MyTeacherListData"
option-label=
"EmployeeName"
@
input=
"refreshPage"
clearable
option-value=
"Id"
emit-value
map-options
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
...
@@ -29,7 +33,7 @@
...
@@ -29,7 +33,7 @@
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"考核"
@
click=
"goAssessTable()"
/>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"考核"
@
click=
"goAssessTable()"
/>
</div>
</div>
</
template
>
</
template
>
<
template
v-slot:body-cell-AuditStatus=
"props"
>
<
!-- <
template v-slot:body-cell-AuditStatus="props">
<q-td :props="props">
<q-td :props="props">
<template v-if="props.row.AuditStatus==0">
<template v-if="props.row.AuditStatus==0">
待提交
待提交
...
@@ -38,15 +42,15 @@
...
@@ -38,15 +42,15 @@
{{props.row.AuditStatusName}}
{{props.row.AuditStatusName}}
</template>
</template>
</q-td>
</q-td>
</template>
</template>
-->
<
template
v-slot:body-cell-OptionId=
"props"
>
<
template
v-slot:body-cell-OptionId=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"submitApproval(props.row)"
<
!--
<
q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"submitApproval(props.row)"
label=
"提交审批"
v-if=
"props.row.AuditStatus==0&&props.row.TeacherSignDate"
/>
label=
"提交审批"
v-if=
"props.row.AuditStatus==0&&props.row.TeacherSignDate"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"showForm(props.row,1)"
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"showForm(props.row,1)"
label=
"评价"
/>
label=
"评价"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"showForm(props.row,2)"
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"showForm(props.row,2)"
label=
"建议"
/>
label=
"建议"
/>
-->
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"gotoDetail(props.row)"
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
@
click=
"gotoDetail(props.row)"
label=
"详情"
/>
label=
"详情"
/>
</q-td>
</q-td>
...
@@ -67,6 +71,9 @@
...
@@ -67,6 +71,9 @@
queryTeacherAssessmentPage
,
queryTeacherAssessmentPage
,
SubmitTeacherAssessmentApproval
SubmitTeacherAssessmentApproval
}
from
'../../api/teacher/index'
;
}
from
'../../api/teacher/index'
;
import
{
queryEmployee
,
}
from
"../../api/users/user"
;
import
behaviorForm
from
"../../components/teacher/behavior-form.vue"
;
import
behaviorForm
from
"../../components/teacher/behavior-form.vue"
;
import
helpForm
from
"../../components/teacher/help-form.vue"
;
import
helpForm
from
"../../components/teacher/help-form.vue"
;
export
default
{
export
default
{
...
@@ -125,12 +132,12 @@
...
@@ -125,12 +132,12 @@
field
:
"TotalScore"
,
field
:
"TotalScore"
,
align
:
"left"
align
:
"left"
},
},
{
//
{
name
:
"AuditStatus"
,
//
name: "AuditStatus",
label
:
"审核状态"
,
//
label: "审核状态",
field
:
"AuditStatus"
,
//
field: "AuditStatus",
align
:
"left"
//
align: "left"
},
//
},
{
{
name
:
'OptionId'
,
name
:
'OptionId'
,
label
:
'操作'
,
label
:
'操作'
,
...
@@ -142,6 +149,7 @@
...
@@ -142,6 +149,7 @@
isShowBehavior
:
false
,
//是否显示对员工评价弹窗
isShowBehavior
:
false
,
//是否显示对员工评价弹窗
isShowHelp
:
false
,
//是否显示员工对公司建议弹窗
isShowHelp
:
false
,
//是否显示员工对公司建议弹窗
objOption
:
null
,
objOption
:
null
,
MyTeacherListData
:
[],
//教师列表
}
}
},
},
created
()
{
created
()
{
...
@@ -149,14 +157,22 @@
...
@@ -149,14 +157,22 @@
this
.
msg
.
YearStr
=
today
.
getFullYear
().
toString
();
this
.
msg
.
YearStr
=
today
.
getFullYear
().
toString
();
this
.
msg
.
MonthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
msg
.
MonthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
queryDate
=
this
.
msg
.
YearStr
+
'-'
+
this
.
msg
.
MonthStr
;
this
.
queryDate
=
this
.
msg
.
YearStr
+
'-'
+
this
.
msg
.
MonthStr
;
if
(
this
.
$route
.
query
)
{
this
.
findData
();
}
},
},
mounted
()
{
mounted
()
{
this
.
getTeacherAssessmentPage
()
this
.
getTeacherAssessmentPage
()
},
},
methods
:
{
methods
:
{
findData
()
{
queryEmployee
({
AccountTypeStr
:
"2"
,
IsLeave
:
1
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
MyTeacherListData
=
res
.
Data
;
}
})
},
//翻页
//翻页
changePage
(
val
)
{
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
...
...
src/pages/teacher/teacherAssessment.vue
View file @
898dbbe3
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
{{
saveObj
.
S_JiaoWu_Time
}}
{{
saveObj
.
S_JiaoWu_Time
}}
</td>
</td>
</tr>
</tr>
<tr>
<
!--
<
tr>
<td
colspan=
"9"
style=
"text-align:left;padding-left:5px;"
>
<td
colspan=
"9"
style=
"text-align:left;padding-left:5px;"
>
注:以下由部门考核者填写
注:以下由部门考核者填写
</td>
</td>
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
<td
colspan=
"9"
style=
"text-align:left;padding-left:5px;"
>
<td
colspan=
"9"
style=
"text-align:left;padding-left:5px;"
>
签字/日期:
{{
saveObj
.
TeacherSignDate
}}
签字/日期:
{{
saveObj
.
TeacherSignDate
}}
</td>
</td>
</tr>
</tr>
-->
</tfoot>
</tfoot>
</table>
</table>
</div>
</div>
...
...
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