Просмотр исходного кода

扫码错误页面展示扫描内容

seimin лет назад: 2
Родитель
Сommit
831c36f7a4

+ 18 - 10
App.vue

@@ -90,8 +90,8 @@
90 90
     width: 100%;
91 91
     height: 100%;
92 92
     background: #f9fafb;
93
-    --sk-size: 20rpx!important;
94
-    --sk-color: #49b856!important;
93
+    --sk-size: 20rpx !important;
94
+    --sk-color: #49b856 !important;
95 95
   }
96 96
 
97 97
   body {
@@ -117,16 +117,24 @@
117 117
   .seimin-btn-hover {
118 118
     box-shadow: 0px 0px 8px rgba(0, 0, 0, .1) inset !important;
119 119
   }
120
-  .uni-picker-action-confirm{
121
-    color: #49b856!important;
120
+
121
+  .uni-picker-action-confirm {
122
+    color: #49b856 !important;
123
+  }
124
+
125
+  .footerPadding {
126
+    padding-bottom: 50rpx !important;
122 127
   }
123
-  .footerPadding{
124
-    padding-bottom: 50rpx!important;
128
+
129
+  .footerOtherMargin {
130
+    margin-bottom: 174rpx !important;
125 131
   }
126
-  .footerOtherMargin{
127
-    margin-bottom: 174rpx!important;
132
+
133
+  .red {
134
+    color: red !important;
128 135
   }
129
-  .red{
130
-    color: red!important;
136
+
137
+  .f30 {
138
+    font-size: 30rpx !important;
131 139
   }
132 140
 </style>

+ 3 - 1
components/bigScreen/bigScreen.vue

@@ -13,6 +13,7 @@
13 13
   export default {
14 14
     data() {
15 15
       return {
16
+        currentCode: '', //当前小扫描的科室二维码
16 17
         SMFlag: true,
17 18
       }
18 19
     },
@@ -33,6 +34,7 @@
33 34
               content,
34 35
             })
35 36
             .then((result) => {
37
+              this.currentCode = result.code;
36 38
               this.SMFlag = true;
37 39
               // 200检测通过,201没有有效期也通过。
38 40
               if (result.state == 200 || result.state == 201) {
@@ -102,7 +104,7 @@
102 104
                       }
103 105
                     } else {
104 106
                       uni.navigateTo({
105
-                        url: `../scanning_Result/scanning_Result?status=${res.status}&msg=${res.msg}`,
107
+                        url: `../scanning_Result/scanning_Result?status=${res.status}&msg=${res.msg}&qrcode=${this.currentCode}`,
106 108
                       });
107 109
                     }
108 110
                   });

+ 14 - 13
components/smallScreen/smallScreen.vue

@@ -25,7 +25,7 @@
25 25
         hosModels: {
26 26
           disjunctor: false,
27 27
         },
28
-        // SMFlag:true,
28
+        SMFlag:true,
29 29
       }
30 30
     },
31 31
     props: {
@@ -40,6 +40,7 @@
40 40
       // 如果不是静配,药配,标本配送,标本轮巡
41 41
       // 科室签到(小扫描)
42 42
       nextDeptOrder_ss(data, accountObj) {
43
+        console.log(this.currentCode);
43 44
         let isKs = 0;
44 45
         let ids = [];
45 46
         let id = data.id;
@@ -158,7 +159,7 @@
158 159
                 if (res.type == "trans-ddd-1") {
159 160
                   //起点科室扫描腕带码失败
160 161
                   uni.navigateTo({
161
-                    url: `../../pages/scanning_Result/scanning_Result?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}`,
162
+                    url: `../../pages/scanning_Result/scanning_Result?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&qrcode=${this.currentCode}`,
162 163
                   });
163 164
                 } else {
164 165
                   uni.navigateTo({
@@ -168,13 +169,13 @@
168 169
                     res.msg
169 170
                   }&isKs=${isKs}&model=${encodeURIComponent(
170 171
                     JSON.stringify(res)
171
-                  )}`,
172
+                  )}&qrcode=${this.currentCode}`,
172 173
                   });
173 174
                 }
174 175
               }
175 176
             } else {
176 177
               uni.navigateTo({
177
-                url: `../../pages/scanning_Result/scanning_Result?id=${data.id}&status=600&msg=扫码失败!请扫描正确的二维码!&isKs=${isKs}`,
178
+                url: `../../pages/scanning_Result/scanning_Result?id=${data.id}&status=600&msg=扫码失败!请扫描正确的二维码!&isKs=${isKs}&qrcode=${this.currentCode}`,
178 179
               });
179 180
             }
180 181
           });
@@ -183,7 +184,7 @@
183 184
       // 如果不是患者陪检或患者转运或其他
184 185
       // 科室签到
185 186
       nextDeptOrder_s(data, accountObj) {
186
-        console.log(data, accountObj)
187
+        console.log(this.currentCode);
187 188
         let ids = [];
188 189
         let id = data.id;
189 190
         ids.push(id);
@@ -210,7 +211,7 @@
210 211
               });
211 212
             } else {
212 213
               uni.navigateTo({
213
-                url: `../../pages/scanning_Result/scanning_Result?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&isKs=1`,
214
+                url: `../../pages/scanning_Result/scanning_Result?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&isKs=1&qrcode=${this.currentCode}`,
214 215
               });
215 216
             }
216 217
           });
@@ -220,10 +221,10 @@
220 221
       // type==2  如果不是患者陪检,患者转运,其他
221 222
       // 扫码(小扫描)
222 223
       Scan_ss(data, type) {
223
-        // if (!this.SMFlag) {
224
-        //   return;
225
-        // }
226
-        // this.SMFlag = false;
224
+        if (!this.SMFlag) {
225
+          return;
226
+        }
227
+        this.SMFlag = false;
227 228
         this.currentData = data;
228 229
         console.log(data, 'data');
229 230
         SM().then((ress1) => {
@@ -237,7 +238,7 @@
237 238
             taskTypeId: data.taskType.id,
238 239
             gdState: data.gdState.id,
239 240
           }).then((result) => {
240
-            // this.SMFlag = true;
241
+            this.SMFlag = true;
241 242
             this.currentCode = result.code;
242 243
             if (result.state == 200 || result.state == 201) {
243 244
               if (result.account) {
@@ -273,7 +274,7 @@
273 274
             }
274 275
           });
275 276
         }).catch(err=>{
276
-          // this.SMFlag = true;
277
+          this.SMFlag = true;
277 278
         });
278 279
       },
279 280
       // 填写交接人账号-确认
@@ -350,7 +351,7 @@
350 351
       selectAccount
351 352
     },
352 353
     onShow(){
353
-      // this.SMFlag = true;
354
+      this.SMFlag = true;
354 355
     }
355 356
   };
356 357
 </script>

+ 8 - 8
pages/patientInformationList/patientInformationList.vue

@@ -87,7 +87,7 @@
87 87
   export default {
88 88
     data() {
89 89
       return {
90
-        // SMFlag:true,
90
+        SMFlag:true,
91 91
         hosId: uni.getStorageSync("userData").user.currentHospital.id,
92 92
         // 选中的患者项
93 93
         currentItem: {},
@@ -228,10 +228,10 @@
228 228
       },
229 229
       // 送回病房-扫描科室
230 230
       scanDept(item) {
231
-        // if (!this.SMFlag) {
232
-        //   return;
233
-        // }
234
-        // this.SMFlag = false;
231
+        if (!this.SMFlag) {
232
+          return;
233
+        }
234
+        this.SMFlag = false;
235 235
         this.currentItem = item;
236 236
         let code = "";
237 237
         SM().then((ress1) => {
@@ -243,7 +243,7 @@
243 243
           post("/dept/scanning", {
244 244
             content: ress1,
245 245
           }).then((result) => {
246
-            // this.SMFlag = true;
246
+            this.SMFlag = true;
247 247
             if (result.state == 200 || result.state == 201) {
248 248
               let ress = result.code;
249 249
               if (ress) {
@@ -299,7 +299,7 @@
299 299
             }
300 300
           });
301 301
         }).catch(err=>{
302
-          // this.SMFlag = true;
302
+          this.SMFlag = true;
303 303
         });
304 304
       },
305 305
       // 送回病房-选择起点科室
@@ -485,7 +485,7 @@
485 485
       // #endif
486 486
     },
487 487
     onShow() {
488
-      // this.SMFlag = true;
488
+      this.SMFlag = true;
489 489
       // #ifdef H5
490 490
       document.body.addEventListener("touchmove", this.stop, {
491 491
         passive: false,

+ 7 - 7
pages/pharmacy/pharmacy.vue

@@ -94,7 +94,7 @@
94 94
         drugModels: {
95 95
           disjunctor: false,
96 96
         },
97
-        // SMFlag:true,
97
+        SMFlag:true,
98 98
         triggered: false, //下拉刷新状态
99 99
         freshing: false, //上拉加载开关
100 100
         scroll_top: 0, //距离顶部的距离
@@ -210,16 +210,16 @@
210 210
       },
211 211
       // 扫一扫
212 212
       drugsScanning() {
213
-        // if (!this.SMFlag) {
214
-        //   return;
215
-        // }
216
-        // this.SMFlag = false;
213
+        if (!this.SMFlag) {
214
+          return;
215
+        }
216
+        this.SMFlag = false;
217 217
         SM().then((ress) => {
218 218
           uni.navigateTo({
219 219
             url: "../pharmacyDetails/pharmacyDetails?qrcode=" + ress,
220 220
           });
221 221
         }).catch(err => {
222
-          // this.SMFlag = true;
222
+          this.SMFlag = true;
223 223
         });
224 224
       },
225 225
       //刷新
@@ -331,7 +331,7 @@
331 331
       // #endif
332 332
     },
333 333
     onShow() {
334
-      // this.SMFlag = true;
334
+      this.SMFlag = true;
335 335
       // #ifdef H5
336 336
       document.body.addEventListener("touchmove", this.stop, {
337 337
         passive: false

+ 1 - 1
pages/scanning_B/scanning_B.vue

@@ -102,7 +102,7 @@
102 102
               });
103 103
             } else {
104 104
               uni.navigateTo({
105
-                url: `/pages/scanning_Result/scanning_Result?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&isKs=1`,
105
+                url: `/pages/scanning_Result/scanning_Result?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&isKs=1&qrcode=${this.currentCode}`,
106 106
               });
107 107
             }
108 108
           });

+ 10 - 7
pages/scanning_Result/scanning_Result.vue

@@ -18,6 +18,7 @@
18 18
       </view>
19 19
       <view class="Scanning_top_text">
20 20
         <view class="text1"> 操作失败 </view>
21
+        <view class="text1 f30" v-if="queryObj.qrcode !== undefined"> 扫描内容:{{queryObj.qrcode}} </view>
21 22
       </view>
22 23
     </view>
23 24
 
@@ -239,6 +240,7 @@
239 240
   export default {
240 241
     data() {
241 242
       return {
243
+        currentCode: '', //当前小扫描的科室二维码
242 244
         // 手动查询标本弹窗model
243 245
         speModels: {
244 246
           disjunctor: false,
@@ -330,6 +332,7 @@
330 332
           content: ress1,
331 333
         }).then((result) => {
332 334
           this.SMFlag = true;
335
+          this.currentCode = result.code;
333 336
           if (result.state == 200 || result.state == 201) {
334 337
             let codes = result.code;
335 338
             if (codes) {
@@ -431,7 +434,7 @@
431 434
                     this.queryObj.dept
432 435
                   }&id=${this.dataId}&model=${encodeURIComponent(
433 436
                     JSON.stringify(this.infoDATA)
434
-                  )}&accountObj=${encodeURIComponent(JSON.stringify(this.accountObj))}&deptId=${this.deptId}&handover=${this.handover}&scanOrHand=${type}`,
437
+                  )}&accountObj=${encodeURIComponent(JSON.stringify(this.accountObj))}&deptId=${this.deptId}&handover=${this.handover}&scanOrHand=${type}&qrcode=${this.currentCode}`,
435 438
                   });
436 439
                 }
437 440
               });
@@ -464,14 +467,14 @@
464 467
       },
465 468
       // 继续扫描
466 469
       Scanning_again() {
467
-        // if (!this.SMFlag) {
468
-        //   return;
469
-        // }
470
-        // this.SMFlag = false;
470
+        if (!this.SMFlag) {
471
+          return;
472
+        }
473
+        this.SMFlag = false;
471 474
         SM().then((ress1) => {
472 475
           this.hand_scanning_common(ress1, 'scan');
473 476
         }).catch(err => {
474
-          // this.SMFlag = true;
477
+          this.SMFlag = true;
475 478
         });
476 479
       },
477 480
       // 正常完成扫描
@@ -752,7 +755,7 @@
752 755
       },
753 756
     },
754 757
     onShow() {
755
-      // this.SMFlag = true;
758
+      this.SMFlag = true;
756 759
       this.gotoFlag = true;
757 760
     },
758 761
     onLoad(options) {

+ 11 - 9
pages/scanning_all/scanning_all.vue

@@ -306,7 +306,8 @@ import { post, SM, webHandle } from "../../http/http.js";
306 306
 export default {
307 307
   data() {
308 308
     return {
309
-      // SMFlag: true,
309
+      currentCode: '', //当前小扫描的科室二维码
310
+      SMFlag: true,
310 311
       // 填写交接人账号弹窗model
311 312
       hosModels: {
312 313
         disjunctor: false,
@@ -466,10 +467,10 @@ export default {
466 467
           ) {
467 468
             this.orderDeptHandler(true);
468 469
           } else {
469
-            // if (!this.SMFlag) {
470
-            //   return;
471
-            // }
472
-            // this.SMFlag = false;
470
+            if (!this.SMFlag) {
471
+              return;
472
+            }
473
+            this.SMFlag = false;
473 474
             SM()
474 475
               .then((ress1) => {
475 476
                 uni.showLoading({
@@ -480,7 +481,8 @@ export default {
480 481
                 post("/dept/scanning", {
481 482
                   content: ress1,
482 483
                 }).then((result) => {
483
-                  // this.SMFlag = true;
484
+                  this.SMFlag = true;
485
+                  this.currentCode = result.code;
484 486
                   if (result.state == 200 || result.state == 201) {
485 487
                     let ress = result.code;
486 488
                     if (ress) {
@@ -552,7 +554,7 @@ export default {
552 554
                               JSON.stringify(this.userId.ids)
553 555
                             )}&model=${encodeURIComponent(
554 556
                               JSON.stringify(res)
555
-                            )}&code=${this.code}`,
557
+                            )}&code=${this.code}&qrcode=${this.currentCode}`,
556 558
                           });
557 559
                         }
558 560
                       });
@@ -568,7 +570,7 @@ export default {
568 570
                 });
569 571
               })
570 572
               .catch((err) => {
571
-                // this.SMFlag = true;
573
+                this.SMFlag = true;
572 574
               });
573 575
           }
574 576
         } else {
@@ -712,7 +714,7 @@ export default {
712 714
     // #endif
713 715
   },
714 716
   onShow() {
715
-    // this.SMFlag = true;
717
+    this.SMFlag = true;
716 718
     this.flag = true;
717 719
     // 创建动画
718 720
     this.animation = uni.createAnimation({

+ 3 - 1
pages/scanning_code/scanning_code.vue

@@ -370,6 +370,7 @@
370 370
   export default {
371 371
     data() {
372 372
       return {
373
+        currentCode: '', //当前小扫描的科室二维码
373 374
         // 手动查询标本弹窗model
374 375
         speModels: {
375 376
           disjunctor: false,
@@ -450,6 +451,7 @@
450 451
         }).then((result) => {
451 452
           this.SMFlag = true;
452 453
           if (result.state == 200 || result.state == 201) {
454
+            this.currentCode = result.code;
453 455
             let codes = result.code;
454 456
             if (codes) {
455 457
               let speCode = codes;
@@ -590,7 +592,7 @@
590 592
                     this.queryObj.dept
591 593
                   }&id=${this.dataId}&model=${encodeURIComponent(
592 594
                     JSON.stringify(ress)
593
-                  )}&accountObj=${encodeURIComponent(JSON.stringify(this.accountObj))}&deptId=${this.deptId}&handover=${this.handover}&scanOrHand=${type}`,
595
+                  )}&accountObj=${encodeURIComponent(JSON.stringify(this.accountObj))}&deptId=${this.deptId}&handover=${this.handover}&scanOrHand=${type}&qrcode=${this.currentCode}`,
594 596
                   });
595 597
                 }
596 598
               });

+ 4 - 1
pages/scanning_djEnd/scanning_djEnd.vue

@@ -22,6 +22,7 @@
22 22
       </view>
23 23
       <view class="Scanning_top_text">
24 24
         <view class="text1">操作失败</view>
25
+        <view class="text1 f30" v-if="queryObj.qrcode !== undefined">扫描内容:{{queryObj.qrcode}}</view>
25 26
       </view>
26 27
     </view>
27 28
 
@@ -201,6 +202,7 @@
201 202
   export default {
202 203
     data() {
203 204
       return {
205
+        currentCode: '', //当前小扫描的科室二维码
204 206
         // 手动查询标本弹窗model
205 207
         speModels: {
206 208
           disjunctor: false,
@@ -281,6 +283,7 @@
281 283
           content: ress1,
282 284
         }).then((result) => {
283 285
           this.SMFlag = true;
286
+          this.currentCode = result.code;
284 287
           if (result.state == 200 || result.state == 201) {
285 288
             let ress = result.code;
286 289
             let speCode = ress;
@@ -366,7 +369,7 @@
366 369
                   JSON.stringify(ress)
367 370
                 )}&accountObj=${encodeURIComponent(
368 371
                   JSON.stringify(this.accountObj)
369
-                )}&deptId=${this.deptId}&scanOrHand=${type}`,
372
+                )}&deptId=${this.deptId}&scanOrHand=${type}&qrcode=${this.currentCode}`,
370 373
                 });
371 374
               }
372 375
             });

+ 4 - 1
pages/scanning_djInfo/scanning_djInfo.vue

@@ -24,6 +24,7 @@
24 24
       </view>
25 25
       <view class="Scanning_top_text">
26 26
         <view class="text1">操作失败</view>
27
+        <view class="text1 f30" v-if="queryObj.qrcode !== undefined">扫描内容:{{queryObj.qrcode}}</view>
27 28
       </view>
28 29
     </view>
29 30
     <view class="Scanning_cont" v-if="res.status != 200 || res.msg != '成功!'">
@@ -152,6 +153,7 @@
152 153
   export default {
153 154
     data() {
154 155
       return {
156
+        currentCode: '', //当前小扫描的科室二维码
155 157
         // 手动查询标本弹窗model
156 158
         speModels: {
157 159
           disjunctor: false,
@@ -255,6 +257,7 @@
255 257
           content: ress1,
256 258
         }).then((result) => {
257 259
           this.SMFlag = true;
260
+          this.currentCode = result.code;
258 261
           if (result.state == 200 || result.state == 201) {
259 262
             let ress = result.code;
260 263
             if (ress) {
@@ -374,7 +377,7 @@
374 377
                     JSON.stringify(res)
375 378
                   )}&speNum=${this.speNum}&accountObj=${encodeURIComponent(
376 379
                     JSON.stringify(this.accountObj)
377
-                  )}&deptId=${this.deptId}&scanOrHand=${type}`,
380
+                  )}&deptId=${this.deptId}&scanOrHand=${type}&qrcode=${this.currentCode}`,
378 381
                   });
379 382
                 }
380 383
               });

+ 1 - 1
pages/scanning_drug/scanning_drug.vue

@@ -181,7 +181,7 @@ export default {
181 181
             uni.navigateTo(urlObj);
182 182
           } else {
183 183
             uni.navigateTo({
184
-              url: `/pages/scanning_Result/scanning_Result?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&isKs=1`,
184
+              url: `/pages/scanning_Result/scanning_Result?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&isKs=1&qrcode=${this.currentCode}`,
185 185
             });
186 186
           }
187 187
         });

+ 17 - 15
pages/scanning_ins/scanning_ins.vue

@@ -246,7 +246,8 @@
246 246
   export default {
247 247
     data() {
248 248
       return {
249
-        // SMFlag:true,
249
+        currentCode: '', //当前小扫描的科室二维码
250
+        SMFlag:true,
250 251
         options: {},
251 252
         // wechatFocusSwitch: 0,
252 253
         hosId: "",
@@ -384,10 +385,10 @@
384 385
       },
385 386
       // 送回病房-扫描科室
386 387
       scanDept() {
387
-        // if (!this.SMFlag) {
388
-        //   return;
389
-        // }
390
-        // this.SMFlag = false;
388
+        if (!this.SMFlag) {
389
+          return;
390
+        }
391
+        this.SMFlag = false;
391 392
         let infoDATA = JSON.parse(this.options.infoDATA);
392 393
         let code = "";
393 394
         SM().then((ress1) => {
@@ -399,7 +400,7 @@
399 400
           post("/dept/scanning", {
400 401
             content: ress1,
401 402
           }).then((result) => {
402
-            // this.SMFlag = true;
403
+            this.SMFlag = true;
403 404
             if (result.state == 200 || result.state == 201) {
404 405
               let ress = result.code;
405 406
               if (ress) {
@@ -455,7 +456,7 @@
455 456
             }
456 457
           });
457 458
         }).catch(err=>{
458
-          // this.SMFlag = true;
459
+          this.SMFlag = true;
459 460
         });
460 461
       },
461 462
       // 送回病房-选择起点科室
@@ -567,10 +568,10 @@
567 568
         if (data) {
568 569
           let type = "";
569 570
           if (data.gdState.value == "8") {
570
-            // if (!this.SMFlag) {
571
-            //   return;
572
-            // }
573
-            // this.SMFlag = false;
571
+            if (!this.SMFlag) {
572
+              return;
573
+            }
574
+            this.SMFlag = false;
574 575
             SM().then((ress1) => {
575 576
               // ----------------
576 577
               uni.showLoading({
@@ -581,7 +582,8 @@
581 582
               post("/dept/scanning", {
582 583
                 content: ress1,
583 584
               }).then((result) => {
584
-                // this.SMFlag = true;
585
+                this.SMFlag = true;
586
+                this.currentCode = result.code;
585 587
                 if (result.state == 200 || result.state == 201) {
586 588
                   let ress = result.code;
587 589
                   if (ress) {
@@ -608,7 +610,7 @@
608 610
                         uni.navigateTo({
609 611
                           url: `../scanning_djEnd/scanning_djEnd?model=${encodeURIComponent(
610 612
                           JSON.stringify(res)
611
-                        )}`,
613
+                        )}&qrcode=${this.currentCode}`,
612 614
                         });
613 615
                       }
614 616
                     });
@@ -623,7 +625,7 @@
623 625
               });
624 626
               // ------------------------------
625 627
             }).catch(err=>{
626
-              // this.SMFlag = true;
628
+              this.SMFlag = true;
627 629
             });
628 630
           } else {
629 631
             if (data.taskType.associationType.value == "patientTransport") {
@@ -758,7 +760,7 @@
758 760
       // #endif
759 761
     },
760 762
     onShow() {
761
-      // this.SMFlag = true;
763
+      this.SMFlag = true;
762 764
       // 创建动画
763 765
       this.animation = uni.createAnimation({
764 766
         duration: 500,

+ 8 - 8
pages/settingCode/settingCode.vue

@@ -26,7 +26,7 @@
26 26
   export default {
27 27
     data() {
28 28
       return {
29
-        // SMFlag:true,
29
+        SMFlag:true,
30 30
         queryDept: null, //根据二维码查询到的科室
31 31
         settings: [], //底部按钮设置
32 32
         msg: '', //提示信息
@@ -156,10 +156,10 @@
156 156
       },
157 157
       // 扫一扫
158 158
       drugsScanning() {
159
-        // if (!this.SMFlag) {
160
-        //   return;
161
-        // }
162
-        // this.SMFlag = false;
159
+        if (!this.SMFlag) {
160
+          return;
161
+        }
162
+        this.SMFlag = false;
163 163
         SM().then((ress) => {
164 164
           this.qrCode = ress;
165 165
           let postData = {
@@ -171,7 +171,7 @@
171 171
             mask: true,
172 172
           });
173 173
           post("/dept/scanChangeDept", postData).then((res) => {
174
-            // this.SMFlag = true;
174
+            this.SMFlag = true;
175 175
             uni.hideLoading();
176 176
             if (res.status == 200) {
177 177
               if (res.data) { //替换
@@ -198,12 +198,12 @@
198 198
             }
199 199
           })
200 200
         }).catch(err=>{
201
-          // this.SMFlag = true;
201
+          this.SMFlag = true;
202 202
         });
203 203
       },
204 204
     },
205 205
     onShow(){
206
-      // this.SMFlag = true;
206
+      this.SMFlag = true;
207 207
     },
208 208
     onLoad(options) {
209 209
       console.log(options,'seimin')