Kaynağa Gözat

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 3 hafta önce
ebeveyn
işleme
9d0a2d759a

+ 2 - 3
src/xt_pages/dialysis/dialysisPrintOrder.vue Dosyayı Görüntüle

@@ -1934,7 +1934,6 @@ export default {
1934 1934
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px;border-color: #000;}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #000;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #000;text-align: center;white-space: nowrap; width: 50%;}';
1935 1935
       // const style3 =
1936 1936
       //   '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
1937
-      //
1938 1937
       const style4 =
1939 1938
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:18px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:18px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:18px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:20px;height:20px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:23px;font-weight: 200;}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1940 1939
       const style5 =
@@ -2701,12 +2700,12 @@ export default {
2701 2700
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2702 2701
           this.patient_name = response.data.data.patientInfo.name
2703 2702
 
2704
-          // if(this.org_id !=10206 ){//&& this.org_id !=0
2703
+          // if(this.org_id !=0){//&& this.org_id !=0
2705 2704
             this.org_template_info.template_id= response.data.data.org_template_info.template_id
2706 2705
             this.org_template_info = response.data.data.org_template_info;
2707 2706
           // }else{
2708 2707
           //   this.org_template_info = response.data.data.org_template_info;
2709
-          //   this.org_template_info.template_id= 82
2708
+          //   this.org_template_info.template_id= 68
2710 2709
           // }
2711 2710
 
2712 2711
 

+ 5 - 5
src/xt_pages/outpatientCharges/invoicePrint.vue Dosyayı Görüntüle

@@ -17,10 +17,10 @@
17 17
     </template>
18 18
     <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 && org_id != 10188 && org_id != 10633"><!--&& org_id != 10188 && org_id != 0-->
19 19
         <div class='dialysisPage'>
20
-          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 " >
20
+          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 && org_id != 0" >
21 21
             <printOne v-if="org_id != 10088 && org_id != 10510 && org_id != 0" :paramsObj="invoiceParams"></printOne>
22 22
             <printThree v-if="org_id == 10088 " :paramsObj="invoiceParams" :show="showclick"></printThree>
23
-            <printfifteen v-if="org_id == 10510 || org_id == 0 " :paramsObj="invoiceParams"></printfifteen>
23
+            <printfifteen v-if="org_id == 10510 " :paramsObj="invoiceParams"></printfifteen>
24 24
           </div>
25 25
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
26 26
           <printFour v-if="org_id == 10215 " :paramsObj="invoiceParams"></printFour>
@@ -30,7 +30,7 @@
30 30
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
31 31
           <PrintNight v-if="org_id == 10210" :paramsObj="invoiceParams"></PrintNight>
32 32
           <!-- <PrintTen v-if="org_id == 10375 ||org_id == 0 " :paramsObj="invoiceParams"></PrintTen> -->
33
-          <printtwelve :paramsObj="invoiceParams"  v-if="org_id == 10480 "></printtwelve>
33
+          <printtwelve :paramsObj="invoiceParams"  v-if="org_id == 10480 || org_id == 0 "></printtwelve>
34 34
         </div>
35 35
     </div>
36 36
 
@@ -40,7 +40,7 @@
40 40
       </div>
41 41
     </div>
42 42
 
43
-    <div class="app-container" style="" v-if="org_id == 10217 || org_id == 10633">
43
+    <div class="app-container" style="" v-if=" org_id == 10633">
44 44
       <div class='dialysisPage'>
45 45
         <printSix :paramsObj="invoiceParams"></printSix>
46 46
       </div>
@@ -57,7 +57,7 @@
57 57
       </div>
58 58
     </div>
59 59
 
60
-    <div class="app-container" style="padding-top:20px;" v-if="org_id == 10188  ">
60
+    <div class="app-container" style="padding-top:20px;" v-if="org_id == 10188 || org_id == 10217">
61 61
       <div class='dialysisPage'>
62 62
         <printthirteen  :paramsObj="invoiceParams"></printthirteen>
63 63
       </div>

+ 73 - 36
src/xt_pages/sign/lineUp.vue Dosyayı Görüntüle

@@ -74,7 +74,7 @@
74 74
                                 <p style="width:16%">{{ item.end_time && item.start_time ? getDates(item.end_time) : '--' }}</p>
75 75
                             </div>
76 76
                         </div>
77
-                    </div> 
77
+                    </div>
78 78
                     <div class="callingBox">
79 79
                         <div :class="(queueConfig.jzjhyc == 1 && queueConfig.sjjhyc == 0) ? 'callingBoxLeft1' : 'callingBoxLeft'" v-if="queueConfig.jzjhyc == 1">
80 80
                             <div class="callingTitle"><span style="margin: 0 auto;">接<br />诊<br />叫<br />号</span></div>
@@ -123,10 +123,10 @@
123 123
                             </div>
124 124
                         </div>
125 125
                     </div>
126
-                </div> 
127
-                
126
+                </div>
127
+
128 128
              </div>
129
-        
129
+
130 130
             <!-- <div class="page_lineUp">
131 131
                 <div class="lineUpTitle">
132 132
                     <div>{{ this.$store.getters.xt_user.org.org_name }}<span>&nbsp;&nbsp;温馨提示:请注意排队叫号,依次叫号就诊上机,谢谢配合</span></div>
@@ -159,7 +159,7 @@
159 159
                                 <p style="width:16%">07:38:00</p>
160 160
                             </div>
161 161
                         </div>
162
-                    </div> 
162
+                    </div>
163 163
                     <div class="callingBox">
164 164
                         <div class="callingBoxLeft">
165 165
                             <div class="callingTitle"><span style="margin: 0 auto;">接<br />诊<br />叫<br />号</span></div>
@@ -209,7 +209,7 @@
209 209
                         </div>
210 210
                     </div>
211 211
                 </div>
212
-                
212
+
213 213
             </div> -->
214 214
         </div>
215 215
         <div class="app-container">
@@ -251,7 +251,7 @@
251 251
                                 <p style="width:16%">{{ item.end_time && item.start_time ? getDates(item.end_time) : '--' }}</p>
252 252
                             </div>
253 253
                         </div>
254
-                    </div> 
254
+                    </div>
255 255
                     <div class="callingBox">
256 256
                         <div :class="(queueConfig.jzjhyc == 1 && queueConfig.sjjhyc == 0) ? 'callingBoxLeft1' : 'callingBoxLeft'" v-if="queueConfig.jzjhyc == 1">
257 257
                             <div class="callingTitle"><span style="margin: 0 auto;">接<br />诊<br />叫<br />号</span></div>
@@ -301,9 +301,9 @@
301 301
                         </div>
302 302
                     </div>
303 303
                 </div>
304
-                
304
+
305 305
             </div>
306
-        
306
+
307 307
             <!-- <div class="page_lineUp">
308 308
                 <div class="lineUpTitle">
309 309
                     <div>{{ this.$store.getters.xt_user.org.org_name }}<span>&nbsp;&nbsp;温馨提示:请注意排队叫号,依次叫号就诊上机,谢谢配合</span></div>
@@ -336,7 +336,7 @@
336 336
                                 <p style="width:16%">07:38:00</p>
337 337
                             </div>
338 338
                         </div>
339
-                    </div> 
339
+                    </div>
340 340
                     <div class="callingBox">
341 341
                         <div class="callingBoxLeft">
342 342
                             <div class="callingTitle"><span style="margin: 0 auto;">接<br />诊<br />叫<br />号</span></div>
@@ -386,7 +386,7 @@
386 386
                         </div>
387 387
                     </div>
388 388
                 </div>
389
-                
389
+
390 390
             </div> -->
391 391
         </div>
392 392
     </div>
@@ -410,7 +410,7 @@ export default {
410 410
             dialogTableVisible:false,
411 411
             showSetting: false,
412 412
             lineUpList:[],
413
-            count:0,
413
+            // count:0,
414 414
             page:1,
415 415
             timer:null,
416 416
             queueConfig:{
@@ -428,8 +428,8 @@ export default {
428 428
 
429 429
             voice:true,
430 430
             a:1,
431
-            newTimes:null
432
-            
431
+            newTimes:null,
432
+
433 433
         }
434 434
     },
435 435
     computed: {
@@ -445,10 +445,19 @@ export default {
445 445
             sessionStorage.removeItem('lineUpKey')
446 446
             sessionStorage.removeItem('signInKey')
447 447
         }
448
-        this.initData = {
449
-            cmd: "queue/join",
450
-            data: {type:2,page:1,size:6},
451
-        };
448
+        if(this.queueConfig.jzjhyc ==1&&this.queueConfig.sjjhyc ==1){
449
+          this.initData = {
450
+              cmd: "queue/join",
451
+              data: {type:2,page:1,size:6},
452
+          };
453
+        }else{
454
+          this.initData = {
455
+              cmd: "queue/join",
456
+              data: {type:2,page:1,size:10},
457
+          };
458
+        }
459
+        console.log('11111111222',this.initData);
460
+
452 461
         this.websocketSend(this.initData)
453 462
         let newobj = {
454 463
             cmd: "queue/callreturn",
@@ -483,33 +492,61 @@ export default {
483 492
         // this.websocketMess();
484 493
     },
485 494
     mounted(){
486
-        
495
+      console.log('queueConfig.jzjhyc1111',this.queueConfig.jzjhyc,this.queueConfig.sjjhyc);
496
+
487 497
         this.timer = setInterval(() => {
498
+
499
+          if(this.queueConfig.jzjhyc ==1&&this.queueConfig.sjjhyc ==1){
488 500
             if(this.page < Math.ceil(this.count / 6)){
489
-                console.log('执行',Math.ceil(this.count / 6),this.page)
490
-                this.page++
491
-                let obj = {
501
+              console.log('执行',Math.ceil(this.count / 6),this.page)
502
+              this.page++
503
+              let obj = {
504
+                  cmd: "queue/queuelist",
505
+                  data: {page:this.page,size:6,sort:0}
506
+              };
507
+              this.websocketSend(obj)
508
+              setTimeout(() => {
509
+                  this.websocketMess();
510
+              }, 1000);
511
+            }else{
512
+                console.log('执行22223333')
513
+                this.page = 1
514
+                let a = {
492 515
                     cmd: "queue/queuelist",
493 516
                     data: {page:this.page,size:6,sort:0}
494 517
                 };
495
-                this.websocketSend(obj)
518
+                this.websocketSend(a)
496 519
                 setTimeout(() => {
497 520
                     this.websocketMess();
498 521
                 }, 1000);
522
+
523
+            }
524
+          }else{
525
+            if(this.page < Math.ceil(this.count / 10)){
526
+              console.log('执行',Math.ceil(this.count / 10),this.page)
527
+              this.page++
528
+              let obj = {
529
+                  cmd: "queue/queuelist",
530
+                  data: {page:this.page,size:10,sort:0}
531
+              };
532
+              this.websocketSend(obj)
533
+              setTimeout(() => {
534
+                  this.websocketMess();
535
+              }, 1000);
499 536
             }else{
500
-                console.log('执行22223333')
537
+                console.log('执行22223333444444')
501 538
                 this.page = 1
502 539
                 let a = {
503 540
                     cmd: "queue/queuelist",
504
-                    data: {page:this.page,size:6,sort:0}
541
+                    data: {page:this.page,size:10,sort:0}
505 542
                 };
506 543
                 this.websocketSend(a)
507 544
                 setTimeout(() => {
508 545
                     this.websocketMess();
509 546
                 }, 1000);
510
-                
511 547
             }
512
-            console.log('切换时间',this.queueConfig)
548
+          }
549
+          console.log('切换时间11',this.queueConfig)
513 550
         }, 1000 * parseInt(this.queueConfig.qhsj));
514 551
         this.timerID = setInterval(() => {
515 552
             this.updateTime()
@@ -543,7 +580,7 @@ export default {
543 580
         websocketSend(data) {
544 581
             try {
545 582
                 this.websocket.send(JSON.stringify(data))
546
-                
583
+
547 584
             } catch (error) {
548 585
                 this.showError = true;
549 586
                 this.showIndex = 4;
@@ -551,12 +588,12 @@ export default {
551 588
             }
552 589
         },
553 590
         websocketMess() {
554
-            console.log('测试')
591
+            console.log('测试',this.websocket)
555 592
             this.websocket.onmessage = e => {
556 593
                 let res = JSON.parse(e.data);
557 594
                 // let res = re.data;
558 595
                 console.log('res',res)
559
-                
596
+
560 597
                     if(res.channel == 'queue/join'){
561 598
                         if(res.data.type == 2){
562 599
                             this.queueConfig = res.data.queueConfig
@@ -587,7 +624,7 @@ export default {
587 624
                         console.log(999999999999,res.data)
588 625
                         let second = res.data.second
589 626
                         let newType = res.data.type
590
-                    
627
+
591 628
                         console.log('执行几次',this.voiceNum)
592 629
                         if(this.voice == true){
593 630
                             this.patient_id = res.data.patientInfo.patient_id
@@ -606,7 +643,7 @@ export default {
606 643
                                     this.voicePrompt(res.data.callVolUrl)
607 644
                                 }else{
608 645
                                     this.voiceNum = 1;
609
-                                    this.voice = true 
646
+                                    this.voice = true
610 647
                                     let obj = {
611 648
                                         cmd: "queue/callreturn",
612 649
                                         data: {patient_id:this.patient_id,type:newType},
@@ -624,13 +661,13 @@ export default {
624 661
                         }
625 662
                     }else if(res.channel == 'updateCallList'){
626 663
                         this.receivingPatient = res.data.queue_list
627
-                        
664
+
628 665
                     }else if(res.channel == 'updateWaitCallList'){
629 666
                         this.waitDoctorList = res.data.queue_list
630 667
                     }else if(res.channel == 'updateUpCallList'){
631 668
                         this.upPatientList = res.data.queue_list
632 669
                     }
633
-                
670
+
634 671
                 // else if(res.channel == "patientQueueInfo"){
635 672
                 //     this.queueInfo = res.data.queueInfo
636 673
                 //     let obj = {
@@ -638,7 +675,7 @@ export default {
638 675
                 //         data: {page:1,size:10}
639 676
                 //     };
640 677
                 //     this.websocketSend(obj)
641
-                    
678
+
642 679
                 // }
643 680
             }
644 681
         },
@@ -719,7 +756,7 @@ export default {
719 756
         border-radius: 15px;
720 757
         display: flex;
721 758
         flex-direction: column;
722
-        
759
+
723 760
     }
724 761
     .lineUpMainLeftTitle{
725 762
         display: flex;