Browse Source

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

see999 3 years ago
parent
commit
d8df446b44

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

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() {

+ 21 - 0
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

5
         </div>
5
         </div>
6
         <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
6
         <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7
             <div class="mainLeft">
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
                 <div class="mainCell" style="justify-content: space-between;">
26
                 <div class="mainCell" style="justify-content: space-between;">
9
                     <p style="font-size:14px;">未就诊:<span>{{cal_one}}</span>人</p>
27
                     <p style="font-size:14px;">未就诊:<span>{{cal_one}}</span>人</p>
10
                     <p style="font-size:14px;">已就诊:<span>{{cal_two}}</span>人</p>
28
                     <p style="font-size:14px;">已就诊:<span>{{cal_two}}</span>人</p>
398
       }
416
       }
399
     },
417
     },
400
     methods: {
418
     methods: {
419
+      changeTimeTwo() {
420
+        this.getList()
421
+      },
401
       openPrint() {
422
       openPrint() {
402
         // this.centerDialogVisible = true
423
         // this.centerDialogVisible = true
403
         this.getPrescriptionList(this.patientInfo.id)
424
         this.getPrescriptionList(this.patientInfo.id)