Bläddra i källkod

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

28169 2 dagar sedan
förälder
incheckning
d515ad61bf

+ 7 - 7
src/xt_pages/DepositManagement/print/printindex.vue Visa fil

@@ -20,13 +20,13 @@
20 20
                   <div style="min-width: 224px; border-bottom: 1px solid #000">
21 21
                     <span>{{name}}</span>
22 22
                   </div>
23
-                </div>
24
-                <div style="display: flex">
25
-                  <div>收款方式:</div>
26
-                  <div
27
-                    style="min-width: 224px; border-bottom: 1px solid #000"
28
-                  ><span>现金</span>
29
-                  </div>
23
+                </div>            
24
+              </div>
25
+              <div style="display: flex;padding: 0 30px">
26
+                <div>收款方式:</div>
27
+                <div
28
+                  style="min-width: 224px; border-bottom: 1px solid #000"
29
+                ><span>现金</span>
30 30
                 </div>
31 31
               </div>
32 32
               <div style="display: flex; padding: 0 30px">

+ 1 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue Visa fil

@@ -330,6 +330,7 @@
330 330
                                 &nbsp;
331 331
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
332 332
                                 &nbsp;
333
+                                <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('留置针16G') > -1 ? true : false" showValue="留置针16G"></label-box>
333 334
                             </div>
334 335
                             </td>
335 336
                             <td></td>

+ 26 - 11
src/xt_pages/dialysis/dialysisPrintOrder.vue Visa fil

@@ -1020,7 +1020,18 @@
1020 1020
         >
1021 1021
         </div>
1022 1022
       </template>
1023
-
1023
+      <template v-if="org_template_info.template_id == 82">
1024
+        <div>
1025
+          <el-button
1026
+          :loading="loading"
1027
+          size="small"
1028
+          icon="el-icon-printer"
1029
+          @click="printThisPage"
1030
+          type="primary"
1031
+          >打印</el-button
1032
+        >
1033
+        </div>
1034
+      </template>
1024 1035
     </div>
1025 1036
     <div class="app-container" style="min-height: 0">
1026 1037
       <!--<div class="order-print-btn"-->
@@ -1547,6 +1558,9 @@
1547 1558
           <DialysisPrintOrdereightyone v-bind:childResponse="childResponse"
1548 1559
             v-if="org_template_info.template_id == 81">
1549 1560
           </DialysisPrintOrdereightyone>
1561
+          <DialysisPrintOrdereightytwo  v-bind:childResponse="childResponse"
1562
+          v-if="org_template_info.template_id == 82">
1563
+          </DialysisPrintOrdereightytwo>
1550 1564
         </div>
1551 1565
       </el-container>
1552 1566
     </div>
@@ -1646,6 +1660,7 @@ import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventy
1646 1660
 import DialysisPrintOrderSeventynine from './template/DialysisPrintOrderSeventynine'
1647 1661
 import DialysisPrintOrdereighty from './template/DialysisPrintOrdereighty'
1648 1662
 import DialysisPrintOrdereightyone from './template/DialysisPrintOrdereightyone'
1663
+import DialysisPrintOrdereightytwo from './template/DialysisPrintOrdereightytwo'
1649 1664
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1650 1665
 export default {
1651 1666
   name: "dialysisPrintOrder",
@@ -1731,6 +1746,7 @@ export default {
1731 1746
     DialysisPrintOrderSeventynine,
1732 1747
     DialysisPrintOrdereighty,
1733 1748
     DialysisPrintOrdereightyone,
1749
+    DialysisPrintOrdereightytwo,
1734 1750
     DialysisPrintOrderZero,
1735 1751
     LabelBox,
1736 1752
     BreadCrumb,
@@ -2459,15 +2475,14 @@ export default {
2459 2475
           style: style2,
2460 2476
           scanStyles: false,
2461 2477
         });
2478
+      } else if (this.org_template_info.template_id == 82) {
2479
+        printJS({
2480
+          printable: "dialysis-print-box-1",
2481
+          type: "html",
2482
+          style: style3,
2483
+          scanStyles: false,
2484
+        });
2462 2485
       }
2463
-      // else if (this.org_id == 10206 || this.org_id ==0 || org_id==9671) {
2464
-      //   printJS({
2465
-      //     printable: "dialysis-print-box-1",
2466
-      //     type: "html",
2467
-      //     style: style2,
2468
-      //     scanStyles: false,
2469
-      //   });
2470
-      // }
2471 2486
        else if (this.org_template_info.template_id == 199 ) {
2472 2487
         printJS({
2473 2488
           printable: "dialysis-print-box-1",
@@ -2686,12 +2701,12 @@ export default {
2686 2701
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2687 2702
           this.patient_name = response.data.data.patientInfo.name
2688 2703
 
2689
-          if(this.org_id !=10206){
2704
+          if(this.org_id !=10206 && this.org_id !=0){
2690 2705
             this.org_template_info.template_id= response.data.data.org_template_info.template_id
2691 2706
             this.org_template_info = response.data.data.org_template_info;
2692 2707
           }else{
2693 2708
             this.org_template_info = response.data.data.org_template_info;
2694
-            this.org_template_info.template_id= 80
2709
+            this.org_template_info.template_id= 82
2695 2710
           }
2696 2711
 
2697 2712
 

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue Visa fil

@@ -395,6 +395,7 @@
395 395
                       &nbsp;
396 396
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
397 397
                       &nbsp;
398
+                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('留置针16G') > -1 ? true : false" showValue="留置针16G"></label-box>
398 399
                     </div>
399 400
                   </td>
400 401
 

+ 74 - 60
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue Visa fil

@@ -481,9 +481,17 @@
481 481
                           text-align: center; white-space: normal;
482 482
                         "
483 483
                       >
484
-                        {{
485
-                          afterdialysis.weight_loss ? afterdialysis.weight_loss : "/"
486
-                        }}
484
+                      <span v-if="predialysis.weight_before && afterdialysis.weight_after &&
485
+                          parseFloat( predialysis.weight_before - predialysis.additional_weight ).toFixed(1) - 
486
+                          parseFloat( afterdialysis.weight_after - afterdialysis.additional_weight).toFixed(1)==0
487
+                      ">
488
+                          0
489
+                      </span>
490
+                      <span v-else>
491
+                        {{ afterdialysis.weight_loss ? afterdialysis.weight_loss : "/"}}
492
+                      </span>
493
+
494
+                        
487 495
                       </div>kg
488 496
                     </div>
489 497
                     <div class="inline_block" style="flex:1;">
@@ -1879,7 +1887,10 @@ export default {
1879 1887
           const obj20 = "透后体重"
1880 1888
           checkDate.push(obj20)
1881 1889
         }
1882
-        if (this.afterdialysis.weight_loss == 0) {
1890
+        if (this.afterdialysis.weight_loss == '' && 
1891
+            this.predialysis.weight_before =='' && 
1892
+            this.afterdialysis.weight_after == ''
1893
+        ) {
1883 1894
           const obj21 = "体重减少"
1884 1895
           checkDate.push(obj21)
1885 1896
         }
@@ -2035,65 +2046,68 @@ export default {
2035 2046
             }
2036 2047
           })
2037 2048
         }
2038
-        if(this.monitors.length >0){
2039
-
2040
-          for(let i in this.monitors){
2041
-            if(this.monitors[i].blood_flow_volume ==0 && this.dialysisOrder.end_time > this.monitors[i].operate_time){
2042
-              const obj55 = '监测第'+((i*1)+1)+'行血流量'
2043
-              monearr.push(obj55)
2044
-            } if((this.monitors[i].venous_pressure ==0 ||
2045
-                this.monitors[i].transmembrane_pressure ==0 ) && this.dialysisOrder.end_time > this.monitors[i].operate_time
2046
-            ){
2047
-              const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
2048
-              monearr.push(obj56)
2049
-            } if(this.monitors[i].ultrafiltration_rate ==0 && this.dialysisOrder.end_time > this.monitors[i].operate_time){
2050
-              const obj57 = '监测第'+((i*1)+1)+'行超滤率'
2051
-              monearr.push(obj57)
2052
-            } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0 && 
2053
-                this.dialysisOrder.end_time > this.monitors[i].operate_time
2054
-            ){
2055
-              const obj53 = '监测第'+((i*1)+1)+'行超滤量'
2056
-              monearr.push(obj53)
2057
-            } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'&& 
2058
-                this.dialysisOrder.end_time > this.monitors[i].operate_time
2059
-            ){
2060
-              const obj58 = '监测第'+((i*1)+1)+'行置换率'
2061
-              monearr.push(obj58)
2062
-            } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0
2063
-                && this.dialysisOrder.end_time > this.monitors[i].operate_time
2064
-            ){
2065
-              const obj54 = '监测第'+((i*1)+1)+'行置换量'
2066
-              monearr.push(obj54)
2067
-            } if(this.monitors[i].sodium_concentration ==0 && 
2068
-                this.dialysisOrder.end_time > this.monitors[i].operate_time
2069
-            ){
2070
-              // this.monitors[i].temperature == 0
2071
-              const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
2072
-              monearr.push(obj59)
2073
-            } if(this.monitors[i].pulse_frequency ==0  && 
2074
-                this.dialysisOrder.end_time > this.monitors[i].operate_time
2075
-            ){
2076
-              const obj60 = '监测第'+((i*1)+1)+'行脉搏'
2077
-              monearr.push(obj60)
2078
-            } if(this.monitors[i].breathing_rate ==0 && 
2079
-              this.dialysisOrder.end_time > this.monitors[i].operate_time
2080
-            ){
2081
-              const obj61 = '监测第'+((i*1)+1)+'行呼吸'
2082
-              monearr.push(obj61)
2083
-            } if((this.monitors[i].systolic_blood_pressure ==0 ||
2084
-                  this.monitors.diastolic_blood_pressure==0) && 
2085
-                  this.dialysisOrder.end_time > this.monitors[i].operate_time
2086
-            ){
2087
-              const obj62 = '监测第'+((i*1)+1)+'行血压'
2088
-              monearr.push(obj62)
2089
-            }
2049
+        if(this.dialysisOrder !=undefined && this.dialysisOrder.end_time != 0){
2050
+          if(this.monitors.length >0){
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
2058
+              ){
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)
2101
+              }
2090 2102
 
2103
+            }
2091 2104
           }
2092 2105
         }
2093
-        if(monearr.length>0){
2094
-        checkDate =checkDate.concat(monearr)
2095
-          console.log('1111',checkDate.concat(monearr));
2096
-        }
2106
+        
2107
+        // if(monearr.length>0){
2108
+        // checkDate =checkDate.concat(monearr)
2109
+        //   console.log('1111',checkDate.concat(monearr));
2110
+        // }
2097 2111
         console.log('monearr监测',checkDate,monearr);
2098 2112
 
2099 2113
         this.getcheckData(checkDate)

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 2018 - 0
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue