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
88bf28b9
Commit
88bf28b9
authored
Apr 25, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d90b176f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
27 deletions
+24
-27
appraisalList.vue
src/pages/teacher/appraisalList.vue
+17
-19
jobEvaluation.vue
src/pages/teacher/jobEvaluation.vue
+3
-4
teacherMonth.vue
src/pages/teacher/teacherMonth.vue
+4
-4
No files found.
src/pages/teacher/appraisalList.vue
View file @
88bf28b9
...
...
@@ -159,29 +159,27 @@
}
}),
created
()
{
this
.
findData
();
this
.
findData
();
let
today
=
new
Date
();
// if (this.$route.query) {
// if (this.$route.query.TeacherAccountId) {
// this.msg.TeacherAccountId = parseInt(this.$route.query.TeacherAccountId)
// }
// if (this.$route.query.YearStr && this.$route.query.MonthStr) {
// this.msg.YearStr = this.$route.query.YearStr;
// this.msg.MonthStr = this.$route.query.MonthStr
// this.queryDate = this.msg.YearStr + '-' + this.msg.MonthStr
// }
// } else {
// }
this
.
msg
.
YearStr
=
today
.
getFullYear
().
toString
();
this
.
msg
.
MonthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
queryDate
=
this
.
msg
.
YearStr
+
'-'
+
this
.
msg
.
MonthStr
;
this
.
msg
.
MonthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
queryDate
=
this
.
msg
.
YearStr
+
'-'
+
this
.
msg
.
MonthStr
;
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
.
TeacherAccountId
)
{
this
.
msg
.
TeacherAccountId
=
Number
(
this
.
$route
.
query
.
TeacherAccountId
)
}
if
(
this
.
$route
.
query
.
YearStr
&&
this
.
$route
.
query
.
MonthStr
)
{
this
.
msg
.
YearStr
=
this
.
$route
.
query
.
YearStr
;
this
.
msg
.
MonthStr
=
this
.
$route
.
query
.
MonthStr
this
.
queryDate
=
this
.
msg
.
YearStr
+
'-'
+
this
.
msg
.
MonthStr
}
}
},
mounted
()
{
if
(
!
this
.
isHaveEdit
)
{
let
userinfo
=
this
.
getLocalStorage
();
this
.
msg
.
TeacherAccountId
=
userinfo
.
Id
;
}
//
if (!this.isHaveEdit) {
//
let userinfo = this.getLocalStorage();
//
this.msg.TeacherAccountId = userinfo.Id;
//
}
this
.
getTeacherAssessmentPage
()
},
methods
:
{
...
...
src/pages/teacher/jobEvaluation.vue
View file @
88bf28b9
...
...
@@ -121,6 +121,9 @@
},
mounted
()
{
let
today
=
new
Date
();
var
yearStr
=
today
.
getFullYear
().
toString
();
var
monthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
teacherDate
=
yearStr
+
'-'
+
monthStr
;
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
.
Id
)
{
this
.
saveObj
.
Id
=
this
.
$route
.
query
.
Id
;
...
...
@@ -132,10 +135,6 @@
this
.
teacherDate
=
this
.
$route
.
query
.
YearStr
+
'-'
+
this
.
$route
.
query
.
MonthStr
;
}
this
.
getInfo
();
}
else
{
var
yearStr
=
today
.
getFullYear
().
toString
();
var
monthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
teacherDate
=
yearStr
+
'-'
+
monthStr
;
}
},
methods
:
{
...
...
src/pages/teacher/teacherMonth.vue
View file @
88bf28b9
...
...
@@ -202,9 +202,9 @@
</
template
>
<
template
v-slot:body-cell-AssessmentScore=
"props"
>
<q-td
:props=
"props"
>
<
!--
<
span
style=
"color:blue;cursor:pointer;"
title=
"点击查看考核信息"
@
click=
"GoToDetails(props.row,2)"
>
</span>
-->
{{
props
.
row
.
AssessmentScore
}}
<span
style=
"color:blue;cursor:pointer;"
title=
"点击查看考核信息"
@
click=
"GoToDetails(props.row,2)"
>
{{
props
.
row
.
AssessmentScore
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-SpeakClassScore=
"props"
>
...
...
@@ -589,7 +589,7 @@
YearStr
:
this
.
msg
.
YearStr
,
MonthStr
:
this
.
msg
.
MonthStr
,
};
this
.
OpenNewUrl
(
'/teacher/
jobEvaluation
'
,
qObj
)
this
.
OpenNewUrl
(
'/teacher/
appraisalList
'
,
qObj
)
}
},
//初始化部门数据
...
...
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