seimin 1 yıl önce
ebeveyn
işleme
cd076bb5fd
2 değiştirilmiş dosya ile 9 ekleme ve 3 silme
  1. 3 3
      src/views/IncidentNewList.vue
  2. 6 0
      src/views/order.vue

+ 3 - 3
src/views/IncidentNewList.vue

@@ -1088,15 +1088,15 @@ export default {
1088
             this.$refs.scroll.forceUpdate();
1088
             this.$refs.scroll.forceUpdate();
1089
           }
1089
           }
1090
           if(this.searchState === undefined){
1090
           if(this.searchState === undefined){
1091
-            this.tabTypes[0].num = res.data.resultCount;
1091
+            this.tabTypes[0].num = res.data.data.resultCount;
1092
             this.getNum(1543);
1092
             this.getNum(1543);
1093
             this.getNum(1544);
1093
             this.getNum(1544);
1094
           }else if(this.searchState == 1543){
1094
           }else if(this.searchState == 1543){
1095
-            this.tabTypes[1].num = res.data.resultCount;
1095
+            this.tabTypes[1].num = res.data.data.resultCount;
1096
             this.getNum();
1096
             this.getNum();
1097
             this.getNum(1544);
1097
             this.getNum(1544);
1098
           }else if(this.searchState == 1544){
1098
           }else if(this.searchState == 1544){
1099
-            this.tabTypes[2].num = res.data.resultCount;
1099
+            this.tabTypes[2].num = res.data.data.resultCount;
1100
             this.getNum();
1100
             this.getNum();
1101
             this.getNum(1543);
1101
             this.getNum(1543);
1102
           }
1102
           }

+ 6 - 0
src/views/order.vue

@@ -286,6 +286,11 @@ export default {
286
         }
286
         }
287
       }
287
       }
288
       console.log(that.model);
288
       console.log(that.model);
289
+      const toast = this.$createToast({
290
+        txt: "Loading...",
291
+        mask: true
292
+      });
293
+      toast.show();
289
       that.$http
294
       that.$http
290
         .post(
295
         .post(
291
           "service/bpm/bpm/completeTask/" +
296
           "service/bpm/bpm/completeTask/" +
@@ -295,6 +300,7 @@ export default {
295
           that.model
300
           that.model
296
         )
301
         )
297
         .then(function (res) {
302
         .then(function (res) {
303
+          toast.hide();
298
           console.log(res.data);
304
           console.log(res.data);
299
           if (res.data) {
305
           if (res.data) {
300
             $("#fade").fadeIn();
306
             $("#fade").fadeIn();