瀏覽代碼

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

csx 3 年之前
父節點
當前提交
ca9bf7d59f
共有 1 個文件被更改,包括 24 次插入9 次删除
  1. 24 9
      src/xt_pages/data/prescription.vue

+ 24 - 9
src/xt_pages/data/prescription.vue 查看文件

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