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
cac8dfc1
Commit
cac8dfc1
authored
Apr 22, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e1fa51d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
18 deletions
+53
-18
appraisalList.vue
src/pages/teacher/appraisalList.vue
+15
-3
jobEvaluation.vue
src/pages/teacher/jobEvaluation.vue
+10
-5
teacherMonth.vue
src/pages/teacher/teacherMonth.vue
+28
-10
No files found.
src/pages/teacher/appraisalList.vue
View file @
cac8dfc1
...
@@ -159,11 +159,23 @@
...
@@ -159,11 +159,23 @@
}
}
}),
}),
created
()
{
created
()
{
this
.
findData
();
let
today
=
new
Date
();
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
.
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
;
this
.
findData
();
},
},
mounted
()
{
mounted
()
{
if
(
!
this
.
isHaveEdit
)
{
if
(
!
this
.
isHaveEdit
)
{
...
...
src/pages/teacher/jobEvaluation.vue
View file @
cac8dfc1
...
@@ -116,13 +116,11 @@
...
@@ -116,13 +116,11 @@
}
}
},
},
created
()
{
created
()
{
let
today
=
new
Date
();
var
yearStr
=
today
.
getFullYear
().
toString
();
var
monthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
teacherDate
=
yearStr
+
'-'
+
monthStr
;
this
.
GetTeacherList
();
this
.
GetTeacherList
();
},
},
mounted
()
{
mounted
()
{
let
today
=
new
Date
();
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
.
Id
)
{
if
(
this
.
$route
.
query
.
Id
)
{
this
.
saveObj
.
Id
=
this
.
$route
.
query
.
Id
;
this
.
saveObj
.
Id
=
this
.
$route
.
query
.
Id
;
...
@@ -130,7 +128,14 @@
...
@@ -130,7 +128,14 @@
if
(
this
.
$route
.
query
.
TeacherAccountId
)
{
if
(
this
.
$route
.
query
.
TeacherAccountId
)
{
this
.
saveObj
.
TeacherAccountId
=
this
.
$route
.
query
.
TeacherAccountId
this
.
saveObj
.
TeacherAccountId
=
this
.
$route
.
query
.
TeacherAccountId
}
}
if
(
this
.
$route
.
query
.
YearStr
&&
this
.
$route
.
query
.
MonthStr
)
{
this
.
teacherDate
=
this
.
$route
.
query
.
YearStr
+
'-'
+
this
.
$route
.
query
.
MonthStr
;
}
this
.
getInfo
();
this
.
getInfo
();
}
else
{
var
yearStr
=
today
.
getFullYear
().
toString
();
var
monthStr
=
(
today
.
getMonth
()
+
1
).
toString
();
this
.
teacherDate
=
yearStr
+
'-'
+
monthStr
;
}
}
},
},
methods
:
{
methods
:
{
...
@@ -221,7 +226,7 @@
...
@@ -221,7 +226,7 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/teacher/appraisalList"
,
path
:
"/teacher/appraisalList"
,
query
:
{
query
:
{
}
}
});
});
}
}
...
...
src/pages/teacher/teacherMonth.vue
View file @
cac8dfc1
...
@@ -195,11 +195,18 @@
...
@@ -195,11 +195,18 @@
</
template
>
</
template
>
<
template
v-slot:body-cell-FinishTimesPlanCount=
"props"
>
<
template
v-slot:body-cell-FinishTimesPlanCount=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"color:blue;cursor:pointer;"
title=
"点击查看跟进详细信息"
@
click=
"GoToDetails(props.row)"
>
<span
style=
"color:blue;cursor:pointer;"
title=
"点击查看跟进详细信息"
@
click=
"GoToDetails(props.row
,1
)"
>
{{
props
.
row
.
FinishTimes
}}
/
{{
props
.
row
.
FinishTimes
}}
/
{{
props
.
row
.
FollowCount
}}
</span>
{{
props
.
row
.
FollowCount
}}
</span>
</q-td>
</q-td>
</
template
>
</
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
}}
</q-td>
</
template
>
<
template
v-slot:bottom-row
>
<
template
v-slot:bottom-row
>
<q-tr
v-if=
"lastRow"
>
<q-tr
v-if=
"lastRow"
>
<q-td>
<q-td>
...
@@ -533,15 +540,26 @@
...
@@ -533,15 +540,26 @@
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
//跳转到跟进详情
GoToDetails
(
item
,
type
)
{
GoToDetails
(
item
)
{
//跳转到跟进详情
var
lastDay
=
new
Date
(
this
.
msg
.
YearStr
,
this
.
msg
.
MonthStr
,
0
).
getDate
()
if
(
type
==
1
)
{
var
qObj
=
{
var
lastDay
=
new
Date
(
this
.
msg
.
YearStr
,
this
.
msg
.
MonthStr
,
0
).
getDate
();
HeadTeacherId
:
item
.
AccountId
,
var
qObj
=
{
StartTime
:
this
.
msg
.
YearStr
+
"-"
+
this
.
msg
.
MonthStr
+
"-01"
,
HeadTeacherId
:
item
.
AccountId
,
EndTime
:
this
.
msg
.
YearStr
+
"-"
+
this
.
msg
.
MonthStr
+
"-"
+
lastDay
,
StartTime
:
this
.
msg
.
YearStr
+
"-"
+
this
.
msg
.
MonthStr
+
"-01"
,
};
EndTime
:
this
.
msg
.
YearStr
+
"-"
+
this
.
msg
.
MonthStr
+
"-"
+
lastDay
,
this
.
OpenNewUrl
(
'/teacher/teacherTrack'
,
qObj
)
};
this
.
OpenNewUrl
(
'/teacher/teacherTrack'
,
qObj
)
}
//跳转到考核列表
else
{
var
qObj
=
{
TeacherAccountId
:
item
.
AccountId
,
YearStr
:
this
.
msg
.
YearStr
,
MonthStr
:
this
.
msg
.
MonthStr
,
};
this
.
OpenNewUrl
(
'/teacher/jobEvaluation'
,
qObj
)
}
},
},
//初始化部门数据
//初始化部门数据
initDeptList
()
{
initDeptList
()
{
...
...
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