Procházet zdrojové kódy

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

XMLWAN před 4 roky
rodič
revize
257ed35858

+ 1 - 0
src/api/config.js Zobrazit soubor

71
 
71
 
72
 
72
 
73
 export function postSystemPrescription(params) {
73
 export function postSystemPrescription(params) {
74
+  console.log("params2222222",params)
74
   return request({
75
   return request({
75
     url: '/api/systemprescription/commit',
76
     url: '/api/systemprescription/commit',
76
     method: 'post',
77
     method: 'post',

+ 93 - 6
src/xt_pages/data/prescription.vue Zobrazit soubor

231
 
231
 
232
                   <el-col :span="8">
232
                   <el-col :span="8">
233
                     <el-form-item label="透析器/灌流器:">
233
                     <el-form-item label="透析器/灌流器:">
234
-
235
                       <el-input
234
                       <el-input
236
                         v-model="addPlan.dialyzer_perfusion_apparatus" @focus="showInnerDialog('5')"></el-input>
235
                         v-model="addPlan.dialyzer_perfusion_apparatus" @focus="showInnerDialog('5')"></el-input>
237
                     </el-form-item>
236
                     </el-form-item>
238
                   </el-col>
237
                   </el-col>
239
 
238
 
239
+
240
+                  <el-col :span="8">
241
+                    <el-form-item label="透析器:">
242
+                      <el-input
243
+                        v-model="dialysis_dialyszers" @focus="showInnerDialog('6')"></el-input>
244
+                    </el-form-item>
245
+                  </el-col>
246
+
247
+                  <el-col :span="8">
248
+                    <el-form-item label="灌流器:">
249
+                      <el-input
250
+                        v-model="dialysis_irrigation" @focus="showInnerDialog('7')"></el-input>
251
+                    </el-form-item>
252
+                  </el-col>
253
+
240
                   <el-col :span="8">
254
                   <el-col :span="8">
241
                     <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
255
                     <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
242
                       <el-input v-model="addPlan.bicarbonate"></el-input>
256
                       <el-input v-model="addPlan.bicarbonate"></el-input>
803
         displace_liqui_part: "",
817
         displace_liqui_part: "",
804
         displace_liqui_value: "",
818
         displace_liqui_value: "",
805
         ultrafiltration: "",
819
         ultrafiltration: "",
806
-        blood_access: ""
820
+        blood_access: "",
821
+        dialysis_dialyszers:"",
822
+        dialysis_irrigation:""
807
       },
823
       },
808
       system_prescription: [],
824
       system_prescription: [],
809
       isEdit: false,
825
       isEdit: false,
831
       body_fluid_option: [],
847
       body_fluid_option: [],
832
       special_medicine_option: [],
848
       special_medicine_option: [],
833
       displace_liqui_part_option: [],
849
       displace_liqui_part_option: [],
834
-      blood_access_option: []
850
+      blood_access_option: [],
851
+      dialysis_dialyszers:"",
852
+      dialysis_irrigation:"",
835
     };
853
     };
836
   },
854
   },
837
   computed: {},
855
   computed: {},
845
           this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
863
           this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
846
           this.InnerDialogProps.selected = this.addPlan.dialyzer_perfusion_apparatus
864
           this.InnerDialogProps.selected = this.addPlan.dialyzer_perfusion_apparatus
847
           this.InnerDialogProps.isShowTextArea = false
865
           this.InnerDialogProps.isShowTextArea = false
866
+          break
867
+         case '6':
868
+           for(let i=0;i<this.dialyzers.length;i++){
869
+               this.dialyzers[i].name = this.dialyzers[i].specification_name
870
+           }
871
+          this.InnerDialogProps.values = this.dialyzers
872
+          this.InnerDialogProps.titles = '透析器'
873
+          this.InnerDialogProps.type = 'dialyzers'
874
+          this.InnerDialogProps.selected = this.dialysis_dialyszers
875
+          this.InnerDialogProps.isShowTextArea = false
876
+        
877
+          break
878
+        case '7':
879
+          for(let i=0;i<this.irrigations.length;i++){
880
+             this.irrigations[i].name = this.irrigations[i].specification_name
881
+           }
882
+          this.InnerDialogProps.values = this.irrigations
883
+          this.InnerDialogProps.titles = '灌流器'
884
+          this.InnerDialogProps.type = 'irrigations'
885
+          this.InnerDialogProps.selected = this.dialysis_irrigation
886
+          this.InnerDialogProps.isShowTextArea = false
887
+        
848
           break
888
           break
849
       }
889
       }
850
     },
890
     },
854
         case 'dialyzer_perfusion_apparatus':
894
         case 'dialyzer_perfusion_apparatus':
855
           this.addPlan.dialyzer_perfusion_apparatus = val.value.join(',')
895
           this.addPlan.dialyzer_perfusion_apparatus = val.value.join(',')
856
           break
896
           break
857
-
897
+        case 'dialyzers':
898
+          this.dialysis_dialyszers = val.value.join(',')
899
+         break
900
+        case 'irrigations':
901
+          this.dialysis_irrigation = val.value.join(',')
902
+        break
858
       }
903
       }
859
     },
904
     },
860
     innerDialogCancle: function() {
905
     innerDialogCancle: function() {
915
         displace_liqui_part: "",
960
         displace_liqui_part: "",
916
         displace_liqui_value: "",
961
         displace_liqui_value: "",
917
         ultrafiltration: "",
962
         ultrafiltration: "",
918
-        blood_access: ""
963
+        blood_access: "",
964
+        stockType:[],
965
+        irrigations:[],
966
+        dialyzers:[],
919
       };
967
       };
920
 
968
 
921
       for (const key in tempAddPlan) {
969
       for (const key in tempAddPlan) {
973
             }
1021
             }
974
           }
1022
           }
975
           this.addPlan.mode = id;
1023
           this.addPlan.mode = id;
1024
+          this.addPlan.dialysis_dialyszers = prescription.dialysis_dialyszers
1025
+          this.addPlan.dialysis_irrigation = prescription.dialysis_irrigation
1026
+          this.dialysis_dialyszers = prescription.dialysis_dialyszers
1027
+          this.dialysis_irrigation = prescription.dialysis_irrigation
976
         }
1028
         }
977
       });
1029
       });
978
     },
1030
     },
991
           return false;
1043
           return false;
992
         } else {
1044
         } else {
993
           this.system_prescription = response.data.data.prescriptions;
1045
           this.system_prescription = response.data.data.prescriptions;
994
-
1046
+          
995
           for (let i = 0; i < this.system_prescription.length; i++) {
1047
           for (let i = 0; i < this.system_prescription.length; i++) {
996
             if (this.system_prescription[i].mode == 1) {
1048
             if (this.system_prescription[i].mode == 1) {
997
               this.isEdit = true;
1049
               this.isEdit = true;
998
             }
1050
             }
999
           }
1051
           }
1052
+          this.stockType =  response.data.data.stockType
1053
+          console.log("2333555555555",this.stockType)
1054
+          if(this.stockType.length >0 ){
1055
+               var arr = []
1056
+                var arrTwo = []
1057
+                for(let i=0;i<this.stockType.length;i++){
1058
+                  if(this.stockType[i].stock_attribute == 2){
1059
+                      arr.push(this.stockType[i])
1060
+                  }
1061
+                  if(this.stockType[i].stock_attribute == 3){
1062
+                      arrTwo.push(this.stockType[i])
1063
+                  }
1064
+                }
1065
+                var dialyzator = []
1066
+                var irrigation = []
1067
+                for(let i=0;i<arr.length;i++){
1068
+                  for(let j=0;j<arr[i].GoodInfo.length;j++){
1069
+                      dialyzator.push(arr[i].GoodInfo[j])
1070
+                  }
1071
+                }
1072
+                console.log("透析器",dialyzator)
1073
+                this.dialyzers = dialyzator
1074
+
1075
+                for(let i=0;i<arrTwo.length;i++){
1076
+                  for(let j=0;j<arrTwo[i].GoodInfo.length;j++){
1077
+                      irrigation.push(arrTwo[i].GoodInfo[j])
1078
+                  }
1079
+                }
1080
+                console.log("灌流器",irrigation)
1081
+                this.irrigations = irrigation
1082
+          }
1000
         }
1083
         }
1001
       });
1084
       });
1002
     },
1085
     },
1024
     savePrescription: function() {
1107
     savePrescription: function() {
1025
       this.addPlan.anticoagulant_zongliang = this.addPlan.anticoagulant_zongliang.toString();
1108
       this.addPlan.anticoagulant_zongliang = this.addPlan.anticoagulant_zongliang.toString();
1026
       if (!this.isEdit) {
1109
       if (!this.isEdit) {
1110
+        this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
1111
+        this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1027
         postSystemPrescription(this.addPlan).then(response => {
1112
         postSystemPrescription(this.addPlan).then(response => {
1028
           if (response.data.state == 0) {
1113
           if (response.data.state == 0) {
1029
             this.$message.error(response.data.msg);
1114
             this.$message.error(response.data.msg);
1043
           }
1128
           }
1044
         });
1129
         });
1045
       } else {
1130
       } else {
1131
+          this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1132
+          this.addPlan.dialysis_dialyszers  = this.dialysis_dialyszers
1046
         updateSystemPrescription(this.addPlan.id, this.addPlan).then(
1133
         updateSystemPrescription(this.addPlan.id, this.addPlan).then(
1047
           response => {
1134
           response => {
1048
             if (response.data.state == 0) {
1135
             if (response.data.state == 0) {

+ 1 - 1
src/xt_pages/data/showConfig.vue Zobrazit soubor

150
   },
150
   },
151
   created() {
151
   created() {
152
     var filedList = store.getters.xt_user.fileds;
152
     var filedList = store.getters.xt_user.fileds;
153
-
153
+    
154
     for (let i = 0; i < filedList.length; i++) {
154
     for (let i = 0; i < filedList.length; i++) {
155
       switch (filedList[i].module) {
155
       switch (filedList[i].module) {
156
         case 1:
156
         case 1:

+ 10 - 5
src/xt_pages/dialysis/PatientBox.vue Zobrazit soubor

115
       :dry_weight="lastDryWeightDislysis"
115
       :dry_weight="lastDryWeightDislysis"
116
       :schedual="temp_schedual"
116
       :schedual="temp_schedual"
117
       :date='date'
117
       :date='date'
118
+      :stockType="stockType"
118
     ></dialysis-prescription-dialog>
119
     ></dialysis-prescription-dialog>
119
     <treatment-summary-dialog
120
     <treatment-summary-dialog
120
       title="治疗小结"
121
       title="治疗小结"
225
       temp_schedual: null,
226
       temp_schedual: null,
226
       date:'',
227
       date:'',
227
       modedata:0,
228
       modedata:0,
229
+      stockType:"",
228
     };
230
     };
229
   },
231
   },
230
   props: {
232
   props: {
391
         var resp = rs.data;
393
         var resp = rs.data;
392
         if (resp.state == 1) {
394
         if (resp.state == 1) {
393
           var patient = resp.data.patient; // 患者信息
395
           var patient = resp.data.patient; // 患者信息
394
-          console.log("患者信息",patient)
396
+         
395
           var schedual = resp.data.schedual; // 患者排班信息
397
           var schedual = resp.data.schedual; // 患者排班信息
396
           var prescription = resp.data.prescription; // 透析处方
398
           var prescription = resp.data.prescription; // 透析处方
397
           if(prescription!=null){
399
           if(prescription!=null){
411
              }
413
              }
412
            }
414
            }
413
           var doctor_advices = resp.data.doctor_advices; // 临时医嘱
415
           var doctor_advices = resp.data.doctor_advices; // 临时医嘱
414
-          //console.log("力气-------", doctor_advices);
416
+          
415
           var double_check = resp.data.double_check; // 双人核对
417
           var double_check = resp.data.double_check; // 双人核对
416
           var assessment_after_dislysis = resp.data.assessment_after_dislysis; // 透后评估
418
           var assessment_after_dislysis = resp.data.assessment_after_dislysis; // 透后评估
417
-          //console.log("透后品谷数", assessment_after_dislysis);
419
+        
418
           var treatment_summary = resp.data.treatment_summary; // 治疗小结
420
           var treatment_summary = resp.data.treatment_summary; // 治疗小结
419
           var monitor_records = resp.data.monitor_records; // 透析监测
421
           var monitor_records = resp.data.monitor_records; // 透析监测
420
           var dialysis_order = resp.data.dialysis_order; // 透析记录
422
           var dialysis_order = resp.data.dialysis_order; // 透析记录
447
           var lastDryWeightDislysis = resp.data.lastDryWeightDislysis;
449
           var lastDryWeightDislysis = resp.data.lastDryWeightDislysis;
448
 
450
 
449
           var system_prescribe = resp.data.system_prescribe;
451
           var system_prescribe = resp.data.system_prescribe;
450
-
452
+          
453
+          var stockType =  resp.data.stockType
454
+          this.stockType = stockType
455
+          console.log("元单快乐222222",this.stockType)
451
           
456
           
452
           this.$refs.prescription.setLastRecord(
457
           this.$refs.prescription.setLastRecord(
453
             schedual,
458
             schedual,
601
       this.$emit("advice");
606
       this.$emit("advice");
602
     },
607
     },
603
     open(schedual){
608
     open(schedual){
604
-      console.log("中国2222222",this)
609
+     
605
      
610
      
606
       this.date = schedual.schedule_date
611
       this.date = schedual.schedule_date
607
       this.patient_id = schedual.patient_id
612
       this.patient_id = schedual.patient_id

+ 56 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue Zobrazit soubor

75
           <span class="unit"></span>
75
           <span class="unit"></span>
76
         </li>
76
         </li>
77
 
77
 
78
+        <li v-if="isShow('透析器')">
79
+          <label>透析器 : </label>
80
+          <span class="content">{{ dialysis_dialyszers }}</span>
81
+          <span class="unit"></span>
82
+        </li>
83
+
84
+        <li v-if="isShow('灌流器')">
85
+          <label>灌流器 : </label>
86
+          <span class="content">{{ dialysis_irrigation }}</span>
87
+          <span class="unit"></span>
88
+        </li>
89
+
78
         <li v-if="isShow('透析前使用特殊药物')">
90
         <li v-if="isShow('透析前使用特殊药物')">
79
           <label>透析前使用特殊药物: </label>
91
           <label>透析前使用特殊药物: </label>
80
           <span class="content">{{ special_medicine }}</span>
92
           <span class="content">{{ special_medicine }}</span>
332
     },
344
     },
333
     device_number_map: {
345
     device_number_map: {
334
       type: Object
346
       type: Object
347
+    },
348
+    preparestock:{
349
+      type:Array
335
     }
350
     }
336
   },
351
   },
337
   computed: {
352
   computed: {
494
         'dialyzer_perfusion_apparatus'
509
         'dialyzer_perfusion_apparatus'
495
       )
510
       )
496
     },
511
     },
512
+    dialysis_dialyszers:function(){
513
+
514
+      var str = this.getValueStr('dialysis_dialyszers','dialysis_dialyszers')
515
+       console.log("str",str)
516
+      var arr = str.split(",")
517
+
518
+      if (arr.length >0) {
519
+         for(let i=0;i<arr.length;i++){
520
+           for(let j=0;j<this.preparestock.length;j++){
521
+              if(arr[i] == this.preparestock[j].specification_name){
522
+                 arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
523
+              }
524
+           }
525
+         }
526
+      }
527
+      console.log("arr00000",arr)
528
+      var strs = arr.join(',')
529
+      console.log("strs",strs)
530
+      return strs
531
+    },
532
+    dialysis_irrigation:function(){
533
+        var str = this.getValueStr('dialysis_irrigation','dialysis_irrigation')
534
+       console.log("str",str)
535
+      var arr = str.split(",")
536
+
537
+      if (arr.length >0) {
538
+         for(let i=0;i<arr.length;i++){
539
+           for(let j=0;j<this.preparestock.length;j++){
540
+              if(arr[i] == this.preparestock[j].specification_name){
541
+                 arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
542
+              }
543
+           }
544
+         }
545
+      }
546
+      console.log("arr00000",arr)
547
+      var strs = arr.join(',')
548
+      console.log("strs",strs)
549
+      return strs
550
+      // return this.getValueStr('dialysis_irrigation','dialysis_irrigation')
551
+    },
497
     body_fluid: function() {
552
     body_fluid: function() {
498
       var id = this.getValueStr('body_fluid', 'body_fluid')
553
       var id = this.getValueStr('body_fluid', 'body_fluid')
499
       if (id == 0) {
554
       if (id == 0) {
572
     }
627
     }
573
   },
628
   },
574
   created() {
629
   created() {
630
+
575
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
631
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
576
     var map = {}
632
     var map = {}
577
     for (let index = 0; index < perfusion_apparatus.length; index++) {
633
     for (let index = 0; index < perfusion_apparatus.length; index++) {

+ 8 - 1
src/xt_pages/dialysis/details/NavIgation.vue Zobrazit soubor

88
       :last_prescription="last_dialysis_prescribe"
88
       :last_prescription="last_dialysis_prescribe"
89
       :dry_weight="last_dryWeight_dislysis"
89
       :dry_weight="last_dryWeight_dislysis"
90
       :schedual="temp_schedual"
90
       :schedual="temp_schedual"
91
+      :stockType="stockType"
91
       :lastAssessment="lastAssessment"
92
       :lastAssessment="lastAssessment"
92
     ></dialysis-prescription-dialog>
93
     ></dialysis-prescription-dialog>
93
 
94
 
99
       :prescription="prescription"
100
       :prescription="prescription"
100
       :double_check="double_check"
101
       :double_check="double_check"
101
       :admin_users="admin_users"
102
       :admin_users="admin_users"
102
-    
103
+
103
     ></double-check-dialog>
104
     ></double-check-dialog>
104
 
105
 
105
     <accepts-treatment-dialog
106
     <accepts-treatment-dialog
512
         return [];
513
         return [];
513
       }
514
       }
514
     },
515
     },
516
+    stockType:{
517
+      type:Array,
518
+      default:()=>{
519
+        return [];
520
+      }
521
+    },
515
     lastAssessment:{
522
     lastAssessment:{
516
      // 最后一条血管通路(处理今天录的)
523
      // 最后一条血管通路(处理今天录的)
517
      type: Object,
524
      type: Object,

+ 1 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Zobrazit soubor

1262
       this.humor_excessive_symptom_array = getDataConfig('hemodialysis', 'humor_excessive_symptom')
1262
       this.humor_excessive_symptom_array = getDataConfig('hemodialysis', 'humor_excessive_symptom')
1263
       // console.log("血管通路部位",this.blood_access_part_opera)
1263
       // console.log("血管通路部位",this.blood_access_part_opera)
1264
       this.internal_fistula = getDataConfig('hemodialysis', 'internal_fistula')
1264
       this.internal_fistula = getDataConfig('hemodialysis', 'internal_fistula')
1265
+      console.log("内瘘222222",this.internal_fistula)
1265
       this.internal_fistula_skin = getDataConfig('hemodialysis', 'internal_fistula_skin')
1266
       this.internal_fistula_skin = getDataConfig('hemodialysis', 'internal_fistula_skin')
1266
       this.puncture_method = getDataConfig('hemodialysis', 'puncture_method')
1267
       this.puncture_method = getDataConfig('hemodialysis', 'puncture_method')
1267
       this.machineType = getDataConfig('hemodialysis', 'machine_type')
1268
       this.machineType = getDataConfig('hemodialysis', 'machine_type')

+ 78 - 296
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

252
               ></el-input>
252
               ></el-input>
253
             </el-form-item>
253
             </el-form-item>
254
           </el-col>
254
           </el-col>
255
-          
255
+
256
 
256
 
257
            <el-col :span="8" v-if="isShows('置换速度')" v-show="totalShow">
257
            <el-col :span="8" v-if="isShows('置换速度')" v-show="totalShow">
258
             <el-form-item label="置换速度(ml/min)">
258
             <el-form-item label="置换速度(ml/min)">
262
             </el-form-item>
262
             </el-form-item>
263
           </el-col>
263
           </el-col>
264
 
264
 
265
- 
265
+
266
           <el-col
266
           <el-col
267
             :span="8"
267
             :span="8"
268
             v-if="anticoagulant.gaimingcheng != -1 && isShows('钙名称')"
268
             v-if="anticoagulant.gaimingcheng != -1 && isShows('钙名称')"
368
             </el-form-item>
368
             </el-form-item>
369
           </el-col>
369
           </el-col>
370
 
370
 
371
-          <!-- <el-col :span="8" v-if="isShows('透析器')">
371
+          <el-col :span="8" v-if="isShows('透析器')">
372
              <el-form-item label="透析器:">
372
              <el-form-item label="透析器:">
373
-                  <el-input v-model="dialysisPrescription.dialyzers" @focus="showInnerDialog('7')"></el-input>
373
+                  <el-input v-model="dialysisPrescription.dialysis_dialyszers" @focus="showInnerDialog('7')"></el-input>
374
              </el-form-item>
374
              </el-form-item>
375
           </el-col>
375
           </el-col>
376
 
376
 
377
-ß
377
+
378
           <el-col :span="8" v-if="isShows('灌流器')">
378
           <el-col :span="8" v-if="isShows('灌流器')">
379
              <el-form-item label="灌流器:">
379
              <el-form-item label="灌流器:">
380
-                  <el-input v-model="dialysisPrescription.irrigation" @focus="showInnerDialog('8')"></el-input>
380
+                  <el-input v-model="dialysisPrescription.dialysis_irrigation" @focus="showInnerDialog('8')"></el-input>
381
              </el-form-item>
381
              </el-form-item>
382
-          </el-col> -->
382
+          </el-col>
383
 
383
 
384
           <el-col :span="8" v-if="isShows('体液过多症状')">
384
           <el-col :span="8" v-if="isShows('体液过多症状')">
385
             <el-form-item label="体液过多症状:">
385
             <el-form-item label="体液过多症状:">
400
             </el-form-item>
400
             </el-form-item>
401
           </el-col>
401
           </el-col>
402
 
402
 
403
-          <!-- </el-row>
404
-
405
 
403
 
406
-          <el-row :gutter="20" > -->
407
 
404
 
408
           <el-col :span="8" v-if="isShows('体液过多其他症状')">
405
           <el-col :span="8" v-if="isShows('体液过多其他症状')">
409
             <el-form-item label="体液过多其他症状">
406
             <el-form-item label="体液过多其他症状">
440
             </el-form-item>
437
             </el-form-item>
441
           </el-col>
438
           </el-col>
442
 
439
 
443
-          <!-- </el-row>
444
 
440
 
445
-          <el-row :gutter="20" > -->
446
           <el-col :span="8">
441
           <el-col :span="8">
447
             <el-form-item
442
             <el-form-item
448
               label="置换液:"
443
               label="置换液:"
530
 
525
 
531
             </el-form-item>
526
             </el-form-item>
532
           </el-col>
527
           </el-col>
533
-
534
-
535
-          <!-- </el-row>
536
-          <el-row :gutter="20" > -->
537
-          <!--          <el-col :span="8" v-if="isShows('实际超滤量')">-->
538
-          <!--            <el-form-item label="实际超滤量(L)">-->
539
-          <!--              <el-input v-model="dialysisPrescription.ultrafiltration"></el-input>-->
540
-          <!--            </el-form-item>-->
541
-          <!--          </el-col>-->
542
-
543
-          <!--透析耗材-->
544
-          <!--<el-col-->
545
-            <!--:span="8"-->
546
-            <!--v-if="isShows('血液透析干粉') && config.is_open == 1"-->
547
-          <!--&gt;-->
548
-            <!--<el-form-item label="血液透析干粉:">-->
549
-              <!--<el-select-->
550
-                <!--v-model="dialysisPrescription.niprocart"-->
551
-                <!--placeholder="请选择"-->
552
-              <!--&gt;-->
553
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
554
-                <!--<el-option-->
555
-                  <!--v-for="(option, index) in niprocart_info"-->
556
-                  <!--:key="index + 'p'"-->
557
-                  <!--:label="option.GoodInfo.specification_name"-->
558
-                  <!--:value="option.GoodInfo.id"-->
559
-                <!--&gt;</el-option>-->
560
-              <!--</el-select>-->
561
-            <!--</el-form-item>-->
562
-          <!--</el-col>-->
563
-
564
-          <!--<el-col-->
565
-            <!--:span="8"-->
566
-            <!--v-if="isShows('一次性使用动静脉穿刺针') && config.is_open == 1"-->
567
-          <!--&gt;-->
568
-            <!--<el-form-item label="一次性使用动静脉穿刺针:">-->
569
-              <!--<el-select-->
570
-                <!--v-model="dialysisPrescription.jms"-->
571
-                <!--placeholder="请选择"-->
572
-              <!--&gt;-->
573
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
574
-
575
-                <!--<el-option-->
576
-                  <!--v-for="(option, index) in jms_info"-->
577
-                  <!--:key="index + 'a'"-->
578
-                  <!--:label="option.GoodInfo.specification_name"-->
579
-                  <!--:value="option.GoodInfo.id"-->
580
-                <!--&gt;</el-option>-->
581
-              <!--</el-select>-->
582
-            <!--</el-form-item>-->
583
-          <!--</el-col>-->
584
-
585
-          <!--<el-col-->
586
-            <!--:span="8"-->
587
-            <!--v-if="isShows('内瘘管翼状针') && config.is_open == 1"-->
588
-          <!--&gt;-->
589
-            <!--<el-form-item label="内瘘管翼状针:">-->
590
-              <!--<el-select-->
591
-                <!--v-model="dialysisPrescription.fistula_needle_set"-->
592
-                <!--placeholder="请选择"-->
593
-              <!--&gt;-->
594
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
595
-
596
-                <!--<el-option-->
597
-                  <!--v-for="(option, index) in fistula_needle_set_info"-->
598
-                  <!--:key="index + 's'"-->
599
-                  <!--:label="option.GoodInfo.specification_name"-->
600
-                  <!--:value="option.GoodInfo.id"-->
601
-                <!--&gt;</el-option>-->
602
-              <!--</el-select>-->
603
-            <!--</el-form-item>-->
604
-          <!--</el-col>-->
605
-
606
-          <!--<el-col-->
607
-            <!--:span="8"-->
608
-            <!--v-if="isShows('内瘘管翼状针16G') && config.is_open == 1"-->
609
-          <!--&gt;-->
610
-            <!--<el-form-item label="内瘘管翼状针16G:">-->
611
-              <!--<el-select-->
612
-                <!--v-model="dialysisPrescription.fistula_needle_set_16"-->
613
-                <!--placeholder="请选择"-->
614
-              <!--&gt;-->
615
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
616
-
617
-                <!--<el-option-->
618
-                  <!--v-for="(option, index) in fistula_needle_set_16_info"-->
619
-                  <!--:key="index + 'd'"-->
620
-                  <!--:label="option.GoodInfo.specification_name"-->
621
-                  <!--:value="option.GoodInfo.id"-->
622
-                <!--&gt;</el-option>-->
623
-              <!--</el-select>-->
624
-            <!--</el-form-item>-->
625
-          <!--</el-col>-->
626
-
627
-          <!--<el-col-->
628
-            <!--:span="8"-->
629
-            <!--v-if="isShows('一次性使用血液灌流器') && config.is_open == 1"-->
630
-          <!--&gt;-->
631
-            <!--<el-form-item label="一次性使用血液灌流器:">-->
632
-              <!--<el-select-->
633
-                <!--v-model="dialysisPrescription.hemoperfusion"-->
634
-                <!--placeholder="请选择"-->
635
-              <!--&gt;-->
636
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
637
-
638
-                <!--<el-option-->
639
-                  <!--v-for="(option, index) in hemoperfusion_info"-->
640
-                  <!--:key="index + 'f'"-->
641
-                  <!--:label="option.GoodInfo.specification_name"-->
642
-                  <!--:value="option.GoodInfo.id"-->
643
-                <!--&gt;</el-option>-->
644
-              <!--</el-select>-->
645
-            <!--</el-form-item>-->
646
-          <!--</el-col>-->
647
-
648
-          <!--<el-col-->
649
-            <!--:span="8"-->
650
-            <!--v-if="isShows('空心纤维血液透析器') && config.is_open == 1"-->
651
-          <!--&gt;-->
652
-            <!--<el-form-item label="空心纤维血液透析器:">-->
653
-              <!--<el-select-->
654
-                <!--v-model="dialysisPrescription.dialyser_sterilised"-->
655
-                <!--placeholder="请选择"-->
656
-              <!--&gt;-->
657
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
658
-
659
-                <!--<el-option-->
660
-                  <!--v-for="(option, index) in dialyser_sterilised_info"-->
661
-                  <!--:key="index + 'g'"-->
662
-                  <!--:label="option.GoodInfo.specification_name"-->
663
-                  <!--:value="option.GoodInfo.id"-->
664
-                <!--&gt;</el-option>-->
665
-              <!--</el-select>-->
666
-            <!--</el-form-item>-->
667
-          <!--</el-col>-->
668
-
669
-          <!--<el-col-->
670
-            <!--:span="8"-->
671
-            <!--v-if="isShows('中空纤维透析器') && config.is_open == 1"-->
672
-          <!--&gt;-->
673
-            <!--<el-form-item label="中空纤维透析器:">-->
674
-              <!--<el-select-->
675
-                <!--v-model="dialysisPrescription.filtryzer"-->
676
-                <!--placeholder="请选择"-->
677
-              <!--&gt;-->
678
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
679
-
680
-                <!--<el-option-->
681
-                  <!--v-for="(option, index) in filtryzer_info"-->
682
-                  <!--:key="index + 'h'"-->
683
-                  <!--:label="option.GoodInfo.specification_name"-->
684
-                  <!--:value="option.GoodInfo.id"-->
685
-                <!--&gt;</el-option>-->
686
-              <!--</el-select>-->
687
-            <!--</el-form-item>-->
688
-          <!--</el-col>-->
689
-
690
-          <!--<el-col :span="8" v-if="isShows('透析器') && config.is_open == 1">-->
691
-            <!--<el-form-item label="透析器:">-->
692
-              <!--<el-select-->
693
-                <!--v-model="dialysisPrescription.dialyzers"-->
694
-                <!--placeholder="请选择"-->
695
-              <!--&gt;-->
696
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
697
-
698
-                <!--<el-option-->
699
-                  <!--v-for="(option, index) in dialyzers_info"-->
700
-                  <!--:key="index + 1"-->
701
-                  <!--:label="option.GoodInfo.specification_name"-->
702
-                  <!--:value="option.GoodInfo.id"-->
703
-                <!--&gt;</el-option>-->
704
-              <!--</el-select>-->
705
-            <!--</el-form-item>-->
706
-          <!--</el-col>-->
707
-
708
-          <!--<el-col :span="8" v-if="isShows('注射器') && config.is_open == 1">-->
709
-            <!--<el-form-item label="注射器:">-->
710
-              <!--<el-select-->
711
-                <!--v-model="dialysisPrescription.injector"-->
712
-                <!--placeholder="请选择"-->
713
-              <!--&gt;-->
714
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
715
-
716
-                <!--<el-option-->
717
-                  <!--v-for="(option, index) in injector_info"-->
718
-                  <!--:key="index + 'j'"-->
719
-                  <!--:label="option.GoodInfo.specification_name"-->
720
-                  <!--:value="option.GoodInfo.id"-->
721
-                <!--&gt;</el-option>-->
722
-              <!--</el-select>-->
723
-            <!--</el-form-item>-->
724
-          <!--</el-col>-->
725
-
726
-          <!--<el-col-->
727
-            <!--:span="8"-->
728
-            <!--v-if="isShows('体外循环血路管') && config.is_open == 1"-->
729
-          <!--&gt;-->
730
-            <!--<el-form-item label="体外循环血路管:">-->
731
-              <!--<el-select-->
732
-                <!--v-model="dialysisPrescription.bloodlines"-->
733
-                <!--placeholder="请选择"-->
734
-              <!--&gt;-->
735
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
736
-
737
-                <!--<el-option-->
738
-                  <!--v-for="(option, index) in bloodlines_info"-->
739
-                  <!--:key="index + 'k'"-->
740
-                  <!--:label="option.GoodInfo.specification_name"-->
741
-                  <!--:value="option.GoodInfo.id"-->
742
-                <!--&gt;</el-option>-->
743
-              <!--</el-select>-->
744
-            <!--</el-form-item>-->
745
-          <!--</el-col>-->
746
-
747
-          <!--<el-col-->
748
-            <!--:span="8"-->
749
-            <!--v-if="isShows('血液净化补液管路(置换管)') && config.is_open == 1"-->
750
-          <!--&gt;-->
751
-            <!--<el-form-item label="血液净化补液管路(置换管):">-->
752
-              <!--<el-select-->
753
-                <!--v-model="dialysisPrescription.tubing_hemodialysis"-->
754
-                <!--placeholder="请选择"-->
755
-              <!--&gt;-->
756
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
757
-
758
-                <!--<el-option-->
759
-                  <!--v-for="(option, index) in tubingHemodialysis_info"-->
760
-                  <!--:key="index + 'x'"-->
761
-                  <!--:label="option.GoodInfo.specification_name"-->
762
-                  <!--:value="option.GoodInfo.id"-->
763
-                <!--&gt;</el-option>-->
764
-              <!--</el-select>-->
765
-            <!--</el-form-item>-->
766
-          <!--</el-col>-->
767
-
768
-          <!--<el-col :span="8" v-if="isShows('护理包') && config.is_open == 1">-->
769
-            <!--<el-form-item label="护理包:">-->
770
-              <!--<el-select-->
771
-                <!--v-model="dialysisPrescription.package"-->
772
-                <!--placeholder="请选择"-->
773
-              <!--&gt;-->
774
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
775
-
776
-                <!--<el-option-->
777
-                  <!--v-for="(option, index) in safe_package_info"-->
778
-                  <!--:key="index + 'z'"-->
779
-                  <!--:label="option.GoodInfo.specification_name"-->
780
-                  <!--:value="option.GoodInfo.id"-->
781
-                <!--&gt;</el-option>-->
782
-              <!--</el-select>-->
783
-            <!--</el-form-item>-->
784
-          <!--</el-col>-->
785
-
786
-          <!--<el-col :span="8" v-if="isShows('A液') && config.is_open == 1">-->
787
-            <!--<el-form-item label="A液:">-->
788
-              <!--<el-select-->
789
-                <!--v-model="dialysisPrescription.a_liquid"-->
790
-                <!--placeholder="请选择"-->
791
-              <!--&gt;-->
792
-                <!--<el-option :key="0" label="请选择" :value="0"></el-option>-->
793
-
794
-                <!--<el-option-->
795
-                  <!--v-for="(option, index) in aliquid_info"-->
796
-                  <!--:key="index + 'c'"-->
797
-                  <!--:label="option.GoodInfo.specification_name"-->
798
-                  <!--:value="option.GoodInfo.id"-->
799
-                <!--&gt;</el-option>-->
800
-              <!--</el-select>-->
801
-            <!--</el-form-item>-->
802
-          <!--</el-col>-->
803
-
804
-
805
-
806
-
807
-
808
         </el-row>
528
         </el-row>
809
 
529
 
810
         <el-row :gutter="20">
530
         <el-row :gutter="20">
1162
         }
882
         }
1163
       },
883
       },
1164
       scheudle_mode:Number,
884
       scheudle_mode:Number,
885
+     stockType:{
886
+        type:Array,
887
+        default:()=>{
888
+          return [];
889
+        }
890
+      },
1165
       lastAssessment: {
891
       lastAssessment: {
1166
         type: Object,
892
         type: Object,
1167
         default: () => {
893
         default: () => {
1287
           nucleoprotamine:"",//鱼精蛋白
1013
           nucleoprotamine:"",//鱼精蛋白
1288
           no_heparin_remarks:"",
1014
           no_heparin_remarks:"",
1289
           blood:"",
1015
           blood:"",
1016
+          dialysis_dialyszers:"",
1017
+          dialysis_irrigation:"",
1290
           irrigation:"",
1018
           irrigation:"",
1291
           antioxidant_commodity_name:"",
1019
           antioxidant_commodity_name:"",
1292
           displace_speed:"",
1020
           displace_speed:"",
1311
         doctorAdvices: [],
1039
         doctorAdvices: [],
1312
         dialyzerPerfusionApparatus: [],
1040
         dialyzerPerfusionApparatus: [],
1313
         bloods:[],
1041
         bloods:[],
1314
-        irrigation:[],
1042
+        irrigations:[],
1315
         dialyzers:[],
1043
         dialyzers:[],
1316
       }
1044
       }
1317
     },
1045
     },
1378
 
1106
 
1379
            case '7': // 透析器
1107
            case '7': // 透析器
1380
 
1108
 
1109
+            for(let i=0;i<this.dialyzers.length;i++){
1110
+               this.dialyzers[i].name = this.dialyzers[i].specification_name
1111
+            }
1112
+            this.InnerDialogProps.values = this.dialyzers
1113
+            this.InnerDialogProps.titles = '透析器'
1114
+            this.InnerDialogProps.type = 'dialyzers'
1115
+            this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_dialyszers
1116
+            this.InnerDialogProps.isShowTextArea = false
1117
+            break
1118
+           case '8':
1119
+           for(let i=0;i<this.irrigations.length;i++){
1120
+             this.irrigations[i].name = this.irrigations[i].specification_name
1121
+           }
1122
+            this.InnerDialogProps.values = this.irrigations
1123
+            this.InnerDialogProps.titles = '透析器'
1124
+            this.InnerDialogProps.type = 'irrigations'
1125
+            this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_irrigation
1126
+            this.InnerDialogProps.isShowTextArea = false
1127
+            break
1381
         }
1128
         }
1382
       },
1129
       },
1383
       innerDialogComfirm: function(val) {
1130
       innerDialogComfirm: function(val) {
1389
           case 'blood':
1136
           case 'blood':
1390
             this.dialysisPrescription.blood = val.value.join(',')
1137
             this.dialysisPrescription.blood = val.value.join(',')
1391
            break
1138
            break
1139
+          case 'dialyzers':
1140
+           this.dialysisPrescription.dialysis_dialyszers = val.value.join(',')
1141
+          break
1142
+          case 'irrigations':
1143
+           this.dialysisPrescription.dialysis_irrigation = val.value.join(',')
1144
+          break
1392
         }
1145
         }
1393
       },
1146
       },
1394
       innerDialogCancle: function() {
1147
       innerDialogCancle: function() {
1490
           'hemodialysis',
1243
           'hemodialysis',
1491
           'dialyzer_perfusion_apparatus'
1244
           'dialyzer_perfusion_apparatus'
1492
         )
1245
         )
1493
-
1246
+        console.log("3333333",this.dialyzerPerfusionApparatus)
1494
         this.bloods = getDataConfig(
1247
         this.bloods = getDataConfig(
1495
           'hemodialysis',
1248
           'hemodialysis',
1496
           'blood'
1249
           'blood'
1618
                 ParamsQuery['mode'] = '3'
1371
                 ParamsQuery['mode'] = '3'
1619
               }
1372
               }
1620
             }
1373
             }
1374
+
1621
             postPrescription(ParamsQuery).then(response => {
1375
             postPrescription(ParamsQuery).then(response => {
1622
               if (response.data.state == 0) {
1376
               if (response.data.state == 0) {
1623
                 this.$message.error(response.data.msg)
1377
                 this.$message.error(response.data.msg)
1838
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1592
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1839
       },
1593
       },
1840
       show(pre,schedual,last,his_is_open) {
1594
       show(pre,schedual,last,his_is_open) {
1841
-     
1595
+
1842
         if(his_is_open == 1){
1596
         if(his_is_open == 1){
1843
           this.is_open = 0
1597
           this.is_open = 0
1844
         }
1598
         }
1911
         } else {
1665
         } else {
1912
           last_weight_after = this.last_record.weight_after
1666
           last_weight_after = this.last_record.weight_after
1913
         }
1667
         }
1914
-        
1915
- 
1668
+
1669
+
1916
 
1670
 
1917
         if (this.predialysis == null || this.predialysis.id == 0) {
1671
         if (this.predialysis == null || this.predialysis.id == 0) {
1918
           if(last != null) {
1672
           if(last != null) {
1934
 
1688
 
1935
             weight_before = 0
1689
             weight_before = 0
1936
 
1690
 
1937
-           
1691
+
1938
           }
1692
           }
1939
 
1693
 
1940
         } else {
1694
         } else {
1960
         //               if(this.last_prescription.blood_access_part_opera_id == this.blood_access_option[i].name){
1714
         //               if(this.last_prescription.blood_access_part_opera_id == this.blood_access_option[i].name){
1961
         //                 blood_id = this.blood_access_option[i].id
1715
         //                 blood_id = this.blood_access_option[i].id
1962
         //               }
1716
         //               }
1963
-        //           }   
1717
+        //           }
1964
         //            this.dialysisPrescription.blood_access = blood_id
1718
         //            this.dialysisPrescription.blood_access = blood_id
1965
         //       }
1719
         //       }
1966
         //     }
1720
         //     }
1967
-           
1721
+
1968
         //  }
1722
         //  }
1969
 
1723
 
1970
         if (weight_before > 0 && last_weight_after > 0) {
1724
         if (weight_before > 0 && last_weight_after > 0) {
2050
             ParamsQuery['record_date'] = this.record_date
1804
             ParamsQuery['record_date'] = this.record_date
2051
             ParamsQuery['mode'] = '1'
1805
             ParamsQuery['mode'] = '1'
2052
 
1806
 
2053
-            console.log("第一")
1807
+            console.log("第一",ParamsQuery)
2054
             postPrescription(ParamsQuery).then(response => {
1808
             postPrescription(ParamsQuery).then(response => {
2055
               if (response.data.state == 0) {
1809
               if (response.data.state == 0) {
2056
                 this.$message.error(response.data.msg)
1810
                 this.$message.error(response.data.msg)
3738
           }
3492
           }
3739
         }
3493
         }
3740
       },
3494
       },
3495
+      stockType:function(){
3741
 
3496
 
3497
+        var arr = []
3498
+        var arrTwo = []
3499
+        for(let i=0;i<this.stockType.length;i++){
3500
+          if(this.stockType[i].stock_attribute == 2){
3501
+              arr.push(this.stockType[i])
3502
+          }
3503
+          if(this.stockType[i].stock_attribute == 3){
3504
+              arrTwo.push(this.stockType[i])
3505
+          }
3506
+        }
3507
+        var dialyzator = []
3508
+        var irrigation = []
3509
+        for(let i=0;i<arr.length;i++){
3510
+          for(let j=0;j<arr[i].GoodInfo.length;j++){
3511
+              dialyzator.push(arr[i].GoodInfo[j])
3512
+          }
3513
+        }
3514
+        this.dialyzers = dialyzator
3515
+
3516
+        for(let i=0;i<arrTwo.length;i++){
3517
+           for(let j=0;j<arrTwo[i].GoodInfo.length;j++){
3518
+              irrigation.push(arrTwo[i].GoodInfo[j])
3519
+           }
3520
+        }
3521
+        this.irrigations = irrigation
3522
+
3523
+      }
3742
     }
3524
     }
3743
   }
3525
   }
3744
 </script>
3526
 </script>

+ 23 - 13
src/xt_pages/dialysis/details/index.vue Zobrazit soubor

267
         :system_prescribe="system_prescribe"
267
         :system_prescribe="system_prescribe"
268
         :his_is_open="his_is_open"
268
         :his_is_open="his_is_open"
269
         :lastAssessment="lastAssessment"
269
         :lastAssessment="lastAssessment"
270
+        :stockType="stockType"
270
       >
271
       >
271
       </nav-igation>
272
       </nav-igation>
272
 
273
 
283
         :prescription="prescription"
284
         :prescription="prescription"
284
         :solution="solution"
285
         :solution="solution"
285
         :device_map="device_map"
286
         :device_map="device_map"
287
+        :preparestock="preparestock"
286
         title="透析处方"
288
         title="透析处方"
287
       ></dialysis-prescription>
289
       ></dialysis-prescription>
288
 
290
 
681
       curPatient:{},
683
       curPatient:{},
682
 
684
 
683
       queueConfig:{},
685
       queueConfig:{},
684
-      stockType:[]
686
+      stockType:[],
687
+      preparestock:[]
685
     }
688
     }
686
   },
689
   },
687
   created() {
690
   created() {
971
 
974
 
972
       this.doctor_advices = []
975
       this.doctor_advices = []
973
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
976
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
974
-        
977
+
975
         var resp = rs.data
978
         var resp = rs.data
976
         if (resp.state == 1) {
979
         if (resp.state == 1) {
977
           var patient = resp.data.patient // 患者信息
980
           var patient = resp.data.patient // 患者信息
978
           var schedual = resp.data.schedual // 患者排班信息
981
           var schedual = resp.data.schedual // 患者排班信息
979
-        
982
+
980
           var prescription = resp.data.prescription // 透析处方
983
           var prescription = resp.data.prescription // 透析处方
981
           if (prescription != null) {
984
           if (prescription != null) {
982
             if (prescription.body_fluid == -2) {
985
             if (prescription.body_fluid == -2) {
983
               prescription.body_fluid = 0
986
               prescription.body_fluid = 0
984
             }
987
             }
985
           }
988
           }
986
-        
989
+
987
           var solution = resp.data.solution // 透析方案
990
           var solution = resp.data.solution // 透析方案
988
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
991
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
989
-         
992
+
990
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
993
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
991
            console.log("透器评估",predialysis_evaluation)
994
            console.log("透器评估",predialysis_evaluation)
992
           if (predialysis_evaluation != null) {
995
           if (predialysis_evaluation != null) {
1018
           var aliquid_info = resp.data.aliquid_info
1021
           var aliquid_info = resp.data.aliquid_info
1019
 
1022
 
1020
           var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation
1023
           var lastPredialysisEvaluation = resp.data.lastPredialysisEvaluation
1021
-        
1024
+
1022
           if (lastPredialysisEvaluation != null) {
1025
           if (lastPredialysisEvaluation != null) {
1023
             if (lastPredialysisEvaluation.blood_access_part_id == -2) {
1026
             if (lastPredialysisEvaluation.blood_access_part_id == -2) {
1024
               lastPredialysisEvaluation.blood_access_part_id = 0
1027
               lastPredialysisEvaluation.blood_access_part_id = 0
1028
           var lastAssessmentAfterDislysis = resp.data.lastAssessmentAfterDislysis
1031
           var lastAssessmentAfterDislysis = resp.data.lastAssessmentAfterDislysis
1029
           var lastDialysisPrescribe = resp.data.lastDialysisPrescribe
1032
           var lastDialysisPrescribe = resp.data.lastDialysisPrescribe
1030
           var lastDryWeightDislysis = resp.data.lastDryWeightDislysis
1033
           var lastDryWeightDislysis = resp.data.lastDryWeightDislysis
1031
-         
1034
+
1032
           var system_prescribe = resp.data.system_prescribe
1035
           var system_prescribe = resp.data.system_prescribe
1033
-           
1036
+
1034
           var lastAssessment =  resp.data.lastAssessment
1037
           var lastAssessment =  resp.data.lastAssessment
1035
           console.log("最后一次血管通路",lastAssessment)
1038
           console.log("最后一次血管通路",lastAssessment)
1036
           this.$refs.nav.setLastRecord(
1039
           this.$refs.nav.setLastRecord(
1115
           this.dialysis_order =
1118
           this.dialysis_order =
1116
             dialysis_order == null ? { id: 0 } : dialysis_order
1119
             dialysis_order == null ? { id: 0 } : dialysis_order
1117
 
1120
 
1118
-         
1121
+
1119
 
1122
 
1120
           this.admin_users = resp.data.doctors
1123
           this.admin_users = resp.data.doctors
1121
           this.devices = resp.data.devices
1124
           this.devices = resp.data.devices
1122
           this.device_numbers = resp.data.device_numbers
1125
           this.device_numbers = resp.data.device_numbers
1123
 
1126
 
1124
           var his_doctor_advices = resp.data.his_advices
1127
           var his_doctor_advices = resp.data.his_advices
1125
-          
1128
+
1126
           this.his_is_open = resp.data.is_open_config.is_open
1129
           this.his_is_open = resp.data.is_open_config.is_open
1127
           console.log(this.his_is_open)
1130
           console.log(this.his_is_open)
1128
-          
1129
-      
1130
-          
1131
+
1132
+
1133
+
1134
+          var stockType =  resp.data.stockType
1135
+          this.stockType = stockType
1136
+          console.log("stockTYPW",stockType)
1137
+
1138
+          var prepare = resp.data.prepare
1139
+          this.preparestock = prepare
1140
+          console.log("prepare222222",prepare)
1131
           for (let i = 0; i <  this.doctor_advices.length; i++){
1141
           for (let i = 0; i <  this.doctor_advices.length; i++){
1132
             this.doctor_advices[i]['origin'] = 1
1142
             this.doctor_advices[i]['origin'] = 1
1133
           }
1143
           }

+ 38 - 11
src/xt_pages/stock/Dialog/goodTypeDialog.vue Zobrazit soubor

12
       <el-row>
12
       <el-row>
13
         <el-col>
13
         <el-col>
14
           <el-form-item label="耗材属性">
14
           <el-form-item label="耗材属性">
15
-              <el-radio v-model="formValue.stock_attribute" label="1">无</el-radio>
16
-              <el-radio v-model="formValue.stock_attribute" label="2">透析器</el-radio>
17
-              <el-radio v-model="formValue.stock_attribute" label="3">灌流器</el-radio>
15
+            
16
+              <el-radio-group v-model="formValue.stock_attribute" @change="changeRadio">
17
+                  <el-radio label="1">无</el-radio>
18
+                  <el-radio label="2">透析器</el-radio>
19
+                  <el-radio label="3">灌流器</el-radio>
20
+              </el-radio-group>
18
           </el-form-item>
21
           </el-form-item>
19
         </el-col>
22
         </el-col>
20
       </el-row>
23
       </el-row>
21
       <el-row>
24
       <el-row>
22
         <el-col>
25
         <el-col>
23
-          <el-form-item label="耗材出库" prop="out_stock">
26
+          <el-form-item label="耗材出库" prop="out_stock" v-show="showAttribute">
24
              <el-radio v-model="formValue.out_stock" label="1">是</el-radio>
27
              <el-radio v-model="formValue.out_stock" label="1">是</el-radio>
25
              <el-radio v-model="formValue.out_stock" label="2">否</el-radio>
28
              <el-radio v-model="formValue.out_stock" label="2">否</el-radio>
26
           </el-form-item>     
29
           </el-form-item>     
67
         ]
70
         ]
68
       },
71
       },
69
        out_stock: '1',
72
        out_stock: '1',
70
-       stock_attribute:"1"
73
+       stock_attribute:"1",
74
+       showAttribute:false
71
     };
75
     };
72
   },
76
   },
73
   props: {
77
   props: {
84
     }
88
     }
85
   },
89
   },
86
   methods: {
90
   methods: {
87
-    show:function(){
91
+    show:function(val){
92
+      console.log("val22222222",this.formValue)
93
+      if(this.formValue.stock_attribute == "1"){
94
+        this.showAttribute = false
95
+      }
96
+      if(this.formValue.stock_attribute == "2" || this.formValue.stock_attribute =="3"){
97
+        this.showAttribute = true
98
+      }
99
+   
88
       this.visibility = true
100
       this.visibility = true
89
 
101
 
90
     },hide:function(){
102
     },hide:function(){
109
       form['out_stock'] = this.formValue.out_stock;
121
       form['out_stock'] = this.formValue.out_stock;
110
       form["stock_attribute"] = this.formValue.stock_attribute
122
       form["stock_attribute"] = this.formValue.stock_attribute
111
       return form;
123
       return form;
124
+    },
125
+
126
+    changeRadio(val){
127
+      if(val == 1){
128
+        this.showAttribute = false
129
+      }
130
+      if(val == 2 || val == 3){
131
+        this.showAttribute = true
132
+      }
112
     }
133
     }
113
   },
134
   },
135
+  
114
   watch: {
136
   watch: {
115
     visibility(val) {
137
     visibility(val) {
116
-      !val &&
117
-        setTimeout(() => {
138
+      
139
+      !val && setTimeout(() => {
140
+        
118
           this.$refs["formValue"].resetFields();
141
           this.$refs["formValue"].resetFields();
119
           this.formValue.remark = "";
142
           this.formValue.remark = "";
120
           this.formValue.type_name = "";
143
           this.formValue.type_name = "";
121
           this.formValue.stock_attribute="1";
144
           this.formValue.stock_attribute="1";
122
           this.formValue.out_stock = "1"
145
           this.formValue.out_stock = "1"
123
-        }, 0);
124
-    }
125
-  }
146
+       }, 0);
147
+    },
148
+    
149
+   
150
+  },
151
+
152
+ 
126
 };
153
 };
127
 </script>
154
 </script>
128
 
155
 

+ 3 - 2
src/xt_pages/stock/config/goodType.vue Zobrazit soubor

339
         });
339
         });
340
       } else if (val.isCreated == 1) {
340
       } else if (val.isCreated == 1) {
341
         //新增
341
         //新增
342
-        console.log("val22222",val)
342
+        
343
        
343
        
344
         createGoodType(val).then(response => {
344
         createGoodType(val).then(response => {
345
           
345
           
346
           if (response.data.state == 0) {
346
           if (response.data.state == 0) {
347
-            this.$message.error(response.data.msg);
347
+            // this.$message.error(response.data.msg);
348
+            this.$message.error("透析器或灌流器商品类型已存在!")
348
             return false;
349
             return false;
349
           } else {
350
           } else {
350
             this.$refs.dialog.hide();
351
             this.$refs.dialog.hide();

+ 1 - 1
src/xt_pages/stock/index.vue Zobrazit soubor

13
           <!--<el-tab-pane label="经销商">-->
13
           <!--<el-tab-pane label="经销商">-->
14
             <!--<dealer></dealer>-->
14
             <!--<dealer></dealer>-->
15
           <!--</el-tab-pane>-->
15
           <!--</el-tab-pane>-->
16
-          <el-tab-pane label="商品类型" name="first">
16
+          <el-tab-pane label="耗材类型" name="first">
17
             <good-type></good-type>
17
             <good-type></good-type>
18
           </el-tab-pane>
18
           </el-tab-pane>
19
           <!--<el-tab-pane label="商品信息">-->
19
           <!--<el-tab-pane label="商品信息">-->

+ 117 - 18
src/xt_pages/user/dialysisSolution.vue Zobrazit soubor

85
             <span>{{ getAdminUserName(scope.row.registrars_id) }}</span>
85
             <span>{{ getAdminUserName(scope.row.registrars_id) }}</span>
86
           </template>
86
           </template>
87
         </el-table-column>
87
         </el-table-column>
88
-        
88
+
89
         <el-table-column
89
         <el-table-column
90
           prop="created_time"
90
           prop="created_time"
91
           align="center"
91
           align="center"
215
               <el-input v-model="addPlan.blood_flow_volume"></el-input>
215
               <el-input v-model="addPlan.blood_flow_volume"></el-input>
216
             </el-form-item>
216
             </el-form-item>
217
           </el-col>
217
           </el-col>
218
-       
218
+
219
 
219
 
220
           <el-col :span="8" v-if="isShows('透析液配方')">
220
           <el-col :span="8" v-if="isShows('透析液配方')">
221
             <el-form-item label="透析液配方:">
221
             <el-form-item label="透析液配方:">
229
               </el-select>
229
               </el-select>
230
             </el-form-item>
230
             </el-form-item>
231
           </el-col>
231
           </el-col>
232
-         
232
+
233
           <el-col :span="8" v-if="isShows('抗凝剂')">
233
           <el-col :span="8" v-if="isShows('抗凝剂')">
234
             <el-form-item label="抗凝剂:" prop="anticoagulant">
234
             <el-form-item label="抗凝剂:" prop="anticoagulant">
235
               <el-select
235
               <el-select
349
             </el-form-item>
349
             </el-form-item>
350
           </el-col>
350
           </el-col>
351
 
351
 
352
+
353
+
354
+
355
+          <el-col :span="8" v-if="isShows('透析器')">
356
+            <el-form-item label="透析器:">
357
+              <el-input v-model="dialysis_dialyszers" @focus="showInnerDialog('6')"></el-input>
358
+            </el-form-item>
359
+          </el-col>
360
+
361
+          <el-col :span="8" v-if="isShows('灌流器')">
362
+             <el-form-item label="灌流器:">
363
+               <el-input v-model="dialysis_irrigation" @focus="showInnerDialog('7')"></el-input>
364
+             </el-form-item>
365
+          </el-col>
366
+
352
           <el-col :span="8" v-if="isShows('碳酸氢盐')">
367
           <el-col :span="8" v-if="isShows('碳酸氢盐')">
353
             <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
368
             <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
354
               <el-input v-model="addPlan.bicarbonate"></el-input>
369
               <el-input v-model="addPlan.bicarbonate"></el-input>
689
         displace_liqui_part: '',
704
         displace_liqui_part: '',
690
         displace_liqui_value: '',
705
         displace_liqui_value: '',
691
         ultrafiltration: '',
706
         ultrafiltration: '',
692
-        blood_access: ''
707
+        blood_access: '',
708
+        dialysis_dialyszers:'',
709
+        dialysis_irrigation:'',
693
       },
710
       },
694
       childPlan: {
711
       childPlan: {
695
         mode: '',
712
         mode: '',
812
         page: 1,
829
         page: 1,
813
         limit: 10,
830
         limit: 10,
814
         id: 0
831
         id: 0
815
-      }
832
+      },
833
+     stockType:[],
834
+     irrigations:[],
835
+     dialyzers:[],
836
+     dialysis_dialyszers:'',
837
+     dialysis_irrigation:"",
816
     }
838
     }
817
   },
839
   },
818
   watch: {
840
   watch: {
819
-   
841
+
820
    'dialysisTimeShow':function(){
842
    'dialysisTimeShow':function(){
821
       var val = this.addPlan.dialysis_duration_hour+":"+this.addPlan.dialysis_duration_minute
843
       var val = this.addPlan.dialysis_duration_hour+":"+this.addPlan.dialysis_duration_minute
822
       var valTime = val.split(':')
844
       var valTime = val.split(':')
826
    },
848
    },
827
 
849
 
828
     'addPlan.dialysis_duration': function() {
850
     'addPlan.dialysis_duration': function() {
829
-    
851
+
830
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
852
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
831
         this.addPlan.anticoagulant_shouji,
853
         this.addPlan.anticoagulant_shouji,
832
         this.addPlan.dialysis_duration,
854
         this.addPlan.dialysis_duration,
834
       )
856
       )
835
     },
857
     },
836
     'addPlan.anticoagulant_shouji': function() {
858
     'addPlan.anticoagulant_shouji': function() {
837
-      
859
+
838
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
860
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
839
         this.addPlan.anticoagulant_shouji,
861
         this.addPlan.anticoagulant_shouji,
840
         this.addPlan.dialysis_duration,
862
         this.addPlan.dialysis_duration,
852
   },
874
   },
853
 
875
 
854
 
876
 
855
-  
877
+
856
   components: {
878
   components: {
857
     MultiSelectBox,
879
     MultiSelectBox,
858
     tableTitle,
880
     tableTitle,
868
           this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
890
           this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
869
           this.InnerDialogProps.selected = this.addPlan.dialyzer_perfusion_apparatus
891
           this.InnerDialogProps.selected = this.addPlan.dialyzer_perfusion_apparatus
870
           this.InnerDialogProps.isShowTextArea = false
892
           this.InnerDialogProps.isShowTextArea = false
893
+          break
894
+        case '6':
895
+           for(let i=0;i<this.dialyzers.length;i++){
896
+               this.dialyzers[i].name = this.dialyzers[i].specification_name
897
+           }
898
+           console.log("2222222",this.dialyzers)
899
+          this.InnerDialogProps.values = this.dialyzers
900
+          this.InnerDialogProps.titles = '透析器'
901
+          this.InnerDialogProps.type = 'dialyzers'
902
+          this.InnerDialogProps.selected = this.dialysis_dialyszers
903
+          this.InnerDialogProps.isShowTextArea = false
904
+
905
+          break
906
+        case '7':
907
+          for(let i=0;i<this.irrigations.length;i++){
908
+             this.irrigations[i].name = this.irrigations[i].specification_name
909
+           }
910
+          this.InnerDialogProps.values = this.irrigations
911
+          this.InnerDialogProps.titles = '灌流器'
912
+          this.InnerDialogProps.type = 'irrigations'
913
+          this.InnerDialogProps.selected = this.dialysis_irrigation
914
+          this.InnerDialogProps.isShowTextArea = false
915
+
871
           break
916
           break
872
       }
917
       }
873
     },
918
     },
874
     innerDialogComfirm: function(val) {
919
     innerDialogComfirm: function(val) {
920
+
875
       this.InnerDialogProps.visibility = false
921
       this.InnerDialogProps.visibility = false
876
       switch (val.type) {
922
       switch (val.type) {
877
         case 'dialyzer_perfusion_apparatus':
923
         case 'dialyzer_perfusion_apparatus':
878
           this.addPlan.dialyzer_perfusion_apparatus = val.value.join(',')
924
           this.addPlan.dialyzer_perfusion_apparatus = val.value.join(',')
879
           break
925
           break
926
+        case 'dialyzers':
927
+          this.dialysis_dialyszers = val.value.join(',')
928
+          console.log("3333333",this.addPlan.dialysis_dialyszers)
929
+
930
+          break
931
+        case 'irrigations':
932
+          this.dialysis_irrigation = val.value.join(',')
933
+          break
880
 
934
 
881
       }
935
       }
882
     },
936
     },
892
     },
946
     },
893
 
947
 
894
     selectnDialysisTime(val) {
948
     selectnDialysisTime(val) {
895
-     
949
+
896
       var valTime = val.split(':')
950
       var valTime = val.split(':')
897
       this.addPlan.dialysis_duration = parseFloat(valTime[0]) + parseFloat((valTime[1] / 60).toFixed(2))
951
       this.addPlan.dialysis_duration = parseFloat(valTime[0]) + parseFloat((valTime[1] / 60).toFixed(2))
898
       console.log("透析时长",this.addPlan.dialysis_duration)
952
       console.log("透析时长",this.addPlan.dialysis_duration)
1177
         }
1231
         }
1178
       })
1232
       })
1179
     },
1233
     },
1180
-    submitEditSolution(formName) {
1234
+      submitEditSolution(formName) {
1181
       this.$refs[formName].validate(valid => {
1235
       this.$refs[formName].validate(valid => {
1182
         if (valid) {
1236
         if (valid) {
1183
           let mode = '2'
1237
           let mode = '2'
1187
           ) {
1241
           ) {
1188
             mode = '3'
1242
             mode = '3'
1189
           }
1243
           }
1244
+          this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
1245
+          this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1190
           console.log("2233333",this.addPlan)
1246
           console.log("2233333",this.addPlan)
1191
           
1247
           
1192
           editPatientDialysisSolution(this.patientID,this.addPlan.id,this.addPlan, mode).then(response => {
1248
           editPatientDialysisSolution(this.patientID,this.addPlan.id,this.addPlan, mode).then(response => {
1223
       })
1279
       })
1224
     },
1280
     },
1225
     submitNewSolution(formName) {
1281
     submitNewSolution(formName) {
1226
-     
1282
+
1227
       this.addPlan.anticoagulant_zongliang = this.addPlan.anticoagulant_zongliang.toString()
1283
       this.addPlan.anticoagulant_zongliang = this.addPlan.anticoagulant_zongliang.toString()
1228
       this.$refs[formName].validate(valid => {
1284
       this.$refs[formName].validate(valid => {
1229
         if (valid) {
1285
         if (valid) {
1230
           const mode = '1'
1286
           const mode = '1'
1287
+          this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
1288
+          this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1289
+          console.log("add",this.addPlan)
1231
           createPatientDialysisSolution(
1290
           createPatientDialysisSolution(
1232
             this.patientID,
1291
             this.patientID,
1233
             this.addPlan,
1292
             this.addPlan,
1291
         }else{
1350
         }else{
1292
           this.addPlan.anticoagulant = row.anticoagulant
1351
           this.addPlan.anticoagulant = row.anticoagulant
1293
         }
1352
         }
1294
-        
1353
+
1295
       }
1354
       }
1296
       this.addPlan.replacement_total = row.replacement_total
1355
       this.addPlan.replacement_total = row.replacement_total
1297
 
1356
 
1298
       this.addPlan.target_ktv = row.target_ktv.toString()
1357
       this.addPlan.target_ktv = row.target_ktv.toString()
1299
       this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
1358
       this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
1300
-      
1359
+
1301
       this.addPlan.dialysis_duration = parseFloat(row.dialysis_duration_hour) + parseFloat((row.dialysis_duration_minute / 60).toFixed(2))
1360
       this.addPlan.dialysis_duration = parseFloat(row.dialysis_duration_hour) + parseFloat((row.dialysis_duration_minute / 60).toFixed(2))
1302
       this.addPlan.dialysis_duration_hour = row.dialysis_duration_hour
1361
       this.addPlan.dialysis_duration_hour = row.dialysis_duration_hour
1303
       this.addPlan.dialysis_duration_minute = row.dialysis_duration_minute
1362
       this.addPlan.dialysis_duration_minute = row.dialysis_duration_minute
1317
       this.addPlan.remark = row.remark
1376
       this.addPlan.remark = row.remark
1318
 
1377
 
1319
       this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1378
       this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1320
-
1379
+      this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1380
+      this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1381
+      this.dialysis_irrigation = row.dialysis_irrigation
1382
+      this.dialysis_dialyszers = row.dialysis_dialyszers
1321
      if(row.body_fluid == 0){
1383
      if(row.body_fluid == 0){
1322
        this.addPlan.body_fluid = ""
1384
        this.addPlan.body_fluid = ""
1323
       }else{
1385
       }else{
1333
 
1395
 
1334
       this.addPlan.registrars_id = row.registrars_id
1396
       this.addPlan.registrars_id = row.registrars_id
1335
       this.addPlan.created_time =  row.created_time
1397
       this.addPlan.created_time =  row.created_time
1398
+      this.addPlan.dialysis_irrigation = row.dialysis_irrigation
1399
+      this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1400
+      this.dialysis_irrigation = row.dialysis_irrigation
1401
+      this.dialysis_dialyszers = row.dialysis_dialyszers
1336
       this.dialogVisible = true
1402
       this.dialogVisible = true
1337
       this.isEdit = true
1403
       this.isEdit = true
1338
       if(row.dialysate_formulation==0){
1404
       if(row.dialysate_formulation==0){
1461
         if (response.data.state == 1) {
1527
         if (response.data.state == 1) {
1462
           this.tableData = response.data.data.solutions
1528
           this.tableData = response.data.data.solutions
1463
           this.total = response.data.data.total
1529
           this.total = response.data.data.total
1530
+
1531
+            this.stockType = response.data.data.stockType
1532
+            console.log("2333555555555",this.stockType)
1533
+            if(this.stockType.length >0 ){
1534
+               var arr = []
1535
+                var arrTwo = []
1536
+                for(let i=0;i<this.stockType.length;i++){
1537
+                  if(this.stockType[i].stock_attribute == 2){
1538
+                      arr.push(this.stockType[i])
1539
+                  }
1540
+                  if(this.stockType[i].stock_attribute == 3){
1541
+                      arrTwo.push(this.stockType[i])
1542
+                  }
1543
+                }
1544
+                var dialyzator = []
1545
+                var irrigation = []
1546
+                for(let i=0;i<arr.length;i++){
1547
+                  for(let j=0;j<arr[i].GoodInfo.length;j++){
1548
+                      dialyzator.push(arr[i].GoodInfo[j])
1549
+                  }
1550
+                }
1551
+                console.log("透析器",dialyzator)
1552
+                this.dialyzers = dialyzator
1553
+
1554
+                for(let i=0;i<arrTwo.length;i++){
1555
+                  for(let j=0;j<arrTwo[i].GoodInfo.length;j++){
1556
+                      irrigation.push(arrTwo[i].GoodInfo[j])
1557
+                  }
1558
+                }
1559
+                console.log("灌流器",irrigation)
1560
+                this.irrigations = irrigation
1561
+            }
1562
+
1464
         }
1563
         }
1465
       })
1564
       })
1466
     },
1565
     },
1688
     }
1787
     }
1689
 
1788
 
1690
     this.GetDeviceData()
1789
     this.GetDeviceData()
1691
-
1790
+    this.fetchAllAdminUsers()
1791
+    this.fetchPatientDialysisSolutions()
1692
     this.modeOptions = this.$store.getters.treatment_mode
1792
     this.modeOptions = this.$store.getters.treatment_mode
1693
     this.anticoagulantsSet = this.$store.getters.anticoagulants_set
1793
     this.anticoagulantsSet = this.$store.getters.anticoagulants_set
1694
     this.replacementWays = this.$store.getters.replacement_ways
1794
     this.replacementWays = this.$store.getters.replacement_ways
1714
 
1814
 
1715
     this.queryParams.id = this.patientID
1815
     this.queryParams.id = this.patientID
1716
     // this.fetchAllDoctorAndNurse();
1816
     // this.fetchAllDoctorAndNurse();
1717
-    this.fetchAllAdminUsers()
1718
-    this.fetchPatientDialysisSolutions()
1817
+
1719
   }
1818
   }
1720
 }
1819
 }
1721
 </script>
1820
 </script>

+ 3 - 2
src/xt_pages/workforce/components/nextTableWeeks.vue Zobrazit soubor

79
           }}
79
           }}
80
         </template>
80
         </template>
81
       </el-table-column>
81
       </el-table-column>
82
-      <el-table-column label="透析器" min-width="100" align="center">
82
+      <el-table-column label="透析器/灌流器" min-width="100" align="center">
83
         <template slot-scope="scope">
83
         <template slot-scope="scope">
84
           {{ scope.row.prescription.dialyzer_perfusion_apparatus }}
84
           {{ scope.row.prescription.dialyzer_perfusion_apparatus }}
85
+          {{scope.row.prescription.dialysis_dialyszers}} / {{scope.row.prescription.dialysis_irrigation}}
85
         </template>
86
         </template>
86
       </el-table-column>
87
       </el-table-column>
87
       <el-table-column label="抗凝剂" min-width="100" align="center">
88
       <el-table-column label="抗凝剂" min-width="100" align="center">
254
              scheduleData[i].sort = scheduleData[i].number.sort
255
              scheduleData[i].sort = scheduleData[i].number.sort
255
            }
256
            }
256
           var arr =   scheduleData.sort(this.compare('sort'))
257
           var arr =   scheduleData.sort(this.compare('sort'))
257
-          // console.log("元旦快乐",arr)
258
+           console.log("元旦快乐",arr)
258
           this.scheduleData = arr
259
           this.scheduleData = arr
259
         
260
         
260
          
261
          

+ 10 - 5
src/xt_pages/workforce/components/tableWeeks.vue Zobrazit soubor

25
           </li>
25
           </li>
26
         </ul>
26
         </ul>
27
       </div>
27
       </div>
28
-      
28
+
29
       <div  class="title"><span class="name">班 次</span> :</div>
29
       <div  class="title"><span class="name">班 次</span> :</div>
30
       <div class="time">
30
       <div class="time">
31
         <ul class>
31
         <ul class>
79
           }}
79
           }}
80
         </template>
80
         </template>
81
       </el-table-column>
81
       </el-table-column>
82
-      <el-table-column label="透析器" min-width="100" align="center">
82
+      <el-table-column label="透析器/灌流器" min-width="100" align="center">
83
         <template slot-scope="scope">
83
         <template slot-scope="scope">
84
           {{ scope.row.prescription.dialyzer_perfusion_apparatus }}
84
           {{ scope.row.prescription.dialyzer_perfusion_apparatus }}
85
+
86
+          {{scope.row.prescription.dialysis_dialyszers}}/{{scope.row.prescription.dialysis_irrigation}}
85
         </template>
87
         </template>
86
       </el-table-column>
88
       </el-table-column>
89
+
87
       <el-table-column label="抗凝剂" min-width="100" align="center">
90
       <el-table-column label="抗凝剂" min-width="100" align="center">
88
         <template slot-scope="scope">
91
         <template slot-scope="scope">
89
           <span v-if="scope.row.prescription.anticoagulant === 1">无肝素</span>
92
           <span v-if="scope.row.prescription.anticoagulant === 1">无肝素</span>
208
   },
211
   },
209
   watch: {
212
   watch: {
210
     weekTime: function() {
213
     weekTime: function() {
211
-     
214
+
212
       var theType = this.weekType(this.weekTime);
215
       var theType = this.weekType(this.weekTime);
213
       this.getSchedules(theType);
216
       this.getSchedules(theType);
214
     }
217
     }
232
           week_type:this.week_type,
235
           week_type:this.week_type,
233
           week_time:this.week_time,
236
           week_time:this.week_time,
234
         }
237
         }
235
-       
238
+
236
       getScheduleWeekDay(params).then(response => {
239
       getScheduleWeekDay(params).then(response => {
237
         this.scheduleData = [];
240
         this.scheduleData = [];
238
         if (response.data.state == 1) {
241
         if (response.data.state == 1) {
241
              scheduleData[i].sort = scheduleData[i].number.sort
244
              scheduleData[i].sort = scheduleData[i].number.sort
242
            }
245
            }
243
           var arr = scheduleData.sort(this.compare('sort'))
246
           var arr = scheduleData.sort(this.compare('sort'))
244
-          
247
+
248
+          var arr =   scheduleData.sort(this.compare('sort'))
249
+        //  console.log("元旦快乐",arr)
245
           this.scheduleData = arr
250
           this.scheduleData = arr
246
         } else {
251
         } else {
247
           this.$message.error("网络错误");
252
           this.$message.error("网络错误");

+ 2 - 2
src/xt_pages/workforce/next_remind_print.vue Zobrazit soubor

38
                   <td width="70">班次</td>
38
                   <td width="70">班次</td>
39
                   <td width="70">机号</td>
39
                   <td width="70">机号</td>
40
                   <td width="120">透析模式</td>
40
                   <td width="120">透析模式</td>
41
-                  <td width="100">透析器</td>
41
+                  <td width="100">透析器/灌流器</td>
42
                   <td width="120">抗凝剂</td>
42
                   <td width="120">抗凝剂</td>
43
                   <td width="100">总量</td>
43
                   <td width="100">总量</td>
44
                   <td width="300">长期医嘱</td>
44
                   <td width="300">长期医嘱</td>
60
                 </td>
60
                 </td>
61
                 <td :width="td_1_width">
61
                 <td :width="td_1_width">
62
                   {{main_collection.prescription.dialyzer_perfusion_apparatus}}
62
                   {{main_collection.prescription.dialyzer_perfusion_apparatus}}
63
-
63
+                  {{main_collection.prescription.dialysis_dialyszers}} / {{main_collection.prescription.dialysis_irrigation}}
64
 
64
 
65
                 </td>
65
                 </td>
66
                 <td :width="td_1_width">
66
                 <td :width="td_1_width">

+ 2 - 2
src/xt_pages/workforce/remind_print.vue Zobrazit soubor

38
                   <td width="70">班次</td>
38
                   <td width="70">班次</td>
39
                   <td width="70">机号</td>
39
                   <td width="70">机号</td>
40
                   <td width="120">透析模式</td>
40
                   <td width="120">透析模式</td>
41
-                  <td width="100">透析器</td>
41
+                  <td width="100">透析器/灌流器</td>
42
                   <td width="120">抗凝剂</td>
42
                   <td width="120">抗凝剂</td>
43
                   <td width="100">总量</td>
43
                   <td width="100">总量</td>
44
                   <td width="300">长期医嘱</td>
44
                   <td width="300">长期医嘱</td>
60
                 </td>
60
                 </td>
61
                 <td :width="td_1_width">
61
                 <td :width="td_1_width">
62
                   {{main_collection.prescription.dialyzer_perfusion_apparatus}}
62
                   {{main_collection.prescription.dialyzer_perfusion_apparatus}}
63
-
63
+                  {{main_collection.prescription.dialysis_dialyszers}} / {{main_collection.prescription.dialysis_irrigation}}
64
 
64
 
65
                 </td>
65
                 </td>
66
                 <td :width="td_1_width">
66
                 <td :width="td_1_width">