seimin před 1 rokem
rodič
revize
04a137411f

+ 2 - 1
src/views/againAssign.vue

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

+ 1 - 2
src/views/closed.vue

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

+ 1 - 2
src/views/grabSheet.vue

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

+ 1 - 2
src/views/order.vue

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

+ 1 - 1
src/views/processing.vue

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

+ 2 - 2
src/views/solved.vue

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

+ 1 - 1
src/views/waitConfirm.vue

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