Bläddra i källkod

追加执行人可以扫身份证,接口失败提示统一修改

seimin 1 år sedan
förälder
incheckning
e3cf206664
56 ändrade filer med 556 tillägg och 199 borttagningar
  1. 2 2
      components/bigScreen/bigScreen.vue
  2. 1 1
      components/showMyQrcode/showMyQrcode.vue
  3. 3 3
      components/smallScreen/smallScreen.vue
  4. 1 1
      main.js
  5. 8 0
      pages.json
  6. 1 1
      pages/bloodSelect/bloodSelect.vue
  7. 1 1
      pages/checkAfterBigScreen/checkAfterBigScreen.vue
  8. 5 5
      pages/checkAfterScanning/checkAfterScanning.vue
  9. 4 4
      pages/check_blood/check_blood.vue
  10. 1 1
      pages/drugBatches/drugBatches.vue
  11. 4 4
      pages/drugsBagHistory/drugsBagHistory.vue
  12. 1 1
      pages/formManagementBuilding/formManagementBuilding.vue
  13. 1 1
      pages/formManagementDept/formManagementDept.vue
  14. 1 1
      pages/formManagementWechat/formManagementWechat.vue
  15. 10 10
      pages/homePage/homePage.vue
  16. 2 2
      pages/inspectList/inspectList.vue
  17. 1 1
      pages/my_list/my_list.vue
  18. 4 4
      pages/mypage/mypage.vue
  19. 1 1
      pages/otherCompleteOrder/otherCompleteOrder.vue
  20. 1 1
      pages/patientInformationInfo/patientInformationInfo.vue
  21. 7 7
      pages/patientInformationList/patientInformationList.vue
  22. 1 1
      pages/pharmacy/pharmacy.vue
  23. 10 10
      pages/pharmacyDetails/pharmacyDetails.vue
  24. 3 3
      pages/quickOrderAcceptanceWx/quickOrderAcceptanceWx.vue
  25. 68 29
      pages/receipt_infopage/receipt_infopage.vue
  26. 9 9
      pages/receiptpage/receiptpage.vue
  27. 310 0
      pages/result_error/result_error.vue
  28. 1 1
      pages/scannedDepartmentSpecimens/scannedDepartmentSpecimens.vue
  29. 1 1
      pages/scannedDepartmentSpecimensDetail/scannedDepartmentSpecimensDetail.vue
  30. 4 4
      pages/scanning/scanning.vue
  31. 3 3
      pages/scanning_B/scanning_B.vue
  32. 6 6
      pages/scanning_Result/scanning_Result.vue
  33. 2 2
      pages/scanning_all/scanning_all.vue
  34. 3 3
      pages/scanning_blood/scanning_blood.vue
  35. 2 2
      pages/scanning_blood_process/scanning_blood_process.vue
  36. 7 7
      pages/scanning_code/scanning_code.vue
  37. 7 7
      pages/scanning_djEnd/scanning_djEnd.vue
  38. 4 4
      pages/scanning_djInfo/scanning_djInfo.vue
  39. 4 4
      pages/scanning_drug/scanning_drug.vue
  40. 10 10
      pages/scanning_ins/scanning_ins.vue
  41. 2 2
      pages/scanning_nucleicAcid/scanning_nucleicAcid.vue
  42. 2 2
      pages/scanning_orderSign/scanning_orderSign.vue
  43. 3 3
      pages/scanning_result_seimin/scanning_result_seimin.vue
  44. 2 2
      pages/search/search.vue
  45. 3 3
      pages/searchMuti/searchMuti.vue
  46. 2 2
      pages/setDept/setDept.vue
  47. 1 1
      pages/settingCode/settingCode.vue
  48. 1 1
      pages/shortcutbuildOrders/shortcutbuildOrders.vue
  49. 3 3
      pages/signIn_blood/signIn_blood.vue
  50. 4 4
      pages/specimenChecking/specimenChecking.vue
  51. 3 3
      pages/specimenCheckingDetail/specimenCheckingDetail.vue
  52. 2 2
      pages/specimenCheckingEnd/specimenCheckingEnd.vue
  53. 1 1
      pages/specimenCheckingEndDetail/specimenCheckingEndDetail.vue
  54. 1 1
      pages/specimenDetail/specimenDetail.vue
  55. 1 1
      tools/commonFun.js
  56. 10 10
      tools/photograph.js

+ 2 - 2
components/bigScreen/bigScreen.vue

@@ -326,7 +326,7 @@
326 326
                                 } else {
327 327
                                   uni.showToast({
328 328
                                     icon: "none",
329
-                                    title: "请求失败!",
329
+                                    title: result.msg || "接口获取数据失败!",
330 330
                                   });
331 331
                                 }
332 332
                               });
@@ -346,7 +346,7 @@
346 346
                 uni.hideLoading();
347 347
                 uni.showToast({
348 348
                   icon: "none",
349
-                  title: '请求失败',
349
+                  title: result.msg || "接口获取数据失败!",
350 350
                 });
351 351
               }
352 352
             })

+ 1 - 1
components/showMyQrcode/showMyQrcode.vue

@@ -54,7 +54,7 @@
54 54
             } else {
55 55
               uni.showToast({
56 56
                 icon: "none",
57
-                title: '请求失败',
57
+                title: result.msg || "接口获取数据失败!",
58 58
               });
59 59
             }
60 60
           })

+ 3 - 3
components/smallScreen/smallScreen.vue

@@ -103,7 +103,7 @@
103 103
                   } else {
104 104
                     uni.showToast({
105 105
                       icon: "none",
106
-                      title: "请求失败!",
106
+                      title: res.msg || "接口获取数据失败!",
107 107
                     });
108 108
                   }
109 109
                 })
@@ -115,7 +115,7 @@
115 115
               uni.hideLoading();
116 116
               uni.showToast({
117 117
                 icon: "none",
118
-                title: "请求失败!",
118
+                title: res.msg || "接口获取数据失败!",
119 119
               });
120 120
             }
121 121
           })
@@ -380,7 +380,7 @@
380 380
               uni.hideLoading();
381 381
               uni.showToast({
382 382
                 icon: "none",
383
-                title: "请求失败!",
383
+                title: result.msg || "接口获取数据失败!",
384 384
               });
385 385
             }
386 386
           });

+ 1 - 1
main.js

@@ -7,7 +7,7 @@ import './mixins/mixin'
7 7
 // new VConsole();
8 8
 // import eruda from 'eruda';
9 9
 // eruda.init();
10
-console.info('v2.4.36');
10
+console.info('v2.4.37');
11 11
 Vue.prototype.wx = wx //声明扫码
12 12
 Vue.prototype.audios = [] //待播放的语音集合
13 13
 // #endif

+ 8 - 0
pages.json

@@ -436,6 +436,14 @@
436 436
         }
437 437
       }
438 438
 
439
+    }, {
440
+      "path": "pages/result_error/result_error",
441
+      "style": {
442
+        "h5": {
443
+          "titleNView": false
444
+        }
445
+      }
446
+
439 447
     }
440 448
   ],
441 449
   "globalStyle": {

+ 1 - 1
pages/bloodSelect/bloodSelect.vue

@@ -178,7 +178,7 @@
178 178
           } else {
179 179
             uni.showToast({
180 180
               icon: "none",
181
-              title: "请求失败!",
181
+              title: res.msg || "接口获取数据失败!",
182 182
             });
183 183
           }
184 184
         });

+ 1 - 1
pages/checkAfterBigScreen/checkAfterBigScreen.vue

@@ -126,7 +126,7 @@
126 126
           } else {
127 127
             uni.showToast({
128 128
               icon: "none",
129
-              title: "请求失败!",
129
+              title: res.msg || "接口获取数据失败!",
130 130
             });
131 131
           }
132 132
         })

+ 5 - 5
pages/checkAfterScanning/checkAfterScanning.vue

@@ -75,7 +75,7 @@
75 75
           } else {
76 76
             uni.showToast({
77 77
               icon: "none",
78
-              title: "请求失败!",
78
+              title: res.msg || "接口获取数据失败!",
79 79
             });
80 80
           }
81 81
         })
@@ -181,7 +181,7 @@
181 181
           } else {
182 182
             uni.showToast({
183 183
               icon: "none",
184
-              title: "请求失败!",
184
+              title: ress.msg || "接口获取数据失败!",
185 185
             });
186 186
           }
187 187
         })
@@ -212,7 +212,7 @@
212 212
           } else {
213 213
             uni.showToast({
214 214
               icon: "none",
215
-              title: "请求失败!",
215
+              title: ress.msg || "接口获取数据失败!",
216 216
             });
217 217
           }
218 218
         })
@@ -256,7 +256,7 @@
256 256
             } else {
257 257
               uni.showToast({
258 258
                 icon: "none",
259
-                title: "请求失败!",
259
+                title: res.msg || "接口获取数据失败!",
260 260
               });
261 261
             }
262 262
           });
@@ -270,7 +270,7 @@
270 270
             } else {
271 271
               uni.showToast({
272 272
                 icon: "none",
273
-                title: "请求失败!",
273
+                title: res.msg || "接口获取数据失败!",
274 274
               });
275 275
             }
276 276
           });

+ 4 - 4
pages/check_blood/check_blood.vue

@@ -132,7 +132,7 @@
132 132
           }else{
133 133
             uni.showToast({
134 134
               icon: "none",
135
-              title: "请求失败!",
135
+              title: result.msg || "接口获取数据失败!",
136 136
             });
137 137
           }
138 138
         })
@@ -159,7 +159,7 @@
159 159
           }else{
160 160
             uni.showToast({
161 161
               icon: "none",
162
-              title: "请求失败!",
162
+              title: res.msg || "接口获取数据失败!",
163 163
             });
164 164
           }
165 165
         })
@@ -238,7 +238,7 @@
238 238
             uni.hideLoading();
239 239
             uni.showToast({
240 240
               icon: "none",
241
-              title: "请求失败!",
241
+              title: result.msg || "接口获取数据失败!",
242 242
             });
243 243
           }
244 244
         });
@@ -277,7 +277,7 @@
277 277
                 } else {
278 278
                   uni.showToast({
279 279
                     icon: "none",
280
-                    title: "请求失败!",
280
+                    title: ress.msg || "接口获取数据失败!",
281 281
                   });
282 282
                 }
283 283
               });

+ 1 - 1
pages/drugBatches/drugBatches.vue

@@ -69,7 +69,7 @@
69 69
           } else {
70 70
             uni.showToast({
71 71
               icon: "none",
72
-              title: "请求失败",
72
+              title: res.msg || "接口获取数据失败!",
73 73
             });
74 74
           }
75 75
         });

+ 4 - 4
pages/drugsBagHistory/drugsBagHistory.vue

@@ -138,7 +138,7 @@
138 138
             } else {
139 139
               uni.showToast({
140 140
                 icon: "none",
141
-                title: "请求失败!",
141
+                title: result.msg || "接口获取数据失败!",
142 142
               });
143 143
             }
144 144
           });
@@ -172,7 +172,7 @@
172 172
             } else {
173 173
               uni.showToast({
174 174
                 icon: "none",
175
-                title: "请求失败!",
175
+                title: res.msg || "接口获取数据失败!",
176 176
               });
177 177
             }
178 178
           });
@@ -207,7 +207,7 @@
207 207
             } else {
208 208
               uni.showToast({
209 209
                 icon: "none",
210
-                title: "请求失败!",
210
+                title: result.msg || "接口获取数据失败!",
211 211
               });
212 212
             }
213 213
           });
@@ -239,7 +239,7 @@
239 239
             } else {
240 240
               uni.showToast({
241 241
                 icon: "none",
242
-                title: "请求失败!",
242
+                title: res.msg || "接口获取数据失败!",
243 243
               });
244 244
             }
245 245
           });

+ 1 - 1
pages/formManagementBuilding/formManagementBuilding.vue

@@ -103,7 +103,7 @@
103 103
             this.zxzData = [];
104 104
             uni.showToast({
105 105
               icon: "none",
106
-              title: "请求失败!",
106
+              title: res.msg || "接口获取数据失败!",
107 107
             });
108 108
           }
109 109
         });

+ 1 - 1
pages/formManagementDept/formManagementDept.vue

@@ -94,7 +94,7 @@
94 94
             this.zxzData = [];
95 95
             uni.showToast({
96 96
               icon: "none",
97
-              title: "请求失败!",
97
+              title: res.msg || "接口获取数据失败!",
98 98
             });
99 99
           }
100 100
         });

+ 1 - 1
pages/formManagementWechat/formManagementWechat.vue

@@ -92,7 +92,7 @@
92 92
           } else {
93 93
             uni.showToast({
94 94
               icon: "none",
95
-              title: "请求失败!",
95
+              title: res.msg || "接口获取数据失败!",
96 96
             });
97 97
           }
98 98
         });

+ 10 - 10
pages/homePage/homePage.vue

@@ -260,7 +260,7 @@
260 260
             } else {
261 261
               uni.showToast({
262 262
                 icon: "none",
263
-                title: "请求失败",
263
+                title: result.msg || "接口获取数据失败!",
264 264
               });
265 265
             }
266 266
           }
@@ -353,7 +353,7 @@
353 353
             } else {
354 354
               uni.showToast({
355 355
                 icon: "none",
356
-                title: "请求失败",
356
+                title: res.msg || "接口获取数据失败!",
357 357
               });
358 358
             }
359 359
           }
@@ -527,7 +527,7 @@
527 527
             } else {
528 528
               uni.showToast({
529 529
                 icon: "none",
530
-                title: "请求失败",
530
+                title: res.msg || "接口获取数据失败!",
531 531
               });
532 532
             }
533 533
           });
@@ -554,7 +554,7 @@
554 554
             } else {
555 555
               uni.showToast({
556 556
                 icon: "none",
557
-                title: "请求失败",
557
+                title: res.msg || "接口获取数据失败!",
558 558
               });
559 559
             }
560 560
           });
@@ -624,7 +624,7 @@
624 624
             } else {
625 625
               uni.showToast({
626 626
                 icon: "none",
627
-                title: "请求失败",
627
+                title: result.msg || "接口获取数据失败!",
628 628
               });
629 629
             }
630 630
           });
@@ -648,7 +648,7 @@
648 648
             } else {
649 649
               uni.showToast({
650 650
                 icon: "none",
651
-                title: "请求失败",
651
+                title: res.msg || "接口获取数据失败!",
652 652
               });
653 653
             }
654 654
           });
@@ -753,7 +753,7 @@
753 753
             } else {
754 754
               uni.showToast({
755 755
                 icon: "none",
756
-                title: res.remarks ? res.remarks : "请求失败",
756
+                title: res.remarks || "接口获取数据失败!",
757 757
               });
758 758
             }
759 759
           });
@@ -919,7 +919,7 @@
919 919
             } else {
920 920
               uni.showToast({
921 921
                 icon: "none",
922
-                title: "请求失败",
922
+                title: res.msg || "接口获取数据失败!",
923 923
               });
924 924
             }
925 925
           });
@@ -973,7 +973,7 @@
973 973
             } else {
974 974
               uni.showToast({
975 975
                 icon: "none",
976
-                title: "请求失败!",
976
+                title: res.msg || "接口获取数据失败!",
977 977
               });
978 978
             }
979 979
           }
@@ -1046,7 +1046,7 @@
1046 1046
           } else {
1047 1047
             uni.showToast({
1048 1048
               icon: "none",
1049
-              title: "请求失败!",
1049
+              title: res.msg || "接口获取数据失败!",
1050 1050
             });
1051 1051
           }
1052 1052
         });

+ 2 - 2
pages/inspectList/inspectList.vue

@@ -395,7 +395,7 @@
395 395
             uni.hideLoading();
396 396
             uni.showToast({
397 397
               icon: "none",
398
-              title: "请求失败!",
398
+              title: result.msg || "接口获取数据失败!",
399 399
             });
400 400
           }
401 401
         });
@@ -492,7 +492,7 @@
492 492
           } else {
493 493
             uni.showToast({
494 494
               icon: "none",
495
-              title: "请求失败!",
495
+              title: res.msg || "接口获取数据失败!",
496 496
             });
497 497
           }
498 498
         });

+ 1 - 1
pages/my_list/my_list.vue

@@ -308,7 +308,7 @@
308 308
           } else {
309 309
             uni.showToast({
310 310
               icon: "none",
311
-              title: "请求失败!",
311
+              title: res.msg || "接口获取数据失败!",
312 312
             });
313 313
           }
314 314
         });

+ 4 - 4
pages/mypage/mypage.vue

@@ -279,7 +279,7 @@
279 279
           } else {
280 280
             uni.showToast({
281 281
               icon: "none",
282
-              title: "请求失败!",
282
+              title: res.msg || "接口获取数据失败!",
283 283
             });
284 284
           }
285 285
         });
@@ -328,7 +328,7 @@
328 328
                   } else {
329 329
                     uni.showToast({
330 330
                       icon: "none",
331
-                      title: "请求失败!",
331
+                      title: res.msg || "接口获取数据失败!",
332 332
                     });
333 333
                   }
334 334
                 });
@@ -340,7 +340,7 @@
340 340
               uni.hideLoading();
341 341
               uni.showToast({
342 342
                 icon: "none",
343
-                title: ress.msg || "请求失败!",
343
+                title: ress.msg || "接口获取数据失败!",
344 344
               });
345 345
             }
346 346
           });
@@ -437,7 +437,7 @@
437 437
             uni.hideLoading();
438 438
             uni.showToast({
439 439
               icon: "none",
440
-              title: "请求失败!",
440
+              title: res.msg || "接口获取数据失败!",
441 441
             });
442 442
           }
443 443
         });

+ 1 - 1
pages/otherCompleteOrder/otherCompleteOrder.vue

@@ -244,7 +244,7 @@
244 244
             uni.hideLoading();
245 245
             uni.showToast({
246 246
               icon: "none",
247
-              title: "请求失败!",
247
+              title: result.msg || "接口获取数据失败!",
248 248
             });
249 249
           }
250 250
         });

+ 1 - 1
pages/patientInformationInfo/patientInformationInfo.vue

@@ -150,7 +150,7 @@
150 150
 					} else {
151 151
 						uni.showToast({
152 152
 							icon: "none",
153
-							title: "请求失败!",
153
+							title: res.msg || "接口获取数据失败!",
154 154
 						});
155 155
 					}
156 156
 				});

+ 7 - 7
pages/patientInformationList/patientInformationList.vue

@@ -193,7 +193,7 @@
193 193
                 } else {
194 194
                   uni.showToast({
195 195
                     icon: "none",
196
-                    title: "请求失败!",
196
+                    title: res.msg || "接口获取数据失败!",
197 197
                   });
198 198
                 }
199 199
               })
@@ -204,7 +204,7 @@
204 204
             uni.hideLoading();
205 205
             uni.showToast({
206 206
               icon: "none",
207
-              title: "请求失败!",
207
+              title: res.msg || "接口获取数据失败!",
208 208
             });
209 209
           }
210 210
         })
@@ -269,7 +269,7 @@
269 269
           } else {
270 270
             uni.showToast({
271 271
               icon: "none",
272
-              title: "请求失败!",
272
+              title: res.msg || "接口获取数据失败!",
273 273
             });
274 274
           }
275 275
         })
@@ -353,7 +353,7 @@
353 353
                     uni.hideLoading();
354 354
                     uni.showToast({
355 355
                       icon: "none",
356
-                      title: "请求失败!",
356
+                      title: res.msg || "接口获取数据失败!",
357 357
                     });
358 358
                   }
359 359
                 });
@@ -362,7 +362,7 @@
362 362
               uni.hideLoading();
363 363
               uni.showToast({
364 364
                 icon: "none",
365
-                title: "请求失败!",
365
+                title: result.msg || "接口获取数据失败!",
366 366
               });
367 367
             }
368 368
           });
@@ -449,7 +449,7 @@
449 449
           } else {
450 450
             uni.showToast({
451 451
               icon: "none",
452
-              title: "请求失败!",
452
+              title: res.msg || "接口获取数据失败!",
453 453
             });
454 454
           }
455 455
         });
@@ -514,7 +514,7 @@
514 514
       //     } else {
515 515
       //       uni.showToast({
516 516
       //         icon: "none",
517
-      //         title: "请求失败!",
517
+      //         title: res.msg || "接口获取数据失败!",
518 518
       //       });
519 519
       //     }
520 520
       //   });

+ 1 - 1
pages/pharmacy/pharmacy.vue

@@ -203,7 +203,7 @@
203 203
           } else {
204 204
             uni.showToast({
205 205
               icon: "none",
206
-              title: "请求失败!",
206
+              title: res.msg || "接口获取数据失败!",
207 207
             });
208 208
           }
209 209
         });

+ 10 - 10
pages/pharmacyDetails/pharmacyDetails.vue

@@ -211,7 +211,7 @@
211 211
           } else {
212 212
             uni.showModal({
213 213
               title: '提示',
214
-              content: "请求失败!",
214
+              content: result.msg || "接口获取数据失败!",
215 215
               showCancel: false,
216 216
               success: function(res) {
217 217
                 if (res.confirm) {
@@ -264,7 +264,7 @@
264 264
           } else {
265 265
             uni.showModal({
266 266
               title: '提示',
267
-              content: "请求失败!",
267
+              content: result.msg || "接口获取数据失败!",
268 268
               showCancel: false,
269 269
               success: function(res) {
270 270
                 if (res.confirm) {
@@ -342,7 +342,7 @@
342 342
                     //   }else {
343 343
                     //     uni.showToast({
344 344
                     //       icon: "none",
345
-                    //       title: "请求失败!",
345
+                    //       title: result1.msg || "接口获取数据失败!",
346 346
                     //     });
347 347
                     //   }
348 348
                     // });
@@ -355,7 +355,7 @@
355 355
                     // this.isLoading = false;
356 356
                     uni.showModal({
357 357
                       title: '提示',
358
-                      content: "请求失败!",
358
+                      content: result.msg || "接口获取数据失败!",
359 359
                       showCancel: false,
360 360
                       success: function(res) {
361 361
                         if (res.confirm) {
@@ -391,7 +391,7 @@
391 391
                   } else {
392 392
                     uni.showModal({
393 393
                       title: '提示',
394
-                      content: "请求失败!",
394
+                      content: result.msg || "接口获取数据失败!",
395 395
                       showCancel: false,
396 396
                       success: function(res) {
397 397
                         if (res.confirm) {
@@ -428,7 +428,7 @@
428 428
                   } else {
429 429
                     uni.showModal({
430 430
                       title: '提示',
431
-                      content: "请求失败!",
431
+                      content: result.msg || "接口获取数据失败!",
432 432
                       showCancel: false,
433 433
                       success: function(res) {
434 434
                         if (res.confirm) {
@@ -480,7 +480,7 @@
480 480
             } else {
481 481
               uni.showToast({
482 482
                 icon: "none",
483
-                title: "请求失败!",
483
+                title: result.msg || "接口获取数据失败!",
484 484
               });
485 485
             }
486 486
           });
@@ -514,7 +514,7 @@
514 514
             } else {
515 515
               uni.showToast({
516 516
                 icon: "none",
517
-                title: "请求失败!",
517
+                title: res.msg || "接口获取数据失败!",
518 518
               });
519 519
             }
520 520
           });
@@ -549,7 +549,7 @@
549 549
             } else {
550 550
               uni.showToast({
551 551
                 icon: "none",
552
-                title: "请求失败!",
552
+                title: result.msg || "接口获取数据失败!",
553 553
               });
554 554
             }
555 555
           });
@@ -581,7 +581,7 @@
581 581
             } else {
582 582
               uni.showToast({
583 583
                 icon: "none",
584
-                title: "请求失败!",
584
+                title: res.msg || "接口获取数据失败!",
585 585
               });
586 586
             }
587 587
           });

+ 3 - 3
pages/quickOrderAcceptanceWx/quickOrderAcceptanceWx.vue

@@ -89,7 +89,7 @@
89 89
                     } else {
90 90
                       uni.showToast({
91 91
                         icon: "none",
92
-                        title: "请求失败!",
92
+                        title: result.msg || "接口获取数据失败!",
93 93
                       });
94 94
                     }
95 95
                   });
@@ -101,7 +101,7 @@
101 101
           } else {
102 102
             uni.showToast({
103 103
               icon: "none",
104
-              title: "请求失败!",
104
+              title: res.msg || "接口获取数据失败!",
105 105
             });
106 106
           }
107 107
         });
@@ -167,7 +167,7 @@
167 167
             this.zxzData = [];
168 168
             uni.showToast({
169 169
               icon: "none",
170
-              title: "请求失败!",
170
+              title: res.msg || "接口获取数据失败!",
171 171
             });
172 172
           }
173 173
         });

+ 68 - 29
pages/receipt_infopage/receipt_infopage.vue

@@ -524,7 +524,7 @@
524 524
         console.log(bulkCopy);
525 525
         this.speModels.disjunctor = false;
526 526
         let { user, data } = this.other;
527
-        this.additionalUserCommon(user.id, data.id, data.worker.id, bulkCopy);
527
+        this.additionalUserCommon(user, data.id, data.worker.id, bulkCopy);
528 528
       },
529 529
       // 手动查询-取消
530 530
       speCancel() {
@@ -535,7 +535,7 @@
535 535
         this.other = {
536 536
           user,
537 537
           data,
538
-        }
538
+        };
539 539
         this.speModels = {
540 540
           content: `您要最追加的人员为${user.name},您确认要追加吗?`,
541 541
           disjunctor: true,
@@ -579,7 +579,7 @@
579 579
                 } else {
580 580
                   uni.showToast({
581 581
                     icon: "none",
582
-                    title: "请求失败!",
582
+                    title: res.msg || "接口获取数据失败!",
583 583
                   });
584 584
                 }
585 585
               });
@@ -592,7 +592,7 @@
592 592
           } else {
593 593
             uni.showToast({
594 594
               icon: "none",
595
-              title: "请求失败!",
595
+              title: res.msg || "接口获取数据失败!",
596 596
             });
597 597
           }
598 598
         });
@@ -828,7 +828,7 @@
828 828
                 uni.hideLoading();
829 829
                 uni.showToast({
830 830
                   icon: "none",
831
-                  title: "请求失败!",
831
+                  title: result.msg || "接口获取数据失败!",
832 832
                 });
833 833
               }
834 834
             })
@@ -899,7 +899,7 @@
899 899
                 uni.hideLoading();
900 900
                 uni.showToast({
901 901
                   icon: "none",
902
-                  title: "请求失败!",
902
+                  title: result.msg || "接口获取数据失败!",
903 903
                 });
904 904
               }
905 905
             })
@@ -947,7 +947,7 @@
947 947
         } else {
948 948
           uni.showToast({
949 949
             icon: "none",
950
-            title: "请求失败!",
950
+            title: result.msg || "接口获取数据失败!",
951 951
           });
952 952
         }
953 953
       },
@@ -986,7 +986,7 @@
986 986
           }else{
987 987
             uni.showToast({
988 988
               icon: "none",
989
-              title: "请求失败!",
989
+              title: res.msg || "接口获取数据失败!",
990 990
             });
991 991
           }
992 992
         })
@@ -1126,19 +1126,20 @@
1126 1126
             this.SMFlag = true;
1127 1127
             // this.currentCode = result.code;
1128 1128
             if (result.state == 200 || result.state == 201) {
1129
-              uni.hideLoading();
1130 1129
               console.log(result);
1131
-              let user = {};
1130
+              let user;
1132 1131
               try{
1132
+                // json对象字符串
1133 1133
                 user = JSON.parse(result.code);
1134
-                console.log(user);
1134
+                // 不是json对象字符串
1135
+                if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() !== 'object'){
1136
+                  user = result.code;
1137
+                }
1135 1138
               }catch(e){
1136
-                uni.showToast({
1137
-                  icon: "none",
1138
-                  title: "请扫描正确的二维码!",
1139
-                });
1139
+                user = result.code;
1140 1140
               }
1141
-              if(user.type == 'myQrCode' && user.id && user.name){
1141
+              if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'object' && user.type == 'myQrCode' && user.id && user.name){
1142
+                uni.hideLoading();
1142 1143
                 if(data.taskType.associationType.value == 'other'){
1143 1144
                   this.showCheckboxModal(user, data);
1144 1145
                 }else{
@@ -1148,24 +1149,60 @@
1148 1149
                     success: (res) => {
1149 1150
                       if (res.confirm) {
1150 1151
                         console.log("用户点击确定");
1151
-                        this.additionalUserCommon(user.id, data.id, data.worker.id, false);
1152
+                        this.additionalUserCommon(user, data.id, data.worker.id, false);
1152 1153
                       } else if (res.cancel) {
1153 1154
                         console.log("用户点击取消");
1154 1155
                       }
1155 1156
                     },
1156 1157
                   });
1157 1158
                 }
1159
+              }else if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'string'){
1160
+                let identityCardNumber = user;
1161
+                // 根据身份证获取name
1162
+                // todo
1163
+                post("/data/fetchDataList/user", {idx: 0, sum: 1, user: { identityCardNumber }}).then((result) => {
1164
+                  uni.hideLoading();
1165
+                  if(result.status == 200){
1166
+                    result.list = result.list || [];
1167
+                    if(result.list.length){
1168
+                      let user = {name: result.list[0].name, identityCardNumber};
1169
+                      if(data.taskType.associationType.value == 'other'){
1170
+                        this.showCheckboxModal(user, data);
1171
+                      }else{
1172
+                        uni.showModal({
1173
+                          title: "提示",
1174
+                          content: `您要最追加的人员为${user.name},您确认要追加吗?`,
1175
+                          success: (res) => {
1176
+                            if (res.confirm) {
1177
+                              console.log("用户点击确定");
1178
+                              this.additionalUserCommon(user, data.id, data.worker.id, false);
1179
+                            } else if (res.cancel) {
1180
+                              console.log("用户点击取消");
1181
+                            }
1182
+                          },
1183
+                        });
1184
+                      }
1185
+                    }else{
1186
+                      uni.navigateTo({
1187
+                        url: `../result_error/result_error?qrcode=${ress1}&msg=扫描二维码无法找到用户!`,
1188
+                      });
1189
+                    }
1190
+                  }else{
1191
+                    uni.navigateTo({
1192
+                      url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
1193
+                    });
1194
+                  }
1195
+                })
1158 1196
               }else{
1159
-                uni.showToast({
1160
-                  icon: "none",
1161
-                  title: "请扫描正确的二维码!",
1197
+                uni.hideLoading();
1198
+                uni.navigateTo({
1199
+                  url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
1162 1200
                 });
1163 1201
               }
1164 1202
             } else {
1165 1203
               uni.hideLoading();
1166
-              uni.showToast({
1167
-                icon: "none",
1168
-                title: "请求失败!",
1204
+              uni.navigateTo({
1205
+                url: `../result_error/result_error?qrcode=${ress1}&msg=接口获取数据失败!`,
1169 1206
               });
1170 1207
             }
1171 1208
           });
@@ -1174,14 +1211,16 @@
1174 1211
         });
1175 1212
       },
1176 1213
       // 追加陪检人
1177
-      additionalUserCommon(userId, gdId, workerId, bulkCopy) {
1178
-        console.log(userId, gdId, workerId, bulkCopy);
1214
+      additionalUserCommon(user, gdId, workerId, bulkCopy) {
1215
+        console.log(user, gdId, workerId, bulkCopy);
1179 1216
         uni.showLoading({
1180 1217
           title: "加载中",
1181 1218
           mask: true,
1182 1219
         });
1220
+        // 二维码里有id则传userid,没有则传identityCardNumber
1183 1221
         post("/workerOrder/additionalAccompanyingPersonnel", {
1184
-          userId,
1222
+          userId: user.id || undefined,
1223
+          identityCardNumber: !user.id ? user.identityCardNumber : undefined,
1185 1224
           gdId,
1186 1225
           workerId,
1187 1226
           bulkCopy: bulkCopy ? 1 : undefined,
@@ -1300,7 +1339,7 @@
1300 1339
           } else {
1301 1340
             uni.showToast({
1302 1341
               icon: "none",
1303
-              title: "请求失败!",
1342
+              title: res.msg || "接口获取数据失败!",
1304 1343
             });
1305 1344
           }
1306 1345
         });
@@ -1332,7 +1371,7 @@
1332 1371
           } else {
1333 1372
             uni.showToast({
1334 1373
               icon: "none",
1335
-              title: "请求失败!",
1374
+              title: res.msg || "接口获取数据失败!",
1336 1375
             });
1337 1376
           }
1338 1377
         });
@@ -1367,7 +1406,7 @@
1367 1406
           } else {
1368 1407
             uni.showToast({
1369 1408
               icon: "none",
1370
-              title: "请求失败!",
1409
+              title: res.msg || "接口获取数据失败!",
1371 1410
             });
1372 1411
           }
1373 1412
         });

+ 9 - 9
pages/receiptpage/receiptpage.vue

@@ -889,7 +889,7 @@
889 889
                 uni.hideLoading();
890 890
                 uni.showToast({
891 891
                   icon: "none",
892
-                  title: "请求失败!",
892
+                  title: result.msg || "接口获取数据失败!",
893 893
                 });
894 894
               }
895 895
             })
@@ -960,7 +960,7 @@
960 960
                 uni.hideLoading();
961 961
                 uni.showToast({
962 962
                   icon: "none",
963
-                  title: "请求失败!",
963
+                  title: result.msg || "接口获取数据失败!",
964 964
                 });
965 965
               }
966 966
             })
@@ -1008,7 +1008,7 @@
1008 1008
         } else {
1009 1009
           uni.showToast({
1010 1010
             icon: "none",
1011
-            title: "请求失败!",
1011
+            title: result.msg || "接口获取数据失败!",
1012 1012
           });
1013 1013
         }
1014 1014
       },
@@ -1060,7 +1060,7 @@
1060 1060
             } else {
1061 1061
               uni.showToast({
1062 1062
                 icon: "none",
1063
-                title: "请求失败!",
1063
+                title: result.msg || "接口获取数据失败!",
1064 1064
               });
1065 1065
             }
1066 1066
           });
@@ -1143,7 +1143,7 @@
1143 1143
                 uni.hideLoading();
1144 1144
                 uni.showToast({
1145 1145
                   icon: "none",
1146
-                  title: '请求失败',
1146
+                  title: result.msg || "接口获取数据失败!",
1147 1147
                 });
1148 1148
               }
1149 1149
             })
@@ -1258,7 +1258,7 @@
1258 1258
           } else {
1259 1259
             uni.showToast({
1260 1260
               icon: "none",
1261
-              title: "请求失败!",
1261
+              title: res.msg || "接口获取数据失败!",
1262 1262
             });
1263 1263
           }
1264 1264
         });
@@ -1297,7 +1297,7 @@
1297 1297
           } else {
1298 1298
             uni.showToast({
1299 1299
               icon: "none",
1300
-              title: "请求失败!",
1300
+              title: res.msg || "接口获取数据失败!",
1301 1301
             });
1302 1302
           }
1303 1303
         });
@@ -1362,7 +1362,7 @@
1362 1362
           } else {
1363 1363
             uni.showToast({
1364 1364
               icon: "none",
1365
-              title: "请求失败!",
1365
+              title: res.msg || "接口获取数据失败!",
1366 1366
             });
1367 1367
           }
1368 1368
         });
@@ -1379,7 +1379,7 @@
1379 1379
           } else {
1380 1380
             uni.showToast({
1381 1381
               icon: "none",
1382
-              title: "请求失败!",
1382
+              title: res.msg || "接口获取数据失败!",
1383 1383
             });
1384 1384
           }
1385 1385
         });

+ 310 - 0
pages/result_error/result_error.vue

@@ -0,0 +1,310 @@
1
+<template>
2
+  <view class="Scanning_Result_seimin">
3
+    <view class="Scanning_top">
4
+      <view class="Scanning_top_icon">
5
+        <text class="cubeic-close icon_transport transport-shibai"></text>
6
+      </view>
7
+      <view class="Scanning_top_text">
8
+        <view class="text1"> 操作失败 </view>
9
+        <view class="text1 f30" v-if="options.qrcode !== undefined"> 扫描内容:{{options.qrcode}} </view>
10
+      </view>
11
+    </view>
12
+
13
+    <view class="Scanning_cont">
14
+      <view class="Scanning_cont_center Scanning_cont_block">
15
+        {{ options.msg }}
16
+      </view>
17
+    </view>
18
+    <view class="foot_btn">
19
+      <view class="btn3" @click="goToList()"> 知道了 </view>
20
+    </view>
21
+  </view>
22
+</template>
23
+<script>
24
+import { webHandle } from "../../http/http.js";
25
+export default {
26
+  data() {
27
+    return {
28
+      options: {},
29
+    };
30
+  },
31
+  methods: {
32
+    // 知道了
33
+    goToList() {
34
+      uni.navigateTo({
35
+        url: "../receiptpage/receiptpage",
36
+      });
37
+    },
38
+  },
39
+  onLoad(options) {
40
+    console.log(options, "错误页");
41
+    this.options = options;
42
+    // #ifdef APP-PLUS
43
+    webHandle("no", "app");
44
+    // #endif
45
+    // #ifdef H5
46
+    webHandle("no", "wx");
47
+    // #endif
48
+  },
49
+};
50
+</script>
51
+<style lang="less" scoped>
52
+.Scanning_Result_seimin {
53
+  padding: 0 20rpx;
54
+  .speTable {
55
+    margin: 32rpx 0;
56
+    width: 100%;
57
+    border-collapse: collapse;
58
+    .green{
59
+      color: green;
60
+    }
61
+    .red{
62
+      color: red;
63
+    }
64
+    .maxWidth{
65
+      width: 60%;
66
+    }
67
+    td{
68
+      border: 2rpx solid #666;
69
+    }
70
+  }
71
+  .page_item_wrap {
72
+    position: relative;
73
+    margin-top: 32rpx;
74
+  
75
+    .page_item {
76
+      margin-top: 16rpx;
77
+      margin-bottom: 124rpx;
78
+      background: #fff;
79
+      border-radius: 8rpx;
80
+      margin: 0 20rpx;
81
+      border: 2rpx solid #e5e9ed;
82
+      position: relative;
83
+      overflow: hidden;
84
+      padding: 0 16rpx;
85
+  
86
+      .L {
87
+        width: 40rpx;
88
+        height: 40rpx;
89
+        border-radius: 50%;
90
+        background: #f9fafb;
91
+        position: absolute;
92
+        left: -20rpx;
93
+        top: 68rpx;
94
+        border: 2rpx solid #e5e9ed;
95
+      }
96
+  
97
+      .R {
98
+        width: 40rpx;
99
+        height: 40rpx;
100
+        border-radius: 50%;
101
+        background: #f9fafb;
102
+        position: absolute;
103
+        float: right;
104
+        right: -20rpx;
105
+        top: 68rpx;
106
+        border: 2rpx solid #e5e9ed;
107
+      }
108
+  
109
+      .page_item_top {
110
+        height: 88rpx;
111
+        border-bottom: 2rpx dashed #e5e9ed;
112
+        padding: 0 16rpx;
113
+  
114
+        .page_item_top-inner {
115
+          display: flex;
116
+          justify-content: space-between;
117
+          align-items: center;
118
+          height: 100%;
119
+  
120
+          .page_item_top_L {
121
+            .L_text {
122
+              font-size: 32rpx;
123
+              font-weight: 700;
124
+            }
125
+          }
126
+  
127
+          .page_item_top_R {
128
+            font-size: 32rpx;
129
+  
130
+            .L_iocn {
131
+              color: rgb(7, 134, 60);
132
+              font-size: 36rpx;
133
+              font-weight: 700;
134
+            }
135
+          }
136
+        }
137
+      }
138
+  
139
+      .page_item_cont {
140
+        min-height: 90rpx;
141
+        padding: 0 16rpx;
142
+        text-align: left;
143
+        position: relative;
144
+  
145
+        .text_big {
146
+          font-size: 32rpx;
147
+          font-weight: 700;
148
+          // margin-top: 10rpx;
149
+        
150
+          p {
151
+            font-weight: 700;
152
+            line-height: 1.5;
153
+          }
154
+        }
155
+  
156
+        .line {
157
+          height: 20rpx;
158
+          width: 2rpx;
159
+          border-left: 2rpx solid #e5e9ed;
160
+          position: absolute;
161
+          top: 82rpx;
162
+          left: 40rpx;
163
+        }
164
+  
165
+        .page_item_cont_T {
166
+          padding-top: 28rpx;
167
+          padding-bottom: 28rpx;
168
+          font-size: 28rpx;
169
+  
170
+          .page_item_cont_title {
171
+            height: 100%;
172
+            font-size: 32rpx;
173
+            display: flex;
174
+            justify-content: space-between;
175
+            align-items: center;
176
+          }
177
+        }
178
+  
179
+        .page_item_cont_B {
180
+          padding-top: 28rpx;
181
+          margin-bottom: 28rpx;
182
+  
183
+          .page_item_cont_title {
184
+            font-size: 32rpx;
185
+            display: flex;
186
+            justify-content: space-between;
187
+            align-items: center;
188
+          }
189
+        }
190
+  
191
+        .page_item_cont_C {
192
+          margin-bottom: 28rpx;
193
+  
194
+          .page_item_cont_title_C {
195
+            font-size: 32rpx;
196
+            display: flex;
197
+            justify-content: space-between;
198
+            align-items: center;
199
+          }
200
+        }
201
+  
202
+        #infos {
203
+          display: none;
204
+        }
205
+      }
206
+    }
207
+  
208
+    .L-l {
209
+      width: 2rpx;
210
+      height: 40rpx;
211
+      background: #f9fafb;
212
+      position: absolute;
213
+      left: 20rpx;
214
+      top: 72rpx;
215
+    }
216
+  
217
+    .R-l {
218
+      width: 2rpx;
219
+      height: 40rpx;
220
+      background: #f9fafb;
221
+      position: absolute;
222
+      right: 20rpx;
223
+      top: 72rpx;
224
+    }
225
+  }
226
+  .Scanning_top {
227
+    .Scanning_top_icon {
228
+      width: 140rpx;
229
+      height: 140rpx;
230
+      margin: 0 auto;
231
+      margin-top: 116rpx;
232
+      border-radius: 50%;
233
+      line-height: 140rpx;
234
+
235
+      .cubeic-ok {
236
+        font-size: 140rpx;
237
+        color: #35b34a;
238
+      }
239
+
240
+      .cubeic-close {
241
+        font-size: 140rpx;
242
+        color: #ff3b53;
243
+      }
244
+    }
245
+
246
+    .Scanning_top_text {
247
+      .text1 {
248
+        margin-top: 40rpx;
249
+        font-size: 48rpx;
250
+        text-align: center;
251
+      }
252
+
253
+      .success_tips {
254
+        color: red;
255
+        font-size: 30rpx;
256
+      }
257
+    }
258
+  }
259
+
260
+  .Scanning_cont {
261
+    font-size: 32rpx;
262
+    text-align: center;
263
+
264
+    .Scanning_cont_block {
265
+      margin-bottom: 16rpx;
266
+    }
267
+
268
+    .Scanning_cont_center {
269
+      text-align: center;
270
+    }
271
+
272
+    .text {
273
+      margin-top: 24rpx;
274
+      color: #35b34a;
275
+    }
276
+
277
+    .text1 {
278
+      margin-top: 24rpx;
279
+      color: #ff3b53;
280
+    }
281
+  }
282
+
283
+  .foot_btn {
284
+    position: fixed;
285
+    bottom: 0;
286
+    right: 20rpx;
287
+    left: 20rpx;
288
+    line-height: 66rpx;
289
+    height: 100rpx;
290
+    border-top: 2rpx solid #e5e9ed;
291
+    background: #f9fafb;
292
+    display: flex;
293
+    justify-content: space-between;
294
+
295
+    .btn1,
296
+    .btn2,
297
+    .btn3 {
298
+      height: 66rpx;
299
+      width: 100%;
300
+      margin: 0 1%;
301
+      background-image: linear-gradient(to right, #72c172, #3bb197);
302
+      color: #fff;
303
+      border-radius: 8rpx;
304
+      font-size: 32rpx;
305
+      margin-top: 16rpx;
306
+      text-align: center;
307
+    }
308
+  }
309
+}
310
+</style>

+ 1 - 1
pages/scannedDepartmentSpecimens/scannedDepartmentSpecimens.vue

@@ -54,7 +54,7 @@
54 54
           } else {
55 55
             uni.showToast({
56 56
               icon: "none",
57
-              title: "请求失败!",
57
+              title: res.msg || "接口获取数据失败!",
58 58
             });
59 59
           }
60 60
         });

+ 1 - 1
pages/scannedDepartmentSpecimensDetail/scannedDepartmentSpecimensDetail.vue

@@ -133,7 +133,7 @@
133 133
           } else {
134 134
             uni.showToast({
135 135
               icon: "none",
136
-              title: "请求失败!",
136
+              title: res.msg || "接口获取数据失败!",
137 137
             });
138 138
           }
139 139
         });

+ 4 - 4
pages/scanning/scanning.vue

@@ -125,7 +125,7 @@
125 125
           } else {
126 126
             uni.showToast({
127 127
               icon: "none",
128
-              title: "请求失败!",
128
+              title: res.msg || "接口获取数据失败!",
129 129
             });
130 130
           }
131 131
         });
@@ -165,7 +165,7 @@
165 165
               } else {
166 166
                 uni.showToast({
167 167
                   icon: "none",
168
-                  title: "请求失败!",
168
+                  title: res.msg || "接口获取数据失败!",
169 169
                 });
170 170
               }
171 171
             });
@@ -183,7 +183,7 @@
183 183
               } else {
184 184
                 uni.showToast({
185 185
                   icon: "none",
186
-                  title: "请求失败!",
186
+                  title: res.msg || "接口获取数据失败!",
187 187
                 });
188 188
               }
189 189
             });
@@ -204,7 +204,7 @@
204 204
             } else {
205 205
               uni.showToast({
206 206
                 icon: "none",
207
-                title: "请求失败!",
207
+                title: res.msg || "接口获取数据失败!",
208 208
               });
209 209
             }
210 210
           });

+ 3 - 3
pages/scanning_B/scanning_B.vue

@@ -178,7 +178,7 @@
178 178
       //             uni.hideLoading();
179 179
       //             uni.showToast({
180 180
       //               icon: "none",
181
-      //               title: "请求失败!",
181
+      //               title: result.msg || "接口获取数据失败!",
182 182
       //             });
183 183
       //           }
184 184
       //         });
@@ -247,7 +247,7 @@
247 247
                   uni.hideLoading();
248 248
                   uni.showToast({
249 249
                     icon: "none",
250
-                    title: res.msg || "请求失败!",
250
+                    title: res.msg || "接口获取数据失败!",
251 251
                   });
252 252
                 }
253 253
               });
@@ -402,7 +402,7 @@
402 402
           } else {
403 403
             uni.showToast({
404 404
               icon: "none",
405
-              title: "请求失败!",
405
+              title: result.msg || "接口获取数据失败!",
406 406
             });
407 407
           }
408 408
         })

+ 6 - 6
pages/scanning_Result/scanning_Result.vue

@@ -459,7 +459,7 @@
459 459
             uni.hideLoading();
460 460
             uni.showToast({
461 461
               icon: "none",
462
-              title: "请求失败!",
462
+              title: result.msg || "接口获取数据失败!",
463 463
             });
464 464
           }
465 465
         });
@@ -527,7 +527,7 @@
527 527
             } else {
528 528
               uni.showToast({
529 529
                 icon: "none",
530
-                title: "请求失败!",
530
+                title: res.msg || "接口获取数据失败!",
531 531
               });
532 532
             }
533 533
           });
@@ -541,7 +541,7 @@
541 541
             } else {
542 542
               uni.showToast({
543 543
                 icon: "none",
544
-                title: "请求失败!",
544
+                title: res.msg || "接口获取数据失败!",
545 545
               });
546 546
             }
547 547
           });
@@ -596,7 +596,7 @@
596 596
           } else {
597 597
             uni.showToast({
598 598
               icon: "none",
599
-              title: "请求失败!",
599
+              title: ress.msg || "接口获取数据失败!",
600 600
             });
601 601
           }
602 602
         })
@@ -627,7 +627,7 @@
627 627
           } else {
628 628
             uni.showToast({
629 629
               icon: "none",
630
-              title: "请求失败!",
630
+              title: ress.msg || "接口获取数据失败!",
631 631
             });
632 632
           }
633 633
         })
@@ -759,7 +759,7 @@
759 759
           } else {
760 760
             uni.showToast({
761 761
               icon: "none",
762
-              title: res.msg || "请求失败!",
762
+              title: res.msg || "接口获取数据失败!",
763 763
             });
764 764
           }
765 765
         });

+ 2 - 2
pages/scanning_all/scanning_all.vue

@@ -435,7 +435,7 @@
435 435
                 }else{
436 436
                   uni.showToast({
437 437
                     icon: "none",
438
-                    title: "请求失败!",
438
+                    title: result.msg || "接口获取数据失败!",
439 439
                   });
440 440
                 }
441 441
               })
@@ -545,7 +545,7 @@
545 545
                       uni.hideLoading();
546 546
                       uni.showToast({
547 547
                         icon: "none",
548
-                        title: "请求失败!",
548
+                        title: result.msg || "接口获取数据失败!",
549 549
                       });
550 550
                     }
551 551
                   });

+ 3 - 3
pages/scanning_blood/scanning_blood.vue

@@ -164,7 +164,7 @@
164 164
                 } else {
165 165
                   uni.showToast({
166 166
                     icon: "none",
167
-                    title: "请求失败!",
167
+                    title: ress.msg || "接口获取数据失败!",
168 168
                   });
169 169
                 }
170 170
               });
@@ -203,7 +203,7 @@
203 203
                 } else {
204 204
                   uni.showToast({
205 205
                     icon: "none",
206
-                    title: "请求失败!",
206
+                    title: ress.msg || "接口获取数据失败!",
207 207
                   });
208 208
                 }
209 209
               });
@@ -271,7 +271,7 @@
271 271
             } else {
272 272
               uni.showToast({
273 273
                 icon: "none",
274
-                title: "请求失败",
274
+                title: res.msg || "接口获取数据失败!",
275 275
               });
276 276
             }
277 277
           });

+ 2 - 2
pages/scanning_blood_process/scanning_blood_process.vue

@@ -218,7 +218,7 @@
218 218
                   uni.hideLoading();
219 219
                   uni.showToast({
220 220
                     icon: "none",
221
-                    title: "请求失败!",
221
+                    title: res.msg || "接口获取数据失败!",
222 222
                   });
223 223
                 }
224 224
               });
@@ -230,7 +230,7 @@
230 230
             uni.hideLoading();
231 231
             uni.showToast({
232 232
               icon: "none",
233
-              title: "请求失败!",
233
+              title: result.msg || "接口获取数据失败!",
234 234
             });
235 235
           }
236 236
         });

+ 7 - 7
pages/scanning_code/scanning_code.vue

@@ -640,7 +640,7 @@
640 640
             uni.hideLoading();
641 641
             uni.showToast({
642 642
               icon: "none",
643
-              title: "请求失败!",
643
+              title: res.msg || "接口获取数据失败!",
644 644
             });
645 645
           }
646 646
         });
@@ -674,7 +674,7 @@
674 674
             this.modifyReason = '';
675 675
             uni.showToast({
676 676
               icon: "none",
677
-              title: "请求失败!",
677
+              title: res.msg || "接口获取数据失败!",
678 678
             });
679 679
           }
680 680
         });
@@ -977,7 +977,7 @@
977 977
             uni.hideLoading();
978 978
             uni.showToast({
979 979
               icon: "none",
980
-              title: "请求失败!",
980
+              title: result.msg || "接口获取数据失败!",
981 981
             });
982 982
           }
983 983
         });
@@ -1040,7 +1040,7 @@
1040 1040
               uni.hideLoading();
1041 1041
               uni.showToast({
1042 1042
                 icon: "none",
1043
-                title: "请求失败!",
1043
+                title: res.msg || "接口获取数据失败!",
1044 1044
               });
1045 1045
             }
1046 1046
           });
@@ -1061,7 +1061,7 @@
1061 1061
               uni.hideLoading();
1062 1062
               uni.showToast({
1063 1063
                 icon: "none",
1064
-                title: "请求失败!",
1064
+                title: res.msg || "接口获取数据失败!",
1065 1065
               });
1066 1066
             }
1067 1067
           });
@@ -1123,7 +1123,7 @@
1123 1123
           } else {
1124 1124
             uni.showToast({
1125 1125
               icon: "none",
1126
-              title: "请求失败!",
1126
+              title: res.msg || "接口获取数据失败!",
1127 1127
             });
1128 1128
           }
1129 1129
         });
@@ -1160,7 +1160,7 @@
1160 1160
           } else {
1161 1161
             uni.showToast({
1162 1162
               icon: "none",
1163
-              title: "请求失败!",
1163
+              title: res.msg || "接口获取数据失败!",
1164 1164
             });
1165 1165
           }
1166 1166
         });

+ 7 - 7
pages/scanning_djEnd/scanning_djEnd.vue

@@ -489,7 +489,7 @@
489 489
             uni.hideLoading();
490 490
             uni.showToast({
491 491
               icon: "none",
492
-              title: "请求失败!",
492
+              title: res.msg || "接口获取数据失败!",
493 493
             });
494 494
           }
495 495
         });
@@ -523,7 +523,7 @@
523 523
             this.modifyReason = "";
524 524
             uni.showToast({
525 525
               icon: "none",
526
-              title: "请求失败!",
526
+              title: res.msg || "接口获取数据失败!",
527 527
             });
528 528
           }
529 529
         });
@@ -713,7 +713,7 @@
713 713
             uni.hideLoading();
714 714
             uni.showToast({
715 715
               icon: "none",
716
-              title: "请求失败!",
716
+              title: result.msg || "接口获取数据失败!",
717 717
             });
718 718
           }
719 719
         });
@@ -777,7 +777,7 @@
777 777
             uni.hideLoading();
778 778
             uni.showToast({
779 779
               icon: "none",
780
-              title: "请求失败!",
780
+              title: res.msg || "接口获取数据失败!",
781 781
             });
782 782
           }
783 783
         });
@@ -843,7 +843,7 @@
843 843
             } else {
844 844
               uni.showToast({
845 845
                 icon: "none",
846
-                title: "请求失败!",
846
+                title: ress.msg || "接口获取数据失败!",
847 847
               });
848 848
             }
849 849
           });
@@ -863,7 +863,7 @@
863 863
               uni.hideLoading();
864 864
               uni.showToast({
865 865
                 icon: "none",
866
-                title: "请求失败!",
866
+                title: res.msg || "接口获取数据失败!",
867 867
               });
868 868
             }
869 869
           });
@@ -896,7 +896,7 @@
896 896
           } else {
897 897
             uni.showToast({
898 898
               icon: "none",
899
-              title: "请求失败!",
899
+              title: ress.msg || "接口获取数据失败!",
900 900
             });
901 901
           }
902 902
         });

+ 4 - 4
pages/scanning_djInfo/scanning_djInfo.vue

@@ -409,7 +409,7 @@
409 409
             uni.hideLoading();
410 410
             uni.showToast({
411 411
               icon: "none",
412
-              title: "请求失败!",
412
+              title: result.msg || "接口获取数据失败!",
413 413
             });
414 414
           }
415 415
         });
@@ -461,7 +461,7 @@
461 461
           } else {
462 462
             uni.showToast({
463 463
               icon: "none",
464
-              title: "请求失败!",
464
+              title: res.msg || "接口获取数据失败!",
465 465
             });
466 466
           }
467 467
         });
@@ -525,7 +525,7 @@
525 525
           } else {
526 526
             uni.showToast({
527 527
               icon: "none",
528
-              title: "请求失败!",
528
+              title: ress.msg || "接口获取数据失败!",
529 529
             });
530 530
           }
531 531
         });
@@ -556,7 +556,7 @@
556 556
           } else {
557 557
             uni.showToast({
558 558
               icon: "none",
559
-              title: "请求失败!",
559
+              title: ress.msg || "接口获取数据失败!",
560 560
             });
561 561
           }
562 562
         });

+ 4 - 4
pages/scanning_drug/scanning_drug.vue

@@ -228,7 +228,7 @@
228 228
             uni.hideLoading();
229 229
             uni.showToast({
230 230
               icon: "none",
231
-              title: "请求失败!",
231
+              title: result.msg || "接口获取数据失败!",
232 232
             });
233 233
           }
234 234
         });
@@ -329,7 +329,7 @@
329 329
           } else {
330 330
             uni.showToast({
331 331
               icon: "none",
332
-              title: ress.msg || "请求失败!",
332
+              title: ress.msg || "接口获取数据失败!",
333 333
             });
334 334
           }
335 335
         });
@@ -406,7 +406,7 @@
406 406
                 } else {
407 407
                   uni.showToast({
408 408
                     icon: "none",
409
-                    title: ress.msg || "请求失败!",
409
+                    title: ress.msg || "接口获取数据失败!",
410 410
                   });
411 411
                 }
412 412
               });
@@ -433,7 +433,7 @@
433 433
           } else {
434 434
             uni.showToast({
435 435
               icon: "none",
436
-              title: "请求失败",
436
+              title: res.msg || "接口获取数据失败!",
437 437
             });
438 438
           }
439 439
         });

+ 10 - 10
pages/scanning_ins/scanning_ins.vue

@@ -354,7 +354,7 @@
354 354
                 } else {
355 355
                   uni.showToast({
356 356
                     icon: "none",
357
-                    title: "请求失败!",
357
+                    title: res.msg || "接口获取数据失败!",
358 358
                   });
359 359
                 }
360 360
               })
@@ -365,7 +365,7 @@
365 365
             uni.hideLoading();
366 366
             uni.showToast({
367 367
               icon: "none",
368
-              title: "请求失败!",
368
+              title: res.msg || "接口获取数据失败!",
369 369
             });
370 370
           }
371 371
         })
@@ -429,7 +429,7 @@
429 429
                   } else {
430 430
                     uni.showToast({
431 431
                       icon: "none",
432
-                      title: "请求失败!",
432
+                      title: res.msg || "接口获取数据失败!",
433 433
                     });
434 434
                   }
435 435
                 })
@@ -440,7 +440,7 @@
440 440
               uni.hideLoading();
441 441
               uni.showToast({
442 442
                 icon: "none",
443
-                title: "请求失败!",
443
+                title: res.msg || "接口获取数据失败!",
444 444
               });
445 445
             }
446 446
           })
@@ -518,7 +518,7 @@
518 518
           } else {
519 519
             uni.showToast({
520 520
               icon: "none",
521
-              title: "请求失败!",
521
+              title: res.msg || "接口获取数据失败!",
522 522
             });
523 523
           }
524 524
         })
@@ -602,7 +602,7 @@
602 602
                     uni.hideLoading();
603 603
                     uni.showToast({
604 604
                       icon: "none",
605
-                      title: "请求失败!",
605
+                      title: res.msg || "接口获取数据失败!",
606 606
                     });
607 607
                   }
608 608
                 });
@@ -611,7 +611,7 @@
611 611
               uni.hideLoading();
612 612
               uni.showToast({
613 613
                 icon: "none",
614
-                title: "请求失败!",
614
+                title: result.msg || "接口获取数据失败!",
615 615
               });
616 616
             }
617 617
           });
@@ -663,7 +663,7 @@
663 663
           } else {
664 664
             uni.showToast({
665 665
               icon: "none",
666
-              title: "请求失败!",
666
+              title: res.msg || "接口获取数据失败!",
667 667
             });
668 668
           }
669 669
         });
@@ -781,7 +781,7 @@
781 781
                   uni.hideLoading();
782 782
                   uni.showToast({
783 783
                     icon: "none",
784
-                    title: "请求失败!",
784
+                    title: result.msg || "接口获取数据失败!",
785 785
                   });
786 786
                 }
787 787
               });
@@ -893,7 +893,7 @@
893 893
       //     } else {
894 894
       //       uni.showToast({
895 895
       //         icon: "none",
896
-      //         title: "请求失败!",
896
+      //         title: res.msg || "接口获取数据失败!",
897 897
       //       });
898 898
       //     }
899 899
       //   });

+ 2 - 2
pages/scanning_nucleicAcid/scanning_nucleicAcid.vue

@@ -165,7 +165,7 @@
165 165
             uni.hideLoading();
166 166
             uni.showToast({
167 167
               icon: "none",
168
-              title: "请求失败!",
168
+              title: res.msg || "接口获取数据失败!",
169 169
             });
170 170
           }
171 171
         });
@@ -208,7 +208,7 @@
208 208
           } else {
209 209
             uni.showToast({
210 210
               icon: "none",
211
-              title: "请求失败",
211
+              title: res.msg || "接口获取数据失败!",
212 212
             });
213 213
           }
214 214
         });

+ 2 - 2
pages/scanning_orderSign/scanning_orderSign.vue

@@ -170,7 +170,7 @@
170 170
             } else {
171 171
               uni.showToast({
172 172
                 icon: "none",
173
-                title: "请求失败!",
173
+                title: res.msg || "接口获取数据失败!",
174 174
               });
175 175
             }
176 176
           });
@@ -188,7 +188,7 @@
188 188
             } else {
189 189
               uni.showToast({
190 190
                 icon: "none",
191
-                title: "请求失败!",
191
+                title: res.msg || "接口获取数据失败!",
192 192
               });
193 193
             }
194 194
           });

+ 3 - 3
pages/scanning_result_seimin/scanning_result_seimin.vue

@@ -137,7 +137,7 @@ export default {
137 137
                 uni.hideLoading();
138 138
                 uni.showToast({
139 139
                   icon: "none",
140
-                  title: "请求失败!",
140
+                  title: res.msg || "接口获取数据失败!",
141 141
                 });
142 142
               }
143 143
             });
@@ -152,7 +152,7 @@ export default {
152 152
           uni.hideLoading();
153 153
           uni.showToast({
154 154
             icon: "none",
155
-            title: "请求失败!",
155
+            title: res.msg || "接口获取数据失败!",
156 156
           });
157 157
         }
158 158
       });
@@ -173,7 +173,7 @@ export default {
173 173
         } else {
174 174
           uni.showToast({
175 175
             icon: "none",
176
-            title: "请求失败",
176
+            title: res.msg || "接口获取数据失败!",
177 177
           });
178 178
         }
179 179
       });

+ 2 - 2
pages/search/search.vue

@@ -263,7 +263,7 @@
263 263
             uni.hideLoading();
264 264
             uni.showToast({
265 265
               icon: "none",
266
-              title: "请求失败!",
266
+              title: res.msg || "接口获取数据失败!",
267 267
             });
268 268
           }
269 269
         });
@@ -333,7 +333,7 @@
333 333
                 } else {
334 334
                   uni.showToast({
335 335
                     icon: "none",
336
-                    title: "请求失败!",
336
+                    title: ress.msg || "接口获取数据失败!",
337 337
                   });
338 338
                 }
339 339
               });

+ 3 - 3
pages/searchMuti/searchMuti.vue

@@ -125,7 +125,7 @@
125 125
             } else {
126 126
               uni.showToast({
127 127
                 icon: "none",
128
-                title: "请求失败!",
128
+                title: res.msg || "接口获取数据失败!",
129 129
               });
130 130
             }
131 131
           })
@@ -163,7 +163,7 @@
163 163
           } else {
164 164
             uni.showToast({
165 165
               icon: "none",
166
-              title: "请求失败!",
166
+              title: res.msg || "接口获取数据失败!",
167 167
             });
168 168
           }
169 169
         })
@@ -184,7 +184,7 @@
184 184
           } else {
185 185
             uni.showToast({
186 186
               icon: "none",
187
-              title: "请求失败!",
187
+              title: res.msg || "接口获取数据失败!",
188 188
             });
189 189
           }
190 190
         })

+ 2 - 2
pages/setDept/setDept.vue

@@ -181,7 +181,7 @@
181 181
                     } else {
182 182
                       uni.showToast({
183 183
                         icon: "none",
184
-                        title: "请求失败!",
184
+                        title: result.msg || "接口获取数据失败!",
185 185
                       });
186 186
                     }
187 187
                   }
@@ -244,7 +244,7 @@
244 244
                     } else {
245 245
                       uni.showToast({
246 246
                         icon: "none",
247
-                        title: "请求失败!",
247
+                        title: result.msg || "接口获取数据失败!",
248 248
                       });
249 249
                     }
250 250
                   }

+ 1 - 1
pages/settingCode/settingCode.vue

@@ -206,7 +206,7 @@
206 206
             } else {
207 207
               uni.showToast({
208 208
                 icon: "none",
209
-                title: "请求失败!",
209
+                title: res.msg || "接口获取数据失败!",
210 210
               });
211 211
             }
212 212
           })

+ 1 - 1
pages/shortcutbuildOrders/shortcutbuildOrders.vue

@@ -92,7 +92,7 @@
92 92
                 } else {
93 93
                   uni.showToast({
94 94
                     icon: "none",
95
-                    title: "请求失败!",
95
+                    title: res.msg || "接口获取数据失败!",
96 96
                   });
97 97
                 }
98 98
               });

+ 3 - 3
pages/signIn_blood/signIn_blood.vue

@@ -115,7 +115,7 @@
115 115
           }else{
116 116
             uni.showToast({
117 117
               icon: "none",
118
-              title: "请求失败!",
118
+              title: res.msg || "接口获取数据失败!",
119 119
             });
120 120
           }
121 121
         })
@@ -191,7 +191,7 @@
191 191
                   uni.hideLoading();
192 192
                   uni.showToast({
193 193
                     icon: "none",
194
-                    title: "请求失败!",
194
+                    title: res.msg || "接口获取数据失败!",
195 195
                   });
196 196
                 }
197 197
               });
@@ -204,7 +204,7 @@
204 204
             uni.hideLoading();
205 205
             uni.showToast({
206 206
               icon: "none",
207
-              title: "请求失败!",
207
+              title: result.msg || "接口获取数据失败!",
208 208
             });
209 209
           }
210 210
         });

+ 4 - 4
pages/specimenChecking/specimenChecking.vue

@@ -102,7 +102,7 @@
102 102
           } else {
103 103
             uni.showToast({
104 104
               icon: "none",
105
-              title: "请求失败!",
105
+              title: res.msg || "接口获取数据失败!",
106 106
             });
107 107
           }
108 108
         });
@@ -341,7 +341,7 @@
341 341
             uni.hideLoading();
342 342
             uni.showToast({
343 343
               icon: "none",
344
-              title: "请求失败!",
344
+              title: res.msg || "接口获取数据失败!",
345 345
             });
346 346
           }
347 347
         });
@@ -377,7 +377,7 @@
377 377
           } else {
378 378
             uni.showToast({
379 379
               icon: "none",
380
-              title: "请求失败!",
380
+              title: res.msg || "接口获取数据失败!",
381 381
             });
382 382
           }
383 383
         });
@@ -423,7 +423,7 @@
423 423
           } else {
424 424
             uni.showToast({
425 425
               icon: "none",
426
-              title: "请求失败!",
426
+              title: res.msg || "接口获取数据失败!",
427 427
             });
428 428
           }
429 429
         });

+ 3 - 3
pages/specimenCheckingDetail/specimenCheckingDetail.vue

@@ -275,7 +275,7 @@
275 275
             } else {
276 276
               uni.showToast({
277 277
                 icon: "none",
278
-                title: "请求失败!",
278
+                title: result.msg || "接口获取数据失败!",
279 279
               });
280 280
             }
281 281
           }
@@ -357,7 +357,7 @@
357 357
           } else {
358 358
             uni.showToast({
359 359
               icon: "none",
360
-              title: "请求失败!",
360
+              title: res.msg || "接口获取数据失败!",
361 361
             });
362 362
           }
363 363
         });
@@ -593,7 +593,7 @@
593 593
             uni.hideLoading();
594 594
             uni.showToast({
595 595
               icon: "none",
596
-              title: "请求失败!",
596
+              title: res.msg || "接口获取数据失败!",
597 597
             });
598 598
           }
599 599
         });

+ 2 - 2
pages/specimenCheckingEnd/specimenCheckingEnd.vue

@@ -82,7 +82,7 @@
82 82
                 } else {
83 83
                   uni.showToast({
84 84
                     icon: "none",
85
-                    title: "请求失败!",
85
+                    title: res.msg || "接口获取数据失败!",
86 86
                   });
87 87
                 }
88 88
               });
@@ -111,7 +111,7 @@
111 111
           } else {
112 112
             uni.showToast({
113 113
               icon: "none",
114
-              title: "请求失败!",
114
+              title: res.msg || "接口获取数据失败!",
115 115
             });
116 116
           }
117 117
         });

+ 1 - 1
pages/specimenCheckingEndDetail/specimenCheckingEndDetail.vue

@@ -85,7 +85,7 @@
85 85
           } else {
86 86
             uni.showToast({
87 87
               icon: "none",
88
-              title: "请求失败!",
88
+              title: res.msg || "接口获取数据失败!",
89 89
             });
90 90
           }
91 91
         });

+ 1 - 1
pages/specimenDetail/specimenDetail.vue

@@ -85,7 +85,7 @@
85 85
           } else {
86 86
             uni.showToast({
87 87
               icon: "none",
88
-              title: "请求失败!",
88
+              title: res.msg || "接口获取数据失败!",
89 89
             });
90 90
           }
91 91
         });

+ 1 - 1
tools/commonFun.js

@@ -30,7 +30,7 @@ export function nextDeptOrder_ss(_this, data, accountObj) {
30 30
           uni.hideLoading();
31 31
           uni.showToast({
32 32
             icon: "none",
33
-            title: "请求失败!",
33
+            title: result1.msg || "接口获取数据失败!",
34 34
           });
35 35
         }
36 36
       });

+ 10 - 10
tools/photograph.js

@@ -88,7 +88,7 @@ export function photographTool(data, deptObj) {
88 88
                           } else {
89 89
                             uni.showToast({
90 90
                               icon: "none",
91
-                              title: "请求失败!",
91
+                              title: result1.msg || "接口获取数据失败!",
92 92
                             });
93 93
                           }
94 94
                         })
@@ -113,7 +113,7 @@ export function photographTool(data, deptObj) {
113 113
                           } else {
114 114
                             uni.showToast({
115 115
                               icon: "none",
116
-                              title: "请求失败!",
116
+                              title: result1.msg || "接口获取数据失败!",
117 117
                             });
118 118
                           }
119 119
                         })
@@ -146,7 +146,7 @@ export function photographTool(data, deptObj) {
146 146
                           } else {
147 147
                             uni.showToast({
148 148
                               icon: "none",
149
-                              title: "请求失败!",
149
+                              title: result1.msg || "接口获取数据失败!",
150 150
                             });
151 151
                           }
152 152
                         })
@@ -171,7 +171,7 @@ export function photographTool(data, deptObj) {
171 171
                           } else {
172 172
                             uni.showToast({
173 173
                               icon: "none",
174
-                              title: "请求失败!",
174
+                              title: result1.msg || "接口获取数据失败!",
175 175
                             });
176 176
                           }
177 177
                         })
@@ -203,7 +203,7 @@ export function photographTool(data, deptObj) {
203 203
           uni.hideLoading();
204 204
           uni.showToast({
205 205
             icon: "none",
206
-            title: "请求失败!",
206
+            title: result.msg || "接口获取数据失败!",
207 207
           });
208 208
         }
209 209
       })
@@ -266,7 +266,7 @@ export function photographTool(data, deptObj) {
266 266
                     } else {
267 267
                       uni.showToast({
268 268
                         icon: "none",
269
-                        title: "请求失败!",
269
+                        title: result1.msg || "接口获取数据失败!",
270 270
                       });
271 271
                     }
272 272
                   })
@@ -291,7 +291,7 @@ export function photographTool(data, deptObj) {
291 291
                     } else {
292 292
                       uni.showToast({
293 293
                         icon: "none",
294
-                        title: "请求失败!",
294
+                        title: result1.msg || "接口获取数据失败!",
295 295
                       });
296 296
                     }
297 297
                   })
@@ -324,7 +324,7 @@ export function photographTool(data, deptObj) {
324 324
                     } else {
325 325
                       uni.showToast({
326 326
                         icon: "none",
327
-                        title: "请求失败!",
327
+                        title: result1.msg || "接口获取数据失败!",
328 328
                       });
329 329
                     }
330 330
                   })
@@ -349,7 +349,7 @@ export function photographTool(data, deptObj) {
349 349
                     } else {
350 350
                       uni.showToast({
351 351
                         icon: "none",
352
-                        title: "请求失败!",
352
+                        title: result1.msg || "接口获取数据失败!",
353 353
                       });
354 354
                     }
355 355
                   })
@@ -370,7 +370,7 @@ export function photographTool(data, deptObj) {
370 370
           uni.hideLoading();
371 371
           uni.showToast({
372 372
             icon: "none",
373
-            title: "请求失败!",
373
+            title: result.msg || "接口获取数据失败!",
374 374
           });
375 375
         }
376 376
       })