Przeglądaj źródła

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

陈少旭 4 dni temu
rodzic
commit
b1fa1592fb

+ 78 - 41
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue Wyświetl plik

@@ -193,7 +193,7 @@
193 193
                 v-for="(item, i) in way_arr"
194 194
                 class="under_line"
195 195
                 v-if="record.receive_assessment.way == item.id"
196
-                style="width: 180px; text-align: left"
196
+                style="width: 130px; text-align: left"
197 197
               >
198 198
                 {{ item.name }}
199 199
               </div>
@@ -1821,48 +1821,65 @@
1821 1821
                               </span>
1822 1822
                             </td>
1823 1823
 
1824
-                            <td
1825
-                              height="26px"
1824
+                            <td height="26px"
1826 1825
                               colspan="2"
1827 1826
                               class="advice-name"
1828 1827
                               style="padding-left: 7px"
1829
-                            >
1830
-                              <span v-if="advice[0].parent_id > 0">---></span>
1831
-                              <span>{{ advice[0].advice_name }}</span>
1832
-
1833
-                              <span
1834
-                                v-if="
1835
-                                  advice[0] &&
1836
-                                  advice[0].advice_desc != undefined
1837
-                                "
1838
-                              >
1839
-                                <!-- ({{ advice[0].advice_desc
1840
-                                }}{{ advice[0].drug_spec_unit }} ) -->
1841
-                              </span>
1842
-
1843
-                              <span v-if="advice[0].prescribing_number"
1844
-                                >&nbsp;&nbsp; {{ advice[0].prescribing_number
1845
-                                }}{{ advice[0].prescribing_number_unit }}</span
1846
-                              >
1847
-                              <span v-if="advice[0].single_dose != 0">
1828
+                            > 
1829
+                              <div v-if="org_id==10551 || org_id ==0">
1830
+                                <div :rowspan="advice[0].prescriptionChild.length"  v-for="(it,key)  in advice[0].prescriptionChild" style="border: none;">
1831
+                                  <div style="border: none;">
1832
+                                    <span>{{ it.advice_name }}</span>
1833
+                                          <span v-if="it && it.advice_desc"
1834
+                                            >({{ it.advice_desc
1835
+                                            }}{{ it.drug_spec_unit }})</span
1836
+                                          >
1837
+                                          <span v-if="it.prescribing_number"
1838
+                                            >&nbsp;&nbsp; {{ it.prescribing_number
1839
+                                            }}{{ it.prescribing_number_unit }}</span
1840
+                                          >
1841
+                                          <span v-if="it.single_dose != 0"
1842
+                                            >{{ it.single_dose
1843
+                                            }}{{ it.single_dose_unit }}</span
1844
+                                          >
1845
+                                          <span>{{ it.delivery_way}}</span>
1846
+                                          <span>{{
1847
+                                            it.execution_frequency
1848
+                                          }}</span>
1849
+                                          <span v-if="it.remark !=''"
1850
+                                            >({{ it.remark }})</span
1851
+                                          >
1852
+                                  </div>
1853
+                                </div>
1854
+                              </div>
1855
+                              <div v-else>
1856
+                                <span v-if="advice[0].parent_id > 0"></span>
1857
+                                <span>{{ advice[0].advice_name }}</span>
1858
+
1859
+                                <span v-if="advice[0].prescribing_number"
1860
+                                  >&nbsp;&nbsp; {{ advice[0].prescribing_number
1861
+                                  }}{{ advice[0].prescribing_number_unit }}</span
1862
+                                >
1863
+                                <span v-if="advice[0].single_dose != 0">
1848 1864
 
1849
-                                <span v-if="advice[0].advice_name!='血液透析滤过'&& advice[0].advice_name!='血液透析' && advice[0].advice_name!='电脑血糖监测'"> {{ advice[0].single_dose}}{{ advice[0].single_dose_unit }}</span>
1850
-                                </span
1851
-                              >
1865
+                                  <span v-if="advice[0].advice_name!='血液透析滤过'&& advice[0].advice_name!='血液透析' && advice[0].advice_name!='电脑血糖监测'"> {{ advice[0].single_dose}}{{ advice[0].single_dose_unit }}</span>
1866
+                                  </span
1867
+                                >
1852 1868
 
1853
-                              <span v-if="advice[0].parent_id == 0">{{
1854
-                                advice[0].delivery_way
1855
-                              }}</span>
1856
-                              <span v-if="advice[0].parent_id == 0">{{
1857
-                                advice[0].execution_frequency
1858
-                              }}</span>
1859
-                              <span
1860
-                                v-if="
1861
-                                  advice[0].parent_id == 0 &&
1862
-                                  advice[0].remark.length > 0
1863
-                                "
1864
-                                >({{ advice[0].remark }})</span
1865
-                              >
1869
+                                <span v-if="advice[0].parent_id == 0">{{
1870
+                                  advice[0].delivery_way
1871
+                                }}</span>
1872
+                                <span v-if="advice[0].parent_id == 0">{{
1873
+                                  advice[0].execution_frequency
1874
+                                }}</span>
1875
+                                <!-- <span
1876
+                                  v-if="
1877
+                                    advice[0].parent_id == 0 &&
1878
+                                    advice[0].remark.length > 0
1879
+                                  "
1880
+                                  >({{ advice[0].remark }})</span
1881
+                                > -->
1882
+                              </div>
1866 1883
                             </td>
1867 1884
 
1868 1885
                             <td height="35px">
@@ -3264,6 +3281,8 @@ export default {
3264 3281
             } else {
3265 3282
               dlegh = 0;
3266 3283
             }
3284
+            
3285
+            
3267 3286
             if (dlegh > 0) {
3268 3287
               if (
3269 3288
                 typeof this.records[recordIndex].monitor_records ===
@@ -3276,7 +3295,6 @@ export default {
3276 3295
                 this.records[recordIndex].monitor_records.push([]);
3277 3296
               }
3278 3297
             }
3279
-
3280 3298
             this.records[recordIndex].isShowZero = false;
3281 3299
             if (this.records[recordIndex].patient.user_org_id == 9535) {
3282 3300
               this.records[recordIndex].isShowZero = true;
@@ -3300,9 +3318,12 @@ export default {
3300 3318
                 this.records[recordIndex].advices.push([]);
3301 3319
               }
3302 3320
             }
3303
-
3321
+            console.log('22222222',this.records[recordIndex].advices);
3322
+            
3304 3323
             var childMap = {};
3305 3324
             for (const index in this.records[recordIndex].advices) {
3325
+              
3326
+              this.records[recordIndex].advices[index].prescriptionChild = []
3306 3327
               if (this.records[recordIndex].advices[index].parent_id == 0) {
3307 3328
                 continue;
3308 3329
               }
@@ -3320,6 +3341,7 @@ export default {
3320 3341
             }
3321 3342
 
3322 3343
             var advices = [];
3344
+            // var advices2 = []
3323 3345
             for (const index in this.records[recordIndex].advices) {
3324 3346
               if (this.records[recordIndex].advices[index].parent_id > 0) {
3325 3347
                 continue;
@@ -3329,10 +3351,25 @@ export default {
3329 3351
                 item.children = childMap[item.id];
3330 3352
               } else {
3331 3353
                 item.children = [];
3354
+                this.records[recordIndex].advices[index].prescriptionChild.push(item) 
3332 3355
               }
3333 3356
               advices.push(item);
3357
+              
3334 3358
             }
3335
-
3359
+            var arr = []
3360
+            for(let i=0;i<advices.length;i++){
3361
+              for(let j=i+1;j<advices.length;j++){
3362
+                if(advices[i].id !=undefined){
3363
+                  if(advices[i].groupno == advices[j].groupno){
3364
+                    arr.push(advices[j])
3365
+                    advices[i].prescriptionChild.push(advices[j])
3366
+                    advices.splice(j,1)
3367
+                  }
3368
+                }
3369
+              }
3370
+            }
3371
+            console.log('3333333333',advices,arr);
3372
+            
3336 3373
             var leftAdvice = [];
3337 3374
             var rightAdvice = [];
3338 3375
             var adlen = advices.length;

+ 6 - 6
src/xt_pages/dialysis/bloodPresssWatch.vue Wyświetl plik

@@ -1921,14 +1921,14 @@ export default {
1921 1921
           this.$message.error(response.data.msg);
1922 1922
           return false;
1923 1923
         } else {
1924
-          if(this.org_id ==10206){
1925
-            this.template_id = 80
1926
-            // this.template_id = 81
1927
-            console.log("templage-i233232323232322323233232323223",this.template_id)
1928
-          }else{
1924
+          // if(this.org_id ==10206){
1925
+          //   this.template_id = 80
1926
+          //   // this.template_id = 81
1927
+          //   console.log("templage-i233232323232322323233232323223",this.template_id)
1928
+          // }else{
1929 1929
             var template = response.data.data.template;
1930 1930
             this.template_id = template.template_id;
1931
-          }
1931
+          // }
1932 1932
 
1933 1933
         }
1934 1934
       });

+ 5 - 5
src/xt_pages/dialysis/dialysisPrintOrder.vue Wyświetl plik

@@ -2701,13 +2701,13 @@ export default {
2701 2701
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2702 2702
           this.patient_name = response.data.data.patientInfo.name
2703 2703
 
2704
-          if(this.org_id !=10206 && this.org_id !=0){
2704
+          // if(this.org_id !=10206 ){//&& this.org_id !=0
2705 2705
             this.org_template_info.template_id= response.data.data.org_template_info.template_id
2706 2706
             this.org_template_info = response.data.data.org_template_info;
2707
-          }else{
2708
-            this.org_template_info = response.data.data.org_template_info;
2709
-            this.org_template_info.template_id= 82
2710
-          }
2707
+          // }else{
2708
+          //   this.org_template_info = response.data.data.org_template_info;
2709
+          //   this.org_template_info.template_id= 82
2710
+          // }
2711 2711
 
2712 2712
 
2713 2713
           console.log('kkkkkkk222222',this.org_template_info);

+ 38 - 48
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue Wyświetl plik

@@ -2049,56 +2049,46 @@ export default {
2049 2049
         if(this.dialysisOrder !=undefined && this.dialysisOrder.end_time != 0){
2050 2050
           if(this.monitors.length >0){
2051 2051
             for(let i in this.monitors){
2052
-              console.log('1111111111',this.dialysisOrder.end_time,this.monitors[i].operate_time);
2053
-              if(this.monitors[i].blood_flow_volume ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
2054
-                const obj55 = '监测第'+((i*1)+1)+'行血流量'
2055
-                checkDate.push(obj55)
2056
-              } if((this.monitors[i].venous_pressure ==0 ||
2057
-                  this.monitors[i].transmembrane_pressure ==0 ) && this.dialysisOrder.end_time >= this.monitors[i].operate_time
2052
+              if(this.dialysisOrder.end_time >= this.monitors[i].operate_time && 
2053
+                this.monitors[i].dispose.indexOf('停') <=-1 && this.monitors[i].ultrafiltration_rate!=0
2058 2054
               ){
2059
-                const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
2060
-                checkDate.push(obj56)
2061
-              } if(this.monitors[i].ultrafiltration_rate ==0 && this.dialysisOrder.end_time >= this.monitors[i].operate_time){
2062
-                const obj57 = '监测第'+((i*1)+1)+'行超滤率'
2063
-                checkDate.push(obj57)
2064
-              } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 && 
2065
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
2066
-              ){
2067
-                const obj53 = '监测第'+((i*1)+1)+'行超滤量'
2068
-                checkDate.push(obj53)
2069
-              } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'&& 
2070
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
2071
-              ){
2072
-                const obj58 = '监测第'+((i*1)+1)+'行置换率'
2073
-                checkDate.push(obj58)
2074
-              } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0
2075
-                  && this.dialysisOrder.end_time >= this.monitors[i].operate_time
2076
-              ){
2077
-                const obj54 = '监测第'+((i*1)+1)+'行置换量'
2078
-                checkDate.push(obj54)
2079
-              } if(this.monitors[i].sodium_concentration ==0 && 
2080
-                  this.dialysisOrder.end_time >= this.monitors[i].operate_time
2081
-              ){
2082
-                // this.monitors[i].temperature == 0
2083
-                const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
2084
-                checkDate.push(obj59)
2085
-              } if(this.monitors[i].pulse_frequency ==0  && 
2086
-                  this.monitors[i].operate_time <= this.dialysisOrder.end_time
2087
-              ){
2088
-                const obj60 = '监测第'+((i*1)+1)+'行脉搏'
2089
-                checkDate.push(obj60)
2090
-              } if(this.monitors[i].breathing_rate ==0 && 
2091
-                this.dialysisOrder.end_time >= this.monitors[i].operate_time
2092
-              ){
2093
-                const obj61 = '监测第'+((i*1)+1)+'行呼吸'
2094
-                checkDate.push(obj61)
2095
-              } if((this.monitors[i].systolic_blood_pressure ==0 ||
2096
-                    this.monitors.diastolic_blood_pressure==0) && 
2097
-                    this.dialysisOrder.end_time >= this.monitors[i].operate_time
2098
-              ){
2099
-                const obj62 = '监测第'+((i*1)+1)+'行血压'
2100
-                checkDate.push(obj62)
2055
+                  console.log('1111111111',this.dialysisOrder.end_time,this.monitors[i].operate_time);
2056
+                if(this.monitors[i].blood_flow_volume ==0 ){
2057
+                  const obj55 = '监测第'+((i*1)+1)+'行血流量'
2058
+                  checkDate.push(obj55)
2059
+                } if((this.monitors[i].venous_pressure ==0 ||
2060
+                    this.monitors[i].transmembrane_pressure ==0 ) ){
2061
+                  const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
2062
+                  checkDate.push(obj56)
2063
+                } if(this.monitors[i].ultrafiltration_rate ==0 ){
2064
+                  const obj57 = '监测第'+((i*1)+1)+'行超滤率'
2065
+                  checkDate.push(obj57)
2066
+                } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 ){
2067
+                  const obj53 = '监测第'+((i*1)+1)+'行超滤量'
2068
+                  checkDate.push(obj53)
2069
+                } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'){
2070
+                  const obj58 = '监测第'+((i*1)+1)+'行置换率'
2071
+                  checkDate.push(obj58)
2072
+                } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
2073
+                  const obj54 = '监测第'+((i*1)+1)+'行置换量'
2074
+                  checkDate.push(obj54)
2075
+                } if(this.monitors[i].sodium_concentration ==0 ){
2076
+                  // this.monitors[i].temperature == 0
2077
+                  const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
2078
+                  checkDate.push(obj59)
2079
+                } if(this.monitors[i].pulse_frequency ==0  ){
2080
+                  const obj60 = '监测第'+((i*1)+1)+'行脉搏'
2081
+                  checkDate.push(obj60)
2082
+                } if(this.monitors[i].breathing_rate ==0 ){
2083
+                  const obj61 = '监测第'+((i*1)+1)+'行呼吸'
2084
+                  checkDate.push(obj61)
2085
+                } if((this.monitors[i].systolic_blood_pressure ==0 ||
2086
+                      this.monitors.diastolic_blood_pressure==0) ){
2087
+                  const obj62 = '监测第'+((i*1)+1)+'行血压'
2088
+                  checkDate.push(obj62)
2089
+                }
2101 2090
               }
2091
+              
2102 2092
 
2103 2093
             }
2104 2094
           }

+ 11 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Wyświetl plik

@@ -1564,7 +1564,7 @@
1564 1564
                           colspan="2" class="advice-name"
1565 1565
                           style="padding-left: 7px"
1566 1566
                         >
1567
-                          <div v-if="org_id==10551 || org_id==0">
1567
+                          <div v-if="org_id==10551 || org_id ==0">
1568 1568
                             <div :rowspan="advice.prescriptionChild.length"  v-for="(it,key)  in advice.prescriptionChild" style="border: none;">
1569 1569
                               <div style="border: none;">
1570 1570
                                 <span>{{ it.advice_name }}</span>
@@ -1584,7 +1584,7 @@
1584 1584
                                       <span>{{
1585 1585
                                         it.execution_frequency
1586 1586
                                       }}</span>
1587
-                                      <span v-if="it.remark.length > 0"
1587
+                                      <span v-if="it.remark !=''"
1588 1588
                                         >({{ it.remark }})</span
1589 1589
                                       >
1590 1590
                               </div>
@@ -3830,13 +3830,18 @@ export default {
3830 3830
             let newArr = Object.values(dataInfo)
3831 3831
 
3832 3832
             if(newArr!=null && newArr.length >0){
3833
-            for(let i=0;i<newArr.length;i++){
3834
-              for(let j=0;j<this.doctor_advices.length;j++){
3835
-                if(newArr[i].groupPrescriptionId == this.doctor_advices[j].groupPrescriptionId){
3836
-                    newArr[i].prescriptionChild.push(this.doctor_advices[j])
3833
+              for(let i=0;i<newArr.length;i++){
3834
+                for(let j=0;j<this.doctor_advices.length;j++){
3835
+                  if(newArr[i].groupPrescriptionId == this.doctor_advices[j].groupPrescriptionId){
3836
+                      newArr[i].prescriptionChild.push(this.doctor_advices[j])
3837
+                  }
3837 3838
                 }
3838 3839
               }
3839 3840
             }
3841
+            for(let i in newArr){
3842
+              if(newArr[i].parent_id == undefined){
3843
+                newArr.splice(i,1)
3844
+              }
3840 3845
             }
3841 3846
             console.log("newArr",newArr)
3842 3847
             this.doctor_advices = []

+ 8 - 5
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue Wyświetl plik

@@ -60,13 +60,16 @@
60 60
             <div class="inline_block" style="margin-right:30px;">
61 61
               血液净化器类型
62 62
               <div class="inline_block under_line" style="width:150px;text-align: center;">
63
-                <span v-if="prescription.dialyzer_perfusion_apparatus !=''">
63
+                <!-- <span v-if="prescription.dialyzer_perfusion_apparatus !=''">
64 64
                   {{
65 65
                     prescription.dialyzer_perfusion_apparatus
66 66
                       ? prescription.dialyzer_perfusion_apparatus
67 67
                       : ""
68 68
                   }}
69
-                </span>
69
+                </span> -->
70
+
71
+                
72
+              
70 73
                 <span v-if="prescription.dialysis_dialyszers !=''">
71 74
                   {{
72 75
                     prescription.dialysis_dialyszers
@@ -74,10 +77,10 @@
74 77
                       : "/"
75 78
                   }}
76 79
                 </span>
77
-                <span v-if="prescription.dialysis_strainer !=''">
80
+                <span v-if="prescription.dialysis_irrigation !=''">
78 81
                   {{
79
-                    prescription.dialysis_strainer?
80
-                    prescription.dialysis_strainer:""
82
+                    prescription.dialysis_irrigation?
83
+                    prescription.dialysis_irrigation:""
81 84
                   }}
82 85
                 </span>
83 86
               </div>

+ 25 - 18
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue Wyświetl plik

@@ -328,7 +328,7 @@
328 328
                 </tr>
329 329
             </table>
330 330
           </div>
331
-          <div style="margin-bottom: 10px;" v-if="org_id!=0&& org_id!=10375">
331
+          <div style="margin-bottom: 10px;" v-if="org_id!=10375">
332 332
             <table class="table" border="1"
333 333
               style="border-collapse: collapse;text-align: center;width: 100%;"
334 334
             >
@@ -352,7 +352,7 @@
352 352
                   height="32px"
353 353
                   class="advice-name"
354 354
                   style="padding-left: 7px"
355
-                 
355
+
356 356
                 >
357 357
                  <div :rowspan="advice.prescriptionChild.length"  v-for="(it,key)  in advice.prescriptionChild" style="border: none;">
358 358
                    <div style="border: none;">
@@ -373,7 +373,8 @@
373 373
                           <span>{{
374 374
                             it.execution_frequency
375 375
                           }}</span>
376
-                          <span v-if="it.remark.length > 0"
376
+                          
377
+                          <span v-if="it.remark !=''"
377 378
                             >({{ it.remark }})</span
378 379
                           >
379 380
                    </div>
@@ -466,7 +467,7 @@
466 467
                 </td>
467 468
                 <td>
468 469
                   <span>透析器凝血:
469
-                   
470
+
470 471
                     {{
471 472
                      afterdialysis &&
472 473
                      afterdialysis
@@ -474,19 +475,19 @@
474 475
                         : "/"
475 476
                      }}
476 477
 
477
-                 
478
+
478 479
                   </span>
479 480
                 </td>
480 481
                 <td>
481 482
                   <span>实际置换量:
482
-                   
483
+
483 484
                     {{
484 485
                       afterdialysis.actual_displacement
485 486
                         ? afterdialysis.actual_displacement
486 487
                         : ""
487 488
                      }}L
488 489
 
489
-                 
490
+
490 491
                   </span>
491 492
                 </td>
492 493
               </tr>
@@ -526,7 +527,7 @@
526 527
                 <td width="5%">医生:</td>
527 528
                 <td width="10%">
528 529
                   <!-- <span>{{getAdminUser(prescription.creater)}}</span> -->
529
-                  <span v-if="doctor_advices[0]!=null&&doctor_advices[0].advice_doctor>0">{{ getAdminUser(doctor_advices[0].advice_doctor) }}</span> 
530
+                  <span v-if="doctor_advices[0]!=null&&doctor_advices[0].advice_doctor>0">{{ getAdminUser(doctor_advices[0].advice_doctor) }}</span>
530 531
                   <span v-if="doctor_advices[0]!=null&&doctor_advices[0].advice_doctor==0">{{getAdminUser(prescription.creater)}}</span>
531 532
                   <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else> -->
532 533
                 </td>
@@ -1302,6 +1303,8 @@ export default {
1302 1303
           this.advices.push(item);
1303 1304
         }
1304 1305
         this.loading = false;
1306
+
1307
+
1305 1308
         this.doctor_advices =
1306 1309
           response.data.data.advices == null ? [] : response.data.data.advices;
1307 1310
         for (let index = 0; index < this.doctor_advices.length; index++) {
@@ -1351,23 +1354,23 @@ export default {
1351 1354
              }
1352 1355
            }
1353 1356
         }
1354
-        this.doctor_advices = [] 
1357
+        this.doctor_advices = []
1355 1358
         this.doctor_advices = docArr
1356
-      
1357 1359
 
1358 1360
 
1359
-       
1360
-          
1361
+
1362
+
1363
+
1361 1364
         if(this.doctor_advices!=null && this.doctor_advices.length>0){
1362 1365
 
1363 1366
             for(let i=0;i<this.doctor_advices.length;i++){
1364
-              this.doctor_advices[i].groupPrescriptionId = this.doctor_advices[i].prescription_id + "_"  + this.doctor_advices[i].groupno 
1367
+              this.doctor_advices[i].groupPrescriptionId = this.doctor_advices[i].prescription_id + "_"  + this.doctor_advices[i].groupno
1365 1368
             }
1366 1369
             console.log("医嘱内容我我哦我我哦doctor_advices",this.doctor_advices)
1367 1370
 
1368 1371
             let dataInfo = {}
1369 1372
             this.doctor_advices.forEach((item, index) => {
1370
-        
1373
+
1371 1374
             let { groupPrescriptionId } = item
1372 1375
             if (!dataInfo[groupPrescriptionId]) {
1373 1376
               dataInfo[groupPrescriptionId] = {
@@ -1392,7 +1395,7 @@ export default {
1392 1395
             }
1393 1396
           })
1394 1397
           let newArr = Object.values(dataInfo)
1395
-          
1398
+
1396 1399
           if(newArr!=null && newArr.length >0){
1397 1400
              for(let i=0;i<newArr.length;i++){
1398 1401
                for(let j=0;j<this.doctor_advices.length;j++){
@@ -1403,12 +1406,16 @@ export default {
1403 1406
              }
1404 1407
           }
1405 1408
           console.log("newArr",newArr)
1406
-            
1409
+          for(let i in newArr){
1410
+            if(newArr[i].parent_id == undefined){
1411
+              newArr.splice(i,1)
1412
+            }
1413
+          }
1407 1414
           this.doctor_advices = []
1408 1415
           this.doctor_advices = newArr
1409
-         
1416
+
1410 1417
         }
1411
-        
1418
+
1412 1419
 
1413 1420
       } else {
1414 1421
         this.loading = false;

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/printSeventheen.vue Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3
-     <div class="statementTitle">濉溪杏康血液透析中结算单</div>
3
+     <div class="statementTitle">濉溪杏康血液透析中结算单</div>
4 4
      <!-- <div style="text-align: center;font-size: 17px;">门 &nbsp;诊 &nbsp;结 &nbsp;帐 &nbsp;票 &nbsp;据</div> -->
5 5
       <div style="width: 100%;border-bottom: 1px dashed black;padding-bottom: 5px;">
6 6
         <div style="width: 100%;display: flex;padding: 5px;">

+ 2 - 2
src/xt_pages/user/components/PatientSidebar.vue Wyświetl plik

@@ -433,7 +433,7 @@ export default {
433 433
       fetchAllList().then(response => {
434 434
         if (response.data.state == 1) {
435 435
           if(this.org_id ==10191){
436
-             var patients = response.data.data.patients
436
+             var patients = response.data.data.patientsOne
437 437
             //  console.log("patients",patients)
438 438
              for(let i=0;i<patients.length;i++){
439 439
                if(patients[i].lapseto ==1){
@@ -442,7 +442,7 @@ export default {
442 442
 
443 443
              }
444 444
           }else{
445
-            this.patientsList = response.data.data.patients
445
+            this.patientsList = response.data.data.patientsOne
446 446
             console.log("哈哈哈哈哈哈",this.patientsList)
447 447
           }
448 448
 

+ 1 - 1
src/xt_pages/user/components/PatientSidebar_ord.vue Wyświetl plik

@@ -434,7 +434,7 @@
434 434
           if (response.data.state == 1) {
435 435
             if(this.org_id ==10191){
436 436
                var patients = response.data.data.patientsOne
437
-              //  console.log("patients",patients)
437
+              console.log("patients",patients)
438 438
                for(let i=0;i<patients.length;i++){
439 439
                  if(patients[i].lapseto ==1){
440 440
                   this.patientsList.push(patients[i])