Browse Source

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

seimin 1 year ago
parent
commit
e3cf206664
56 changed files with 556 additions and 199 deletions
  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
                                 } else {
326
                                 } else {
327
                                   uni.showToast({
327
                                   uni.showToast({
328
                                     icon: "none",
328
                                     icon: "none",
329
-                                    title: "请求失败!",
329
+                                    title: result.msg || "接口获取数据失败!",
330
                                   });
330
                                   });
331
                                 }
331
                                 }
332
                               });
332
                               });
@@ -346,7 +346,7 @@
346
                 uni.hideLoading();
346
                 uni.hideLoading();
347
                 uni.showToast({
347
                 uni.showToast({
348
                   icon: "none",
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
             } else {
54
             } else {
55
               uni.showToast({
55
               uni.showToast({
56
                 icon: "none",
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
                   } else {
103
                   } else {
104
                     uni.showToast({
104
                     uni.showToast({
105
                       icon: "none",
105
                       icon: "none",
106
-                      title: "请求失败!",
106
+                      title: res.msg || "接口获取数据失败!",
107
                     });
107
                     });
108
                   }
108
                   }
109
                 })
109
                 })
@@ -115,7 +115,7 @@
115
               uni.hideLoading();
115
               uni.hideLoading();
116
               uni.showToast({
116
               uni.showToast({
117
                 icon: "none",
117
                 icon: "none",
118
-                title: "请求失败!",
118
+                title: res.msg || "接口获取数据失败!",
119
               });
119
               });
120
             }
120
             }
121
           })
121
           })
@@ -380,7 +380,7 @@
380
               uni.hideLoading();
380
               uni.hideLoading();
381
               uni.showToast({
381
               uni.showToast({
382
                 icon: "none",
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
 // new VConsole();
7
 // new VConsole();
8
 // import eruda from 'eruda';
8
 // import eruda from 'eruda';
9
 // eruda.init();
9
 // eruda.init();
10
-console.info('v2.4.36');
10
+console.info('v2.4.37');
11
 Vue.prototype.wx = wx //声明扫码
11
 Vue.prototype.wx = wx //声明扫码
12
 Vue.prototype.audios = [] //待播放的语音集合
12
 Vue.prototype.audios = [] //待播放的语音集合
13
 // #endif
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
   "globalStyle": {
449
   "globalStyle": {

+ 1 - 1
pages/bloodSelect/bloodSelect.vue

@@ -178,7 +178,7 @@
178
           } else {
178
           } else {
179
             uni.showToast({
179
             uni.showToast({
180
               icon: "none",
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
           } else {
126
           } else {
127
             uni.showToast({
127
             uni.showToast({
128
               icon: "none",
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
           } else {
75
           } else {
76
             uni.showToast({
76
             uni.showToast({
77
               icon: "none",
77
               icon: "none",
78
-              title: "请求失败!",
78
+              title: res.msg || "接口获取数据失败!",
79
             });
79
             });
80
           }
80
           }
81
         })
81
         })
@@ -181,7 +181,7 @@
181
           } else {
181
           } else {
182
             uni.showToast({
182
             uni.showToast({
183
               icon: "none",
183
               icon: "none",
184
-              title: "请求失败!",
184
+              title: ress.msg || "接口获取数据失败!",
185
             });
185
             });
186
           }
186
           }
187
         })
187
         })
@@ -212,7 +212,7 @@
212
           } else {
212
           } else {
213
             uni.showToast({
213
             uni.showToast({
214
               icon: "none",
214
               icon: "none",
215
-              title: "请求失败!",
215
+              title: ress.msg || "接口获取数据失败!",
216
             });
216
             });
217
           }
217
           }
218
         })
218
         })
@@ -256,7 +256,7 @@
256
             } else {
256
             } else {
257
               uni.showToast({
257
               uni.showToast({
258
                 icon: "none",
258
                 icon: "none",
259
-                title: "请求失败!",
259
+                title: res.msg || "接口获取数据失败!",
260
               });
260
               });
261
             }
261
             }
262
           });
262
           });
@@ -270,7 +270,7 @@
270
             } else {
270
             } else {
271
               uni.showToast({
271
               uni.showToast({
272
                 icon: "none",
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
           }else{
132
           }else{
133
             uni.showToast({
133
             uni.showToast({
134
               icon: "none",
134
               icon: "none",
135
-              title: "请求失败!",
135
+              title: result.msg || "接口获取数据失败!",
136
             });
136
             });
137
           }
137
           }
138
         })
138
         })
@@ -159,7 +159,7 @@
159
           }else{
159
           }else{
160
             uni.showToast({
160
             uni.showToast({
161
               icon: "none",
161
               icon: "none",
162
-              title: "请求失败!",
162
+              title: res.msg || "接口获取数据失败!",
163
             });
163
             });
164
           }
164
           }
165
         })
165
         })
@@ -238,7 +238,7 @@
238
             uni.hideLoading();
238
             uni.hideLoading();
239
             uni.showToast({
239
             uni.showToast({
240
               icon: "none",
240
               icon: "none",
241
-              title: "请求失败!",
241
+              title: result.msg || "接口获取数据失败!",
242
             });
242
             });
243
           }
243
           }
244
         });
244
         });
@@ -277,7 +277,7 @@
277
                 } else {
277
                 } else {
278
                   uni.showToast({
278
                   uni.showToast({
279
                     icon: "none",
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
           } else {
69
           } else {
70
             uni.showToast({
70
             uni.showToast({
71
               icon: "none",
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
             } else {
138
             } else {
139
               uni.showToast({
139
               uni.showToast({
140
                 icon: "none",
140
                 icon: "none",
141
-                title: "请求失败!",
141
+                title: result.msg || "接口获取数据失败!",
142
               });
142
               });
143
             }
143
             }
144
           });
144
           });
@@ -172,7 +172,7 @@
172
             } else {
172
             } else {
173
               uni.showToast({
173
               uni.showToast({
174
                 icon: "none",
174
                 icon: "none",
175
-                title: "请求失败!",
175
+                title: res.msg || "接口获取数据失败!",
176
               });
176
               });
177
             }
177
             }
178
           });
178
           });
@@ -207,7 +207,7 @@
207
             } else {
207
             } else {
208
               uni.showToast({
208
               uni.showToast({
209
                 icon: "none",
209
                 icon: "none",
210
-                title: "请求失败!",
210
+                title: result.msg || "接口获取数据失败!",
211
               });
211
               });
212
             }
212
             }
213
           });
213
           });
@@ -239,7 +239,7 @@
239
             } else {
239
             } else {
240
               uni.showToast({
240
               uni.showToast({
241
                 icon: "none",
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
             this.zxzData = [];
103
             this.zxzData = [];
104
             uni.showToast({
104
             uni.showToast({
105
               icon: "none",
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
             this.zxzData = [];
94
             this.zxzData = [];
95
             uni.showToast({
95
             uni.showToast({
96
               icon: "none",
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
           } else {
92
           } else {
93
             uni.showToast({
93
             uni.showToast({
94
               icon: "none",
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
             } else {
260
             } else {
261
               uni.showToast({
261
               uni.showToast({
262
                 icon: "none",
262
                 icon: "none",
263
-                title: "请求失败",
263
+                title: result.msg || "接口获取数据失败!",
264
               });
264
               });
265
             }
265
             }
266
           }
266
           }
@@ -353,7 +353,7 @@
353
             } else {
353
             } else {
354
               uni.showToast({
354
               uni.showToast({
355
                 icon: "none",
355
                 icon: "none",
356
-                title: "请求失败",
356
+                title: res.msg || "接口获取数据失败!",
357
               });
357
               });
358
             }
358
             }
359
           }
359
           }
@@ -527,7 +527,7 @@
527
             } else {
527
             } else {
528
               uni.showToast({
528
               uni.showToast({
529
                 icon: "none",
529
                 icon: "none",
530
-                title: "请求失败",
530
+                title: res.msg || "接口获取数据失败!",
531
               });
531
               });
532
             }
532
             }
533
           });
533
           });
@@ -554,7 +554,7 @@
554
             } else {
554
             } else {
555
               uni.showToast({
555
               uni.showToast({
556
                 icon: "none",
556
                 icon: "none",
557
-                title: "请求失败",
557
+                title: res.msg || "接口获取数据失败!",
558
               });
558
               });
559
             }
559
             }
560
           });
560
           });
@@ -624,7 +624,7 @@
624
             } else {
624
             } else {
625
               uni.showToast({
625
               uni.showToast({
626
                 icon: "none",
626
                 icon: "none",
627
-                title: "请求失败",
627
+                title: result.msg || "接口获取数据失败!",
628
               });
628
               });
629
             }
629
             }
630
           });
630
           });
@@ -648,7 +648,7 @@
648
             } else {
648
             } else {
649
               uni.showToast({
649
               uni.showToast({
650
                 icon: "none",
650
                 icon: "none",
651
-                title: "请求失败",
651
+                title: res.msg || "接口获取数据失败!",
652
               });
652
               });
653
             }
653
             }
654
           });
654
           });
@@ -753,7 +753,7 @@
753
             } else {
753
             } else {
754
               uni.showToast({
754
               uni.showToast({
755
                 icon: "none",
755
                 icon: "none",
756
-                title: res.remarks ? res.remarks : "请求失败",
756
+                title: res.remarks || "接口获取数据失败!",
757
               });
757
               });
758
             }
758
             }
759
           });
759
           });
@@ -919,7 +919,7 @@
919
             } else {
919
             } else {
920
               uni.showToast({
920
               uni.showToast({
921
                 icon: "none",
921
                 icon: "none",
922
-                title: "请求失败",
922
+                title: res.msg || "接口获取数据失败!",
923
               });
923
               });
924
             }
924
             }
925
           });
925
           });
@@ -973,7 +973,7 @@
973
             } else {
973
             } else {
974
               uni.showToast({
974
               uni.showToast({
975
                 icon: "none",
975
                 icon: "none",
976
-                title: "请求失败!",
976
+                title: res.msg || "接口获取数据失败!",
977
               });
977
               });
978
             }
978
             }
979
           }
979
           }
@@ -1046,7 +1046,7 @@
1046
           } else {
1046
           } else {
1047
             uni.showToast({
1047
             uni.showToast({
1048
               icon: "none",
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
             uni.hideLoading();
395
             uni.hideLoading();
396
             uni.showToast({
396
             uni.showToast({
397
               icon: "none",
397
               icon: "none",
398
-              title: "请求失败!",
398
+              title: result.msg || "接口获取数据失败!",
399
             });
399
             });
400
           }
400
           }
401
         });
401
         });
@@ -492,7 +492,7 @@
492
           } else {
492
           } else {
493
             uni.showToast({
493
             uni.showToast({
494
               icon: "none",
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
           } else {
308
           } else {
309
             uni.showToast({
309
             uni.showToast({
310
               icon: "none",
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
           } else {
279
           } else {
280
             uni.showToast({
280
             uni.showToast({
281
               icon: "none",
281
               icon: "none",
282
-              title: "请求失败!",
282
+              title: res.msg || "接口获取数据失败!",
283
             });
283
             });
284
           }
284
           }
285
         });
285
         });
@@ -328,7 +328,7 @@
328
                   } else {
328
                   } else {
329
                     uni.showToast({
329
                     uni.showToast({
330
                       icon: "none",
330
                       icon: "none",
331
-                      title: "请求失败!",
331
+                      title: res.msg || "接口获取数据失败!",
332
                     });
332
                     });
333
                   }
333
                   }
334
                 });
334
                 });
@@ -340,7 +340,7 @@
340
               uni.hideLoading();
340
               uni.hideLoading();
341
               uni.showToast({
341
               uni.showToast({
342
                 icon: "none",
342
                 icon: "none",
343
-                title: ress.msg || "请求失败!",
343
+                title: ress.msg || "接口获取数据失败!",
344
               });
344
               });
345
             }
345
             }
346
           });
346
           });
@@ -437,7 +437,7 @@
437
             uni.hideLoading();
437
             uni.hideLoading();
438
             uni.showToast({
438
             uni.showToast({
439
               icon: "none",
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
             uni.hideLoading();
244
             uni.hideLoading();
245
             uni.showToast({
245
             uni.showToast({
246
               icon: "none",
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
 					} else {
150
 					} else {
151
 						uni.showToast({
151
 						uni.showToast({
152
 							icon: "none",
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
                 } else {
193
                 } else {
194
                   uni.showToast({
194
                   uni.showToast({
195
                     icon: "none",
195
                     icon: "none",
196
-                    title: "请求失败!",
196
+                    title: res.msg || "接口获取数据失败!",
197
                   });
197
                   });
198
                 }
198
                 }
199
               })
199
               })
@@ -204,7 +204,7 @@
204
             uni.hideLoading();
204
             uni.hideLoading();
205
             uni.showToast({
205
             uni.showToast({
206
               icon: "none",
206
               icon: "none",
207
-              title: "请求失败!",
207
+              title: res.msg || "接口获取数据失败!",
208
             });
208
             });
209
           }
209
           }
210
         })
210
         })
@@ -269,7 +269,7 @@
269
           } else {
269
           } else {
270
             uni.showToast({
270
             uni.showToast({
271
               icon: "none",
271
               icon: "none",
272
-              title: "请求失败!",
272
+              title: res.msg || "接口获取数据失败!",
273
             });
273
             });
274
           }
274
           }
275
         })
275
         })
@@ -353,7 +353,7 @@
353
                     uni.hideLoading();
353
                     uni.hideLoading();
354
                     uni.showToast({
354
                     uni.showToast({
355
                       icon: "none",
355
                       icon: "none",
356
-                      title: "请求失败!",
356
+                      title: res.msg || "接口获取数据失败!",
357
                     });
357
                     });
358
                   }
358
                   }
359
                 });
359
                 });
@@ -362,7 +362,7 @@
362
               uni.hideLoading();
362
               uni.hideLoading();
363
               uni.showToast({
363
               uni.showToast({
364
                 icon: "none",
364
                 icon: "none",
365
-                title: "请求失败!",
365
+                title: result.msg || "接口获取数据失败!",
366
               });
366
               });
367
             }
367
             }
368
           });
368
           });
@@ -449,7 +449,7 @@
449
           } else {
449
           } else {
450
             uni.showToast({
450
             uni.showToast({
451
               icon: "none",
451
               icon: "none",
452
-              title: "请求失败!",
452
+              title: res.msg || "接口获取数据失败!",
453
             });
453
             });
454
           }
454
           }
455
         });
455
         });
@@ -514,7 +514,7 @@
514
       //     } else {
514
       //     } else {
515
       //       uni.showToast({
515
       //       uni.showToast({
516
       //         icon: "none",
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
           } else {
203
           } else {
204
             uni.showToast({
204
             uni.showToast({
205
               icon: "none",
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
           } else {
211
           } else {
212
             uni.showModal({
212
             uni.showModal({
213
               title: '提示',
213
               title: '提示',
214
-              content: "请求失败!",
214
+              content: result.msg || "接口获取数据失败!",
215
               showCancel: false,
215
               showCancel: false,
216
               success: function(res) {
216
               success: function(res) {
217
                 if (res.confirm) {
217
                 if (res.confirm) {
@@ -264,7 +264,7 @@
264
           } else {
264
           } else {
265
             uni.showModal({
265
             uni.showModal({
266
               title: '提示',
266
               title: '提示',
267
-              content: "请求失败!",
267
+              content: result.msg || "接口获取数据失败!",
268
               showCancel: false,
268
               showCancel: false,
269
               success: function(res) {
269
               success: function(res) {
270
                 if (res.confirm) {
270
                 if (res.confirm) {
@@ -342,7 +342,7 @@
342
                     //   }else {
342
                     //   }else {
343
                     //     uni.showToast({
343
                     //     uni.showToast({
344
                     //       icon: "none",
344
                     //       icon: "none",
345
-                    //       title: "请求失败!",
345
+                    //       title: result1.msg || "接口获取数据失败!",
346
                     //     });
346
                     //     });
347
                     //   }
347
                     //   }
348
                     // });
348
                     // });
@@ -355,7 +355,7 @@
355
                     // this.isLoading = false;
355
                     // this.isLoading = false;
356
                     uni.showModal({
356
                     uni.showModal({
357
                       title: '提示',
357
                       title: '提示',
358
-                      content: "请求失败!",
358
+                      content: result.msg || "接口获取数据失败!",
359
                       showCancel: false,
359
                       showCancel: false,
360
                       success: function(res) {
360
                       success: function(res) {
361
                         if (res.confirm) {
361
                         if (res.confirm) {
@@ -391,7 +391,7 @@
391
                   } else {
391
                   } else {
392
                     uni.showModal({
392
                     uni.showModal({
393
                       title: '提示',
393
                       title: '提示',
394
-                      content: "请求失败!",
394
+                      content: result.msg || "接口获取数据失败!",
395
                       showCancel: false,
395
                       showCancel: false,
396
                       success: function(res) {
396
                       success: function(res) {
397
                         if (res.confirm) {
397
                         if (res.confirm) {
@@ -428,7 +428,7 @@
428
                   } else {
428
                   } else {
429
                     uni.showModal({
429
                     uni.showModal({
430
                       title: '提示',
430
                       title: '提示',
431
-                      content: "请求失败!",
431
+                      content: result.msg || "接口获取数据失败!",
432
                       showCancel: false,
432
                       showCancel: false,
433
                       success: function(res) {
433
                       success: function(res) {
434
                         if (res.confirm) {
434
                         if (res.confirm) {
@@ -480,7 +480,7 @@
480
             } else {
480
             } else {
481
               uni.showToast({
481
               uni.showToast({
482
                 icon: "none",
482
                 icon: "none",
483
-                title: "请求失败!",
483
+                title: result.msg || "接口获取数据失败!",
484
               });
484
               });
485
             }
485
             }
486
           });
486
           });
@@ -514,7 +514,7 @@
514
             } else {
514
             } else {
515
               uni.showToast({
515
               uni.showToast({
516
                 icon: "none",
516
                 icon: "none",
517
-                title: "请求失败!",
517
+                title: res.msg || "接口获取数据失败!",
518
               });
518
               });
519
             }
519
             }
520
           });
520
           });
@@ -549,7 +549,7 @@
549
             } else {
549
             } else {
550
               uni.showToast({
550
               uni.showToast({
551
                 icon: "none",
551
                 icon: "none",
552
-                title: "请求失败!",
552
+                title: result.msg || "接口获取数据失败!",
553
               });
553
               });
554
             }
554
             }
555
           });
555
           });
@@ -581,7 +581,7 @@
581
             } else {
581
             } else {
582
               uni.showToast({
582
               uni.showToast({
583
                 icon: "none",
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
                     } else {
89
                     } else {
90
                       uni.showToast({
90
                       uni.showToast({
91
                         icon: "none",
91
                         icon: "none",
92
-                        title: "请求失败!",
92
+                        title: result.msg || "接口获取数据失败!",
93
                       });
93
                       });
94
                     }
94
                     }
95
                   });
95
                   });
@@ -101,7 +101,7 @@
101
           } else {
101
           } else {
102
             uni.showToast({
102
             uni.showToast({
103
               icon: "none",
103
               icon: "none",
104
-              title: "请求失败!",
104
+              title: res.msg || "接口获取数据失败!",
105
             });
105
             });
106
           }
106
           }
107
         });
107
         });
@@ -167,7 +167,7 @@
167
             this.zxzData = [];
167
             this.zxzData = [];
168
             uni.showToast({
168
             uni.showToast({
169
               icon: "none",
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
         console.log(bulkCopy);
524
         console.log(bulkCopy);
525
         this.speModels.disjunctor = false;
525
         this.speModels.disjunctor = false;
526
         let { user, data } = this.other;
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
       speCancel() {
530
       speCancel() {
@@ -535,7 +535,7 @@
535
         this.other = {
535
         this.other = {
536
           user,
536
           user,
537
           data,
537
           data,
538
-        }
538
+        };
539
         this.speModels = {
539
         this.speModels = {
540
           content: `您要最追加的人员为${user.name},您确认要追加吗?`,
540
           content: `您要最追加的人员为${user.name},您确认要追加吗?`,
541
           disjunctor: true,
541
           disjunctor: true,
@@ -579,7 +579,7 @@
579
                 } else {
579
                 } else {
580
                   uni.showToast({
580
                   uni.showToast({
581
                     icon: "none",
581
                     icon: "none",
582
-                    title: "请求失败!",
582
+                    title: res.msg || "接口获取数据失败!",
583
                   });
583
                   });
584
                 }
584
                 }
585
               });
585
               });
@@ -592,7 +592,7 @@
592
           } else {
592
           } else {
593
             uni.showToast({
593
             uni.showToast({
594
               icon: "none",
594
               icon: "none",
595
-              title: "请求失败!",
595
+              title: res.msg || "接口获取数据失败!",
596
             });
596
             });
597
           }
597
           }
598
         });
598
         });
@@ -828,7 +828,7 @@
828
                 uni.hideLoading();
828
                 uni.hideLoading();
829
                 uni.showToast({
829
                 uni.showToast({
830
                   icon: "none",
830
                   icon: "none",
831
-                  title: "请求失败!",
831
+                  title: result.msg || "接口获取数据失败!",
832
                 });
832
                 });
833
               }
833
               }
834
             })
834
             })
@@ -899,7 +899,7 @@
899
                 uni.hideLoading();
899
                 uni.hideLoading();
900
                 uni.showToast({
900
                 uni.showToast({
901
                   icon: "none",
901
                   icon: "none",
902
-                  title: "请求失败!",
902
+                  title: result.msg || "接口获取数据失败!",
903
                 });
903
                 });
904
               }
904
               }
905
             })
905
             })
@@ -947,7 +947,7 @@
947
         } else {
947
         } else {
948
           uni.showToast({
948
           uni.showToast({
949
             icon: "none",
949
             icon: "none",
950
-            title: "请求失败!",
950
+            title: result.msg || "接口获取数据失败!",
951
           });
951
           });
952
         }
952
         }
953
       },
953
       },
@@ -986,7 +986,7 @@
986
           }else{
986
           }else{
987
             uni.showToast({
987
             uni.showToast({
988
               icon: "none",
988
               icon: "none",
989
-              title: "请求失败!",
989
+              title: res.msg || "接口获取数据失败!",
990
             });
990
             });
991
           }
991
           }
992
         })
992
         })
@@ -1126,19 +1126,20 @@
1126
             this.SMFlag = true;
1126
             this.SMFlag = true;
1127
             // this.currentCode = result.code;
1127
             // this.currentCode = result.code;
1128
             if (result.state == 200 || result.state == 201) {
1128
             if (result.state == 200 || result.state == 201) {
1129
-              uni.hideLoading();
1130
               console.log(result);
1129
               console.log(result);
1131
-              let user = {};
1130
+              let user;
1132
               try{
1131
               try{
1132
+                // json对象字符串
1133
                 user = JSON.parse(result.code);
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
               }catch(e){
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
                 if(data.taskType.associationType.value == 'other'){
1143
                 if(data.taskType.associationType.value == 'other'){
1143
                   this.showCheckboxModal(user, data);
1144
                   this.showCheckboxModal(user, data);
1144
                 }else{
1145
                 }else{
@@ -1148,24 +1149,60 @@
1148
                     success: (res) => {
1149
                     success: (res) => {
1149
                       if (res.confirm) {
1150
                       if (res.confirm) {
1150
                         console.log("用户点击确定");
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
                       } else if (res.cancel) {
1153
                       } else if (res.cancel) {
1153
                         console.log("用户点击取消");
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
               }else{
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
             } else {
1202
             } else {
1165
               uni.hideLoading();
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
         uni.showLoading({
1216
         uni.showLoading({
1180
           title: "加载中",
1217
           title: "加载中",
1181
           mask: true,
1218
           mask: true,
1182
         });
1219
         });
1220
+        // 二维码里有id则传userid,没有则传identityCardNumber
1183
         post("/workerOrder/additionalAccompanyingPersonnel", {
1221
         post("/workerOrder/additionalAccompanyingPersonnel", {
1184
-          userId,
1222
+          userId: user.id || undefined,
1223
+          identityCardNumber: !user.id ? user.identityCardNumber : undefined,
1185
           gdId,
1224
           gdId,
1186
           workerId,
1225
           workerId,
1187
           bulkCopy: bulkCopy ? 1 : undefined,
1226
           bulkCopy: bulkCopy ? 1 : undefined,
@@ -1300,7 +1339,7 @@
1300
           } else {
1339
           } else {
1301
             uni.showToast({
1340
             uni.showToast({
1302
               icon: "none",
1341
               icon: "none",
1303
-              title: "请求失败!",
1342
+              title: res.msg || "接口获取数据失败!",
1304
             });
1343
             });
1305
           }
1344
           }
1306
         });
1345
         });
@@ -1332,7 +1371,7 @@
1332
           } else {
1371
           } else {
1333
             uni.showToast({
1372
             uni.showToast({
1334
               icon: "none",
1373
               icon: "none",
1335
-              title: "请求失败!",
1374
+              title: res.msg || "接口获取数据失败!",
1336
             });
1375
             });
1337
           }
1376
           }
1338
         });
1377
         });
@@ -1367,7 +1406,7 @@
1367
           } else {
1406
           } else {
1368
             uni.showToast({
1407
             uni.showToast({
1369
               icon: "none",
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
                 uni.hideLoading();
889
                 uni.hideLoading();
890
                 uni.showToast({
890
                 uni.showToast({
891
                   icon: "none",
891
                   icon: "none",
892
-                  title: "请求失败!",
892
+                  title: result.msg || "接口获取数据失败!",
893
                 });
893
                 });
894
               }
894
               }
895
             })
895
             })
@@ -960,7 +960,7 @@
960
                 uni.hideLoading();
960
                 uni.hideLoading();
961
                 uni.showToast({
961
                 uni.showToast({
962
                   icon: "none",
962
                   icon: "none",
963
-                  title: "请求失败!",
963
+                  title: result.msg || "接口获取数据失败!",
964
                 });
964
                 });
965
               }
965
               }
966
             })
966
             })
@@ -1008,7 +1008,7 @@
1008
         } else {
1008
         } else {
1009
           uni.showToast({
1009
           uni.showToast({
1010
             icon: "none",
1010
             icon: "none",
1011
-            title: "请求失败!",
1011
+            title: result.msg || "接口获取数据失败!",
1012
           });
1012
           });
1013
         }
1013
         }
1014
       },
1014
       },
@@ -1060,7 +1060,7 @@
1060
             } else {
1060
             } else {
1061
               uni.showToast({
1061
               uni.showToast({
1062
                 icon: "none",
1062
                 icon: "none",
1063
-                title: "请求失败!",
1063
+                title: result.msg || "接口获取数据失败!",
1064
               });
1064
               });
1065
             }
1065
             }
1066
           });
1066
           });
@@ -1143,7 +1143,7 @@
1143
                 uni.hideLoading();
1143
                 uni.hideLoading();
1144
                 uni.showToast({
1144
                 uni.showToast({
1145
                   icon: "none",
1145
                   icon: "none",
1146
-                  title: '请求失败',
1146
+                  title: result.msg || "接口获取数据失败!",
1147
                 });
1147
                 });
1148
               }
1148
               }
1149
             })
1149
             })
@@ -1258,7 +1258,7 @@
1258
           } else {
1258
           } else {
1259
             uni.showToast({
1259
             uni.showToast({
1260
               icon: "none",
1260
               icon: "none",
1261
-              title: "请求失败!",
1261
+              title: res.msg || "接口获取数据失败!",
1262
             });
1262
             });
1263
           }
1263
           }
1264
         });
1264
         });
@@ -1297,7 +1297,7 @@
1297
           } else {
1297
           } else {
1298
             uni.showToast({
1298
             uni.showToast({
1299
               icon: "none",
1299
               icon: "none",
1300
-              title: "请求失败!",
1300
+              title: res.msg || "接口获取数据失败!",
1301
             });
1301
             });
1302
           }
1302
           }
1303
         });
1303
         });
@@ -1362,7 +1362,7 @@
1362
           } else {
1362
           } else {
1363
             uni.showToast({
1363
             uni.showToast({
1364
               icon: "none",
1364
               icon: "none",
1365
-              title: "请求失败!",
1365
+              title: res.msg || "接口获取数据失败!",
1366
             });
1366
             });
1367
           }
1367
           }
1368
         });
1368
         });
@@ -1379,7 +1379,7 @@
1379
           } else {
1379
           } else {
1380
             uni.showToast({
1380
             uni.showToast({
1381
               icon: "none",
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
           } else {
54
           } else {
55
             uni.showToast({
55
             uni.showToast({
56
               icon: "none",
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
           } else {
133
           } else {
134
             uni.showToast({
134
             uni.showToast({
135
               icon: "none",
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
           } else {
125
           } else {
126
             uni.showToast({
126
             uni.showToast({
127
               icon: "none",
127
               icon: "none",
128
-              title: "请求失败!",
128
+              title: res.msg || "接口获取数据失败!",
129
             });
129
             });
130
           }
130
           }
131
         });
131
         });
@@ -165,7 +165,7 @@
165
               } else {
165
               } else {
166
                 uni.showToast({
166
                 uni.showToast({
167
                   icon: "none",
167
                   icon: "none",
168
-                  title: "请求失败!",
168
+                  title: res.msg || "接口获取数据失败!",
169
                 });
169
                 });
170
               }
170
               }
171
             });
171
             });
@@ -183,7 +183,7 @@
183
               } else {
183
               } else {
184
                 uni.showToast({
184
                 uni.showToast({
185
                   icon: "none",
185
                   icon: "none",
186
-                  title: "请求失败!",
186
+                  title: res.msg || "接口获取数据失败!",
187
                 });
187
                 });
188
               }
188
               }
189
             });
189
             });
@@ -204,7 +204,7 @@
204
             } else {
204
             } else {
205
               uni.showToast({
205
               uni.showToast({
206
                 icon: "none",
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
       //             uni.hideLoading();
178
       //             uni.hideLoading();
179
       //             uni.showToast({
179
       //             uni.showToast({
180
       //               icon: "none",
180
       //               icon: "none",
181
-      //               title: "请求失败!",
181
+      //               title: result.msg || "接口获取数据失败!",
182
       //             });
182
       //             });
183
       //           }
183
       //           }
184
       //         });
184
       //         });
@@ -247,7 +247,7 @@
247
                   uni.hideLoading();
247
                   uni.hideLoading();
248
                   uni.showToast({
248
                   uni.showToast({
249
                     icon: "none",
249
                     icon: "none",
250
-                    title: res.msg || "请求失败!",
250
+                    title: res.msg || "接口获取数据失败!",
251
                   });
251
                   });
252
                 }
252
                 }
253
               });
253
               });
@@ -402,7 +402,7 @@
402
           } else {
402
           } else {
403
             uni.showToast({
403
             uni.showToast({
404
               icon: "none",
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
             uni.hideLoading();
459
             uni.hideLoading();
460
             uni.showToast({
460
             uni.showToast({
461
               icon: "none",
461
               icon: "none",
462
-              title: "请求失败!",
462
+              title: result.msg || "接口获取数据失败!",
463
             });
463
             });
464
           }
464
           }
465
         });
465
         });
@@ -527,7 +527,7 @@
527
             } else {
527
             } else {
528
               uni.showToast({
528
               uni.showToast({
529
                 icon: "none",
529
                 icon: "none",
530
-                title: "请求失败!",
530
+                title: res.msg || "接口获取数据失败!",
531
               });
531
               });
532
             }
532
             }
533
           });
533
           });
@@ -541,7 +541,7 @@
541
             } else {
541
             } else {
542
               uni.showToast({
542
               uni.showToast({
543
                 icon: "none",
543
                 icon: "none",
544
-                title: "请求失败!",
544
+                title: res.msg || "接口获取数据失败!",
545
               });
545
               });
546
             }
546
             }
547
           });
547
           });
@@ -596,7 +596,7 @@
596
           } else {
596
           } else {
597
             uni.showToast({
597
             uni.showToast({
598
               icon: "none",
598
               icon: "none",
599
-              title: "请求失败!",
599
+              title: ress.msg || "接口获取数据失败!",
600
             });
600
             });
601
           }
601
           }
602
         })
602
         })
@@ -627,7 +627,7 @@
627
           } else {
627
           } else {
628
             uni.showToast({
628
             uni.showToast({
629
               icon: "none",
629
               icon: "none",
630
-              title: "请求失败!",
630
+              title: ress.msg || "接口获取数据失败!",
631
             });
631
             });
632
           }
632
           }
633
         })
633
         })
@@ -759,7 +759,7 @@
759
           } else {
759
           } else {
760
             uni.showToast({
760
             uni.showToast({
761
               icon: "none",
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
                 }else{
435
                 }else{
436
                   uni.showToast({
436
                   uni.showToast({
437
                     icon: "none",
437
                     icon: "none",
438
-                    title: "请求失败!",
438
+                    title: result.msg || "接口获取数据失败!",
439
                   });
439
                   });
440
                 }
440
                 }
441
               })
441
               })
@@ -545,7 +545,7 @@
545
                       uni.hideLoading();
545
                       uni.hideLoading();
546
                       uni.showToast({
546
                       uni.showToast({
547
                         icon: "none",
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
                 } else {
164
                 } else {
165
                   uni.showToast({
165
                   uni.showToast({
166
                     icon: "none",
166
                     icon: "none",
167
-                    title: "请求失败!",
167
+                    title: ress.msg || "接口获取数据失败!",
168
                   });
168
                   });
169
                 }
169
                 }
170
               });
170
               });
@@ -203,7 +203,7 @@
203
                 } else {
203
                 } else {
204
                   uni.showToast({
204
                   uni.showToast({
205
                     icon: "none",
205
                     icon: "none",
206
-                    title: "请求失败!",
206
+                    title: ress.msg || "接口获取数据失败!",
207
                   });
207
                   });
208
                 }
208
                 }
209
               });
209
               });
@@ -271,7 +271,7 @@
271
             } else {
271
             } else {
272
               uni.showToast({
272
               uni.showToast({
273
                 icon: "none",
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
                   uni.hideLoading();
218
                   uni.hideLoading();
219
                   uni.showToast({
219
                   uni.showToast({
220
                     icon: "none",
220
                     icon: "none",
221
-                    title: "请求失败!",
221
+                    title: res.msg || "接口获取数据失败!",
222
                   });
222
                   });
223
                 }
223
                 }
224
               });
224
               });
@@ -230,7 +230,7 @@
230
             uni.hideLoading();
230
             uni.hideLoading();
231
             uni.showToast({
231
             uni.showToast({
232
               icon: "none",
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
             uni.hideLoading();
640
             uni.hideLoading();
641
             uni.showToast({
641
             uni.showToast({
642
               icon: "none",
642
               icon: "none",
643
-              title: "请求失败!",
643
+              title: res.msg || "接口获取数据失败!",
644
             });
644
             });
645
           }
645
           }
646
         });
646
         });
@@ -674,7 +674,7 @@
674
             this.modifyReason = '';
674
             this.modifyReason = '';
675
             uni.showToast({
675
             uni.showToast({
676
               icon: "none",
676
               icon: "none",
677
-              title: "请求失败!",
677
+              title: res.msg || "接口获取数据失败!",
678
             });
678
             });
679
           }
679
           }
680
         });
680
         });
@@ -977,7 +977,7 @@
977
             uni.hideLoading();
977
             uni.hideLoading();
978
             uni.showToast({
978
             uni.showToast({
979
               icon: "none",
979
               icon: "none",
980
-              title: "请求失败!",
980
+              title: result.msg || "接口获取数据失败!",
981
             });
981
             });
982
           }
982
           }
983
         });
983
         });
@@ -1040,7 +1040,7 @@
1040
               uni.hideLoading();
1040
               uni.hideLoading();
1041
               uni.showToast({
1041
               uni.showToast({
1042
                 icon: "none",
1042
                 icon: "none",
1043
-                title: "请求失败!",
1043
+                title: res.msg || "接口获取数据失败!",
1044
               });
1044
               });
1045
             }
1045
             }
1046
           });
1046
           });
@@ -1061,7 +1061,7 @@
1061
               uni.hideLoading();
1061
               uni.hideLoading();
1062
               uni.showToast({
1062
               uni.showToast({
1063
                 icon: "none",
1063
                 icon: "none",
1064
-                title: "请求失败!",
1064
+                title: res.msg || "接口获取数据失败!",
1065
               });
1065
               });
1066
             }
1066
             }
1067
           });
1067
           });
@@ -1123,7 +1123,7 @@
1123
           } else {
1123
           } else {
1124
             uni.showToast({
1124
             uni.showToast({
1125
               icon: "none",
1125
               icon: "none",
1126
-              title: "请求失败!",
1126
+              title: res.msg || "接口获取数据失败!",
1127
             });
1127
             });
1128
           }
1128
           }
1129
         });
1129
         });
@@ -1160,7 +1160,7 @@
1160
           } else {
1160
           } else {
1161
             uni.showToast({
1161
             uni.showToast({
1162
               icon: "none",
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
             uni.hideLoading();
489
             uni.hideLoading();
490
             uni.showToast({
490
             uni.showToast({
491
               icon: "none",
491
               icon: "none",
492
-              title: "请求失败!",
492
+              title: res.msg || "接口获取数据失败!",
493
             });
493
             });
494
           }
494
           }
495
         });
495
         });
@@ -523,7 +523,7 @@
523
             this.modifyReason = "";
523
             this.modifyReason = "";
524
             uni.showToast({
524
             uni.showToast({
525
               icon: "none",
525
               icon: "none",
526
-              title: "请求失败!",
526
+              title: res.msg || "接口获取数据失败!",
527
             });
527
             });
528
           }
528
           }
529
         });
529
         });
@@ -713,7 +713,7 @@
713
             uni.hideLoading();
713
             uni.hideLoading();
714
             uni.showToast({
714
             uni.showToast({
715
               icon: "none",
715
               icon: "none",
716
-              title: "请求失败!",
716
+              title: result.msg || "接口获取数据失败!",
717
             });
717
             });
718
           }
718
           }
719
         });
719
         });
@@ -777,7 +777,7 @@
777
             uni.hideLoading();
777
             uni.hideLoading();
778
             uni.showToast({
778
             uni.showToast({
779
               icon: "none",
779
               icon: "none",
780
-              title: "请求失败!",
780
+              title: res.msg || "接口获取数据失败!",
781
             });
781
             });
782
           }
782
           }
783
         });
783
         });
@@ -843,7 +843,7 @@
843
             } else {
843
             } else {
844
               uni.showToast({
844
               uni.showToast({
845
                 icon: "none",
845
                 icon: "none",
846
-                title: "请求失败!",
846
+                title: ress.msg || "接口获取数据失败!",
847
               });
847
               });
848
             }
848
             }
849
           });
849
           });
@@ -863,7 +863,7 @@
863
               uni.hideLoading();
863
               uni.hideLoading();
864
               uni.showToast({
864
               uni.showToast({
865
                 icon: "none",
865
                 icon: "none",
866
-                title: "请求失败!",
866
+                title: res.msg || "接口获取数据失败!",
867
               });
867
               });
868
             }
868
             }
869
           });
869
           });
@@ -896,7 +896,7 @@
896
           } else {
896
           } else {
897
             uni.showToast({
897
             uni.showToast({
898
               icon: "none",
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
             uni.hideLoading();
409
             uni.hideLoading();
410
             uni.showToast({
410
             uni.showToast({
411
               icon: "none",
411
               icon: "none",
412
-              title: "请求失败!",
412
+              title: result.msg || "接口获取数据失败!",
413
             });
413
             });
414
           }
414
           }
415
         });
415
         });
@@ -461,7 +461,7 @@
461
           } else {
461
           } else {
462
             uni.showToast({
462
             uni.showToast({
463
               icon: "none",
463
               icon: "none",
464
-              title: "请求失败!",
464
+              title: res.msg || "接口获取数据失败!",
465
             });
465
             });
466
           }
466
           }
467
         });
467
         });
@@ -525,7 +525,7 @@
525
           } else {
525
           } else {
526
             uni.showToast({
526
             uni.showToast({
527
               icon: "none",
527
               icon: "none",
528
-              title: "请求失败!",
528
+              title: ress.msg || "接口获取数据失败!",
529
             });
529
             });
530
           }
530
           }
531
         });
531
         });
@@ -556,7 +556,7 @@
556
           } else {
556
           } else {
557
             uni.showToast({
557
             uni.showToast({
558
               icon: "none",
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
             uni.hideLoading();
228
             uni.hideLoading();
229
             uni.showToast({
229
             uni.showToast({
230
               icon: "none",
230
               icon: "none",
231
-              title: "请求失败!",
231
+              title: result.msg || "接口获取数据失败!",
232
             });
232
             });
233
           }
233
           }
234
         });
234
         });
@@ -329,7 +329,7 @@
329
           } else {
329
           } else {
330
             uni.showToast({
330
             uni.showToast({
331
               icon: "none",
331
               icon: "none",
332
-              title: ress.msg || "请求失败!",
332
+              title: ress.msg || "接口获取数据失败!",
333
             });
333
             });
334
           }
334
           }
335
         });
335
         });
@@ -406,7 +406,7 @@
406
                 } else {
406
                 } else {
407
                   uni.showToast({
407
                   uni.showToast({
408
                     icon: "none",
408
                     icon: "none",
409
-                    title: ress.msg || "请求失败!",
409
+                    title: ress.msg || "接口获取数据失败!",
410
                   });
410
                   });
411
                 }
411
                 }
412
               });
412
               });
@@ -433,7 +433,7 @@
433
           } else {
433
           } else {
434
             uni.showToast({
434
             uni.showToast({
435
               icon: "none",
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
                 } else {
354
                 } else {
355
                   uni.showToast({
355
                   uni.showToast({
356
                     icon: "none",
356
                     icon: "none",
357
-                    title: "请求失败!",
357
+                    title: res.msg || "接口获取数据失败!",
358
                   });
358
                   });
359
                 }
359
                 }
360
               })
360
               })
@@ -365,7 +365,7 @@
365
             uni.hideLoading();
365
             uni.hideLoading();
366
             uni.showToast({
366
             uni.showToast({
367
               icon: "none",
367
               icon: "none",
368
-              title: "请求失败!",
368
+              title: res.msg || "接口获取数据失败!",
369
             });
369
             });
370
           }
370
           }
371
         })
371
         })
@@ -429,7 +429,7 @@
429
                   } else {
429
                   } else {
430
                     uni.showToast({
430
                     uni.showToast({
431
                       icon: "none",
431
                       icon: "none",
432
-                      title: "请求失败!",
432
+                      title: res.msg || "接口获取数据失败!",
433
                     });
433
                     });
434
                   }
434
                   }
435
                 })
435
                 })
@@ -440,7 +440,7 @@
440
               uni.hideLoading();
440
               uni.hideLoading();
441
               uni.showToast({
441
               uni.showToast({
442
                 icon: "none",
442
                 icon: "none",
443
-                title: "请求失败!",
443
+                title: res.msg || "接口获取数据失败!",
444
               });
444
               });
445
             }
445
             }
446
           })
446
           })
@@ -518,7 +518,7 @@
518
           } else {
518
           } else {
519
             uni.showToast({
519
             uni.showToast({
520
               icon: "none",
520
               icon: "none",
521
-              title: "请求失败!",
521
+              title: res.msg || "接口获取数据失败!",
522
             });
522
             });
523
           }
523
           }
524
         })
524
         })
@@ -602,7 +602,7 @@
602
                     uni.hideLoading();
602
                     uni.hideLoading();
603
                     uni.showToast({
603
                     uni.showToast({
604
                       icon: "none",
604
                       icon: "none",
605
-                      title: "请求失败!",
605
+                      title: res.msg || "接口获取数据失败!",
606
                     });
606
                     });
607
                   }
607
                   }
608
                 });
608
                 });
@@ -611,7 +611,7 @@
611
               uni.hideLoading();
611
               uni.hideLoading();
612
               uni.showToast({
612
               uni.showToast({
613
                 icon: "none",
613
                 icon: "none",
614
-                title: "请求失败!",
614
+                title: result.msg || "接口获取数据失败!",
615
               });
615
               });
616
             }
616
             }
617
           });
617
           });
@@ -663,7 +663,7 @@
663
           } else {
663
           } else {
664
             uni.showToast({
664
             uni.showToast({
665
               icon: "none",
665
               icon: "none",
666
-              title: "请求失败!",
666
+              title: res.msg || "接口获取数据失败!",
667
             });
667
             });
668
           }
668
           }
669
         });
669
         });
@@ -781,7 +781,7 @@
781
                   uni.hideLoading();
781
                   uni.hideLoading();
782
                   uni.showToast({
782
                   uni.showToast({
783
                     icon: "none",
783
                     icon: "none",
784
-                    title: "请求失败!",
784
+                    title: result.msg || "接口获取数据失败!",
785
                   });
785
                   });
786
                 }
786
                 }
787
               });
787
               });
@@ -893,7 +893,7 @@
893
       //     } else {
893
       //     } else {
894
       //       uni.showToast({
894
       //       uni.showToast({
895
       //         icon: "none",
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
             uni.hideLoading();
165
             uni.hideLoading();
166
             uni.showToast({
166
             uni.showToast({
167
               icon: "none",
167
               icon: "none",
168
-              title: "请求失败!",
168
+              title: res.msg || "接口获取数据失败!",
169
             });
169
             });
170
           }
170
           }
171
         });
171
         });
@@ -208,7 +208,7 @@
208
           } else {
208
           } else {
209
             uni.showToast({
209
             uni.showToast({
210
               icon: "none",
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
             } else {
170
             } else {
171
               uni.showToast({
171
               uni.showToast({
172
                 icon: "none",
172
                 icon: "none",
173
-                title: "请求失败!",
173
+                title: res.msg || "接口获取数据失败!",
174
               });
174
               });
175
             }
175
             }
176
           });
176
           });
@@ -188,7 +188,7 @@
188
             } else {
188
             } else {
189
               uni.showToast({
189
               uni.showToast({
190
                 icon: "none",
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
                 uni.hideLoading();
137
                 uni.hideLoading();
138
                 uni.showToast({
138
                 uni.showToast({
139
                   icon: "none",
139
                   icon: "none",
140
-                  title: "请求失败!",
140
+                  title: res.msg || "接口获取数据失败!",
141
                 });
141
                 });
142
               }
142
               }
143
             });
143
             });
@@ -152,7 +152,7 @@ export default {
152
           uni.hideLoading();
152
           uni.hideLoading();
153
           uni.showToast({
153
           uni.showToast({
154
             icon: "none",
154
             icon: "none",
155
-            title: "请求失败!",
155
+            title: res.msg || "接口获取数据失败!",
156
           });
156
           });
157
         }
157
         }
158
       });
158
       });
@@ -173,7 +173,7 @@ export default {
173
         } else {
173
         } else {
174
           uni.showToast({
174
           uni.showToast({
175
             icon: "none",
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
             uni.hideLoading();
263
             uni.hideLoading();
264
             uni.showToast({
264
             uni.showToast({
265
               icon: "none",
265
               icon: "none",
266
-              title: "请求失败!",
266
+              title: res.msg || "接口获取数据失败!",
267
             });
267
             });
268
           }
268
           }
269
         });
269
         });
@@ -333,7 +333,7 @@
333
                 } else {
333
                 } else {
334
                   uni.showToast({
334
                   uni.showToast({
335
                     icon: "none",
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
             } else {
125
             } else {
126
               uni.showToast({
126
               uni.showToast({
127
                 icon: "none",
127
                 icon: "none",
128
-                title: "请求失败!",
128
+                title: res.msg || "接口获取数据失败!",
129
               });
129
               });
130
             }
130
             }
131
           })
131
           })
@@ -163,7 +163,7 @@
163
           } else {
163
           } else {
164
             uni.showToast({
164
             uni.showToast({
165
               icon: "none",
165
               icon: "none",
166
-              title: "请求失败!",
166
+              title: res.msg || "接口获取数据失败!",
167
             });
167
             });
168
           }
168
           }
169
         })
169
         })
@@ -184,7 +184,7 @@
184
           } else {
184
           } else {
185
             uni.showToast({
185
             uni.showToast({
186
               icon: "none",
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
                     } else {
181
                     } else {
182
                       uni.showToast({
182
                       uni.showToast({
183
                         icon: "none",
183
                         icon: "none",
184
-                        title: "请求失败!",
184
+                        title: result.msg || "接口获取数据失败!",
185
                       });
185
                       });
186
                     }
186
                     }
187
                   }
187
                   }
@@ -244,7 +244,7 @@
244
                     } else {
244
                     } else {
245
                       uni.showToast({
245
                       uni.showToast({
246
                         icon: "none",
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
             } else {
206
             } else {
207
               uni.showToast({
207
               uni.showToast({
208
                 icon: "none",
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
                 } else {
92
                 } else {
93
                   uni.showToast({
93
                   uni.showToast({
94
                     icon: "none",
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
           }else{
115
           }else{
116
             uni.showToast({
116
             uni.showToast({
117
               icon: "none",
117
               icon: "none",
118
-              title: "请求失败!",
118
+              title: res.msg || "接口获取数据失败!",
119
             });
119
             });
120
           }
120
           }
121
         })
121
         })
@@ -191,7 +191,7 @@
191
                   uni.hideLoading();
191
                   uni.hideLoading();
192
                   uni.showToast({
192
                   uni.showToast({
193
                     icon: "none",
193
                     icon: "none",
194
-                    title: "请求失败!",
194
+                    title: res.msg || "接口获取数据失败!",
195
                   });
195
                   });
196
                 }
196
                 }
197
               });
197
               });
@@ -204,7 +204,7 @@
204
             uni.hideLoading();
204
             uni.hideLoading();
205
             uni.showToast({
205
             uni.showToast({
206
               icon: "none",
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
           } else {
102
           } else {
103
             uni.showToast({
103
             uni.showToast({
104
               icon: "none",
104
               icon: "none",
105
-              title: "请求失败!",
105
+              title: res.msg || "接口获取数据失败!",
106
             });
106
             });
107
           }
107
           }
108
         });
108
         });
@@ -341,7 +341,7 @@
341
             uni.hideLoading();
341
             uni.hideLoading();
342
             uni.showToast({
342
             uni.showToast({
343
               icon: "none",
343
               icon: "none",
344
-              title: "请求失败!",
344
+              title: res.msg || "接口获取数据失败!",
345
             });
345
             });
346
           }
346
           }
347
         });
347
         });
@@ -377,7 +377,7 @@
377
           } else {
377
           } else {
378
             uni.showToast({
378
             uni.showToast({
379
               icon: "none",
379
               icon: "none",
380
-              title: "请求失败!",
380
+              title: res.msg || "接口获取数据失败!",
381
             });
381
             });
382
           }
382
           }
383
         });
383
         });
@@ -423,7 +423,7 @@
423
           } else {
423
           } else {
424
             uni.showToast({
424
             uni.showToast({
425
               icon: "none",
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
             } else {
275
             } else {
276
               uni.showToast({
276
               uni.showToast({
277
                 icon: "none",
277
                 icon: "none",
278
-                title: "请求失败!",
278
+                title: result.msg || "接口获取数据失败!",
279
               });
279
               });
280
             }
280
             }
281
           }
281
           }
@@ -357,7 +357,7 @@
357
           } else {
357
           } else {
358
             uni.showToast({
358
             uni.showToast({
359
               icon: "none",
359
               icon: "none",
360
-              title: "请求失败!",
360
+              title: res.msg || "接口获取数据失败!",
361
             });
361
             });
362
           }
362
           }
363
         });
363
         });
@@ -593,7 +593,7 @@
593
             uni.hideLoading();
593
             uni.hideLoading();
594
             uni.showToast({
594
             uni.showToast({
595
               icon: "none",
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
                 } else {
82
                 } else {
83
                   uni.showToast({
83
                   uni.showToast({
84
                     icon: "none",
84
                     icon: "none",
85
-                    title: "请求失败!",
85
+                    title: res.msg || "接口获取数据失败!",
86
                   });
86
                   });
87
                 }
87
                 }
88
               });
88
               });
@@ -111,7 +111,7 @@
111
           } else {
111
           } else {
112
             uni.showToast({
112
             uni.showToast({
113
               icon: "none",
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
           } else {
85
           } else {
86
             uni.showToast({
86
             uni.showToast({
87
               icon: "none",
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
           } else {
85
           } else {
86
             uni.showToast({
86
             uni.showToast({
87
               icon: "none",
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
           uni.hideLoading();
30
           uni.hideLoading();
31
           uni.showToast({
31
           uni.showToast({
32
             icon: "none",
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
                           } else {
88
                           } else {
89
                             uni.showToast({
89
                             uni.showToast({
90
                               icon: "none",
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
                           } else {
113
                           } else {
114
                             uni.showToast({
114
                             uni.showToast({
115
                               icon: "none",
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
                           } else {
146
                           } else {
147
                             uni.showToast({
147
                             uni.showToast({
148
                               icon: "none",
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
                           } else {
171
                           } else {
172
                             uni.showToast({
172
                             uni.showToast({
173
                               icon: "none",
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
           uni.hideLoading();
203
           uni.hideLoading();
204
           uni.showToast({
204
           uni.showToast({
205
             icon: "none",
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
                     } else {
266
                     } else {
267
                       uni.showToast({
267
                       uni.showToast({
268
                         icon: "none",
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
                     } else {
291
                     } else {
292
                       uni.showToast({
292
                       uni.showToast({
293
                         icon: "none",
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
                     } else {
324
                     } else {
325
                       uni.showToast({
325
                       uni.showToast({
326
                         icon: "none",
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
                     } else {
349
                     } else {
350
                       uni.showToast({
350
                       uni.showToast({
351
                         icon: "none",
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
           uni.hideLoading();
370
           uni.hideLoading();
371
           uni.showToast({
371
           uni.showToast({
372
             icon: "none",
372
             icon: "none",
373
-            title: "请求失败!",
373
+            title: result.msg || "接口获取数据失败!",
374
           });
374
           });
375
         }
375
         }
376
       })
376
       })