maotao 5 dagar sedan
förälder
incheckning
76cbc50f49

+ 20 - 14
components/bigScreen/bigScreen.vue

@@ -369,7 +369,7 @@
369 369
           }
370 370
         })
371 371
       },
372
-      // 根据配置跳转页面
372
+      // 根据配置跳转页面 
373 373
       pageNavigateByConfig(config, responseData, queryObj, code){
374 374
         let drugsBagType = queryObj.drugsBagType;
375 375
         let orderId = responseData.orderId;
@@ -452,9 +452,15 @@
452 452
                   title: ress.data.msg || "接口获取数据失败!",
453 453
                 });
454 454
               }else{
455
-                uni.navigateTo({
456
-                  url: `/pages/newDrug/continueScanning/continueScanning?drugsBagType=${drugsBagType}&orderId=${orderId}&drugsBagId=${drugsBagId}&orderStateValue=${orderStateValue}`,
457
-                });
455
+								if(config.drugsEndCountMethod && config.drugsEndCountMethod==2){
456
+									uni.navigateTo({
457
+									  url: `/pages/newDrug/checkPage/checkPage?drugsBagType=${drugsBagType}&orderId=${orderId}`,
458
+									});
459
+								}else{
460
+									uni.navigateTo({
461
+									  url: `/pages/newDrug/continueScanning/continueScanning?drugsBagType=${drugsBagType}&orderId=${orderId}&drugsBagId=${drugsBagId}&orderStateValue=${orderStateValue}`,
462
+									});
463
+								}
458 464
               }
459 465
             } else {
460 466
               uni.showToast({
@@ -511,7 +517,7 @@
511 517
       // 底部扫描
512 518
       Scanning(qrcodePrefix = '') {
513 519
 				// 标本码
514
-				// this.ScanningCommon('', '250522891576@_1');
520
+				this.ScanningCommon('', '250529338897@_1');
515 521
 				
516 522
 				// 快捷建单-轮巡工单码
517 523
 				// this.ScanningCommon('', '3330ec8e-76eb-413e-b000-995f08d2ff96');
@@ -522,15 +528,15 @@
522 528
 				// 终点科室核对码--本部住院检验科
523 529
 				// this.ScanningCommon('', '95c5de27-c05f-11ea-8cfe-000c29097622');
524 530
 				
525
-        if (!this.SMFlag) {
526
-          return;
527
-        }
528
-        this.SMFlag = false;
529
-        SM().then((content) => {
530
-          this.ScanningCommon(qrcodePrefix, content);
531
-        }).catch(err => {
532
-          this.SMFlag = true;
533
-        });
531
+        // if (!this.SMFlag) {
532
+        //   return;
533
+        // }
534
+        // this.SMFlag = false;
535
+        // SM().then((content) => {
536
+        //   this.ScanningCommon(qrcodePrefix, content);
537
+        // }).catch(err => {
538
+        //   this.SMFlag = true;
539
+        // });
534 540
       },
535 541
       //底部扫描-无须扫码
536 542
       ScanningCommon(qrcodePrefix = '', content){

+ 0 - 1
pages/newDrug/continueScanning/continueScanning.vue

@@ -226,7 +226,6 @@
226 226
               title: info.msg || "接口获取数据失败!",
227 227
             });
228 228
           }
229
-        
230 229
           if(config.status == 200){
231 230
             let list  = config.list || [];
232 231
             this.config = list.length ? list[0] : {};

+ 5 - 1
pages/receipt_infopage/receipt_infopage.vue

@@ -52,7 +52,7 @@
52 52
           <view class="page_item_cont_title" v-for="(dept, index) of infoDATA.middleDept" :key="'ico' + index">
53 53
             <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
54 54
               <text> <text class="End">检</text> 查科室 </text>
55
-              <text class="text_big">{{ dept.dept }}</text>
55
+              <text class="text_big" :class="dept.signIn ? 'green': ''">{{ dept.dept }}</text>
56 56
               <view></view>
57 57
             </view>
58 58
           </view>
@@ -341,6 +341,10 @@
341 341
                 <text class="text1">预约时间</text>
342 342
                 <text class="text2">{{ item.yyTime || "-" }}</text>
343 343
               </view>
344
+							<view class="page_item_foot_text">
345
+							  <text class="text1">是否送达</text>
346
+							  <text class="text2">{{ item.inspectState && item.inspectState.value=='3' ? '是':'否'}}</text>
347
+							</view>
344 348
               <!-- <view class="page_item_foot_text"
345 349
                 v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
346 350
                 <view class="btn" @click.stop="remove(item)">移除</view>

+ 7 - 1
pages/receiptpage/receiptpage.vue

@@ -244,10 +244,16 @@
244 244
                   <text> <text class="End">终</text> 点科室 </text>
245 245
                   <text class="text_big" v-for="(dept, i) of item.endDepts" :key="i">{{ dept.dept }}</text>
246 246
                 </view>
247
-                <view class="page_item_cont_title" v-if="item.taskType.associationType.value == 'inspect'">
247
+                <view class="page_item_cont_title" v-if="item.middleDept&&item.middleDept.length==1 && item.taskType.associationType.value == 'inspect'">
248 248
                   <text> <text class="End">检</text> 查科室 </text>
249 249
                   <text class="text_big" v-for="(dept, i) of item.middleDept" :key="i">{{ dept.dept }}</text>
250 250
                 </view>
251
+								<view class="page_item_cont_title" v-if="item.middleDept&&item.middleDept.length>1 && item.taskType.associationType.value == 'inspect'">
252
+								  <view v-for="(dept, i) of item.middleDept" :key="i">
253
+										<text> <text class="End">检</text> 查科室 </text>
254
+										<text class="text_big" :class="dept.signIn ? 'green': ''">{{ dept.dept }}</text>
255
+									</view>
256
+								</view>
251 257
               </view>
252 258
             </view>
253 259
             <view v-if="