liuzhihui лет назад: 2
Родитель
Сommit
ebe57ae731

+ 50 - 82
CallCenterWeb.UI/RMYY/src/components/button/orderList.vue

@@ -10,7 +10,7 @@
10 10
       </el-form>
11 11
       <div slot="footer" class="dialog-footer">
12 12
         <el-button @click="dialogStatus.dialog_zixingjiejue = false">取 消</el-button>
13
-        <el-button type="primary" @click="submitForm('errorDoneForm')">确 定</el-button>
13
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('errorDoneForm')">确 定</el-button>
14 14
       </div>
15 15
     </el-dialog>
16 16
     <!-- 返修 -->
@@ -29,7 +29,7 @@
29 29
       </el-form>
30 30
       <div slot="footer" class="dialog-footer">
31 31
         <el-button @click="dialogStatus.dialog_fanxiu = false">取 消</el-button>
32
-        <el-button type="primary" @click="submitForm('returnWorkForm')">确 定</el-button>
32
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('returnWorkForm')">确 定</el-button>
33 33
       </div>
34 34
     </el-dialog>
35 35
     <!-- 故障报修评价 -->
@@ -70,7 +70,7 @@
70 70
       </el-form>
71 71
       <div slot="footer" class="dialog-footer">
72 72
         <el-button @click="dialogStatus.dialog_pingjia = false">取 消</el-button>
73
-        <el-button type="primary" @click="submitForm('evaluateForm')">确 定</el-button>
73
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('evaluateForm')">确 定</el-button>
74 74
       </div>
75 75
     </el-dialog>
76 76
     <!-- 综合调度评价 -->
@@ -92,7 +92,7 @@
92 92
       </el-form>
93 93
       <div slot="footer" class="dialog-footer">
94 94
         <el-button @click="dialogStatus.dialog_zhdd_pingjia = false">取 消</el-button>
95
-        <el-button type="primary" @click="submitForm('schedulingEvaluateForm')">确 定</el-button>
95
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('schedulingEvaluateForm')">确 定</el-button>
96 96
       </div>
97 97
     </el-dialog>
98 98
     <!-- 故障保修指派 -->
@@ -113,7 +113,7 @@
113 113
       </el-form>
114 114
       <div slot="footer" class="dialog-footer">
115 115
         <el-button @click="dialogStatus.dialog_zhipai = false">取 消</el-button>
116
-        <el-button type="primary" @click="submitForm('transferForm')">确 定</el-button>
116
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('transferForm')">确 定</el-button>
117 117
       </div>
118 118
     </el-dialog>
119 119
     <!-- 综合调度指派 -->
@@ -161,7 +161,7 @@
161 161
       </el-form>
162 162
       <div slot="footer" class="dialog-footer">
163 163
         <el-button @click="dialogStatus.dialog_zhdd_zhipai = false">取 消</el-button>
164
-        <el-button type="primary" @click="submitForm('zhddtransferForm')">确 定</el-button>
164
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('zhddtransferForm')">确 定</el-button>
165 165
       </div>
166 166
     </el-dialog>
167 167
     <!-- 咨询预约处理 -->
@@ -180,7 +180,7 @@
180 180
       </el-form>
181 181
       <div slot="footer" class="dialog-footer">
182 182
         <el-button @click="dialogStatus.dialog_ywzx_chuli = false">取 消</el-button>
183
-        <el-button type="primary" @click="submitForm('appointmentForm')">确 定</el-button>
183
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('appointmentForm')">确 定</el-button>
184 184
       </div>
185 185
     </el-dialog>
186 186
     <!-- 确认耗材 -->
@@ -314,7 +314,7 @@
314 314
       </el-form>
315 315
       <div slot="footer" class="dialog-footer">
316 316
         <el-button @click="dialogStatus.dialog_gongdantuihui = false">取 消</el-button>
317
-        <el-button type="primary" @click="submitForm('gzbxBackWorkForm')">确 定</el-button>
317
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('gzbxBackWorkForm')">确 定</el-button>
318 318
       </div>
319 319
     </el-dialog>
320 320
     <!-- 综合调度退回 -->
@@ -333,7 +333,7 @@
333 333
       </el-form>
334 334
       <div slot="footer" class="dialog-footer">
335 335
         <el-button @click="dialogStatus.dialog_dispatch_tuihui = false">取 消</el-button>
336
-        <el-button type="primary" @click="submitForm('backWorkForm')">确 定</el-button>
336
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('backWorkForm')">确 定</el-button>
337 337
       </div>
338 338
     </el-dialog>
339 339
     <!-- 综合调度工单列表退回 -->
@@ -346,7 +346,7 @@
346 346
       </el-form>
347 347
       <div slot="footer" class="dialog-footer">
348 348
         <el-button @click="dialogStatus.dialog_zhdd_tuihui = false">取 消</el-button>
349
-        <el-button type="primary" @click="submitForm('zhddbackWorkForm')">确 定</el-button>
349
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('zhddbackWorkForm')">确 定</el-button>
350 350
       </div>
351 351
     </el-dialog>
352 352
     <!-- 业务咨询退回 -->
@@ -365,7 +365,7 @@
365 365
       </el-form>
366 366
       <div slot="footer" class="dialog-footer">
367 367
         <el-button @click="dialogStatus.dialog_ywzx_tuihui = false">取 消</el-button>
368
-        <el-button type="primary" @click="submitForm('ywzxbackWorkForm')">确 定</el-button>
368
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('ywzxbackWorkForm')">确 定</el-button>
369 369
       </div>
370 370
     </el-dialog>
371 371
     <!-- 故障报修撤回 -->
@@ -378,7 +378,7 @@
378 378
       </el-form>
379 379
       <div slot="footer" class="dialog-footer">
380 380
         <el-button @click="dialogStatus.dialog_chehui = false">取 消</el-button>
381
-        <el-button type="primary" @click="submitForm('gzbxRecallForm')">确 定</el-button>
381
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('gzbxRecallForm')">确 定</el-button>
382 382
       </div>
383 383
     </el-dialog>
384 384
     <!-- 故障报修申请人撤回  -->
@@ -391,7 +391,7 @@
391 391
       </el-form>
392 392
       <div slot="footer" class="dialog-footer">
393 393
         <el-button @click="dialogStatus.dialog_mychehui = false">取 消</el-button>
394
-        <el-button type="primary" @click="submitForm('gzbxUserRecallForm')">确 定</el-button>
394
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('gzbxUserRecallForm')">确 定</el-button>
395 395
       </div>
396 396
     </el-dialog>
397 397
     <!-- <工单列表-综合调度-撤回 -->
@@ -410,7 +410,7 @@
410 410
       </el-form>
411 411
       <div slot="footer" class="dialog-footer">
412 412
         <el-button @click="dialogStatus.dialog_schchehui = false">取 消</el-button>
413
-        <el-button type="primary" @click="submitForm('zhddBackForm')">确 定</el-button>
413
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('zhddBackForm')">确 定</el-button>
414 414
       </div>
415 415
     </el-dialog>
416 416
     <!-- 综合调度送达 -->
@@ -472,7 +472,7 @@
472 472
       </el-form>
473 473
       <div slot="footer" class="dialog-footer">
474 474
         <el-button @click="dialogStatus.dialog_dispatch_daoda = false">取 消</el-button>
475
-        <el-button type="primary" @click="submitForm('dealWorkForm')">确 定</el-button>
475
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('dealWorkForm')">确 定</el-button>
476 476
       </div>
477 477
     </el-dialog>
478 478
     <!-- 送达的编辑 -->
@@ -583,7 +583,7 @@
583 583
       </el-form>
584 584
       <div slot="footer" class="dialog-footer">
585 585
         <el-button @click="dialogStatus.dialog_cldu_pingjia = false">取 消</el-button>
586
-        <el-button type="primary" @click="submitForm('carEvaluteForm')">确 定</el-button>
586
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('carEvaluteForm')">确 定</el-button>
587 587
       </div>
588 588
     </el-dialog>
589 589
     <!--催单-->
@@ -596,7 +596,7 @@
596 596
       </el-form>
597 597
       <div slot="footer" class="dialog-footer">
598 598
         <el-button @click="dialogStatus.dialog_ywzx_cuidan = false">取 消</el-button>
599
-        <el-button type="primary" @click="submitForm('cuidanForm')">确 定</el-button>
599
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('cuidanForm')">确 定</el-button>
600 600
       </div>
601 601
     </el-dialog>
602 602
     <el-dialog :visible.sync="dialogStatus.dialog_ywzx_cuidanOL" title="催单">
@@ -608,7 +608,7 @@
608 608
       </el-form>
609 609
       <div slot="footer" class="dialog-footer">
610 610
         <el-button @click="dialogStatus.dialog_ywzx_cuidanOL = false">取 消</el-button>
611
-        <el-button type="primary" @click="submitForm('cuidanQLForm')">确 定</el-button>
611
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('cuidanQLForm')">确 定</el-button>
612 612
       </div>
613 613
     </el-dialog>
614 614
     <!-- 完成 -->
@@ -621,7 +621,7 @@
621 621
       </el-form>
622 622
       <div slot="footer" class="dialog-footer">
623 623
         <el-button @click="dialogStatus.dialog_ywzx_finish = false">取 消</el-button>
624
-        <el-button type="primary" @click="submitForm('finishForm')">确 定</el-button>
624
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('finishForm')">确 定</el-button>
625 625
       </div>
626 626
     </el-dialog>
627 627
     <!-- 综合调度菜单-指派 -->
@@ -643,7 +643,7 @@
643 643
       </el-form>
644 644
       <div slot="footer" class="dialog-footer">
645 645
         <el-button @click="dialogStatus.dialog_dispatch_zhuanpai = false">取 消</el-button>
646
-        <el-button type="primary" @click="submitForm('dispatchtransferForm')">确 定</el-button>
646
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('dispatchtransferForm')">确 定</el-button>
647 647
       </div>
648 648
     </el-dialog>
649 649
     <el-dialog :visible.sync="dialogImgVisible" title="查看图片" width="50%" append-to-body>
@@ -666,7 +666,7 @@
666 666
       </el-form>
667 667
       <div slot="footer" class="dialog-footer">
668 668
         <el-button @click="dialogStatus.dialog_dispatch_zhuantongshi = false">取 消</el-button>
669
-        <el-button type="primary" @click="submitForm('zhddToColleagueForm')">确 定</el-button>
669
+        <el-button v-loading.fullscreen.lock="loading" type="primary" @click="submitForm('zhddToColleagueForm')">确 定</el-button>
670 670
       </div>
671 671
     </el-dialog>
672 672
   </div>
@@ -734,6 +734,7 @@
734 734
     props: {},
735 735
     data() {
736 736
       return {
737
+        loading: false,
737 738
         isxylx: "",
738 739
         xylxdatas: [],
739 740
         FileUrl: [],
@@ -1444,66 +1445,7 @@
1444 1445
               this.transferForm.todept = conf.autodept;
1445 1446
               this.getClassUser(conf.autodept, conf.autousercode);
1446 1447
             }
1447
-
1448
-            //院区id遍历
1449
-            // for (var i = 0; i < autoData.length; i++) {
1450
-            //   if (autoData[i].autoyq == applyHos) {
1451
-            //     //有院区
1452
-            //     this.deptidArr =
1453
-            //       this.$store.getters.deptmap[parseInt(autoData[i].autodept)].ids;
1454
-            //     this.transferForm.todept = autoData[i].autodept;
1455
-            //     console.log(1, 'getClassUser');
1456
-            //     this.getClassUser(autoData[i].autodept);
1457
-            //     this.transferForm.tousercode = autoData[i].autousercode;
1458
-            //     return;
1459
-            //   } else if (autoData[i].autoyq == "0") {
1460
-            //     //全部
1461
-            //     this.deptidArr =
1462
-            //       this.$store.getters.deptmap[parseInt(autoData[i].autodept)].ids;
1463
-            //     this.transferForm.todept = autoData[i].autodept;
1464
-            //     console.log(2, 'getClassUser');
1465
-            //     this.getClassUser(autoData[i].autodept);
1466
-            //     this.transferForm.tousercode = autoData[i].autousercode;
1467
-            //   }
1468
-            // }
1469 1448
           }
1470
-
1471
-          // const deptid = this.$store.getters.workTypeMap[parseInt(row.F_SonType)].autoDept
1472
-          // const typeArr = this.$store.getters.workTypeMap[parseInt(row.F_SonType)].ids
1473
-          // const worktypeInfo = this.$store.getters.workTypeMap[parseInt(typeArr[1])].tag
1474
-          // const assignDeptArr = this.$store.getters.deptmap[parseInt(row.F_ProposerDept)].ids
1475
-          // console.log(deptid,worktypeInfo, assignDeptArr)
1476
-          // if (worktypeInfo != 'gzbx_jjhq') {
1477
-          //   if(deptid){
1478
-          //     this.transferForm.todept = deptid
1479
-          //     this.deptidArr = this.$store.getters.deptmap[parseInt(deptid)].ids
1480
-          //     this.getClassUser(deptid)
1481
-          //   }
1482
-          // }
1483
-          // if ((worktypeInfo == 'gzbx_jjhq' && assignDeptArr[0] != '1') && (worktypeInfo == 'gzbx_jjhq' && assignDeptArr[
1484
-          //     0] != '4005')) {
1485
-          //   if (assignDeptArr[0] == '2') {
1486
-          //     this.getDeptByCode(this.deptMents, 'fenyuanqu')
1487
-          //   }
1488
-          //   if (assignDeptArr[0] == '3') {
1489
-          //     this.getDeptByCode(this.deptMents, 'xiyuanqu')
1490
-          //   }
1491
-          //   if (assignDeptArr[0] == '4004') {
1492
-          //     this.getDeptByCode(this.deptMents, 'JJHQ_DYQBZZ')
1493
-          //   }
1494
-          //   if (assignDeptArr[0] == '4006') {
1495
-          //     this.getDeptByCode(this.deptMents, 'JJHQ_NYQBZZ')
1496
-          //   }
1497
-          //   if (assignDeptArr[0] == '4008') {
1498
-          //     this.getDeptByCode(this.deptMents, 'JJHQ_BYQBZZ')
1499
-          //   }
1500
-          // } else {
1501
-          //   if(deptid){
1502
-          //     this.transferForm.todept = deptid
1503
-          //     this.deptidArr = this.$store.getters.deptmap[parseInt(deptid)].ids
1504
-          //     this.getClassUser(deptid)
1505
-          //   }
1506
-          // }
1507 1449
         }
1508 1450
         if (name === "zhdd_zhipai") {
1509 1451
           this.zhdddeptidArr = [];
@@ -1815,6 +1757,7 @@
1815 1757
       submitForm(formName) {
1816 1758
         // console.log(this.dispatchhaocaiarrError)
1817 1759
         // return;
1760
+        this.loading = true //打开loading
1818 1761
         if (formName === "transferForm"){
1819 1762
           this.transferForm.datetime = this.getNowDate()
1820 1763
         }
@@ -1826,6 +1769,7 @@
1826 1769
               });
1827 1770
               if (index >= 0) {
1828 1771
                 this.$message.error("请选择对应物资信息");
1772
+                this.loading = false // 关闭loading
1829 1773
                 return;
1830 1774
               }
1831 1775
             }
@@ -1840,6 +1784,7 @@
1840 1784
               });
1841 1785
               if (index >= 0) {
1842 1786
                 this.$message.error("请选择对应物资信息");
1787
+                this.loading = false // 关闭loading
1843 1788
                 return;
1844 1789
               }
1845 1790
             }
@@ -1862,6 +1807,7 @@
1862 1807
         if (formName === "evaluateForm") {
1863 1808
           if (this.evaluateForm.Attitude == 0 || this.evaluateForm.Quality == 0 || this.evaluateForm.Efficiency == 0) {
1864 1809
             this.$message.warning("请选择星级评价");
1810
+            this.loading = false // 关闭loading
1865 1811
             return;
1866 1812
           }
1867 1813
           if (
@@ -1871,6 +1817,7 @@
1871 1817
           ) {
1872 1818
             if (this.evaluateForm.EvaluateContent === "") {
1873 1819
               this.$message.warning("请输入文字评价");
1820
+              this.loading = false // 关闭loading
1874 1821
               return;
1875 1822
             }
1876 1823
           }
@@ -1879,6 +1826,7 @@
1879 1826
           if (this.schedulingEvaluateForm.Attitude == 0 || this.schedulingEvaluateForm.Quality == 0 || this
1880 1827
             .schedulingEvaluateForm.Efficiency == 0) {
1881 1828
             this.$message.warning("请选择星级评价");
1829
+            this.loading = false // 关闭loading
1882 1830
             return;
1883 1831
           }
1884 1832
           if (
@@ -1888,6 +1836,7 @@
1888 1836
           ) {
1889 1837
             if (this.schedulingEvaluateForm.EvaluateContent === "") {
1890 1838
               this.$message.warning("请输入文字评价");
1839
+              this.loading = false // 关闭loading
1891 1840
               return;
1892 1841
             }
1893 1842
           }
@@ -1896,6 +1845,7 @@
1896 1845
           if (this.carEvaluteForm.Attitude == 0 || this.carEvaluteForm.Quality == 0 || this.carEvaluteForm.Efficiency ==
1897 1846
             0) {
1898 1847
             this.$message.warning("请选择星级评价");
1848
+            this.loading = false // 关闭loading
1899 1849
             return;
1900 1850
           }
1901 1851
           if (
@@ -1905,6 +1855,7 @@
1905 1855
           ) {
1906 1856
             if (this.carEvaluteForm.Evaluation === "") {
1907 1857
               this.$message.warning("请输入文字评价");
1858
+              this.loading = false // 关闭loading
1908 1859
               return;
1909 1860
             }
1910 1861
           }
@@ -1914,12 +1865,14 @@
1914 1865
             if (this.consumablesConfirmForm.Attitude == 0 || this.consumablesConfirmForm.Quality == 0 || this
1915 1866
               .consumablesConfirmForm.Efficiency == 0) {
1916 1867
               this.$message.warning("请选择星级评价");
1868
+              this.loading = false // 关闭loading
1917 1869
               return;
1918 1870
             }
1919 1871
             if (this.consumablesConfirmForm.Attitude < 3 || this.consumablesConfirmForm.Quality < 3 || this
1920 1872
               .consumablesConfirmForm.Efficiency < 3) {
1921 1873
               if (this.consumablesConfirmForm.EvaluateContent === "") {
1922 1874
                 this.$message.warning("请输入文字评价");
1875
+                this.loading = false // 关闭loading
1923 1876
                 return;
1924 1877
               }
1925 1878
             }
@@ -1997,11 +1950,13 @@
1997 1950
             if (formName === "returnWorkForm") {
1998 1951
               if (!this.returnWorkForm.value) {
1999 1952
                 this.$message.warning("请选择原因");
1953
+                this.loading = false // 关闭loading
2000 1954
                 return;
2001 1955
               }
2002 1956
               if (this.returnWorkForm.value === "其他") {
2003 1957
                 if (!this.returnWorkForm.returnReason) {
2004 1958
                   this.$message.warning("请输入其他原因");
1959
+                  this.loading = false // 关闭loading
2005 1960
                   return;
2006 1961
                 }
2007 1962
               }
@@ -2009,11 +1964,13 @@
2009 1964
             if (formName === "backWorkForm") {
2010 1965
               if (!this.backWorkForm.value) {
2011 1966
                 this.$message.warning("请选择原因");
1967
+                this.loading = false // 关闭loading
2012 1968
                 return;
2013 1969
               }
2014 1970
               if (this.backWorkForm.value === "其他") {
2015 1971
                 if (!this.backWorkForm.BackReason) {
2016 1972
                   this.$message.warning("请输入其他原因");
1973
+                  this.loading = false // 关闭loading
2017 1974
                   return;
2018 1975
                 }
2019 1976
               }
@@ -2021,11 +1978,13 @@
2021 1978
             if (formName === "ywzxbackWorkForm") {
2022 1979
               if (!this.ywzxbackWorkForm.value) {
2023 1980
                 this.$message.warning("请选择原因");
1981
+                this.loading = false // 关闭loading
2024 1982
                 return;
2025 1983
               }
2026 1984
               if (this.ywzxbackWorkForm.value === "其他") {
2027 1985
                 if (!this.ywzxbackWorkForm.reason) {
2028 1986
                   this.$message.warning("请输入其他原因");
1987
+                  this.loading = false // 关闭loading
2029 1988
                   return;
2030 1989
                 }
2031 1990
               }
@@ -2125,8 +2084,9 @@
2125 2084
             if (this.postEvent) {
2126 2085
               new Promise((resolve) => {
2127 2086
                 this.postEvent(params).then((response) => {
2128
-                  console.log("处理结果", this.optionName);
2087
+                  console.log("处理结果", this.optionName,response.state);
2129 2088
                   if (response.state === "success") {
2089
+                    this.loading = false //关闭loading
2130 2090
                     this.$message({
2131 2091
                       type: "success",
2132 2092
                       message: "操作成功!",
@@ -2267,15 +2227,23 @@
2267 2227
                     }
2268 2228
                     this.$emit("refList", {});
2269 2229
                   } else {
2230
+                    this.loading = false //关闭loading
2270 2231
                     this.$message({
2271 2232
                       type: "info",
2272 2233
                       message: response.message,
2273 2234
                     });
2274 2235
                   }
2275
-                });
2236
+                })
2237
+                .catch((err)=>{
2238
+                  console.log(err)
2239
+                  this.loading = false //关闭loading
2240
+                })
2276 2241
                 resolve();
2277 2242
               });
2278 2243
             }
2244
+          }else{
2245
+            console.log(111)
2246
+            this.loading = false //关闭loading
2279 2247
           }
2280 2248
         });
2281 2249
       },

+ 6 - 6
CallCenterWeb.UI/RMYY/src/components/workOrder/information/addOrEditInfOrder.vue

@@ -745,6 +745,7 @@ export default {
745 745
               this.firstOrderTypeParam.name = res.typename1
746 746
               this.$emit('r2type', res.F_type2)
747 747
               this.ruleForm.F_Type2 = res.F_type2 // 工单子类
748
+              console.log(this.ruleForm.F_Type2,'this.ruleForm.F_Type2')
748 749
               this.F_Type2 = res.F_type2
749 750
               if (res.F_type2) {
750 751
                 this.ruleForm.type2Arr =
@@ -805,16 +806,15 @@ export default {
805 806
         this.$message('请挂断后再提交工单')
806 807
         return
807 808
       }
808
-      // console.log(this.ruleForm.F_Type2, 'this.ruleForm.F_type2')
809 809
       if (!this.ruleForm.F_Type2 && !this.wid) {
810 810
         this.$message.error('请选择工单类别')
811 811
         return
812 812
       }
813
-      var resTypeArr = this.$store.getters.workTypeMap[parseInt(this.ruleForm.F_Type2)].ids
814
-      if(resTypeArr[0] != 1000){
815
-        this.$message.error('业务类别与工单类别不匹配,请重新选择')
816
-        return
817
-      }
813
+      // var resTypeArr = this.$store.getters.workTypeMap[parseInt(this.ruleForm.F_Type2)].ids
814
+      // if(resTypeArr[0] != 1000){
815
+      //   this.$message.error('业务类别与工单类别不匹配,请重新选择')
816
+      //   return
817
+      // }
818 818
       // console.log(resTypeArr)
819 819
       // return
820 820
       if (this.iswomanage == 1) {

+ 120 - 50
CallCenterWeb.UI/RMYY/src/views/faultRepairManagement/repairList/index.vue

@@ -218,7 +218,7 @@
218 218
       </el-form>
219 219
       <div slot="footer" class="dialog-footer">
220 220
         <el-button @click="dialogZuzhang = false">取 消</el-button>
221
-        <el-button type="primary" @click="dialogTransferZuzhang">确 定</el-button>
221
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="dialogTransferZuzhang">确 定</el-button>
222 222
       </div>
223 223
     </el-dialog>
224 224
     <el-dialog :visible.sync="dialogZhiban" title="转值班">
@@ -232,7 +232,7 @@
232 232
       </el-form>
233 233
       <div slot="footer" class="dialog-footer">
234 234
         <el-button @click="dialogZhiban = false">取 消</el-button>
235
-        <el-button type="primary" @click="dialogTransferZhiban">确 定</el-button>
235
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="dialogTransferZhiban">确 定</el-button>
236 236
       </div>
237 237
     </el-dialog>
238 238
     <el-dialog :visible.sync="dialogDiaoDu" title="转调度">
@@ -244,7 +244,7 @@
244 244
       </el-form>
245 245
       <div slot="footer" class="dialog-footer">
246 246
         <el-button @click="dialogDiaoDu = false">取 消</el-button>
247
-        <el-button type="primary" @click="dialogTransferDiaoDu">确 定</el-button>
247
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="dialogTransferDiaoDu">确 定</el-button>
248 248
       </div>
249 249
     </el-dialog>
250 250
     <el-dialog :visible.sync="dialogHangUp" title="挂起">
@@ -267,7 +267,7 @@
267 267
       </el-form>
268 268
       <div slot="footer" class="dialog-footer">
269 269
         <el-button @click="dialogHangUp = false">取 消</el-button>
270
-        <el-button type="primary" @click="postHangUp">确 定</el-button>
270
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postHangUp">确 定</el-button>
271 271
       </div>
272 272
     </el-dialog>
273 273
     <el-dialog :visible.sync="dialogDelay" title="延期">
@@ -294,7 +294,7 @@
294 294
       </el-form>
295 295
       <div slot="footer" class="dialog-footer">
296 296
         <el-button @click="dialogDelay = false">取 消</el-button>
297
-        <el-button type="primary" @click="postDelay">确 定</el-button>
297
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postDelay">确 定</el-button>
298 298
       </div>
299 299
     </el-dialog>
300 300
 
@@ -313,7 +313,7 @@
313 313
       </el-form>
314 314
       <div slot="footer" class="dialog-footer">
315 315
         <el-button @click="dialogBackOrder = false">取 消</el-button>
316
-        <el-button type="primary" @click="postBackOrder">确 定</el-button>
316
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postBackOrder">确 定</el-button>
317 317
       </div>
318 318
     </el-dialog>
319 319
     <el-dialog :visible.sync="dialogCooperation" title="协作">
@@ -346,7 +346,7 @@
346 346
       </el-form>
347 347
       <div slot="footer" class="dialog-footer">
348 348
         <el-button @click="dialogCooperation = false">取 消</el-button>
349
-        <el-button type="primary" @click="postCooperationOrder">
349
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrder">
350 350
           确 定
351 351
         </el-button>
352 352
       </div>
@@ -375,7 +375,7 @@
375 375
       </el-form>
376 376
       <div slot="footer" class="dialog-footer">
377 377
         <el-button @click="dialogCooperationIn = false">取 消</el-button>
378
-        <el-button type="primary" @click="postCooperationOrderIn">
378
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrderIn">
379 379
           确 定
380 380
         </el-button>
381 381
       </div>
@@ -414,7 +414,7 @@
414 414
       </el-form>
415 415
       <div slot="footer" class="dialog-footer">
416 416
         <el-button @click="dialogCooperationOut = false">取 消</el-button>
417
-        <el-button type="primary" @click="postCooperationOrderOut">
417
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrderOut">
418 418
           确 定
419 419
         </el-button>
420 420
       </div>
@@ -437,7 +437,7 @@
437 437
       </el-form>
438 438
       <div slot="footer" class="dialog-footer">
439 439
         <el-button @click="dialogredeploy = false">取 消</el-button>
440
-        <el-button type="primary" @click="postRedeployOrder">确 定</el-button>
440
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postRedeployOrder">确 定</el-button>
441 441
       </div>
442 442
     </el-dialog>
443 443
 
@@ -455,7 +455,7 @@
455 455
       </el-form>
456 456
       <div slot="footer" class="dialog-footer">
457 457
         <el-button @click="dialogdept = false">取 消</el-button>
458
-        <el-button type="primary" @click="postRedeployDeptOrder">确 定</el-button>
458
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postRedeployDeptOrder">确 定</el-button>
459 459
       </div>
460 460
     </el-dialog>
461 461
 
@@ -470,7 +470,7 @@
470 470
       </el-form>
471 471
       <div slot="footer" class="dialog-footer">
472 472
         <el-button @click="dialogtongshi = false">取 消</el-button>
473
-        <el-button type="primary" @click="postRedeployTongshiOrder">确 定</el-button>
473
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postRedeployTongshiOrder">确 定</el-button>
474 474
       </div>
475 475
     </el-dialog>
476 476
 
@@ -546,7 +546,7 @@
546 546
       </el-form>
547 547
       <div slot="footer" class="dialog-footer">
548 548
         <el-button @click="dialogDone = false">取 消</el-button>
549
-        <el-button type="primary" @click="postDoneOrder">确 定</el-button>
549
+        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postDoneOrder">确 定</el-button>
550 550
       </div>
551 551
     </el-dialog>
552 552
     <el-dialog :visible.sync="dialogVisible">
@@ -602,7 +602,8 @@
602 602
       selectGzbxDeptTree
603 603
     },
604 604
     data() {
605
-      return {
605
+      return {
606
+        isloading: false,
606 607
         applyHos: "",
607 608
         loading: false,
608 609
         dialogZuzhang: false,
@@ -1051,14 +1052,17 @@
1051 1052
         this.dialogDelay = true;
1052 1053
         this.rowdata = row;
1053 1054
       },
1054
-      postDelay() {
1055
+      postDelay() {
1056
+        this.isloading = true
1055 1057
         if (!this.delayForm.value) {
1056
-          this.$message.warning("请选择原因");
1058
+          this.$message.warning("请选择原因");
1059
+          this.isloading = false
1057 1060
           return;
1058 1061
         }
1059 1062
         if (this.delayForm.value === "其他") {
1060 1063
           if (!this.delayForm.delayReason) {
1061
-            this.$message.warning("请输入其他原因");
1064
+            this.$message.warning("请输入其他原因");
1065
+            this.isloading = false
1062 1066
             return;
1063 1067
           }
1064 1068
         }
@@ -1072,7 +1076,8 @@
1072 1076
           reason: this.delayForm.delayReason,
1073 1077
         };
1074 1078
         postDelayOrder(params).then((res) => {
1075
-          if (res.state.toLowerCase() === "success") {
1079
+          if (res.state.toLowerCase() === "success") {
1080
+            this.isloading = false
1076 1081
             this.$message.success("延期成功");
1077 1082
             this.delayForm = {};
1078 1083
             this.delayForm.key = "";
@@ -1083,7 +1088,11 @@
1083 1088
             this.reasonarr1 = [];
1084 1089
             this.dialogDelay = false;
1085 1090
           }
1086
-        });
1091
+        })
1092
+        .catch((err)=>{
1093
+          console.log(err)
1094
+          this.isloading = false //关闭loading
1095
+        })
1087 1096
       },
1088 1097
       hadndleOrderCode(ordercode) {
1089 1098
         this.$layer.iframe({
@@ -1177,7 +1186,8 @@
1177 1186
         this.dialogDone = true;
1178 1187
         this.doneForm.workordercode = code;
1179 1188
       },
1180
-      postDoneOrder() {
1189
+      postDoneOrder() {
1190
+        this.isloading = true
1181 1191
         // 完工
1182 1192
         var equiplist = [];
1183 1193
         this.equipmodellist.find((item) => {
@@ -1208,6 +1218,7 @@
1208 1218
               type: "error",
1209 1219
               message: "请选择耗材信息!",
1210 1220
             });
1221
+            this.isloading = false
1211 1222
             return
1212 1223
           }
1213 1224
         }
@@ -1235,9 +1246,10 @@
1235 1246
               const params = this.doneForm;
1236 1247
               postDealWorkOrder(params).then((response) => {
1237 1248
                 if (response.state === "success") {
1249
+                  this.isloading = false
1238 1250
                   this.$message({
1239 1251
                     type: "success",
1240
-                    message: "操作成功!",
1252
+                    message: "操作成功!",
1241 1253
                   });
1242 1254
                   this.dialogDone = false;
1243 1255
                   this.closeDialogDone();
@@ -1248,7 +1260,11 @@
1248 1260
                     message: response.message,
1249 1261
                   });
1250 1262
                 }
1251
-              });
1263
+              })
1264
+              .catch((err)=>{
1265
+                console.log(err)
1266
+                this.isloading = false //关闭loading
1267
+              })
1252 1268
               resolve();
1253 1269
             });
1254 1270
           }
@@ -1338,9 +1354,11 @@
1338 1354
         this.zuzhangcode = code;
1339 1355
       },
1340 1356
       dialogTransferZuzhang() {
1357
+        this.isloading = true
1341 1358
         if(this.zuzhangForm.reason == "其他"){
1342 1359
           if(!this.zuzhangForm.value){
1343 1360
             this.$message.warning('请输入其他原因')
1361
+            this.isloading = false
1344 1362
             return
1345 1363
           }
1346 1364
         }
@@ -1362,9 +1380,10 @@
1362 1380
         };
1363 1381
         postTransfer(params).then((response) => {
1364 1382
           if (response.state === "success") {
1383
+            this.isloading = false
1365 1384
             this.$message({
1366 1385
               type: "success",
1367
-              message: "操作成功!",
1386
+              message: "操作成功!",
1368 1387
             });
1369 1388
             this.dialogZuzhang = false;
1370 1389
             this.zuzhangForm.reason = "";
@@ -1378,7 +1397,11 @@
1378 1397
               message: response.message,
1379 1398
             });
1380 1399
           }
1381
-        });
1400
+        })
1401
+        .catch((err)=>{
1402
+          console.log(err)
1403
+          this.isloading = false //关闭loading
1404
+        })
1382 1405
       },
1383 1406
       redeployZhiban(code) {
1384 1407
         this.getReason("ZUZHANG");
@@ -1389,7 +1412,8 @@
1389 1412
         this.dialogDiaoDu = true;
1390 1413
         this.diaoducode = code;
1391 1414
       },
1392
-      dialogTransferZhiban() {
1415
+      dialogTransferZhiban() {
1416
+        this.isloading = true
1393 1417
         const params = {
1394 1418
           workordercode: this.zhibancode,
1395 1419
           toUserCode: null,
@@ -1398,9 +1422,10 @@
1398 1422
         };
1399 1423
         postTransfer(params).then((response) => {
1400 1424
           if (response.state === "success") {
1425
+            this.isloading = false
1401 1426
             this.$message({
1402 1427
               type: "success",
1403
-              message: "操作成功!",
1428
+              message: "操作成功!",
1404 1429
             });
1405 1430
             this.dialogZhiban = false;
1406 1431
             this.zhibanForm.reason = "";
@@ -1411,9 +1436,14 @@
1411 1436
               message: response.message,
1412 1437
             });
1413 1438
           }
1414
-        });
1439
+        })
1440
+        .catch((err)=>{
1441
+          console.log(err)
1442
+          this.isloading = false //关闭loading
1443
+        })
1415 1444
       },
1416
-      dialogTransferDiaoDu() {
1445
+      dialogTransferDiaoDu() {
1446
+        this.isloading = true
1417 1447
         const params = {
1418 1448
           workordercode: this.diaoducode,
1419 1449
           toUserCode: null,
@@ -1422,9 +1452,10 @@
1422 1452
         };
1423 1453
         postTransfer(params).then((response) => {
1424 1454
           if (response.state === "success") {
1455
+            this.isloading = false
1425 1456
             this.$message({
1426 1457
               type: "success",
1427
-              message: "操作成功!",
1458
+              message: "操作成功!",
1428 1459
             });
1429 1460
             this.dialogDiaoDu = false;
1430 1461
             this.diaoduForm.reason = "";
@@ -1435,9 +1466,14 @@
1435 1466
               message: response.message,
1436 1467
             });
1437 1468
           }
1438
-        });
1469
+        })
1470
+        .catch((err)=>{
1471
+          console.log(err)
1472
+          this.isloading = false //关闭loading
1473
+        })
1439 1474
       },
1440
-      postRedeployTongshiOrder() {
1475
+      postRedeployTongshiOrder() {
1476
+        this.isloading = true
1441 1477
         // 转同事
1442 1478
         this.$refs["redeploytongshiForm"].validate((valid) => {
1443 1479
           if (valid) {
@@ -1445,9 +1481,10 @@
1445 1481
               const params = this.redeploytongshiForm;
1446 1482
               postTransfer(params).then((response) => {
1447 1483
                 if (response.state === "success") {
1484
+                  this.isloading = false
1448 1485
                   this.$message({
1449 1486
                     type: "success",
1450
-                    message: "操作成功!",
1487
+                    message: "操作成功!",
1451 1488
                   });
1452 1489
                   this.dialogtongshi = false;
1453 1490
                   this.$refs["redeploytongshiForm"].resetFields();
@@ -1458,13 +1495,18 @@
1458 1495
                     message: response.message,
1459 1496
                   });
1460 1497
                 }
1461
-              });
1498
+              })
1499
+              .catch((err)=>{
1500
+                console.log(err)
1501
+                this.isloading = false //关闭loading
1502
+              })
1462 1503
               resolve();
1463 1504
             });
1464 1505
           }
1465 1506
         });
1466 1507
       },
1467
-      postRedeployDeptOrder() {
1508
+      postRedeployDeptOrder() {
1509
+        this.isloading = true
1468 1510
         //转部门
1469 1511
         this.$refs["redeploydeptForm"].validate((valid) => {
1470 1512
           if (valid) {
@@ -1472,9 +1514,10 @@
1472 1514
               const params = this.redeploydeptForm;
1473 1515
               postTransferDept(params).then((response) => {
1474 1516
                 if (response.state === "success") {
1517
+                  this.isloading = false
1475 1518
                   this.$message({
1476 1519
                     type: "success",
1477
-                    message: "操作成功!",
1520
+                    message: "操作成功!",
1478 1521
                   });
1479 1522
                   this.dialogdept = false;
1480 1523
                   this.$refs["redeploydeptForm"].resetFields();
@@ -1486,13 +1529,18 @@
1486 1529
                     message: response.message,
1487 1530
                   });
1488 1531
                 }
1489
-              });
1532
+              })
1533
+              .catch((err)=>{
1534
+                console.log(err)
1535
+                this.isloading = false //关闭loading
1536
+              })
1490 1537
               resolve();
1491 1538
             });
1492 1539
           }
1493 1540
         });
1494 1541
       },
1495
-      postRedeployOrder() {
1542
+      postRedeployOrder() {
1543
+        this.isloading = true
1496 1544
         // 转派
1497 1545
         this.$refs["redeployForm"].validate((valid) => {
1498 1546
           if (valid) {
@@ -1500,9 +1548,10 @@
1500 1548
               const params = this.redeployForm;
1501 1549
               postTransfer(params).then((response) => {
1502 1550
                 if (response.state === "success") {
1551
+                  this.isloading = false
1503 1552
                   this.$message({
1504 1553
                     type: "success",
1505
-                    message: "操作成功!",
1554
+                    message: "操作成功!",
1506 1555
                   });
1507 1556
                   this.dialogredeploy = false;
1508 1557
                   this.$refs["redeployForm"].resetFields();
@@ -1513,7 +1562,11 @@
1513 1562
                     message: response.message,
1514 1563
                   });
1515 1564
                 }
1516
-              });
1565
+              })
1566
+              .catch((err)=>{
1567
+                console.log(err)
1568
+                this.isloading = false //关闭loading
1569
+              })
1517 1570
               resolve();
1518 1571
             });
1519 1572
           }
@@ -1719,15 +1772,18 @@
1719 1772
         }
1720 1773
         // this.getRepairman();
1721 1774
       },
1722
-      postBackOrder() {
1775
+      postBackOrder() {
1776
+        this.isloading = true
1723 1777
         // 退回
1724 1778
         if (!this.backOrderForm.value) {
1725
-          this.$message.warning("请选择原因");
1779
+          this.$message.warning("请选择原因");
1780
+          this.isloading = false
1726 1781
           return;
1727 1782
         }
1728 1783
         if (this.backOrderForm.value === "其他") {
1729 1784
           if (!this.backOrderForm.BackReason) {
1730
-            this.$message.warning("请输入其他原因");
1785
+            this.$message.warning("请输入其他原因");
1786
+            this.isloading = false
1731 1787
             return;
1732 1788
           }
1733 1789
         }
@@ -1737,9 +1793,10 @@
1737 1793
               const params = this.backOrderForm;
1738 1794
               postBackWorkOrder(params).then((response) => {
1739 1795
                 if (response.state === "success") {
1796
+                  this.isloading = false
1740 1797
                   this.$message({
1741 1798
                     type: "success",
1742
-                    message: "操作成功!",
1799
+                    message: "操作成功!",
1743 1800
                   });
1744 1801
                   this.dialogBackOrder = false;
1745 1802
                   this.$refs["backOrderForm"].resetFields();
@@ -1757,7 +1814,11 @@
1757 1814
                     message: response.message,
1758 1815
                   });
1759 1816
                 }
1760
-              });
1817
+              })
1818
+              .catch((err)=>{
1819
+                console.log(err)
1820
+                this.isloading = false //关闭loading
1821
+              })
1761 1822
               resolve();
1762 1823
             });
1763 1824
           }
@@ -1811,27 +1872,32 @@
1811 1872
         this.dialogHangUp = true;
1812 1873
         this.hangupForm.workordercode = code;
1813 1874
       },
1814
-      postHangUp() {
1875
+      postHangUp() {
1876
+        this.isloading = true
1815 1877
         if (!this.hangupForm.value) {
1816
-          this.$message.warning("请选择原因");
1878
+          this.$message.warning("请选择原因");
1879
+          this.isloading = false
1817 1880
           return;
1818 1881
         }
1819 1882
         if (!this.hangupForm.expectfinishtime) {
1820
-          this.$message.warning("请选择挂起时间");
1883
+          this.$message.warning("请选择挂起时间");
1884
+          this.isloading = false
1821 1885
           return;
1822 1886
         }
1823 1887
         if (this.hangupForm.value === "其他") {
1824 1888
           if (!this.hangupForm.reason) {
1825
-            this.$message.warning("请输入其他原因");
1889
+            this.$message.warning("请输入其他原因");
1890
+            this.isloading = false
1826 1891
             return;
1827 1892
           }
1828 1893
         }
1829 1894
         const params = this.hangupForm;
1830 1895
         postHangUpWorkOrder(params).then((res) => {
1831 1896
           if (res.state === "success") {
1897
+            this.isloading = false
1832 1898
             this.$message({
1833 1899
               type: "success",
1834
-              message: "挂起成功!",
1900
+              message: "挂起成功!",
1835 1901
             });
1836 1902
             this.dialogHangUp = false;
1837 1903
             this.hangupForm = {};
@@ -1844,7 +1910,11 @@
1844 1910
             this.reasonarr1 = [];
1845 1911
             this.getListTask();
1846 1912
           }
1847
-        });
1913
+        })
1914
+        .catch((err)=>{
1915
+          console.log(err)
1916
+          this.isloading = false //关闭loading
1917
+        })
1848 1918
       },
1849 1919
       arriveOrder(code) {
1850 1920
         // 到达

+ 2 - 2
CallCenterWeb.UI/RMYYAPP/manifest.json

@@ -2,8 +2,8 @@
2 2
     "name" : "郑州人民医院综合服务保障调度平台",
3 3
     "appid" : "__UNI__5A5207D",
4 4
     "description" : "",
5
-    "versionName" : "1.2.66",
6
-    "versionCode" : 166,
5
+    "versionName" : "1.2.67",
6
+    "versionCode" : 167,
7 7
     "transformPx" : false,
8 8
     /* 5+App特有相关 */
9 9
     "app-plus" : {

+ 4 - 0
CallCenterWeb.UI/RMYYAPP/pages/myTask/comDispatch/applicantList/applicantList.vue

@@ -148,6 +148,9 @@
148 148
 				})
149 149
 			},
150 150
 			getList(optioin) {
151
+				uni.showLoading({
152
+				    title: '加载中'
153
+				});
151 154
 				const params = {
152 155
 					page: optioin.page,
153 156
 					pagesize: optioin.pagesize,
@@ -155,6 +158,7 @@
155 158
 				}
156 159
 				this.$http.get(url[this.urlIndex], params).then((response) => {
157 160
 					if (response.state.toLowerCase() === "success") {
161
+						uni.hideLoading();
158 162
 						let data = response.rows
159 163
 						this.total = response.total
160 164
 						uni.stopPullDownRefresh();

+ 3 - 3
CallCenterWeb.UI/RMYYAPP/pages/myTask/comDispatch/comDispatchDetail/dealDetail/dealDetail.vue

@@ -200,9 +200,9 @@ export default {
200 200
       // 	}
201 201
       // })
202 202
       const result = await this.$http.get("GongDanType/GetList", params);
203
-      if (result.state.toLowerCase() === "success") {
204
-        this.orderTypeList = result.data;
205
-      }
203
+      // if (result.state.toLowerCase() === "success") {
204
+        this.orderTypeList = JSON.parse(result)
205
+      // }
206 206
     },
207 207
     getGongDanTypeBBXX() {
208 208
       let dataOrderType = [];

+ 4 - 0
CallCenterWeb.UI/RMYYAPP/pages/myTask/consultList/consultList.vue

@@ -129,6 +129,9 @@
129 129
 				})
130 130
 			},
131 131
 			getList(optioin) {
132
+				uni.showLoading({
133
+				    title: '加载中'
134
+				});
132 135
 				this.$mHelper.getOrderId('1000', (id) => {
133 136
 					const params = {
134 137
 						pageindex: optioin.pageindex,
@@ -139,6 +142,7 @@
139 142
 					}
140 143
 					this.$http.get('WorkCommon/GetSubmitList', params).then((response) => {
141 144
 						if (response.state.toLowerCase() === "success") {
145
+							uni.hideLoading();
142 146
 							let data = response.rows
143 147
 							this.total = response.total
144 148
 							uni.stopPullDownRefresh();

+ 4 - 1
CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/myRepairOrderList/myRepairOrderList.vue

@@ -134,7 +134,9 @@
134 134
 				})
135 135
 			},
136 136
 			getList(optioin) {
137
-				
137
+				uni.showLoading({
138
+				    title: '加载中'
139
+				});
138 140
 				this.$mHelper.getOrderId('3000', (id) => {
139 141
 					const params = {
140 142
 						pageindex: optioin.pageindex,
@@ -145,6 +147,7 @@
145 147
 					}
146 148
 					this.$http.get(urlData[this.urlIndex], params).then((response) => {
147 149
 						if (response.state.toLowerCase() === "success") {
150
+							uni.hideLoading();
148 151
 							let data = response.rows
149 152
 							this.total = response.total
150 153
 							uni.stopPullDownRefresh();

+ 4 - 0
CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/repairList.vue

@@ -331,6 +331,9 @@
331 331
 			// 	})
332 332
 			// },
333 333
 			getList(optioin) {
334
+				uni.showLoading({
335
+				    title: '加载中'
336
+				});
334 337
 				if (this.tabName == '紧急') {
335 338
 					optioin.emergency = '紧急'
336 339
 					optioin.urge = ''
@@ -359,6 +362,7 @@
359 362
 				}
360 363
 				this.$http.get("FaultRepair/MaintenancerList", params).then((response) => {
361 364
 					if (response.state.toLowerCase() === "success") {
365
+						uni.hideLoading();
362 366
 						let data = response.rows
363 367
 						this.total = response.total
364 368
 						uni.stopPullDownRefresh();

+ 8 - 0
CallCenterWeb.UI/RMYYAPP/pages/myTask/vehicleSchedulList/vehicleSchedulList.vue

@@ -123,6 +123,9 @@
123 123
 				
124 124
 			},
125 125
 			getApplicantsList(optioin){
126
+				uni.showLoading({
127
+				    title: '加载中'
128
+				});
126 129
 				const params = {
127 130
 					pageindex: optioin.pageindex,
128 131
 					pagesize: optioin.pagesize,
@@ -131,6 +134,7 @@
131 134
 				}
132 135
 				this.$http.get("T_Car_WorkOrder/GetList", params).then((response) => {
133 136
 					if (response.state.toLowerCase() === "success") {
137
+						uni.hideLoading();
134 138
 						uni.stopPullDownRefresh();
135 139
 						let data = response.rows
136 140
 						this.listData = this.listData.concat(data)
@@ -145,6 +149,9 @@
145 149
 				})
146 150
 			},
147 151
 			getDriverList(optioin){
152
+				uni.showLoading({
153
+				    title: '加载中'
154
+				});
148 155
 				const params = {
149 156
 					pageindex: optioin.pageindex,
150 157
 					pagesize: optioin.pagesize,
@@ -153,6 +160,7 @@
153 160
 				}
154 161
 				this.$http.get("T_Car_WorkOrder/GetCarList", params).then((response) => {
155 162
 					if (response.state.toLowerCase() === "success") {
163
+						uni.hideLoading();
156 164
 						let data = response.rows
157 165
 						this.total = response.total
158 166
 						uni.stopPullDownRefresh();

+ 3 - 3
CallCenterWeb.UI/RMYYAPP/pages/myTask/workOrderDetail/consultList.vue

@@ -114,9 +114,9 @@
114 114
 					flag:1
115 115
 				}
116 116
 				this.$http.get("GongDanType/GetList",params).then((res)=>{
117
-					if(res.state.toLowerCase() ==="success"){
118
-						this.orderTypeList = res.data
119
-					}
117
+					// if(res.state.toLowerCase() ==="success"){
118
+						this.orderTypeList = JSON.parse(res)
119
+					// }
120 120
 				})
121 121
 			},
122 122
 			getList(optioin) {

BIN
CallCenterWeb.UI/RMYYAPP/unpackage/cache/apk/__UNI__5A5207D_cm.apk


+ 1 - 1
CallCenterWeb.UI/RMYYAPP/unpackage/cache/apk/apkurl

@@ -1 +1 @@
1
-https://ide.dcloud.net.cn/build/download/fb982b10-3595-11ee-baa2-75c6cd81a413
1
+https://ide.dcloud.net.cn/build/download/2bec7a10-365e-11ee-afff-7709d68cb5e7

Разница между файлами не показана из-за своего большого размера
+ 1 - 1
CallCenterWeb.UI/RMYYAPP/unpackage/cache/apk/cmManifestCache.json


Разница между файлами не показана из-за своего большого размера
+ 7 - 7
CallCenterWeb.UI/RMYYAPP/unpackage/cache/wgt/__UNI__5A5207D/app-service.js


Разница между файлами не показана из-за своего большого размера
+ 1 - 1
CallCenterWeb.UI/RMYYAPP/unpackage/cache/wgt/__UNI__5A5207D/app-view.js


Разница между файлами не показана из-за своего большого размера
+ 1 - 1
CallCenterWeb.UI/RMYYAPP/unpackage/cache/wgt/__UNI__5A5207D/manifest.json