|
@@ -137,7 +137,14 @@ export default {
|
137
|
137
|
loginUser: JSON.parse(localStorage.getItem("loginUser")),
|
138
|
138
|
valConfig: JSON.parse(localStorage.getItem("valConfig")) - 0, //报修主体
|
139
|
139
|
ifWorking: localStorage.getItem("ifWorking"), //是否开通上下班
|
140
|
|
- incidentCount: "",
|
|
140
|
+ incidentCount: {
|
|
141
|
+ todoCount: 0,
|
|
142
|
+ doingCount: 0,
|
|
143
|
+ irelateCount: 0,
|
|
144
|
+ idoCount: 0,
|
|
145
|
+ inspectionTodo: 0,
|
|
146
|
+ inspectionDone: 0,
|
|
147
|
+ },
|
141
|
148
|
promptingConent: "",
|
142
|
149
|
promptingStatus: "",
|
143
|
150
|
groups: "", //工作组
|
|
@@ -320,7 +327,19 @@ export default {
|
320
|
327
|
candidateGroups: that.candidateGroups,
|
321
|
328
|
})
|
322
|
329
|
.then(function (res) {
|
323
|
|
- that.incidentCount = res.data;
|
|
330
|
+ that.incidentCount.inspectionTodo = res.data.inspectionTodo;
|
|
331
|
+ that.incidentCount.inspectionDone = res.data.inspectionDone;
|
|
332
|
+ });
|
|
333
|
+ this.$http
|
|
334
|
+ .post("service/bpm/data/getIncidentCount4", {
|
|
335
|
+ assignee: that.loginUser.id,
|
|
336
|
+ candidateGroups: that.candidateGroups,
|
|
337
|
+ })
|
|
338
|
+ .then(function (res) {
|
|
339
|
+ that.incidentCount.todoCount = res.data.todoCount;
|
|
340
|
+ that.incidentCount.doingCount = res.data.doingCount;
|
|
341
|
+ that.incidentCount.irelateCount = res.data.irelateCount;
|
|
342
|
+ that.incidentCount.idoCount = res.data.idoCount;
|
324
|
343
|
});
|
325
|
344
|
},
|
326
|
345
|
//获取展示可以上下班人员列表
|