Browse Source

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

XMLWAN 3 years ago
parent
commit
2d09112afb

+ 15 - 0
src/store/modules/globalConfig.js View File

@@ -569,6 +569,21 @@ const global_config = {
569 569
         sodium: 1,
570 570
         calcium: 1,
571 571
         bicarbonate: 1
572
+      },
573
+      25: {
574
+        id: 25,
575
+        name: 'HD高通',
576
+        dialysis_duration: 1,
577
+        replacement_way: 1,
578
+        hemodialysis_machine: 2,
579
+        blood_filter: 1,
580
+        perfusion_apparatus: 2,
581
+        blood_flow_volume: 1,
582
+        dialysate_flow: 1,
583
+        kalium: 1,
584
+        sodium: 1,
585
+        calcium: 1,
586
+        bicarbonate: 1
572 587
       }
573 588
     },
574 589
     anticoagulants_confit: { // 抗凝剂

+ 24 - 9
src/xt_pages/data/prescription.vue View File

@@ -4,7 +4,7 @@
4 4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
5 5
     </div>
6 6
     <div class="app-container ">
7
-      
7
+
8 8
       <div class="dataTitle">透析模板</div>
9 9
 
10 10
       <div
@@ -788,7 +788,22 @@ export default {
788 788
           sodium: 1,
789 789
           calcium: 1,
790 790
           bicarbonate: 1
791
-       }
791
+       },
792
+        {
793
+          id: 25,
794
+          name: 'HD高通',
795
+          dialysis_duration: 1,
796
+          replacement_way: 1,
797
+          hemodialysis_machine: 2,
798
+          blood_filter: 1,
799
+          perfusion_apparatus: 2,
800
+          blood_flow_volume: 1,
801
+          dialysate_flow: 1,
802
+          kalium: 1,
803
+          sodium: 1,
804
+          calcium: 1,
805
+          bicarbonate: 1
806
+        }
792 807
       ],
793 808
       addPlan: {
794 809
         id: 0,
@@ -888,7 +903,7 @@ export default {
888 903
           this.InnerDialogProps.type = 'dialyzers'
889 904
           this.InnerDialogProps.selected = this.dialysis_dialyszers
890 905
           this.InnerDialogProps.isShowTextArea = false
891
-        
906
+
892 907
           break
893 908
         case '7':
894 909
           for(let i=0;i<this.irrigations.length;i++){
@@ -899,7 +914,7 @@ export default {
899 914
           this.InnerDialogProps.type = 'irrigations'
900 915
           this.InnerDialogProps.selected = this.dialysis_irrigation
901 916
           this.InnerDialogProps.isShowTextArea = false
902
-        
917
+
903 918
           break
904 919
       }
905 920
     },
@@ -1008,7 +1023,7 @@ export default {
1008 1023
             prescription.dialysis_duration = parseFloat(prescription.dialysis_duration_hour) + parseFloat((prescription.dialysis_duration_minute / 60).toFixed(2))
1009 1024
            if(prescription.dialysate_formulation == 0){
1010 1025
               prescription.dialysate_formulation = ""
1011
-           } 
1026
+           }
1012 1027
            if(prescription.body_fluid ==0 ){
1013 1028
              prescription.body_fluid = ""
1014 1029
            }
@@ -1058,7 +1073,7 @@ export default {
1058 1073
           return false;
1059 1074
         } else {
1060 1075
           this.system_prescription = response.data.data.prescriptions;
1061
-          
1076
+
1062 1077
           for (let i = 0; i < this.system_prescription.length; i++) {
1063 1078
             if (this.system_prescription[i].mode == 1) {
1064 1079
               this.isEdit = true;
@@ -1178,7 +1193,7 @@ export default {
1178 1193
 
1179 1194
     this.blood_filters = this.$store.getters.blood_filters;
1180 1195
     this.dialysate_formulation = this.$store.getters.dialysate_formulation;
1181
-   
1196
+
1182 1197
     this.body_fluid_option = this.$store.getters.body_fluid;
1183 1198
     this.special_medicine_option = this.$store.getters.special_medicine;
1184 1199
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
@@ -1191,8 +1206,8 @@ export default {
1191 1206
     )
1192 1207
     this.getAllSystemPrescription();
1193 1208
     this.getSystemPrescription(this.addPlan.mode);
1194
-    
1195
-   
1209
+
1210
+
1196 1211
   },
1197 1212
   watch: {
1198 1213
     "addPlan.dialysis_duration": function() {

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -112,8 +112,8 @@
112 112
           <span class="content">{{
113 113
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
114 114
           }}</span>
115
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.org_id != 9555" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
116
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id != 40 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
115
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.org_id != 9555" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
116
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id != 40 || this.$store.getters.xt_user.template_info.template_id != 43 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
117 117
         </li>
118 118
         <li v-if="isShow('葡萄糖')">
119 119
           <label>葡萄糖 : </label>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue View File

@@ -17,8 +17,8 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.org_id == 9555 " >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.org_id == 9555) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.org_id == 9555 " >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -87,7 +87,7 @@
87 87
                     </el-col>
88 88
 
89 89
                     <el-col :span="8"
90
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
90
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
91 91
                         <el-form-item label="目标超滤量(ml):">
92 92
                             <el-input
93 93
                                     type="number"
@@ -98,7 +98,7 @@
98 98
 
99 99
 
100 100
                     <el-col :span="8"
101
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.org_id != 9555 ">
101
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.org_id != 9555 ">
102 102
                         <el-form-item label="目标超滤量(L):">
103 103
                             <el-input
104 104
                                     type="number"

+ 8 - 6
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -169,6 +169,7 @@
169 169
                   template_id == 39 ||
170 170
                   template_id == 40 ||
171 171
                   template_id == 41 ||
172
+                  template_id == 43 ||
172 173
                   org_id == 9555)
173 174
             "
174 175
           >
@@ -214,6 +215,7 @@
214 215
                 template_id != 39 &&
215 216
                 template_id != 40 &&
216 217
                 template_id != 41 &&
218
+                template_id != 43 &&
217 219
                 org_id!=9555
218 220
             "
219 221
           >
@@ -231,7 +233,7 @@
231 233
             align="center"
232 234
             label="超滤率(ml/h)"
233 235
             width="100"
234
-            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38  || template_id == 41) "
236
+            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38  || template_id == 41 || template_id == 43) "
235 237
           >
236 238
             <template slot-scope="scope">
237 239
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -242,7 +244,7 @@
242 244
             align="center"
243 245
             label="超滤率(L/h)"
244 246
             width="100"
245
-            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38  && template_id != 41"
247
+            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38  && template_id != 41 && template_id != 43"
246 248
           >
247 249
             <template slot-scope="scope">
248 250
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -641,12 +643,12 @@
641 643
             </el-form-item>
642 644
           </el-col>
643 645
 
644
-          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41) ">
646
+          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43) ">
645 647
             <el-form-item label="超滤率(ml/h)">
646 648
               <el-input v-model="form.ultrafiltration_rate"></el-input>
647 649
             </el-form-item>
648 650
           </el-col>
649
-          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38 && template_id != 41">
651
+          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38 && template_id != 41 && template_id != 43">
650 652
             <el-form-item label="超滤率(L/h)">
651 653
               <el-input v-model="form.ultrafiltration_rate"></el-input>
652 654
             </el-form-item>
@@ -654,7 +656,7 @@
654 656
 
655 657
           <el-col
656 658
             :span="8"
657
-            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || org_id == 9555) " >
659
+            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || org_id == 9555) " >
658 660
             <el-form-item label="超滤量(ml):">
659 661
               <el-input v-model="form.ultrafiltration_volume"></el-input>
660 662
             </el-form-item>
@@ -662,7 +664,7 @@
662 664
 
663 665
           <el-col
664 666
             :span="8"
665
-            v-if=" isShow('超滤量') && template_id != 6 && template_id !=9 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38  && template_id!=41 && org_id !=9555" >
667
+            v-if=" isShow('超滤量') && template_id != 6 && template_id !=9 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38  && template_id!=41 && template_id!=43 && org_id !=9555" >
666 668
             <el-form-item label="超滤量(L):">
667 669
               <el-input v-model="form.ultrafiltration_volume"></el-input>
668 670
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -14,10 +14,10 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41  && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43  && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43)" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43" width="50px"> 超滤率 <br />(L/h) </th>
21 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23 23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29) " width="92px" > 置换率(ml/min) </th>

+ 25 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -583,6 +583,16 @@
583 583
           >打印</el-button
584 584
         >
585 585
       </template>
586
+      <template v-if="org_template_info.template_id == 43">
587
+        <el-button
588
+          :loading="loading"
589
+          size="small"
590
+          icon="el-icon-printer"
591
+          @click="printThisPage"
592
+          type="primary"
593
+          >打印</el-button
594
+        >
595
+      </template>
586 596
     </div>
587 597
     <div class="app-container" style="min-height:0;">
588 598
       <!--<div class="order-print-btn"-->
@@ -873,6 +883,11 @@
873 883
             v-if="org_template_info.template_id == 42"
874 884
           >
875 885
           </DialysisPrintOrderFortyTwo>
886
+          <DialysisPrintOrderFortyThree
887
+            v-bind:childResponse="childResponse"
888
+            v-if="org_template_info.template_id == 43"
889
+          >
890
+          </DialysisPrintOrderFortyThree>
876 891
         </div>
877 892
       </el-container>
878 893
     </div>
@@ -934,9 +949,11 @@ import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNin
934 949
 import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
935 950
 import DialysisPrintOrderFortyOne from "./template/DialysisPrintOrderFortyOne";
936 951
 import DialysisPrintOrderFortyTwo from "./template/DialysisPrintOrderFortyTwo";
952
+import DialysisPrintOrderFortyThree from "./template/DialysisPrintOrderFortyThree";
937 953
 export default {
938 954
   name: "dialysisPrintOrder",
939 955
   components: {
956
+    DialysisPrintOrderFortyThree,
940 957
     DialysisPrintOrderFortyTwo,
941 958
     DialysisPrintOrderFortyOne,
942 959
     DialysisPrintOrderForty,
@@ -1141,7 +1158,7 @@ export default {
1141 1158
       const style =
1142 1159
         '@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:14px}.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 #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: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;}';
1143 1160
       const style2 =
1144
-        '@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: 14px;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: 3px 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: 14px;padding: 6px 5px;line-height: 16px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;}';
1161
+        '@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: 14px;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: 3px 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: 14px;padding: 6px 5px;line-height: 16px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}';
1145 1162
       const style3 =
1146 1163
         '@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%;}';
1147 1164
       // const style3 =
@@ -1441,6 +1458,13 @@ export default {
1441 1458
           style: style10,
1442 1459
           scanStyles: false
1443 1460
         });
1461
+      } else if (this.org_template_info.template_id == 43) {
1462
+        printJS({
1463
+          printable: "dialysis-print-box-1",
1464
+          type: "html",
1465
+          style: style2,
1466
+          scanStyles: false
1467
+        });
1444 1468
       }
1445 1469
     },
1446 1470
     printThisOnePage() {

File diff suppressed because it is too large
+ 1447 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue


+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue View File

@@ -124,13 +124,13 @@
124 124
           </td>
125 125
         </tr>
126 126
         <tr>
127
-          <td style="text-align:left;" colspan="1">
127
+          <!-- <td style="text-align:left;" colspan="1">
128 128
             <span style="display:inline-block;margin-left:15px;">
129 129
               净脱水:
130 130
               {{ afterdialysis.weight_loss ? afterdialysis.weight_loss : "/" }}kg
131 131
             </span>
132
-          </td>
133
-          <td style="text-align:left;" colspan="1">
132
+          </td> -->
133
+          <td style="text-align:left;" colspan="2">
134 134
             <span style="display:inline-block;margin-left:15px;">
135 135
               透析时长:
136 136
               {{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}h

+ 6 - 3
src/xt_pages/outpatientCharges/invoicePrint.vue View File

@@ -13,9 +13,12 @@
13 13
     </template>
14 14
     <div class="app-container" style="padding-top:40px;">
15 15
         <div class='dialysisPage'>
16
-            <printOne v-if="org_id != 10106" :paramsObj="invoiceParams"></printOne>
17
-            <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
18
-            <!-- <printThree :paramsObj="invoiceParams"></printThree> -->
16
+          <div v-if="org_id != 10106" >
17
+            <printOne v-if="org_id != 10088" :paramsObj="invoiceParams"></printOne>
18
+            <printThree v-if="org_id == 10088" :paramsObj="invoiceParams"></printThree>
19
+          </div>
20
+          <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
21
+            
19 22
         </div>
20 23
     </div>
21 24
   </div>

+ 15 - 15
src/xt_pages/outpatientCharges/invoiceTemplate/printThree.vue View File

@@ -5,17 +5,17 @@
5 5
             <!-- <div>{{ list.id_card_no }}</div> -->
6 6
         </div>
7 7
         <div style="display:flex;justify-content: space-between;">
8
-            <div  style="position: absolute;left:400px;top:85px;">{{ list.department_name }}</div>
8
+            <div  style="position: absolute;left:250px;top:100px;">{{ list.department_name }}</div>
9 9
             <!-- <div  style="position: absolute;top:40px;left:300px">{{ list.number }}</div> -->
10 10
             <div></div>
11 11
             <div>
12
-                <span style="position: absolute;left:120px;top:60px;">{{ paramsObj.setl_time.split(' ')[0].slice(0,10) }}</span>
12
+                <span style="position: absolute;left:80px;top:80px;">{{ paramsObj.setl_time.split(' ')[0].slice(0,10) }}</span>
13 13
                 <!-- <span style="position: absolute;left:630px;top:40px;">{{ paramsObj.setl_time.split(' ')[0].slice(5,7) }}</span>
14 14
                 <span style="position: absolute;left:690px;top:40px;">{{ paramsObj.setl_time.split(' ')[0].slice(8,11) }}</span>-->
15 15
             </div> 
16 16
         </div>
17 17
         <div style="display:flex;justify-content: space-between;">
18
-            <div style="position: absolute;top:80px;left:120px;"> {{ paramsObj.name }}</div>
18
+            <div style="position: absolute;top:100px;left:80px;"> {{ paramsObj.name }}</div>
19 19
             <!-- <div style="position: absolute;top:60px;left:210px;">√</div> -->
20 20
             <!-- <div>{{ list.pay_way }}</div> -->
21 21
             <!-- <div style="position: absolute;top:60px;left:460px;">{{ getTime(list.date, '{y}-{m}-{d}') }}</div>
@@ -28,23 +28,23 @@
28 28
             <div style="position: absolute;top:90px;left:640px;">门慢结算</div>
29 29
         </div> -->
30 30
         <!-- <div style="display:flex;justify-content: space-between;"> -->
31
-            <div style="position: absolute;top:120px;left:120px">西药 {{ list.westernMedicineCostTotal }}</div>
31
+            <div style="position: absolute;top:120px;left:80px">西药 {{ list.westernMedicineCostTotal }}</div>
32 32
             <!-- <div style="position: absolute;top:140px;left:80px"></div> -->
33
-            <div style="position: absolute;top:140px;left:120px">检查费 {{ list.checkCostTotal }}</div>
33
+            <div style="position: absolute;top:140px;left:80px">检查费 {{ list.checkCostTotal }}</div>
34 34
             <!-- <div style="position: absolute;top:180px;left:80px"></div> -->
35
-            <div style="position: absolute;top:160px;left:120px">治疗费 {{ list.treatCostTotal }}</div>
35
+            <div style="position: absolute;top:160px;left:80px">治疗费 {{ list.treatCostTotal }}</div>
36 36
             <!-- <div style="position: absolute;top:140px;left:80px"></div> -->
37
-            <div style="position: absolute;top:180px;left:120px">床位费 {{ list.bedCostTotal }}</div>
37
+            <div style="position: absolute;top:180px;left:80px">床位费 {{ list.bedCostTotal }}</div>
38 38
             <!-- <div style="position: absolute;top:140px;left:80px"></div> -->
39 39
         <!-- </div> -->
40 40
         <!-- <div style="display:flex;justify-content: space-between;"> -->
41
-            <div style="position: absolute;top:200px;left:120px">中成药 {{ list.chineseTraditionalMedicineCostTotal }}</div>
41
+            <div style="position: absolute;top:200px;left:80px">中成药 {{ list.chineseTraditionalMedicineCostTotal }}</div>
42 42
             <!-- <div style="position: absolute;top:170px;left:80px"></div> -->
43
-            <div style="position: absolute;top:220px;left:120px">化验费 {{ list.laboratoryCostTotal }}</div>
43
+            <div style="position: absolute;top:220px;left:80px">化验费 {{ list.laboratoryCostTotal }}</div>
44 44
             <!-- <div style="position: absolute;top:170px;left:80px"></div> -->
45
-            <div style="position: absolute;top:240px;left:120px">手术费 {{ list.operationCostTotal }}</div>
45
+            <div style="position: absolute;top:240px;left:80px">手术费 {{ list.operationCostTotal }}</div>
46 46
             <!-- <div style="position: absolute;top:170px;left:80px"></div> -->
47
-            <div style="position: absolute;top:260px;left:120px">其他费 {{ list.otherCostTotal }}</div>
47
+            <div style="position: absolute;top:260px;left:80px">其他费 {{ list.otherCostTotal }}</div>
48 48
             <!-- <div style="position: absolute;top:170px;left:80px"></div> -->
49 49
         <!-- </div> -->
50 50
         <!-- <div style="display:flex;justify-content: space-between;"> -->
@@ -52,7 +52,7 @@
52 52
             <div style="position: absolute;top:200px;left:110px"></div>
53 53
             <div style="position: absolute;top:200px;left:200px"></div>
54 54
             <div style="position: absolute;top:200px;left:280px"></div> -->
55
-            <div style="position: absolute;top:280px;left:120px">材料费 {{ list.materialCostTotal }}</div>
55
+            <div style="position: absolute;top:280px;left:80px">材料费 {{ list.materialCostTotal }}</div>
56 56
             <!-- <div style="position: absolute;top:200px;left:460px"></div> -->
57 57
             <!-- <div style="position: absolute;top:200px;left:560px"></div>
58 58
             <div style="position: absolute;top:200px;left:640px"></div> -->
@@ -104,11 +104,11 @@
104 104
             </span>
105 105
             <span style="position: absolute;top:250px;left:610px">{{ totalPrice.toFixed(2) }}</span>
106 106
         </div> -->
107
-        <div style="position: absolute;top:300px;left:120px">合计大写 {{ zhongwen }}</div>
108
-        <div style="position: absolute;top:300px;left:400px">合计小写 {{ list.psn_cash_money }}</div>
107
+        <div style="position: absolute;top:300px;left:80px">合计大写 {{ zhongwen }}</div>
108
+        <div style="position: absolute;top:300px;left:300px">合计小写 {{ list.psn_cash_money }}</div>
109 109
         <div>
110 110
             <!-- <div style="position: absolute;top:320px;left:120px">{{ org_name }}</div> -->
111
-            <div style="position: absolute;top:320px;left:120px">{{ list.name }}</div>
111
+            <div style="position: absolute;top:340px;left:120px">{{ paramsObj.chargeName }}</div>
112 112
         </div>
113 113
     </div>
114 114
 </template>

+ 2 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -2188,8 +2188,10 @@
2188 2188
                         confirmButtonText: '确 定',
2189 2189
                         type: 'warning'
2190 2190
                       }).then(() => {
2191
+                        that.changeRadioAndPatient(1)
2191 2192
                         that.newLoading = false
2192 2193
                       }).catch(() => {
2194
+                        that.changeRadioAndPatient(1)
2193 2195
                         that.newLoading = false
2194 2196
                       })
2195 2197
                     } else {

+ 3 - 3
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

@@ -89,9 +89,9 @@
89 89
         <td>床号</td>
90 90
         <td></td>
91 91
         <td>入院日期</td>
92
-        <td>{{info.begndate}}</td>
92
+        <td>{{info.begndate ? info.begndate.split(' ')[0] : ''}}</td>
93 93
         <td>出院日期</td>
94
-        <td width="100">{{info.enddate}}</td>
94
+        <td width="100">{{info.enddate ? info.enddate.split(' ')[0] : ''}}</td>
95 95
         <td>住院天数</td>
96 96
         <td>{{getDay(info.begndate,info.enddate)}}</td>
97 97
 
@@ -123,7 +123,7 @@
123 123
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
124 124
 
125 125
         <td>结算时间</td>
126
-        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time}}</td>
126
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
127 127
       </tr>
128 128
       <tr>
129 129
         <td colspan="12" style="text-align:left;padding-left:10px;">

+ 2 - 8
src/xt_pages/outpatientCharges/summary.vue View File

@@ -645,16 +645,8 @@
645 645
 
646 646
             let list = []
647 647
             for (let i = 0; i < response.data.data.order.length; i++) {
648
-              let order = response.data.data.order[i]
649
-
650
-
651
-              if (order.patient != null && order.patient.name.length > 0) {
652
-                name = order.patient.name
653 648
 
654
-              }
655 649
 
656
-              let time = order.setl_time
657
-              let name = order.his_patient.name
658 650
               var hifmi_pay = 0.00
659 651
               for (let b = 0; b < order.order_info.length; b++) {
660 652
                 let item_name = ""
@@ -662,6 +654,8 @@
662 654
                 let price = ""
663 655
                 let unit = ""
664 656
                 let spec = ""
657
+                let time = ""
658
+                let name = ""
665 659
                 let selfpay_prop = ""
666 660
                 if(order.order_info[b].advice.id == 0 && order.order_info[b].project.id > 0){
667 661
                   item_name = order.order_info[b].project.project.project_name

+ 98 - 109
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -487,6 +487,14 @@
487 487
 
488 488
   export default {
489 489
     props: {
490
+      drugs:Array,
491
+      allDrugs:Array,
492
+      advices_template:Array,
493
+      doctors: Array,
494
+      department:Array,
495
+      sick: Array,
496
+      diagnoses: Array,
497
+      additions: Array,
490 498
       patientInfo: Object,
491 499
       hisPatientInfo: Object,
492 500
       prescriptions: Array,
@@ -1700,7 +1708,7 @@
1700 1708
       },
1701 1709
 
1702 1710
       querySearch2(queryString, cb) {
1703
-        var restaurants = this.other_sick
1711
+        var restaurants = this.sick
1704 1712
         restaurants.map(item => {
1705 1713
           item.value = item.name
1706 1714
         })
@@ -1725,30 +1733,30 @@
1725 1733
         return getDictionaryDataConfig(module, filed_name)
1726 1734
 
1727 1735
       },
1728
-      getInitData() {
1729
-        getInitData().then(response => {
1730
-          if (response.data.state == 0) {
1731
-            this.$message.error(response.data.msg)
1732
-            return false
1733
-          } else {
1734
-            this.drugs = response.data.data.drugs
1735
-            this.allDrugs = response.data.data.drugs
1736
-            this.advices_template = response.data.data.advices_template
1737
-            this.doctors = response.data.data.doctors
1738
-            for (let i = 0; i < this.doctors.length; i++) {
1739
-              if (this.doctors[i].user_type == 1) {
1740
-                this.doctors.splice(i, 1)
1741
-              }
1742
-            }
1743
-            this.department = response.data.data.department
1744
-            this.sick = response.data.data.sick
1745
-            this.diagnoses = response.data.data.diagnose
1746
-            this.additions = response.data.data.additions
1747
-
1748
-          }
1749
-        })
1750
-
1751
-      },
1736
+      // getInitData() {
1737
+      //   getInitData().then(response => {
1738
+      //     if (response.data.state == 0) {
1739
+      //       this.$message.error(response.data.msg)
1740
+      //       return false
1741
+      //     } else {
1742
+      //       this.drugs = response.data.data.drugs
1743
+      //       this.allDrugs = response.data.data.drugs
1744
+      //       this.advices_template = response.data.data.advices_template
1745
+      //       this.doctors = response.data.data.doctors
1746
+      //       for (let i = 0; i < this.doctors.length; i++) {
1747
+      //         if (this.doctors[i].user_type == 1) {
1748
+      //           this.doctors.splice(i, 1)
1749
+      //         }
1750
+      //       }
1751
+      //       this.department = response.data.data.department
1752
+      //       this.sick = response.data.data.sick
1753
+      //       this.diagnoses = response.data.data.diagnose
1754
+      //       this.additions = response.data.data.additions
1755
+      //
1756
+      //     }
1757
+      //   })
1758
+      //
1759
+      // },
1752 1760
       monthTabclickEvent(val) {
1753 1761
 
1754 1762
         for (let i = 0; i < this.month_prescriptions.length; i++) {
@@ -1849,7 +1857,10 @@
1849 1857
         this.teamList = []
1850 1858
 
1851 1859
       },
1852
-      setData(data, info, admin_info, doctors, department, hisPatientInfo, month_data, last_info) {
1860
+      setData(data, info, admin_info, doctors, department, hisPatientInfo, month_data, last_info,sick,diagnoses) {
1861
+        this.sick = sick
1862
+        this.diagnoses = diagnoses
1863
+        this.department = department
1853 1864
         this.curMonthPrescriptions = {}
1854 1865
         this.curPrescriptions = {}
1855 1866
         // this.$refs.tabProjectTeam.clearSelection()
@@ -1926,108 +1937,86 @@
1926 1937
         }
1927 1938
 
1928 1939
         if (this.departmentValue == '' || this.departmentValue == 0) {
1929
-          if (this.department.length > 0) {
1930
-            this.departmentValue = this.department[0].id
1940
+          if (department.length > 0) {
1941
+            this.departmentValue = department[0].id
1931 1942
 
1932 1943
           }
1933 1944
         }
1934 1945
 
1935
-        getInitData().then(response => {
1936
-          if (response.data.state == 0) {
1937
-            this.$message.error(response.data.msg)
1938
-            return false
1939
-          } else {
1940
-            this.onceTime = false
1941
-            this.drugs = response.data.data.drugs
1942
-            this.allDrugs = response.data.data.drugs
1943
-            this.advices_template = response.data.data.advices_template
1944
-            this.doctors = response.data.data.doctors
1945
-            for (let i = 0; i < this.doctors.length; i++) {
1946
-              if (this.doctors[i].user_type == 1) {
1947
-                this.doctors.splice(i, 1)
1948
-              }
1949
-            }
1950
-            this.department = response.data.data.department
1951
-            this.sick = response.data.data.sick
1952
-            this.diagnoses = response.data.data.diagnose
1953
-            this.additions = response.data.data.additions
1946
+        if (info.id > 0) {
1947
+          this.doctorValue = info.doctor_id
1948
+          this.departmentValue = info.departments
1949
+        } else {
1950
+          if (admin_info.id > 0 && admin_info.user_type == 2) {
1951
+            this.doctorValue = admin_info.admin_user_id
1952
+            this.departmentValue = department[0].id
1954 1953
 
1955
-            if (info.id > 0) {
1956
-              this.doctorValue = info.doctor_id
1957
-              this.departmentValue = info.departments
1958
-            } else {
1959
-              if (admin_info.id > 0 && admin_info.user_type == 2) {
1960
-                this.doctorValue = admin_info.admin_user_id
1961
-                this.departmentValue = this.department[0].id
1954
+          } else {
1955
+            this.doctorValue = doctors[0].admin_user_id
1956
+            this.departmentValue = department[0].id
1957
+          }
1958
+        }
1962 1959
 
1963
-              } else {
1960
+        // if (info.register_type == 0) {
1961
+        //   for (let i = 0; i < this.register.length; i++) {
1962
+        //     this.register_type = this.register[0].value
1963
+        //   }
1964
+        // } else {
1965
+        //   this.register_type = info.register_type
1966
+        // }
1964 1967
 
1965
-                this.doctorValue = this.doctors[0].admin_user_id
1966
-                this.departmentValue = this.department[0].id
1967 1968
 
1968
-              }
1969 1969
 
1970
-            }
1970
+        this.diagnose = []
1971 1971
 
1972
-            if (info.register_type == 0) {
1973
-              for (let i = 0; i < this.register.length; i++) {
1974
-                this.register_type = this.register[0].value
1975
-              }
1976
-            } else {
1977
-              this.register_type = info.register_type
1978
-            }
1972
+        if (info.id == 0) {
1973
+          if (last_info.diagnosis.length == 0) {
1979 1974
             this.diagnose = []
1975
+          } else {
1976
+            console.log(last_info.diagnosis)
1977
+            for (let i = 0; i < last_info.diagnosis.split(",").length; i++) {
1978
+              this.diagnose.push(parseInt(last_info.diagnosis.split(',')[i]))
1979
+            }
1980
+          }
1980 1981
 
1981
-            if (info.id == 0) {
1982
-              if (last_info.diagnosis.length == 0) {
1983
-                this.diagnose = []
1984
-              } else {
1985
-                for (let i = 0; i < last_info.diagnosis.split(",").length; i++) {
1986
-                  this.diagnose.push(parseInt(last_info.diagnosis.split(',')[i]))
1987
-
1988
-                }
1989
-              }
1990
-
1991
-              if (last_info.sick_history == 0) {
1992
-                this.state2 = ''
1993
-              } else {
1994
-                this.state2 = last_info.sick_history
1995
-              }
1996
-
1997
-            } else {
1998
-              this.state2 = info.sick_history
1999
-              if (this.state2 == 0) {
2000
-                this.state2 = ''
2001
-              }
2002
-              if (info.diagnosis.length == 0) {
2003
-                this.diagnose = []
2004
-              } else {
2005
-                for (let i = 0; i < info.diagnosis.split(",").length; i++) {
2006
-                  this.diagnose.push(parseInt(info.diagnosis.split(',')[i]))
2007
-
2008
-                }
1982
+          if (last_info.sick_history == 0) {
1983
+            this.state2 = ''
1984
+          } else {
1985
+            this.state2 = last_info.sick_history
1986
+          }
2009 1987
 
2010
-              }
1988
+        } else {
1989
+          this.state2 = info.sick_history
1990
+          if (this.state2 == 0) {
1991
+            this.state2 = ''
1992
+          }
1993
+          if (info.diagnosis.length == 0) {
1994
+            this.diagnose = []
1995
+          } else {
1996
+            for (let i = 0; i < info.diagnosis.split(",").length; i++) {
1997
+              this.diagnose.push(parseInt(info.diagnosis.split(',')[i]))
2011 1998
 
2012 1999
             }
2013 2000
 
2014
-            this.state1 = info.sick_type
2015
-            if (this.state1 == 0 || this.state1 == '') {
2016
-              this.state1 = ''
2017
-              for (let i = 0; i < this.sick.length; i++) {
2018
-                this.state1 = this.sick[0].id
2019
-              }
2020
-            }
2001
+          }
2021 2002
 
2022
-            if (this.departmentValue == '' || this.departmentValue == 0) {
2023
-              if (this.department.length > 0) {
2024
-                this.departmentValue = this.department[0].id
2003
+        }
2025 2004
 
2026
-              }
2027
-            }
2005
+        this.state1 = info.sick_type
2006
+        if (this.state1 == 0 || this.state1 == '') {
2007
+          this.state1 = ''
2008
+          for (let i = 0; i < this.sick.length; i++) {
2009
+            this.state1 = this.sick[0].id
2010
+          }
2011
+        }
2012
+
2013
+        if (this.departmentValue == '' || this.departmentValue == 0) {
2014
+          if (department.length > 0) {
2015
+            this.departmentValue = department[0].id
2028 2016
 
2029 2017
           }
2030
-        })
2018
+        }
2019
+
2031 2020
 
2032 2021
       },
2033 2022
       setMonthData(info, admin_info, doctors, department, hisPatientInfo, month_data, last_info) {
@@ -3162,7 +3151,7 @@
3162 3151
       }
3163 3152
     }, mounted() {
3164 3153
       this.request_record_date = this.record_date
3165
-      this.getInitData()
3154
+      // this.getInitData()
3166 3155
       //获取所有项目
3167 3156
       this.getlist()
3168 3157
       //获取所以项目组套

+ 67 - 14
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -5,6 +5,24 @@
5 5
         </div>
6 6
         <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7 7
             <div class="mainLeft">
8
+
9
+
10
+                <el-date-picker
11
+                        v-model="record_date"
12
+                        prefix-icon="el-icon-date"
13
+                        @change="changeTimeTwo"
14
+                        :editable="false"
15
+                        style="width: 100%;"
16
+                        type="date"
17
+                        :picker-options="pickerOptions"
18
+                        placeholder="选择开始时间"
19
+                        align="right"
20
+                        format="yyyy-MM-dd"
21
+                        value-format="yyyy-MM-dd">
22
+                </el-date-picker>
23
+
24
+
25
+
8 26
                 <div class="mainCell" style="justify-content: space-between;">
9 27
                     <p style="font-size:14px;">未就诊:<span>{{cal_one}}</span>人</p>
10 28
                     <p style="font-size:14px;">已就诊:<span>{{cal_two}}</span>人</p>
@@ -126,7 +144,13 @@
126 144
                 <!--<desk-prescription ref="prescriptions"   :prescriptions="prescriptions" :patientInfo="patientInfo" :hisPatientInfo="hisPatientInfo"-->
127 145
                 <!--v-if="titleType == '处方'" style="flex:1;"></desk-prescription>-->
128 146
                 <desk-prescription v-on:setData="setData" :diagnoses="diagnoses" :loading="isloading"
129
-                                   :other_sick="other_sick" :record_date="record_date"
147
+                                   :sick="sick" :record_date="record_date"
148
+                                   :drugs="drugs"
149
+                                   :allDrugs="allDrugs"
150
+                                   :advices_template="advices_template"
151
+                                   :additions="additions"
152
+                                   :doctors="doctors"
153
+                                   :department="department"
130 154
                                    v-on:change="changeOther"
131 155
                                    v-on:month="changeMonth"
132 156
                                    v-on:day="changeDay"
@@ -295,7 +319,7 @@
295 319
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
296 320
   import deskPrescription from './components/deskPrescription'
297 321
   import deskRecord from './components/deskRecord'
298
-  import { createCaseHistory, getMonthHisPateintInfo, getPatientInfo, getSchedulePatientList } from '@/api/his/his'
322
+  import { createCaseHistory, getMonthHisPateintInfo, getPatientInfo, getSchedulePatientList, getInitData } from '@/api/his/his'
299 323
   import { getDictionaryDataConfig } from '@/utils/data'
300 324
   import medicalRecord from './components/medicalRecord'
301 325
   import saveRecordTemplate from './components/saveRecordTemplate'
@@ -324,6 +348,16 @@
324 348
     },
325 349
     data() {
326 350
       return {
351
+        drugs:[],
352
+        allDrugs:[],
353
+        advices_template:[],
354
+        sick:[],
355
+        diagnoses: [],
356
+        additions: [],
357
+        doctors: [],
358
+        department: [],
359
+
360
+
327 361
         tableHeight: '',
328 362
         saveloading: false,
329 363
         fullHeight: document.documentElement.clientHeight,
@@ -354,15 +388,12 @@
354 388
         hisPatientInfo: {},
355 389
         case_history: {},
356 390
         patient_id: 0,
357
-        diagnoses: [],
358 391
         other_sick: [],
359 392
         info: {},
360 393
         last_info: {},
361 394
         templatedetail: {},
362 395
         detalid: 0,
363 396
         prescription_id: 0,
364
-        doctors: [],
365
-        department: [],
366 397
         patientid: 0,
367 398
         prescriptionList: [],
368 399
         centerDialogVisible: false,
@@ -382,7 +413,6 @@
382 413
         paramsObj3: {},
383 414
         recordVisible: false,
384 415
         recordObj: {},
385
-        additions: [],
386 416
         dialysisShow: true,
387 417
 
388 418
         all_data: [],
@@ -398,6 +428,9 @@
398 428
       }
399 429
     },
400 430
     methods: {
431
+      changeTimeTwo() {
432
+        this.getList()
433
+      },
401 434
       openPrint() {
402 435
         // this.centerDialogVisible = true
403 436
         this.getPrescriptionList(this.patientInfo.id)
@@ -1150,6 +1183,25 @@
1150 1183
       //   this.month_prescriptions.push(p2)
1151 1184
       //
1152 1185
       // },
1186
+      getInitData() {
1187
+        getInitData().then(response => {
1188
+          if (response.data.state == 0) {
1189
+            this.$message.error(response.data.msg)
1190
+            return false
1191
+          } else {
1192
+            this.drugs = response.data.data.drugs
1193
+            this.allDrugs = response.data.data.drugs
1194
+            this.advices_template = response.data.data.advices_template
1195
+
1196
+            this.department = response.data.data.department
1197
+            this.sick = response.data.data.sick
1198
+            this.diagnoses = response.data.data.diagnose
1199
+            this.additions = response.data.data.additions
1200
+
1201
+          }
1202
+        })
1203
+
1204
+      },
1153 1205
       getList() {
1154 1206
         let params = {
1155 1207
           'record_date': this.record_date,
@@ -1609,7 +1661,7 @@
1609 1661
               }
1610 1662
             }
1611 1663
             console.log('~~~~~00000222222')
1612
-            this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info)
1664
+            this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info,this.sick, this.diagnosis)
1613 1665
           }
1614 1666
         })
1615 1667
 
@@ -2116,7 +2168,7 @@
2116 2168
                       //   }
2117 2169
                     }
2118 2170
                   }
2119
-                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info)
2171
+                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info,this.sick, this.diagnosis)
2120 2172
                   this.$refs.child.watchSign = 0
2121 2173
                 }
2122 2174
               })
@@ -2578,7 +2630,7 @@
2578 2630
                       // }
2579 2631
                     }
2580 2632
                   }
2581
-                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info)
2633
+                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info,this.sick, this.diagnosis)
2582 2634
                   this.$refs.child.watchSign = 0
2583 2635
                 }
2584 2636
               })
@@ -3042,7 +3094,7 @@
3042 3094
                     // }
3043 3095
                   }
3044 3096
                 }
3045
-                this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info)
3097
+                this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info,this.sick, this.diagnosis)
3046 3098
                 this.$refs.child.watchSign = 0
3047 3099
               }
3048 3100
             })
@@ -3582,7 +3634,7 @@
3582 3634
                       // }
3583 3635
                     }
3584 3636
                   }
3585
-                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info)
3637
+                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info,this.sick, this.diagnosis)
3586 3638
                 }
3587 3639
               })
3588 3640
 
@@ -4018,7 +4070,7 @@
4018 4070
 
4019 4071
                     }
4020 4072
                   }
4021
-                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info)
4073
+                  this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info,this.sick, this.diagnosis)
4022 4074
                 }
4023 4075
               })
4024 4076
             } else {
@@ -4463,6 +4515,7 @@
4463 4515
       }
4464 4516
     },
4465 4517
     created() {
4518
+      this.getInitData()
4466 4519
       var nowDate = new Date()
4467 4520
       var nowYear = nowDate.getFullYear()
4468 4521
       var nowMonth = nowDate.getMonth() + 1
@@ -4475,8 +4528,8 @@
4475 4528
         (nowDay < 10 ? '0' + nowDay : nowDay)
4476 4529
       this.getList()
4477 4530
 
4478
-      this.diagnoses = this.getDictionaryDataConfig('system', 'diagnose')
4479
-      this.other_sick = this.getDictionaryDataConfig('system', 'other_sick_history')
4531
+      // this.diagnoses = this.getDictionaryDataConfig('system', 'diagnose')
4532
+      // this.other_sick = this.getDictionaryDataConfig('system', 'other_sick_history')
4480 4533
       let tableHeight = document.body.clientHeight - 263
4481 4534
       this.tableHeight = tableHeight
4482 4535