vue2-client 1.2.20 → 1.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -513,7 +513,14 @@
|
|
|
513
513
|
},
|
|
514
514
|
// 获取当前登陆员工ID
|
|
515
515
|
getCurrentEmpId () {
|
|
516
|
-
|
|
516
|
+
post(EmployeeDetailsViewApi.getEmployeeId, {
|
|
517
|
+
name: this.currUser.ename
|
|
518
|
+
})
|
|
519
|
+
.then(res => {
|
|
520
|
+
return res
|
|
521
|
+
}, err => {
|
|
522
|
+
console.log(err)
|
|
523
|
+
})
|
|
517
524
|
},
|
|
518
525
|
// 转移工单按钮业务逻辑
|
|
519
526
|
transferBtn () {
|
|
@@ -663,7 +670,6 @@
|
|
|
663
670
|
},
|
|
664
671
|
// 控制关闭工单按钮可用状态
|
|
665
672
|
closeBtnDisable () {
|
|
666
|
-
// TODO 改变对比方式,改为用名称对比
|
|
667
673
|
return this.step === 0 || this.disableCloseBtn || this.details.name != this.currUser.ename
|
|
668
674
|
},
|
|
669
675
|
// 优先级文字显示
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
const EmployeeDetailsViewApi = {
|
|
2
|
-
// 查询:获取员工详细信息
|
|
3
|
-
getEmployeeDetails: '/webmeterapi/getEmployeeDetails',
|
|
4
|
-
// 查询:获取员工上一周应答工单数量
|
|
5
|
-
getConfirmTicketsCountWeekly: '/webmeterapi/getConfirmTicketsCountWeekly',
|
|
6
|
-
// 查询:获取员工上一周完成工单数量
|
|
7
|
-
getFinishedTicketsCountWeekly: '/webmeterapi/getFinishedTicketsCountWeekly',
|
|
8
|
-
// 查询:是否存在此员工
|
|
9
|
-
findEmpName: '/webmeterapi/findEmpName',
|
|
10
|
-
// 查询:获取所有员工名,供前端展示备选项
|
|
11
|
-
getAllEmployeeName: '/webmeterapi/getAllEmployeeName'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
const EmployeeDetailsViewApi = {
|
|
2
|
+
// 查询:获取员工详细信息
|
|
3
|
+
getEmployeeDetails: '/webmeterapi/getEmployeeDetails',
|
|
4
|
+
// 查询:获取员工上一周应答工单数量
|
|
5
|
+
getConfirmTicketsCountWeekly: '/webmeterapi/getConfirmTicketsCountWeekly',
|
|
6
|
+
// 查询:获取员工上一周完成工单数量
|
|
7
|
+
getFinishedTicketsCountWeekly: '/webmeterapi/getFinishedTicketsCountWeekly',
|
|
8
|
+
// 查询:是否存在此员工
|
|
9
|
+
findEmpName: '/webmeterapi/findEmpName',
|
|
10
|
+
// 查询:获取所有员工名,供前端展示备选项
|
|
11
|
+
getAllEmployeeName: '/webmeterapi/getAllEmployeeName',
|
|
12
|
+
// 查询:根据员工名,获取员工id
|
|
13
|
+
getEmployeeId: '/webmeterapi/getEmployeeId'
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { EmployeeDetailsViewApi }
|