diff --git a/src/router/ebiz/performance.js b/src/router/ebiz/performance.js index a24b28409..066230309 100644 --- a/src/router/ebiz/performance.js +++ b/src/router/ebiz/performance.js @@ -22,7 +22,7 @@ export default [ } }, { - path: '/performance/AttendanceInfo', + path: '/performance/AttendanceInfo/:parmas', name: 'AttendanceInfo', component: attendanceInfo, meta: { diff --git a/src/views/ebiz/attendance/Attendance.vue b/src/views/ebiz/attendance/Attendance.vue index b8cbe6031..bb1a20e38 100644 --- a/src/views/ebiz/attendance/Attendance.vue +++ b/src/views/ebiz/attendance/Attendance.vue @@ -65,7 +65,7 @@
{{dontWork}}天
-
注:本出勤率只统计工作日出勤情况
+
注:最终参训数据以次月公司下发的参训系统数据为准
diff --git a/src/views/ebiz/performance/PerformanceList.vue b/src/views/ebiz/performance/PerformanceList.vue index 670f2bb27..35218899e 100644 --- a/src/views/ebiz/performance/PerformanceList.vue +++ b/src/views/ebiz/performance/PerformanceList.vue @@ -28,7 +28,7 @@
查看明细>>
-
所在机构:张伟组
+
所在机构:{{unitName}}
@@ -42,36 +42,36 @@
{{cbjs}}
-
+ + +
本月预收件数
{{ysjs}}
-
+
注:统计截至时间:2020-01-12 16:30
@@ -105,7 +105,8 @@ export default { ysbb:'0.00', yfyc:'0.00', teamName:'', - parmas:{} + parmas:{}, + unitName:'' } }, created() { @@ -116,7 +117,9 @@ export default { this.titleTime=JSON.parse(this.$route.params.obj).date.slice(0,7), this.dateTime=JSON.parse(this.$route.params.obj).date this.parmas.date=JSON.parse(this.$route.params.obj).date + this.unitName=JSON.parse(this.$route.params.obj).unitName this.parmas.mask=this.mask + this.parmas.unitName=JSON.parse(this.$route.params.obj).unitName console.log(typeof(this.titleTime)) console.log(this.agentGrade.slice(0,2)) if(this.agentGrade.slice(0,2)=='A2'){ @@ -137,6 +140,7 @@ export default { btns: [ { title: '考勤记录', + titleColor:'red', route: { flag: '', extra: {} }, }, ], @@ -180,7 +184,7 @@ export default { console.log(this.dateTime) }, checkDetails(parmas) { - if (this.code === 'A201') { + if (this.agentGrade.slice(0, 2) == 'A2') { this.$jump({ flag: 'h5', extra: { @@ -190,14 +194,14 @@ export default { path: `/performance/Performance/${JSON.stringify(parmas)}`, }, }) - } else if (this.code === 'A301') { + } else if (this.agentGrade.slice(0, 2) == 'A3') { this.$jump({ flag: 'h5', extra: { - url: location.origin + `/#/performance/AttendanceInfo`, + url: location.origin + `/#/performance/AttendanceInfo/${JSON.stringify(parmas)}`, }, routerInfo: { - path: `/performance/AttendanceInfo`, + path: `/performance/AttendanceInfo/${JSON.stringify(parmas)}`, }, }) }