seimin 1 年之前
父節點
當前提交
04a137411f
共有 7 個文件被更改,包括 9 次插入11 次删除
  1. 2 1
      src/views/againAssign.vue
  2. 1 2
      src/views/closed.vue
  3. 1 2
      src/views/grabSheet.vue
  4. 1 2
      src/views/order.vue
  5. 1 1
      src/views/processing.vue
  6. 2 2
      src/views/solved.vue
  7. 1 1
      src/views/waitConfirm.vue

+ 2 - 1
src/views/againAssign.vue

@@ -181,6 +181,8 @@ export default {
181
         .then(function (res) {
181
         .then(function (res) {
182
           console.log(res.data);
182
           console.log(res.data);
183
           that.model = res.data.model;
183
           that.model = res.data.model;
184
+          //seimin
185
+          that.wxIncidentId = res.data.model.incident.wxIncidentId;
184
           that.getProgressInfo();
186
           that.getProgressInfo();
185
         });
187
         });
186
     },
188
     },
@@ -354,7 +356,6 @@ export default {
354
   },
356
   },
355
   created() {
357
   created() {
356
     this.processInstanceId = this.$route.params.data.processInstanceId;
358
     this.processInstanceId = this.$route.params.data.processInstanceId;
357
-    this.wxIncidentId = this.$route.params.data.wxIncidentId;
358
     this.id = this.$route.params.data.id;
359
     this.id = this.$route.params.data.id;
359
     this.getParamsData();
360
     this.getParamsData();
360
     this.getHandlerUser();
361
     this.getHandlerUser();

+ 1 - 2
src/views/closed.vue

@@ -233,6 +233,7 @@ export default {
233
           console.log(res.data);
233
           console.log(res.data);
234
           that.model = res.data.model;
234
           that.model = res.data.model;
235
           //seimin
235
           //seimin
236
+          that.wxIncidentId = res.data.model.incident.wxIncidentId;
236
           localStorage.setItem("modelData", JSON.stringify(that.model));
237
           localStorage.setItem("modelData", JSON.stringify(that.model));
237
           that.getProgressInfo();
238
           that.getProgressInfo();
238
         });
239
         });
@@ -317,8 +318,6 @@ export default {
317
     },
318
     },
318
   },
319
   },
319
   created() {
320
   created() {
320
-    // seimin
321
-    this.wxIncidentId = this.$route.params.data.wxIncidentId;
322
     this.processInstanceId = this.$route.params.data
321
     this.processInstanceId = this.$route.params.data
323
       ? this.$route.params.data.processInstanceId
322
       ? this.$route.params.data.processInstanceId
324
       : JSON.parse(localStorage.getItem("modelData")).incident
323
       : JSON.parse(localStorage.getItem("modelData")).incident

+ 1 - 2
src/views/grabSheet.vue

@@ -142,6 +142,7 @@ export default {
142
             }
142
             }
143
           }
143
           }
144
           //seimin
144
           //seimin
145
+          that.wxIncidentId = res.data.model.incident.wxIncidentId;
145
           localStorage.setItem("modelData", JSON.stringify(that.model));
146
           localStorage.setItem("modelData", JSON.stringify(that.model));
146
           that.getProgressInfo();
147
           that.getProgressInfo();
147
         });
148
         });
@@ -283,8 +284,6 @@ export default {
283
     if(this.menu){
284
     if(this.menu){
284
       this.qiangdan = this.menu.some(v => v.link == 'shijianliebiao_qiangdan');
285
       this.qiangdan = this.menu.some(v => v.link == 'shijianliebiao_qiangdan');
285
     }
286
     }
286
-    // seimin
287
-    this.wxIncidentId = this.$route.params.data.wxIncidentId;
288
     this.processInstanceId = this.$route.params.data
287
     this.processInstanceId = this.$route.params.data
289
       ? this.$route.params.data.processInstanceId
288
       ? this.$route.params.data.processInstanceId
290
       : JSON.parse(localStorage.getItem("modelData")).incident
289
       : JSON.parse(localStorage.getItem("modelData")).incident

+ 1 - 2
src/views/order.vue

@@ -187,6 +187,7 @@ export default {
187
           console.log(res.data);
187
           console.log(res.data);
188
           that.model = res.data.model;
188
           that.model = res.data.model;
189
           //seimin
189
           //seimin
190
+          that.wxIncidentId = res.data.model.incident.wxIncidentId;
190
           localStorage.setItem("modelData", JSON.stringify(that.model));
191
           localStorage.setItem("modelData", JSON.stringify(that.model));
191
           that.getProgressInfo();
192
           that.getProgressInfo();
192
         });
193
         });
@@ -324,8 +325,6 @@ export default {
324
     },
325
     },
325
   },
326
   },
326
   created() {
327
   created() {
327
-    // seimin
328
-    this.wxIncidentId = this.$route.params.data.wxIncidentId;
329
     this.processInstanceId = this.$route.params.data
328
     this.processInstanceId = this.$route.params.data
330
       ? this.$route.params.data.processInstanceId
329
       ? this.$route.params.data.processInstanceId
331
       : JSON.parse(localStorage.getItem("modelData")).incident
330
       : JSON.parse(localStorage.getItem("modelData")).incident

+ 1 - 1
src/views/processing.vue

@@ -952,6 +952,7 @@ export default {
952
         .then(res => {
952
         .then(res => {
953
           this.loadShow = false;
953
           this.loadShow = false;
954
           console.log(res.data, 666);
954
           console.log(res.data, 666);
955
+          this.wxIncidentId = res.data.model.incident.wxIncidentId;
955
           this.modelData = res.data.model;
956
           this.modelData = res.data.model;
956
           if (
957
           if (
957
             this.modelData.incident.category.hasSimple == 1 &&
958
             this.modelData.incident.category.hasSimple == 1 &&
@@ -1972,7 +1973,6 @@ export default {
1972
     }
1973
     }
1973
   },
1974
   },
1974
   created() {
1975
   created() {
1975
-    this.wxIncidentId = this.$route.params.data.wxIncidentId;
1976
     this.processInstanceId = this.$route.params.data
1976
     this.processInstanceId = this.$route.params.data
1977
       ? this.$route.params.data.processInstanceId
1977
       ? this.$route.params.data.processInstanceId
1978
       : JSON.parse(localStorage.getItem("modelData")).incident
1978
       : JSON.parse(localStorage.getItem("modelData")).incident

+ 2 - 2
src/views/solved.vue

@@ -266,6 +266,7 @@ export default {
266
           that.model = res.data.model;
266
           that.model = res.data.model;
267
           that.model.msgflag = "已解决";
267
           that.model.msgflag = "已解决";
268
           //seimin
268
           //seimin
269
+          that.wxIncidentId = res.data.model.incident.wxIncidentId;
269
           localStorage.setItem("modelData", JSON.stringify(that.model));
270
           localStorage.setItem("modelData", JSON.stringify(that.model));
270
           that.getProgressInfo();
271
           that.getProgressInfo();
271
         });
272
         });
@@ -445,8 +446,7 @@ export default {
445
     },
446
     },
446
   },
447
   },
447
   created() {
448
   created() {
448
-    // seimin
449
-    this.wxIncidentId = this.$route.params.data.wxIncidentId;
449
+
450
     this.processInstanceId = this.$route.params.data
450
     this.processInstanceId = this.$route.params.data
451
       ? this.$route.params.data.processInstanceId
451
       ? this.$route.params.data.processInstanceId
452
       : JSON.parse(localStorage.getItem("modelData")).incident
452
       : JSON.parse(localStorage.getItem("modelData")).incident

+ 1 - 1
src/views/waitConfirm.vue

@@ -269,6 +269,7 @@ export default {
269
         )
269
         )
270
         .then(function(res) {
270
         .then(function(res) {
271
           console.log(res.data);
271
           console.log(res.data);
272
+          that.wxIncidentId = res.data.model.incident.wxIncidentId;
272
           that.model = res.data.model;
273
           that.model = res.data.model;
273
         });
274
         });
274
     },
275
     },
@@ -311,7 +312,6 @@ export default {
311
     }
312
     }
312
   },
313
   },
313
   created() {
314
   created() {
314
-    this.wxIncidentId = this.$route.params.data.wxIncidentId;
315
     this.processInstanceId = this.$route.params.data.processInstanceId;
315
     this.processInstanceId = this.$route.params.data.processInstanceId;
316
     this.getParamsData();
316
     this.getParamsData();
317
     this.getHandlerInfo();
317
     this.getHandlerInfo();