Kaynağa Gözat

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 2 ay önce
ebeveyn
işleme
02b4ee7d68

+ 1 - 1
src/store/modules/globalConfig.js Dosyayı Görüntüle

@@ -836,7 +836,7 @@ const global_config = {
836 836
       },
837 837
       42: {
838 838
         id: 42,
839
-        name: 'HD(1)',
839
+        name: 'HD.',
840 840
         dialysis_duration: 1,
841 841
         replacement_way: 1,
842 842
         hemodialysis_machine: 2,

+ 6 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue Dosyayı Görüntüle

@@ -657,7 +657,7 @@
657 657
 
658 658
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
659 659
                       <div class="inline_block" style="flex: 2">
660
-                        人工肾装置
660
+                       透析器
661 661
                         <div class="under_line" style="width: 50%; text-align: center">
662 662
                         {{ record.prescription &&
663 663
                             record.prescription.dialysis_irrigation
@@ -667,6 +667,11 @@
667 667
                               record.prescription.dialysis_dialyszers
668 668
                                 ? record.prescription.dialysis_dialyszers
669 669
                                 : ""
670
+                            }}&nbsp;
671
+                             {{
672
+                              record.prescription.dialysis_strainer
673
+                                ? record.prescription.dialysis_strainer
674
+                                : ""
670 675
                             }}
671 676
                         </div>
672 677
                       </div>

+ 1 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue Dosyayı Görüntüle

@@ -2576,6 +2576,7 @@
2576 2576
                       </div>
2577 2577
                     </div>
2578 2578
                      <div
2579
+                      v-if="org_id!=10677"
2579 2580
                       class="row"
2580 2581
                       style="padding: 2px 0; line-height: 23px; display: flex"
2581 2582
                     >

+ 5 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue Dosyayı Görüntüle

@@ -568,12 +568,16 @@
568 568
                       </div>
569 569
                     </div>
570 570
                     <div class="inline_block" style="flex: 2">
571
-                      人工肾装置
571
+                      透析器
572 572
                       <div class="under_line" style="width: 50%; text-align: center">
573 573
                         {{prescription.dialysis_irrigation?prescription.dialysis_irrigation:""}}&nbsp;
574 574
                         {{
575 575
                           prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : ""
576 576
                         }}
577
+                        &nbsp;
578
+                         {{
579
+                          prescription.dialysis_strainer ? prescription.dialysis_strainer : ""
580
+                        }}
577 581
                       </div>
578 582
                     </div>
579 583
                     <div class="inline_block" style="flex: 1">

+ 38 - 16
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Dosyayı Görüntüle

@@ -2221,7 +2221,7 @@
2221 2221
 
2222 2222
 
2223 2223
                       <tr
2224
-                      v-if="org_id ==10206 || org_id == 10644 || org_id == 0 || org_id ==10489"
2224
+                      v-if="org_id ==10206  || org_id ==10489"
2225 2225
                       v-for="(advice, advice_index) in projectsOne"
2226 2226
                       :key="advice_index"
2227 2227
                     >
@@ -2441,7 +2441,7 @@
2441 2441
 
2442 2442
 
2443 2443
                       <tr
2444
-                      v-if="org_id == 0 || org_id ==10206 || org_id ==10633 || org_id ==10644 || org_id == 10489"
2444
+                      v-if="org_id == 0 || org_id ==10206 || org_id ==10633 || org_id == 10489"
2445 2445
                       v-for="(advice, advice_index) in projectsOne"
2446 2446
                       :key="advice_index"
2447 2447
                     >
@@ -5365,7 +5365,7 @@ export default {
5365 5365
 
5366 5366
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5367 5367
 
5368
-        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0 || this.org_id == 10489){
5368
+        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489){
5369 5369
           let projectsOne = [];
5370 5370
           response.data.data.projects.map((item) => {
5371 5371
               projectsOne.push(item);
@@ -5403,7 +5403,7 @@ export default {
5403 5403
         }
5404 5404
 
5405 5405
         //HIS客户显示临时医嘱的地方
5406
-        if(this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489 || this.org_id == 0 || this.org_id == 10644){
5406
+        if(this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489 || this.org_id ==10644 || this.org_id == 0){
5407 5407
           if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
5408 5408
 
5409 5409
             for(let i=0;i<response.data.data.doctorAdevieInfo.length;i++){
@@ -5413,7 +5413,7 @@ export default {
5413 5413
             }
5414 5414
          }
5415 5415
 
5416
-        console.log("医护哦我我我哦我我哦",this.doctor_advices)
5416
+      
5417 5417
 
5418 5418
          let projects = [];
5419 5419
         response.data.data.projects.map((item) => {
@@ -5424,11 +5424,13 @@ export default {
5424 5424
         this.projects = projects;
5425 5425
 
5426 5426
 
5427
-        console.log("this.projects", this.projects);
5427
+        // console.log("this.projects=========================================", this.projects);
5428 5428
 
5429 5429
 
5430 5430
 
5431
-        if(this.org_id!=10510 && this.org_id!=0&&this.org_id!=10206 && this.org_id!=10478 && this.org_id!=0 && this.org_id!=10489 && this.org_id!=10644){
5431
+        if(this.org_id!=10510 &&this.org_id!=10206 && this.org_id!=10478 && this.org_id!=10489){
5432
+            console.log("列表===================================",this.projects)
5433
+            var newHisArr = []
5432 5434
             if(this.projects!=null && this.projects.length >0){
5433 5435
              for(let i=0;i<this.projects.length;i++){
5434 5436
               if(this.projects[i].type== 2){
@@ -5437,7 +5439,7 @@ export default {
5437 5439
                 this.projects[i].project_team_id = 0
5438 5440
 
5439 5441
                 if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
5440
-                  console.log("this.projects[i].project.team", this.projects[i].team)
5442
+                 
5441 5443
                   this.projects[i].project_team = this.projects[i].team.project_team
5442 5444
                   this.projects[i].project_team_id = this.projects[i].team.id
5443 5445
                   this.projects[i].start_time = this.projects[i].start_time
@@ -5448,8 +5450,8 @@ export default {
5448 5450
                   this.projects[i].advice_name =  this.projects[i].team.project_team
5449 5451
                   this.projects[i].advice_doctor = this.projects[i].doctor
5450 5452
 
5451
-
5452
-                  this.doctor_advices.push(this.projects[i])
5453
+             
5454
+                  newHisArr.push(this.projects[i])
5453 5455
                   // this.doctor_advices_2.push(this.project[i])
5454 5456
                 }else{
5455 5457
                   this.projects[i].project_team = this.projects[i].project.project_name
@@ -5460,20 +5462,28 @@ export default {
5460 5462
                   this.projects[i].execution_time = this.projects[i].execution_time
5461 5463
                   this.projects[i].execution_staff= this.projects[i].execution_staff
5462 5464
                   this.projects[i].advice_doctor = this.projects[i].doctor
5463
-                  this.doctor_advices.push(this.projects[i])
5465
+                  newHisArr.push(this.projects[i])
5466
+
5467
+
5464 5468
                   // this.doctor_advices_2.push(this.projects[i])
5465 5469
                 }
5466 5470
 
5471
+                
5472
+
5467 5473
               }
5468 5474
 
5469 5475
             }
5470
-          }
5476
+            }
5477
+
5478
+            var ordHisArr = this.getQuChong(newHisArr)
5479
+
5480
+           this.doctor_advices.push(...ordHisArr)
5471 5481
         }
5472 5482
 
5473 5483
 
5474 5484
         }
5475 5485
 
5476
-        console.log("时间我我我哦我我",this.doctor_advices)
5486
+       
5477 5487
 
5478 5488
         //针对内蒙古阿拉善
5479 5489
         if(this.org_id ==10206){
@@ -5575,8 +5585,10 @@ export default {
5575 5585
 
5576 5586
         this.totollength = this.doctor_advices.length + this.monitors.length;
5577 5587
         console.log("this.totollength",this.totollength)
5588
+
5589
+        
5578 5590
         if (this.totollength > 18) {
5579
-          var temp_advice_length = 17 - this.monitors.length;
5591
+          var temp_advice_length = this.doctor_advices.length
5580 5592
           var doctor_advices_1 = [];
5581 5593
           var doctor_advices_2 = [];
5582 5594
           for (let index = 0; index < this.doctor_advices.length; index++) {
@@ -5592,7 +5604,7 @@ export default {
5592 5604
         }
5593 5605
         // console.log(this.advice_groups);
5594 5606
 
5595
-
5607
+        console.log("医嘱列表=--=----------------------------------------------",this.doctor_advices)
5596 5608
       } else {
5597 5609
         this.loading = false;
5598 5610
         this.$message.error("请求数据失败");
@@ -5600,7 +5612,17 @@ export default {
5600 5612
       }
5601 5613
       // })
5602 5614
     },
5603
-
5615
+     getQuChong(tempArr) {
5616
+      let result = [];
5617
+        let obj = {};
5618
+        for (let i = 0; i < tempArr.length; i++) {
5619
+            if (!obj[tempArr[i].project_team]) {
5620
+                result.push(tempArr[i]);
5621
+                obj[tempArr[i].project_team] = true;
5622
+            };
5623
+        };
5624
+        return result;
5625
+    },
5604 5626
     bloodAccessParOperaName(id) {
5605 5627
       if (id in this.bloodAccessParOpera) {
5606 5628
         return this.bloodAccessParOpera[id].name;

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Dosyayı Görüntüle

@@ -2203,6 +2203,7 @@
2203 2203
                     </div>
2204 2204
 
2205 2205
                     <div
2206
+                      v-if="org_id!=10677"
2206 2207
                       class="inline_block"
2207 2208
                       style="flex: 1; display: inline-block"
2208 2209
                     >

+ 1 - 2
src/xt_pages/stock/drugs/inventory_record.vue Dosyayı Görüntüle

@@ -57,7 +57,7 @@
57 57
             </div>
58 58
             <div>
59 59
                <el-button size="small" type="primary" @click="print_1">打印</el-button>
60
-               <el-button size="small" type="primary" @click="print">盘点模版打印</el-button>
60
+             
61 61
             </div>
62 62
           
63 63
         </div>
@@ -124,7 +124,6 @@
124 124
                <template slot-scope="scope">
125 125
                  <span v-if="scope.row.reason == 10">盘盈</span>
126 126
                  <span v-if="scope.row.reason == 11">盘亏</span>
127
-                 <span v-else>未盘</span>
128 127
                </template>
129 128
             </el-table-column>
130 129
 

+ 1 - 1
src/xt_pages/stock/inventoryRecord.vue Dosyayı Görüntüle

@@ -114,7 +114,7 @@
114 114
                 <template slot-scope="scope">
115 115
                    <span v-if="scope.row.befor_count > scope.row.after_count">盘亏</span>
116 116
                    <span v-if="scope.row.befor_count < scope.row.after_count">盘盈</span>
117
-                   <span v-else>未盘</span>
117
+                 
118 118
                 </template>
119 119
             </el-table-column>
120 120