Bladeren bron

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

csx 4 jaren geleden
bovenliggende
commit
a8bd88d032
50 gewijzigde bestanden met toevoegingen van 3724 en 549 verwijderingen
  1. 2 2
      config/dev.env.js
  2. 2 2
      config/index.js
  3. 1 0
      src/api/config.js
  4. 8 0
      src/api/schedule.js
  5. 1 0
      src/api/stock.js
  6. 33 4
      src/xt_pages/data/components/addDrugs.vue
  7. 9 6
      src/xt_pages/data/components/consumables.vue
  8. 95 7
      src/xt_pages/data/prescription.vue
  9. 1 1
      src/xt_pages/data/showConfig.vue
  10. 16 6
      src/xt_pages/dialysis/PatientBox.vue
  11. 4 1
      src/xt_pages/dialysis/batch_print/batch_print_order_thirty.vue
  12. 1 1
      src/xt_pages/dialysis/components/allSummary.vue
  13. 5 1
      src/xt_pages/dialysis/components/allSummaryDialog.vue
  14. 44 11
      src/xt_pages/dialysis/components/consumablesDialog.vue
  15. 60 0
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  16. 10 0
      src/xt_pages/dialysis/details/NavIgation.vue
  17. 1 0
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  18. 100 317
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  19. 598 27
      src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue
  20. 8 6
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  21. 4 4
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  22. 15 19
      src/xt_pages/dialysis/details/doubleCheck.vue
  23. 24 14
      src/xt_pages/dialysis/details/index.vue
  24. 11 1
      src/xt_pages/dialysis/dialysisDoctorAdvice.vue
  25. 24 0
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  26. 5 1
      src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue
  27. 2139 0
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue
  28. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue
  29. 8 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue
  30. 2 1
      src/xt_pages/management/components/PlanForm.vue
  31. 8 1
      src/xt_pages/management/home.vue
  32. 1 0
      src/xt_pages/medicalScheduling/index.vue
  33. 29 4
      src/xt_pages/stock/Dialog/goodInfoDailog.vue
  34. 38 11
      src/xt_pages/stock/Dialog/goodTypeDialog.vue
  35. 11 3
      src/xt_pages/stock/Dialog/stockInDialog.vue
  36. 3 2
      src/xt_pages/stock/config/goodType.vue
  37. 18 18
      src/xt_pages/stock/detail/stockOutDetail.vue
  38. 1 1
      src/xt_pages/stock/index.vue
  39. 15 3
      src/xt_pages/stock/stockInOrderAdd.vue
  40. 26 0
      src/xt_pages/stock/stockOutOrderAdd.vue
  41. 3 1
      src/xt_pages/user/components/PatientForm.vue
  42. 7 2
      src/xt_pages/user/coursePrint.vue
  43. 117 18
      src/xt_pages/user/dialysisSolution.vue
  44. 6 1
      src/xt_pages/user/vascularAccess.vue
  45. 186 36
      src/xt_pages/workforce/appointment.vue
  46. 5 3
      src/xt_pages/workforce/components/nextTableWeeks.vue
  47. 1 1
      src/xt_pages/workforce/components/tableData.vue
  48. 11 5
      src/xt_pages/workforce/components/tableWeeks.vue
  49. 3 2
      src/xt_pages/workforce/next_remind_print.vue
  50. 3 2
      src/xt_pages/workforce/remind_print.vue

+ 2 - 2
config/dev.env.js Bestand weergeven

7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
   //BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
9
   //BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  // BASE_API: '"http://api.xt.test.sgjyun.com"',
11
-  BASE_API: '"http://localhost:9531"',
10
+  BASE_API: '"http://api.xt.test.sgjyun.com"',
11
+  // BASE_API: '"http://localhost:9531"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Bestand weergeven

29
 
29
 
30
      // host: 'xt.test.sgjyun.com',
30
      // host: 'xt.test.sgjyun.com',
31
     //  host: 'xt.kuyicloud.com',
31
     //  host: 'xt.kuyicloud.com',
32
-    // host: 'xt.test.sgjyun.com',
33
-    host: 'localhost',
32
+    host: 'xt.test.sgjyun.com',
33
+    // host: 'localhost',
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35
     autoOpenBrowser: true,
35
     autoOpenBrowser: true,
36
     errorOverlay: true,
36
     errorOverlay: true,

+ 1 - 0
src/api/config.js Bestand weergeven

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',

+ 8 - 0
src/api/schedule.js Bestand weergeven

142
     method:"get",
142
     method:"get",
143
     params:params
143
     params:params
144
   })
144
   })
145
+}
146
+
147
+export function copyPatientSchedule(params){
148
+  return request({
149
+    url:"/api/schedule/copypatientschedules",
150
+    method:"Get",
151
+    params:params
152
+  })
145
 }
153
 }

+ 1 - 0
src/api/stock.js Bestand weergeven

121
 }
121
 }
122
 
122
 
123
 export function createGoodInfo(params) {
123
 export function createGoodInfo(params) {
124
+  console.log("prams",params)
124
   return request({
125
   return request({
125
     url: '/api/stock/good/info/create',
126
     url: '/api/stock/good/info/create',
126
     method: 'post',
127
     method: 'post',

+ 33 - 4
src/xt_pages/data/components/addDrugs.vue Bestand weergeven

146
               <el-input v-model="form.medical_insurance_number" style="width:160px;" placeholder="" maxlength="30"></el-input>
146
               <el-input v-model="form.medical_insurance_number" style="width:160px;" placeholder="" maxlength="30"></el-input>
147
             </el-form-item>
147
             </el-form-item>
148
             <el-form-item label="生产厂商 : " prop="manufacturer" >
148
             <el-form-item label="生产厂商 : " prop="manufacturer" >
149
-              <el-select v-model="form.manufacturer" style="width:160px;" placeholder="请选择">
149
+              <!-- <el-select v-model="form.manufacturer" style="width:160px;" placeholder="请选择">
150
                 <el-option
150
                 <el-option
151
                   v-for="item,index in manufacturers"
151
                   v-for="item,index in manufacturers"
152
                   :key="index"
152
                   :key="index"
153
                   :label="item.manufacturer_name"
153
                   :label="item.manufacturer_name"
154
                   :value="item.id">
154
                   :value="item.id">
155
                 </el-option>
155
                 </el-option>
156
-              </el-select>
156
+              </el-select> -->
157
+
158
+            <el-select v-model="form.manufacturer" style="width:160px;" filterable placeholder="请选择">
159
+                  <el-option
160
+                    v-for="item in manufacturerList"
161
+                    :key="item.id"
162
+                    :label="item.manufacturer_name"
163
+                    :value="item.id">
164
+                  </el-option>
165
+            </el-select>
166
+
157
             </el-form-item>
167
             </el-form-item>
158
             <el-form-item label="药理分类 : " prop="pharmacology_category">
168
             <el-form-item label="药理分类 : " prop="pharmacology_category">
159
               <el-select v-model="form.pharmacology_category" style="width:160px;" placeholder="请选择">
169
               <el-select v-model="form.pharmacology_category" style="width:160px;" placeholder="请选择">
333
   import {
343
   import {
334
     getAdviceConfig,
344
     getAdviceConfig,
335
   } from '@/api/advice'
345
   } from '@/api/advice'
346
+ import { getManufacturerList } from "@/api/stock";
336
   export default {
347
   export default {
337
     data() {
348
     data() {
338
       return {
349
       return {
422
           drug_classify: [{ required: true, message: '请选择药物分类',trigger: 'change'  }],
433
           drug_classify: [{ required: true, message: '请选择药物分类',trigger: 'change'  }],
423
           drug_dose: [{ required: true, message: '请填写剂量',trigger: 'blur'  }],
434
           drug_dose: [{ required: true, message: '请填写剂量',trigger: 'blur'  }],
424
           manufacturer: [{ required: true, message: '请选择生产产商',trigger: 'change'  }]
435
           manufacturer: [{ required: true, message: '请选择生产产商',trigger: 'change'  }]
425
-        }
436
+        },
437
+        page:1,
438
+        limit:500,
439
+        manufacturerList:[]
426
       }
440
       }
427
     },
441
     },
428
     props: {
442
     props: {
440
         type: Number,
454
         type: Number,
441
         default: 1
455
         default: 1
442
       }
456
       }
443
-
457
+      
444
     },
458
     },
445
     methods: {
459
     methods: {
446
       cancle: function(formName) {
460
       cancle: function(formName) {
574
 
588
 
575
         return form
589
         return form
576
       },
590
       },
591
+      getlist(){
592
+         var params = {
593
+             page:this.page,
594
+             limit:this.limit
595
+          }
596
+          console.log("params2222222",params)
597
+        getManufacturerList(params).then(response=>{
598
+           var manufacturerList =   response.data.data.manufacturer
599
+           console.log("列表2222222",manufacturerList)
600
+           this.manufacturerList = manufacturerList
601
+        })
602
+      }
577
     }, watch: {
603
     }, watch: {
578
       visible(val) {
604
       visible(val) {
579
         // this.form = this.formValue
605
         // this.form = this.formValue
580
 
606
 
581
       }
607
       }
608
+    },
609
+    created(){
610
+      this.getlist()
582
     }
611
     }
583
   }
612
   }
584
 </script>
613
 </script>

+ 9 - 6
src/xt_pages/data/components/consumables.vue Bestand weergeven

286
               this.goodInfo.goodInfoDialog.formValue.good_unit =
286
               this.goodInfo.goodInfoDialog.formValue.good_unit =
287
                 response.data.data.goodInfo.good_unit
287
                 response.data.data.goodInfo.good_unit
288
             }
288
             }
289
-
289
+           
290
             if (response.data.data.goodInfo.manufacturer <= 0) {
290
             if (response.data.data.goodInfo.manufacturer <= 0) {
291
               this.goodInfo.goodInfoDialog.formValue.manufacturer = ''
291
               this.goodInfo.goodInfoDialog.formValue.manufacturer = ''
292
             } else {
292
             } else {
293
-              this.goodInfo.goodInfoDialog.formValue.manufacturer =
294
-                response.data.data.goodInfo.manufacturer
293
+              this.goodInfo.goodInfoDialog.formValue.manufacturer = response.data.data.goodInfo.manufacturer
294
+             
295
             }
295
             }
296
 
296
 
297
             if (response.data.data.goodInfo.dealer <= 0) {
297
             if (response.data.data.goodInfo.dealer <= 0) {
500
           good_kind:this.good_kind,
500
           good_kind:this.good_kind,
501
           is_charge: this.is_charge,
501
           is_charge: this.is_charge,
502
         }
502
         }
503
+        console.log("222222",params)
503
         getGoodInfoList(params).then(response => {
504
         getGoodInfoList(params).then(response => {
504
           if (response.data.state == 0) {
505
           if (response.data.state == 0) {
505
             this.goodInfo.loading = false
506
             this.goodInfo.loading = false
550
 
551
 
551
           modifyGoodInfo(val).then(response => {
552
           modifyGoodInfo(val).then(response => {
552
             if (response.data.state == 0) {
553
             if (response.data.state == 0) {
553
-              this.$message.error(response.data.msg)
554
+              // this.$message.error(response.data.msg)
555
+              this.$message.error("同一耗材类型同一规格名称不能重复录入!")
554
               return false
556
               return false
555
             } else {
557
             } else {
556
               this.$refs.addConsumable.hide()
558
               this.$refs.addConsumable.hide()
581
           //新增
583
           //新增
582
           createGoodInfo(val).then(response => {
584
           createGoodInfo(val).then(response => {
583
             if (response.data.state == 0) {
585
             if (response.data.state == 0) {
584
-              this.$message.error(response.data.msg)
585
-              return false
586
+              // this.$message.error(response.data.msg)
587
+              // return false
588
+              this.$message.error("同一耗材类型同一规格名称不能重复录入!")
586
             } else {
589
             } else {
587
               this.$refs.addConsumable.hide()
590
               this.$refs.addConsumable.hide()
588
               this.getList()
591
               this.getList()

+ 95 - 7
src/xt_pages/data/prescription.vue Bestand weergeven

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" v-if="this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 3877">
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" v-if="this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 3877">
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) {
1088
     )
1175
     )
1089
     this.getAllSystemPrescription();
1176
     this.getAllSystemPrescription();
1090
     this.getSystemPrescription(this.addPlan.mode);
1177
     this.getSystemPrescription(this.addPlan.mode);
1091
-
1178
+    
1179
+   
1092
   },
1180
   },
1093
   watch: {
1181
   watch: {
1094
     "addPlan.dialysis_duration": function() {
1182
     "addPlan.dialysis_duration": function() {

+ 1 - 1
src/xt_pages/data/showConfig.vue Bestand weergeven

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:

+ 16 - 6
src/xt_pages/dialysis/PatientBox.vue Bestand weergeven

57
         <p>目标超滤量:{{ schedule.prescription ? schedule.prescription.target_ultrafiltration : '' }}
57
         <p>目标超滤量:{{ schedule.prescription ? schedule.prescription.target_ultrafiltration : '' }}
58
        
58
        
59
         </p>
59
         </p>
60
-        <p :title="schedule.prescription ? schedule.prescription.dialyzer_perfusion_apparatus : ''">透析器/灌流器:{{ schedule.prescription ? schedule.prescription.dialyzer_perfusion_apparatus : '' }}</p>
60
+        <p :title="schedule.prescription ? schedule.prescription.dialyzer_perfusion_apparatus : ''">
61
+          透析器/灌流器:{{ schedule.prescription ? schedule.prescription.dialyzer_perfusion_apparatus : '' }}
62
+           <span v-if="schedule.prescription!=null">{{schedule.prescription?schedule.prescription.dialysis_dialyszers:''}}</span>
63
+           <span v-if="schedule.prescription!=null && schedule.prescription.dialysis_irrigation!=''">/</span>
64
+           <span v-if="schedule.prescription!=null">{{schedule.prescription?schedule.prescription.dialysis_irrigation:''}}</span>
65
+        </p>
61
       </div>
66
       </div>
62
       <div class="function" :class="functionColor(schedule)" :id="modeColor(schedule.mode_id)">
67
       <div class="function" :class="functionColor(schedule)" :id="modeColor(schedule.mode_id)">
63
         <ul>
68
         <ul>
115
       :dry_weight="lastDryWeightDislysis"
120
       :dry_weight="lastDryWeightDislysis"
116
       :schedual="temp_schedual"
121
       :schedual="temp_schedual"
117
       :date='date'
122
       :date='date'
123
+      :stockType="stockType"
118
     ></dialysis-prescription-dialog>
124
     ></dialysis-prescription-dialog>
119
     <treatment-summary-dialog
125
     <treatment-summary-dialog
120
       title="治疗小结"
126
       title="治疗小结"
225
       temp_schedual: null,
231
       temp_schedual: null,
226
       date:'',
232
       date:'',
227
       modedata:0,
233
       modedata:0,
234
+      stockType:"",
228
     };
235
     };
229
   },
236
   },
230
   props: {
237
   props: {
391
         var resp = rs.data;
398
         var resp = rs.data;
392
         if (resp.state == 1) {
399
         if (resp.state == 1) {
393
           var patient = resp.data.patient; // 患者信息
400
           var patient = resp.data.patient; // 患者信息
394
-          console.log("患者信息",patient)
401
+         
395
           var schedual = resp.data.schedual; // 患者排班信息
402
           var schedual = resp.data.schedual; // 患者排班信息
396
           var prescription = resp.data.prescription; // 透析处方
403
           var prescription = resp.data.prescription; // 透析处方
397
           if(prescription!=null){
404
           if(prescription!=null){
411
              }
418
              }
412
            }
419
            }
413
           var doctor_advices = resp.data.doctor_advices; // 临时医嘱
420
           var doctor_advices = resp.data.doctor_advices; // 临时医嘱
414
-          //console.log("力气-------", doctor_advices);
421
+          
415
           var double_check = resp.data.double_check; // 双人核对
422
           var double_check = resp.data.double_check; // 双人核对
416
           var assessment_after_dislysis = resp.data.assessment_after_dislysis; // 透后评估
423
           var assessment_after_dislysis = resp.data.assessment_after_dislysis; // 透后评估
417
-          //console.log("透后品谷数", assessment_after_dislysis);
424
+        
418
           var treatment_summary = resp.data.treatment_summary; // 治疗小结
425
           var treatment_summary = resp.data.treatment_summary; // 治疗小结
419
           var monitor_records = resp.data.monitor_records; // 透析监测
426
           var monitor_records = resp.data.monitor_records; // 透析监测
420
           var dialysis_order = resp.data.dialysis_order; // 透析记录
427
           var dialysis_order = resp.data.dialysis_order; // 透析记录
447
           var lastDryWeightDislysis = resp.data.lastDryWeightDislysis;
454
           var lastDryWeightDislysis = resp.data.lastDryWeightDislysis;
448
 
455
 
449
           var system_prescribe = resp.data.system_prescribe;
456
           var system_prescribe = resp.data.system_prescribe;
450
-
457
+          
458
+          var stockType =  resp.data.stockType
459
+          this.stockType = stockType
460
+          console.log("元单快乐222222",this.stockType)
451
           
461
           
452
           this.$refs.prescription.setLastRecord(
462
           this.$refs.prescription.setLastRecord(
453
             schedual,
463
             schedual,
601
       this.$emit("advice");
611
       this.$emit("advice");
602
     },
612
     },
603
     open(schedual){
613
     open(schedual){
604
-      console.log("中国2222222",this)
614
+     
605
      
615
      
606
       this.date = schedual.schedule_date
616
       this.date = schedual.schedule_date
607
       this.patient_id = schedual.patient_id
617
       this.patient_id = schedual.patient_id

+ 4 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_thirty.vue Bestand weergeven

52
                             <td width="10"></td>
52
                             <td width="10"></td>
53
                             <td width="50">性 别:</td>
53
                             <td width="50">性 别:</td>
54
                             <td width="60">
54
                             <td width="60">
55
-                                <div class="under-line">{{ record.patient.gender ? "男" : "女" }}</div>
55
+                                <div class="under-line">
56
+                                  <span v-if=" record.patient.gender == 1">男</span>
57
+                                  <span v-if=" record.patient.gender == 2">女</span>
58
+                                </div>
56
                             </td>
59
                             </td>
57
                             <td width="10"></td>
60
                             <td width="10"></td>
58
                             <td width="50">年 龄:</td>
61
                             <td width="50">年 龄:</td>

+ 1 - 1
src/xt_pages/dialysis/components/allSummary.vue Bestand weergeven

239
           this.getlist()
239
           this.getlist()
240
           this.getAllMaterial()
240
           this.getAllMaterial()
241
         },
241
         },
242
-           search(){
242
+          search(){
243
           //  if(this.selected_date==""){
243
           //  if(this.selected_date==""){
244
           //     this.start_time = moment(new Date()).add('year',0).format("YYYY-MM-DD")
244
           //     this.start_time = moment(new Date()).add('year',0).format("YYYY-MM-DD")
245
           //   }
245
           //   }

+ 5 - 1
src/xt_pages/dialysis/components/allSummaryDialog.vue Bestand weergeven

66
 const moment = require('moment')
66
 const moment = require('moment')
67
 import { parseTime } from "@/utils";
67
 import { parseTime } from "@/utils";
68
 import {getGatherList} from "@/api/consumable"
68
 import {getGatherList} from "@/api/consumable"
69
+
69
 export default {
70
 export default {
70
     data(){
71
     data(){
71
         return{
72
         return{
83
             partitionType: 0,
84
             partitionType: 0,
84
             tableData: [],
85
             tableData: [],
85
             start_time:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
86
             start_time:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
86
-            end_time:moment(new Date()).add('year',0).format("YYYY-MM-DD")
87
+            end_time:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
88
+            stockTotal:[]
87
         }
89
         }
88
     },
90
     },
89
     created(){
91
     created(){
141
             }
143
             }
142
           })
144
           })
143
         }
145
         }
146
+
147
+      
144
     }
148
     }
145
 }
149
 }
146
 </script>
150
 </script>

+ 44 - 11
src/xt_pages/dialysis/components/consumablesDialog.vue Bestand weergeven

20
         placeholder="选择日期"
20
         placeholder="选择日期"
21
         @change="selectEndtime">
21
         @change="selectEndtime">
22
       </el-date-picker>
22
       </el-date-picker>
23
-      <el-button icon="el-icon-printer" type="primary" @click="toPrint">打印</el-button>
23
+      <!-- <el-button icon="el-icon-printer" type="primary" @click="toPrint">打印</el-button> -->
24
 
24
 
25
     </div>
25
     </div>
26
     <div style="margin-top:10px;">
26
     <div style="margin-top:10px;">
27
       <el-table :data="tableData" border style="width: 100%" height="300px">
27
       <el-table :data="tableData" border style="width: 100%" height="300px">
28
-        <el-table-column align="center" prop="date" label="商品类型" width="180">
28
+        <el-table-column align="center" prop="date" label="耗材类型" width="180">
29
           <template slot-scope="scope">
29
           <template slot-scope="scope">
30
-            {{scope.row.good_type_name}}
30
+            {{scope.row.good_name}}
31
           </template>
31
           </template>
32
         </el-table-column>
32
         </el-table-column>
33
         <el-table-column align="center" prop="name" label="规格名称" width="180">
33
         <el-table-column align="center" prop="name" label="规格名称" width="180">
34
           <template slot-scope="scope">
34
           <template slot-scope="scope">
35
-            {{scope.row.good_name}}
35
+            {{scope.row.specification_name}}
36
           </template>
36
           </template>
37
         </el-table-column>
37
         </el-table-column>
38
         <el-table-column align="center" prop="address" label="数量">
38
         <el-table-column align="center" prop="address" label="数量">
39
           <template slot-scope="scope">
39
           <template slot-scope="scope">
40
-            {{scope.row.count}}
40
+            {{getStockCount(scope.row.id)}}
41
           </template>
41
           </template>
42
         </el-table-column>
42
         </el-table-column>
43
       </el-table>
43
       </el-table>
50
   const moment = require('moment')
50
   const moment = require('moment')
51
   import { GetDialysisGoodStatistics } from '@/api/dialysis'
51
   import { GetDialysisGoodStatistics } from '@/api/dialysis'
52
   import { parseTime } from '@/utils'
52
   import { parseTime } from '@/utils'
53
-
53
+  import { getPrintStockGood } from '@/api/stock'
54
   export default {
54
   export default {
55
     props: {
55
     props: {
56
       list: Array
56
       list: Array
62
           end_time:moment(new Date()).add('year', 0).format('YYYY-MM-DD')
62
           end_time:moment(new Date()).add('year', 0).format('YYYY-MM-DD')
63
         },
63
         },
64
         visible: false,
64
         visible: false,
65
-        startTime: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
65
+        // startTime: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
66
+        startTime:moment().startOf('month').format("YYYY-MM-DD"),
66
         endTime: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
67
         endTime: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
67
         schedulArr: [
68
         schedulArr: [
68
           { value: 0, label: '全部班' },
69
           { value: 0, label: '全部班' },
76
         partitionType: 0,
77
         partitionType: 0,
77
         tableData: [],
78
         tableData: [],
78
         start_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
79
         start_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
79
-        end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD')
80
+        end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
81
+        stockTotal:[]
80
       }
82
       }
81
     },
83
     },
82
     created() {
84
     created() {
119
         done()
121
         done()
120
       },
122
       },
121
       show() {
123
       show() {
122
-        this.GetDialysisGoodStatistics()
123
-
124
+        // this.GetDialysisGoodStatistics()
125
+        this.getlist()
124
         this.visible = true
126
         this.visible = true
125
       },
127
       },
126
 
128
 
136
         this.GetDialysisGoodStatistics()
138
         this.GetDialysisGoodStatistics()
137
 
139
 
138
       },
140
       },
141
+       getlist(){
142
+          var params = {
143
+            start_time:this.startTime,
144
+            end_time:this.endTime,
145
+            type:3
146
+          }
147
+          console.log("param2222222",params)
148
+          getPrintStockGood(params).then(response=>{
149
+            var stockTotal = response.data.data.stockTotal
150
+            console.log("stocktOTl",stockTotal)
151
+            this.stockTotal = stockTotal
152
+            for (let i = 0; i < response.data.data.list.length; i++) {
153
+               if (response.data.data.list[i].query_warehouseout_info.length > 0) {
154
+                  this.tableData.push(response.data.data.list[i])
155
+               }
156
+             }
157
+             console.log("表哥22222222222",this.tableData) 
158
+          })
159
+       },
160
+
139
       toPrint() {
161
       toPrint() {
140
         this.$router.push('/dialysis/consumables_print?startime=' + this.start_time + '&endtime=' + this.end_time)
162
         this.$router.push('/dialysis/consumables_print?startime=' + this.start_time + '&endtime=' + this.end_time)
141
-      }
163
+      },
164
+      getStockCount(id){
165
+       
166
+       var count = ""
167
+       for(let i=0;i<this.stockTotal.length;i++){
168
+          if(id == this.stockTotal[i].good_id){
169
+             count = this.stockTotal[i].count
170
+          }
171
+       }
172
+       return count
173
+     }
174
+    
142
 
175
 
143
     }
176
     }
144
   }
177
   }

+ 60 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue Bestand weergeven

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
+                 if(this.preparestock[j].commdity_code!=""){
523
+                   arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
524
+                 }
525
+              }
526
+           }
527
+         }
528
+      }
529
+      console.log("arr00000",arr)
530
+      var strs = arr.join(',')
531
+      console.log("strs",strs)
532
+      return strs
533
+    },
534
+    dialysis_irrigation:function(){
535
+        var str = this.getValueStr('dialysis_irrigation','dialysis_irrigation')
536
+       console.log("str",str)
537
+      var arr = str.split(",")
538
+
539
+      if (arr.length >0) {
540
+         for(let i=0;i<arr.length;i++){
541
+           for(let j=0;j<this.preparestock.length;j++){
542
+              if(arr[i] == this.preparestock[j].specification_name){
543
+                if(this.preparestock[j].commdity_code!=""){
544
+                  arr[i] = arr[i]+"("+this.preparestock[j].commdity_code+")"
545
+                } 
546
+              }
547
+           }
548
+         }
549
+      }
550
+      console.log("arr00000",arr)
551
+      var strs = arr.join(',')
552
+      console.log("strs",strs)
553
+      return strs
554
+      // return this.getValueStr('dialysis_irrigation','dialysis_irrigation')
555
+    },
497
     body_fluid: function() {
556
     body_fluid: function() {
498
       var id = this.getValueStr('body_fluid', 'body_fluid')
557
       var id = this.getValueStr('body_fluid', 'body_fluid')
499
       if (id == 0) {
558
       if (id == 0) {
572
     }
631
     }
573
   },
632
   },
574
   created() {
633
   created() {
634
+
575
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
635
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
576
     var map = {}
636
     var map = {}
577
     for (let index = 0; index < perfusion_apparatus.length; index++) {
637
     for (let index = 0; index < perfusion_apparatus.length; index++) {

+ 10 - 0
src/xt_pages/dialysis/details/NavIgation.vue Bestand weergeven

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
 
95
       title="双人核对"
96
       title="双人核对"
96
       ref="doubleCheck"
97
       ref="doubleCheck"
97
       :patient="patient"
98
       :patient="patient"
99
+      :predialysis_evaluation="predialysis_evaluation"
100
+      :prescription="prescription"
98
       :double_check="double_check"
101
       :double_check="double_check"
99
       :admin_users="admin_users"
102
       :admin_users="admin_users"
103
+
100
     ></double-check-dialog>
104
     ></double-check-dialog>
101
 
105
 
102
     <accepts-treatment-dialog
106
     <accepts-treatment-dialog
509
         return [];
513
         return [];
510
       }
514
       }
511
     },
515
     },
516
+    stockType:{
517
+      type:Array,
518
+      default:()=>{
519
+        return [];
520
+      }
521
+    },
512
     lastAssessment:{
522
     lastAssessment:{
513
      // 最后一条血管通路(处理今天录的)
523
      // 最后一条血管通路(处理今天录的)
514
      type: Object,
524
      type: Object,

+ 1 - 0
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Bestand weergeven

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')

+ 100 - 317
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Bestand weergeven

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 {
1943
 
1697
 
1944
 
1698
 
1945
           //获取最后一次血管通路
1699
           //获取最后一次血管通路
1946
-         if(this.predialysis!=null){
1947
-            if(this.lastAssessment!=null){
1948
-              var blood_id = 0
1949
-              for(let i= 0;i<this.blood_access_option.length;i++){
1950
-                  if(this.lastAssessment.blood_access_part_opera_id == this.blood_access_option[i].name){
1951
-                    blood_id = this.blood_access_option[i].id
1952
-                  }
1953
-              }
1954
-               console.log("中国人名职员",this.lastAssessment)
1955
-               this.dialysisPrescription.blood_access = blood_id
1956
-            }else{
1957
-              if(this.last_prescription!=null){
1958
-                  var blood_id = 0
1959
-                  for(let i= 0;i<this.blood_access_option.length;i++){
1960
-                      if(this.last_prescription.blood_access_part_opera_id == this.blood_access_option[i].name){
1961
-                        blood_id = this.blood_access_option[i].id
1962
-                      }
1963
-                  }   
1964
-                   this.dialysisPrescription.blood_access = blood_id
1965
-              }
1966
-            }
1967
-           
1968
-         }
1700
+        //  if(this.predialysis!=null){
1701
+        //     if(this.lastAssessment!=null){
1702
+        //       var blood_id = 0
1703
+        //       for(let i= 0;i<this.blood_access_option.length;i++){
1704
+        //           if(this.lastAssessment.blood_access_part_opera_id == this.blood_access_option[i].name){
1705
+        //             blood_id = this.blood_access_option[i].id
1706
+        //           }
1707
+        //       }
1708
+        //        console.log("中国人名职员",this.lastAssessment)
1709
+        //        this.dialysisPrescription.blood_access = blood_id
1710
+        //     }else{
1711
+        //       if(this.last_prescription!=null){
1712
+        //           var blood_id = 0
1713
+        //           for(let i= 0;i<this.blood_access_option.length;i++){
1714
+        //               if(this.last_prescription.blood_access_part_opera_id == this.blood_access_option[i].name){
1715
+        //                 blood_id = this.blood_access_option[i].id
1716
+        //               }
1717
+        //           }
1718
+        //            this.dialysisPrescription.blood_access = blood_id
1719
+        //       }
1720
+        //     }
1721
+
1722
+        //  }
1969
 
1723
 
1970
         if (weight_before > 0 && last_weight_after > 0) {
1724
         if (weight_before > 0 && last_weight_after > 0) {
1971
           this.add_weight = parseFloat(weight_before - last_weight_after).toFixed(
1725
           this.add_weight = parseFloat(weight_before - last_weight_after).toFixed(
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(){
3496
+        console.log("stockType",this.stockType)
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
3741
 
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
+        console.log("透析器",this.dialyzers)
3523
+        console.log("灌流器",this.irrigations)
3524
+      }
3742
     }
3525
     }
3743
   }
3526
   }
3744
 </script>
3527
 </script>

+ 598 - 27
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue Bestand weergeven

4
              :modal-append-to-body="false"
4
              :modal-append-to-body="false"
5
              width="854px">
5
              width="854px">
6
 
6
 
7
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
7
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
8
+      
8
       <el-form-item label="透析物品核查 : ">
9
       <el-form-item label="透析物品核查 : ">
9
-        <el-radio v-model="doubleReview.dialysis_item_check" label="1">正确</el-radio>
10
-        <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio>
10
+        <el-radio v-model="doubleReview.dialysis_item_check" label="1" @change="changeRadio">正确</el-radio>
11
+        <!-- <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio> -->
11
       </el-form-item>
12
       </el-form-item>
12
-      <el-form-item label="差错描述 : " label-width="80px">
13
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
13
         <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
14
         <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
14
       </el-form-item>
15
       </el-form-item>
15
     </el-form>
16
     </el-form>
16
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
17
+   
18
+   <el-form :inline="true" class="demo-form-inline newCheckBox" :model="doubleReview" label-width="110px">
19
+       <el-checkbox-group v-model="checkList" @change="changeBox">
20
+          <el-checkbox :label="diazes"></el-checkbox>
21
+          <el-checkbox :label="puncture_needle"></el-checkbox>
22
+          <el-checkbox :label="dialysate_formulation"></el-checkbox>
23
+          <el-checkbox :label="kalium"></el-checkbox>
24
+          <el-checkbox :label="calcium"></el-checkbox>
25
+       </el-checkbox-group>
26
+    </el-form>
27
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
17
       <el-form-item label="透析参数核查 : ">
28
       <el-form-item label="透析参数核查 : ">
18
-        <el-radio v-model="doubleReview.dialysis_parameter_check" label="1">正确</el-radio>
19
-        <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio>
29
+        <el-radio v-model="doubleReview.dialysis_parameter_check" label="1" @change="changeRadioTwo">正确</el-radio>
30
+        <!-- <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio> -->
20
       </el-form-item>
31
       </el-form-item>
21
-      <el-form-item label="差错描述 : " label-width="80px">
32
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
22
         <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
33
         <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
23
       </el-form-item>
34
       </el-form-item>
24
     </el-form>
35
     </el-form>
25
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
36
+    <el-form class="newCheckBox">
37
+     <el-checkbox-group v-model="checkListOne" @change="changeBoxOne" >
38
+        <el-checkbox :label="dialys_mode"></el-checkbox>
39
+        <el-checkbox :label="long_time"></el-checkbox>
40
+        <el-checkbox :label="target_ultrafiltration"></el-checkbox>
41
+        <el-checkbox :label="anticoagulant" ></el-checkbox>
42
+        <el-checkbox :label="anticoagulant_shouji"></el-checkbox>
43
+        <el-checkbox :label="anticoagulant_weichi"></el-checkbox>
44
+        <el-checkbox :label="anticoagulant_zongliang"></el-checkbox>
45
+        <el-checkbox :label="displace_liqui_part"></el-checkbox>
46
+        <el-checkbox :label="replacement_total"></el-checkbox>
47
+        <el-checkbox :label="blood_flow_volume"></el-checkbox>
48
+        <el-checkbox :label="dialysate_flow"></el-checkbox>
49
+     </el-checkbox-group>
50
+    </el-form>
51
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
26
       <el-form-item label="血管通路核查 : ">
52
       <el-form-item label="血管通路核查 : ">
27
 
53
 
28
-        <el-radio v-model="doubleReview.vascular_access_verification" label="1">正确</el-radio>
29
-        <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio>
54
+        <el-radio v-model="doubleReview.vascular_access_verification" label="1" @change="changeRadioThree">正确</el-radio>
55
+        <!-- <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio> -->
30
 
56
 
31
       </el-form-item>
57
       </el-form-item>
32
-      <el-form-item label="差错描述 : " label-width="80px">
58
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
33
         <el-input v-model="doubleReview.vascular_access_desc"></el-input>
59
         <el-input v-model="doubleReview.vascular_access_desc"></el-input>
34
       </el-form-item>
60
       </el-form-item>
35
     </el-form>
61
     </el-form>
36
-    <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="110px">
62
+    <el-form class="newCheckBox">
63
+       <el-checkbox-group v-model="checkListTwo" @change="changeBoxTwo">
64
+        <el-checkbox :label="blood_access_part_opera_id">
65
+
66
+        </el-checkbox>
67
+        <el-checkbox label="动静脉接错"></el-checkbox>
68
+        <el-checkbox label="渗血"></el-checkbox>
69
+        <el-checkbox label="压迫" ></el-checkbox>
70
+        <el-checkbox label="折叠"></el-checkbox>
71
+        <el-checkbox label="滑脱"></el-checkbox>
72
+     </el-checkbox-group>
73
+    </el-form>
74
+    <el-form :inline="true" class="demo-form-inline newInline" :model="doubleReview" label-width="105px">
37
       <el-form-item label="管道连接核查 : ">
75
       <el-form-item label="管道连接核查 : ">
38
-        <el-radio v-model="doubleReview.pipeline_connection_check" label="1">正确</el-radio>
39
-        <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio>
76
+        <el-radio v-model="doubleReview.pipeline_connection_check" label="1" @change="changeRadioFour">正确</el-radio>
77
+        <!-- <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio> -->
40
       </el-form-item>
78
       </el-form-item>
41
-      <el-form-item label="差错描述 : " label-width="80px">
79
+      <el-form-item class="newItem" label="差错描述 : " label-width="90px">
42
         <el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
80
         <el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
43
       </el-form-item>
81
       </el-form-item>
44
     </el-form>
82
     </el-form>
45
-
83
+    <el-form class="newCheckBox">
84
+      <el-checkbox-group v-model="checkListThree" @change="changeBoxThree">
85
+        <el-checkbox label="泵前补液测管未夹"></el-checkbox>
86
+        <el-checkbox label="肝素管夹未开启"></el-checkbox>
87
+        <el-checkbox label="透析器连接错误"></el-checkbox>
88
+        <el-checkbox label="动静脉壶页面不标准" ></el-checkbox>
89
+        <el-checkbox label="静脉管路未卡入保护夹"></el-checkbox>
90
+        <el-checkbox label="压力传感器夹未打开"></el-checkbox>
91
+        <el-checkbox label="接口连接松动"></el-checkbox>
92
+        <el-checkbox label="管路打折"></el-checkbox>
93
+     </el-checkbox-group>
94
+    </el-form>
46
     <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="120px">
95
     <el-form :inline="true" class="demo-form-inline" :model="doubleReview" label-width="120px">
47
       <el-form-item label="第一核对时间:">
96
       <el-form-item label="第一核对时间:">
48
         <el-time-picker
97
         <el-time-picker
99
   import { postDoubleCheck } from '@/api/dialysis'
148
   import { postDoubleCheck } from '@/api/dialysis'
100
   import { uParseTime } from '@/utils/tools'
149
   import { uParseTime } from '@/utils/tools'
101
   import { parseTime } from '@/utils'
150
   import { parseTime } from '@/utils'
102
-
151
+  import { getDataConfig } from '@/utils/data'
103
   export default {
152
   export default {
104
     name: 'doubleCheckDialog',
153
     name: 'doubleCheckDialog',
105
     data() {
154
     data() {
128
           check_time: 0,
177
           check_time: 0,
129
           first_check_time: 0
178
           first_check_time: 0
130
         },
179
         },
131
-
132
-        record_date: ''
180
+        dialysate_formulation_options:[],
181
+        record_date: '',
182
+        checkList: [],
183
+        checkListOne:[],
184
+        checkListTwo:[],
185
+        checkListThree:[],
186
+        diazes:"透析器/灌流器:",
187
+        puncture_needle:"穿刺针:",
188
+        dialysate_formulation:"透析液配方:",
189
+        kalium:"钾:",
190
+        calcium:"钙:",
191
+        dialys_mode:"透析模式:",
192
+        long_time:"透析时长:",
193
+        target_ultrafiltration:"目标超滤量:",
194
+        anticoagulant:"抗凝剂:",
195
+        anticoagulant_shouji:"首剂:",
196
+        anticoagulant_weichi:"维持:",
197
+        anticoagulant_zongliang:"总量:",
198
+        displace_liqui_part:"置换液:",
199
+        replacement_total:"置换总量:",
200
+        blood_flow_volume:"处方血流量:",
201
+        dialysate_flow:"透析液流量:",
202
+        blood_access_part_opera_id:"通路类型:"
133
       }
203
       }
134
     }, methods: {
204
     }, methods: {
135
       show() {
205
       show() {
187
       handleCancle: function() {
257
       handleCancle: function() {
188
         this.isVisibility = false
258
         this.isVisibility = false
189
 
259
 
190
-      }, handleComfirm: function() {
260
+      }, 
261
+      handleComfirm: function() {
191
 
262
 
192
         if (this.patient.id <= 0) {
263
         if (this.patient.id <= 0) {
193
           this.$message.error('没有选择患者')
264
           this.$message.error('没有选择患者')
259
             // }
330
             // }
260
 
331
 
261
             let doublecheck_resp = response.data.data.doubleCheck
332
             let doublecheck_resp = response.data.data.doubleCheck
333
+         
262
             var doubleCheck = this.double_check
334
             var doubleCheck = this.double_check
263
             for (var index in doublecheck_resp) {
335
             for (var index in doublecheck_resp) {
264
               // doubleCheck[index] = doublecheck_resp[index];
336
               // doubleCheck[index] = doublecheck_resp[index];
464
           }
536
           }
465
         }
537
         }
466
       },
538
       },
539
+      changeBox(val){
540
+         
541
+         var arr = []
542
+         var str = val.join(';')
543
+         console.log("strw222222222",str)
544
+        if(str.indexOf('透析器/灌流器')!=-1 && this.prescription!=null){
545
+            arr.push("透析器/灌流器:"+(this.prescription.dialyzer_perfusion_apparatus?this.prescription.dialyzer_perfusion_apparatus:""))
546
+        }
547
+
548
+       if(str.indexOf('透析器/灌流器')!=-1 && this.prescription==null){
549
+            arr.push("透析器/灌流器:")
550
+        }
551
+       
552
+        if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id!=0){
553
+           arr.push("穿刺针:"+this.predialysis_evaluation.puncture_needle)
554
+        }
555
+
556
+         if(str.indexOf('穿刺针')!=-1 && this.predialysis_evaluation.id==0){
557
+           arr.push("穿刺针:")
558
+        }
559
+        
560
+        if(str.indexOf('透析液配方')!=-1 && this.prescription!=null){
561
+           arr.push("透析液配方:"+this.GetDialysateFormulationById(this.prescription.dialysate_formulation))
562
+        }
563
+
564
+       if(str.indexOf('透析液配方')!=-1 && this.prescription==null){
565
+           arr.push("透析液配方:")
566
+        }
567
+        if(str.indexOf('钾')!=-1 && this.prescription!=null ){
568
+          arr.push("钾:"+(this.prescription.kalium?this.prescription.kalium:""))
569
+        }
570
+        if(str.indexOf('钾')!=-1 && this.prescription==null ){
571
+          arr.push("钾:")
572
+        }
573
+        if(str.indexOf('钙')!=-1 && this.prescription!=null ){
574
+          arr.push("钙:"+(this.prescription.calcium?this.prescription.calcium:""))
575
+        }
576
+        if(str.indexOf('钙')!=-1 && this.prescription==null ){
577
+          arr.push("钙:")
578
+        }
579
+        console.log("arr",arr)
580
+        this.doubleReview.dialysis_item_desc = arr.join(";")
581
+        if(val.length > 0){
582
+          this.doubleReview.dialysis_item_check = 2
583
+        }else{
584
+          this.doubleReview.dialysis_item_check = "1"
585
+        }
586
+      },
587
+      changeBoxOne(val){
588
+         var arr = []
589
+         var str = val.join(';')
590
+         console.log("strw222222222",str)
591
+        if(str.indexOf('透析模式')!=-1 && this.prescription!=null){
592
+            arr.push("透析模式:"+(this.getMode(this.prescription.mode_id)?this.getMode(this.prescription.mode_id):""))
593
+        }
594
+         if(str.indexOf('透析模式')!=-1 && this.prescription==null){
595
+            arr.push("透析模式:")
596
+         } 
597
+
598
+         if(str.indexOf('透析时长')!=-1 && this.prescription!=null){
599
+            arr.push("透析时长:"+(this.prescription.dialysis_duration?this.prescription.dialysis_duration:""))
600
+         }
601
+
602
+        if(str.indexOf('透析时长')!=-1 && this.prescription==null){
603
+            arr.push("透析时长:")
604
+         }
605
+        
606
+        if(str.indexOf("目标超滤量")!=-1 && this.prescription!=null){
607
+           arr.push("目标超滤量:"+(this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:""))
608
+        }
609
+        if(str.indexOf("目标超滤量")!=-1 && this.prescription==null){
610
+           arr.push("目标超滤量:")
611
+        }
612
+        if(str.indexOf("抗凝剂")!=-1 && this.prescription!=null){
613
+           arr.push("抗凝剂:"+(this.prescription.anticoagulant?this.prescription.anticoagulant:""))
614
+        }
615
+       if(str.indexOf("抗凝剂")!=-1 && this.prescription==null){
616
+           arr.push("抗凝剂:")
617
+        }
618
+        if(str.indexOf("首剂")!=-1 && this.prescription!=null){
619
+           arr.push("首剂:"+(this.prescription.anticoagulant_shouji?this.prescription.anticoagulant_shouji:""))
620
+        }
621
+        if(str.indexOf("首剂")!=-1 && this.prescription==null){
622
+           arr.push("首剂:")
623
+        }
624
+       if(str.indexOf("维持")!=-1 && this.prescription!=null){
625
+           arr.push("维持:"+(this.prescription.anticoagulant_weichi?this.prescription.anticoagulant_weichi:""))
626
+        }
627
+
628
+        if(str.indexOf("维持")!=-1 && this.prescription==null){
629
+           arr.push("维持:")
630
+        }
631
+
632
+        if(str.indexOf("总量")!=-1 && this.prescription!=null){
633
+           arr.push("总量:"+(this.prescription.anticoagulant_zongliang?this.prescription.anticoagulant_zongliang:""))
634
+        }
635
+        
636
+        if(str.indexOf("总量")!=-1 && this.prescription==null){
637
+           arr.push("总量:")
638
+        }
639
+
640
+       if(str.indexOf("置换液")!=-1 && this.prescription!=null){
641
+           arr.push("置换液:"+(this.prescription.displace_liqui_part?this.prescription.displace_liqui_part:""))
642
+        } 
643
+
644
+       if(str.indexOf("置换液")!=-1 && this.prescription==null){
645
+           arr.push("置换液:")
646
+        } 
647
+      
648
+       if(str.indexOf("置换总量")!=-1 && this.prescription!=null){
649
+           arr.push("置换总量:"+(this.prescription.replacement_total?this.prescription.replacement_total:""))
650
+        } 
651
+
652
+        if(str.indexOf("置换总量")!=-1 && this.prescription==null){
653
+           arr.push("置换总量:")
654
+        } 
655
+
656
+       if(str.indexOf("处方血流量")!=-1 && this.prescription!=null){
657
+           arr.push("处方血流量:"+(this.prescription.blood_flow_volume?this.prescription.blood_flow_volume:""))
658
+        } 
659
+
660
+       if(str.indexOf("处方血流量")!=-1 && this.prescription==null){
661
+           arr.push("处方血流量:")
662
+        } 
663
+       
664
+       if(str.indexOf("透析液流量")!=-1 && this.prescription!=null){
665
+           arr.push("透析液流量:"+(this.prescription.dialysate_flow?this.prescription.dialysate_flow:""))
666
+        } 
667
+
668
+       if(str.indexOf("透析液流量")!=-1 && this.prescription==null){
669
+           arr.push("透析液流量:")
670
+        } 
671
+        console.log("arr",arr)
672
+        this.doubleReview.dialysis_parameter_desc = arr.join(";")
673
+        if(val.length>0){
674
+          this.doubleReview.dialysis_parameter_check = 2
675
+        }else{
676
+          this.doubleReview.dialysis_parameter_check = "1"
677
+        }
678
+      },
679
+      changeBoxTwo(val){
680
+         var arr = []
681
+         var str = val.join(';')
682
+         console.log("strw222222222",str)
683
+ 
684
+          if(str.indexOf('通路类型')!=-1 && this.predialysis_evaluation.id!=0){
685
+            arr.push("通路类型:"+this.getBloodAccess(this.predialysis_evaluation.blood_access_part_opera_id))
686
+          
687
+          }
688
+
689
+          if(str.indexOf('通路类型')!=-1 && this.predialysis_evaluation.id==0){
690
+            arr.push("通路类型:")
691
+          }
692
+          if(str.indexOf('动静脉接错')!=-1){
693
+             arr.push("动静脉接错:")
694
+          }
695
+          if(str.indexOf('渗血')!=-1){
696
+             arr.push("渗血:")
697
+          }
698
+         if(str.indexOf('压迫')!=-1){
699
+             arr.push("压迫:")
700
+          }
701
+          if(str.indexOf('折叠')!=-1){
702
+             arr.push("折叠:")
703
+          }
704
+          if(str.indexOf('滑脱')!=-1){
705
+             arr.push("滑脱:")
706
+          }
707
+        console.log("arr",arr)
708
+        this.doubleReview.vascular_access_desc = arr.join(";")
709
+        if(val.length>0){
710
+          this.doubleReview.vascular_access_verification = 2
711
+        }else{
712
+          this.doubleReview.vascular_access_verification = "1"
713
+        }
714
+      },
715
+      changeBoxThree(val){
716
+         var arr = []
717
+         var str = val.join(';')
718
+         console.log("strw222222222",str)
719
+         if(str.indexOf('泵前补液测管未夹')!=-1){
720
+           arr.push("泵前补液测管未夹:")
721
+         }
722
+         if(str.indexOf('肝素管夹未开启')!=-1){
723
+           arr.push("肝素管夹未开启:")
724
+         }
725
+         if(str.indexOf('透析器连接错误')!=-1){
726
+           arr.push("透析器连接错误:")
727
+         }
728
+        if(str.indexOf('动静脉壶页面不标准')!=-1){
729
+           arr.push("动静脉壶页面不标准:")
730
+         }
731
+          if(str.indexOf('静脉管路未卡入保护夹')!=-1){
732
+           arr.push("静脉管路未卡入保护夹:")
733
+         }
734
+         if(str.indexOf("压力传感器夹未打开")!=-1){
735
+           arr.push("压力传感器夹未打开")
736
+         }
737
+         if(str.indexOf('接口连接松动')!=-1){
738
+            arr.push("接口连接松动")
739
+         }
740
+         if(str.indexOf("管路打折")!=-1){
741
+           arr.push("管路打折")
742
+         }
743
+         this.doubleReview.pipeline_connection_desc = arr.join(";")
744
+         if(val.length > 0){
745
+          this.doubleReview.pipeline_connection_check = 2
746
+         }else{
747
+           this.doubleReview.pipeline_connection_check = "1"
748
+         }
749
+      },
750
+
751
+      changeRadio(val){
752
+        if(val == 1){
753
+         this.doubleReview.dialysis_item_desc = ""
754
+         this.checkList =[]
755
+        }
756
+      },
757
+      changeRadioTwo(val){
758
+        if(val == 1){
759
+          this.doubleReview.dialysis_parameter_desc = ""
760
+          this.checkListOne = []
761
+        }
762
+      },
763
+      changeRadioThree(val){
764
+         if(val == 1){
765
+           this.doubleReview.vascular_access_desc = ""
766
+           this.checkListTwo = []
767
+         }
768
+      },
769
+      changeRadioFour(val){
770
+         if(val == 1){
771
+           this.doubleReview.pipeline_connection_desc = ""
772
+           this.checkListThree = [] 
773
+         }
774
+      },
775
+
776
+      GetDialysateFormulationById(val) {
777
+         this.dialysate_formulation_options = getDataConfig('hemodialysis','dialysate_formulation')
778
+         console.log("透析液配方",this.dialysate_formulation_options)
779
+        let name = ''
780
+        let dfl = this.dialysate_formulation_options.length
781
+        for (let index = 0; index < dfl; index++) {
782
+          if (this.dialysate_formulation_options[index].id == val) {
783
+            name = this.dialysate_formulation_options[index].name
784
+            break
785
+          }
786
+        }
787
+        return name
788
+     },
789
+      getMode(id){
790
+       var name = ""
791
+        if(id == 1){
792
+          name = "HD"
793
+        }
794
+        if(id == 2){
795
+          name = "HDF"
796
+        }
797
+
798
+        if(id == 3){
799
+          name = "HD+HP"
800
+        }
801
+
802
+        if(id == 4){
803
+          name = "HP"
804
+        }
805
+        if(id == 5){
806
+          name = "HF"
807
+        }
808
+       if(id == 6){
809
+          name = "SCUF"
810
+        }
811
+       if(id == 7){
812
+          name = "IUF"
813
+        }
814
+       if(id == 8){
815
+          name = "HFHD"
816
+        }
817
+
818
+       if(id == 9){
819
+          name = "HFHD+HP"
820
+        }
821
+       if(id == 10){
822
+          name = "PHF"
823
+        }
824
+
825
+       if(id == 11){
826
+          name = "HFR"
827
+        }
828
+
829
+        if(id == 12){
830
+          name = "HDF+HP"
831
+        }
832
+
833
+        if(id == 13){
834
+          name = "CRRT"
835
+        }
836
+
837
+        if(id == 14){
838
+          name = "腹水回输"
839
+        }
840
+        if(id == 19){
841
+          name = "IUF+HD"
842
+        }
843
+        if(id == 20){
844
+          name = "UF"
845
+        }
846
+        return name
847
+     },
848
+
849
+     getAnticoagulant(id){
850
+       var name = ""
851
+       if(id == 1){
852
+         name = "无肝素"
853
+       }
854
+       if(id == 2){
855
+         name = "普通肝素"
856
+       }
857
+       if(id == 3){
858
+         name = "低分子肝素"
859
+       }
860
+       if(id == 4){
861
+         name = "阿加曲班"
862
+       }
863
+       if(id == 5){
864
+         name = "枸橼酸钠"
865
+       }
866
+       if(id == 6){
867
+         name ="低分子肝素钙"
868
+       }
869
+       if(id == 7){
870
+         name = "低分子肝素钠"
871
+       }
872
+       return name
873
+     },
874
+     getBloodAccess(id){
875
+       
876
+        let vascular_access_desc = getDataConfig(
877
+          'hemodialysis',
878
+          'vascular_access_desc'
879
+        )
880
+        var name = ""
881
+        for(let i=0;i<vascular_access_desc.length;i++){
882
+          if(vascular_access_desc[i].id == id){
883
+             name = vascular_access_desc[i].name
884
+          }
885
+        }
886
+        return name
887
+     }
467
     },
888
     },
468
 
889
 
469
     props: {
890
     props: {
485
         default: () => {
906
         default: () => {
486
           return { id: 0 }
907
           return { id: 0 }
487
         }
908
         }
488
-      }
909
+      },
910
+      predialysis_evaluation: { // 透前评估
911
+        type: Object,
912
+        default: () => {
913
+          return { id: 0 }
914
+        }
915
+      },
916
+      prescription: {
917
+        // 透析处方
918
+        type: Object,
919
+        default: () => {
920
+          return { id: 0 }
921
+        }
922
+      },
489
 
923
 
490
     },
924
     },
491
     watch: {
925
     watch: {
492
       isVisibility(val) {
926
       isVisibility(val) {
493
-
494
-      }, 'double_check.id': function() {
927
+      
928
+        if(this.prescription!=null && this.prescription.id!=0){
929
+          this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus
930
+          this.dialysate_formulation = this.dialysate_formulation + this.GetDialysateFormulationById(this.prescription.dialysate_formulation)
931
+         
932
+          this.kalium = this.kalium + (this.prescription.kalium?this.prescription.kalium:"")
933
+         
934
+          this.calcium = this.calcium + (this.prescription.calcium?this.prescription.calcium:"")
935
+          this.dialys_mode = this.dialys_mode + this.getMode(this.prescription.mode_id)
936
+          this.long_time = this.long_time + (this.prescription.dialysis_duration?this.prescription.dialysate_formulation:"")
937
+          this.target_ultrafiltration = this.target_ultrafiltration + (this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:"")
938
+          this.anticoagulant = this.anticoagulant + this.getAnticoagulant(this.prescription.anticoagulant)
939
+          this.anticoagulant_shouji = this.anticoagulant_shouji + (this.prescription.anticoagulant_shouji?this.prescription.anticoagulant_shouji:"")
940
+          this.anticoagulant_weichi = this.anticoagulant_weichi + (this.prescription.anticoagulant_weichi?this.prescription.anticoagulant_weichi:"")
941
+          this.anticoagulant_zongliang = this.anticoagulant_zongliang+(this.prescription.anticoagulant_zongliang?this.prescription.anticoagulant_zongliang:"")
942
+          this.displace_liqui_part = this.displace_liqui_part + (this.prescription.displace_liqui_part?this.prescription.displace_liqui_part:"")
943
+          this.replacement_total = this.replacement_total + (this.prescription.replacement_total?this.prescription.replacement_total:"")
944
+          this.dialysate_flow = this.dialysate_flow + (this.prescription.dialysate_flow?this.prescription.dialysate_flow:"")
945
+        }
946
+        if(this.predialysis_evaluation!=null && this.predialysis_evaluation.id!=0){
947
+          this.puncture_needle = this.puncture_needle + this.predialysis_evaluation.puncture_needle
948
+          this.blood_access_part_opera_id = this.blood_access_part_opera_id + this.getBloodAccess(this.predialysis_evaluation.blood_access_part_opera_id)
949
+        } 
950
+        if(this.double_check !=null && this.double_check.id!=0){
951
+           console.log("双人核对",this.double_check)
952
+           if(this.double_check.dialysis_item_desc.indexOf("透析器/灌流器")!=-1){
953
+             this.checkList.push("透析器/灌流器:"+this.prescription.dialyzer_perfusion_apparatus)
954
+             console.log("222222",this.checkList)
955
+           }
956
+           if(this.double_check.dialysis_item_desc.indexOf("穿刺针")!=-1){
957
+              this.checkList.push("穿刺针:"+(this.predialysis_evaluation.puncture_needle?this.predialysis_evaluation.puncture_needle:""))
958
+           }
959
+           if(this.double_check.dialysis_item_desc.indexOf("透析液配方:")!=-1){
960
+              this.checkList.push("透析液配方:"+this.GetDialysateFormulationById(this.prescription.dialysate_formulation))
961
+           }
962
+           if(this.double_check.dialysis_item_desc.indexOf("钾:")!=-1){
963
+              this.checkList.push("钾:"+(this.prescription.kalium?this.prescription.kalium:""))
964
+           }
965
+           if(this.double_check.dialysis_item_desc.indexOf("钙:")!=-1){
966
+               this.checkList.push("钙:"+(this.prescription.calcium?this.prescription.calcium:""))
967
+           }
968
+           if(this.double_check.dialysis_parameter_desc.indexOf("透析模式:")!=-1){
969
+              this.checkListOne.push("透析模式:"+this.getMode(this.prescription.mode_id))
970
+           }
971
+           if(this.double_check.dialysis_parameter_desc.indexOf("透析时长")!=-1){
972
+              this.checkListOne.push("透析时长:"+(this.prescription.dialysis_duration?this.prescription.dialysate_formulation:""))
973
+           }
974
+           if(this.double_check.dialysis_parameter_desc.indexOf("目标超滤量")!=-1){
975
+              this.checkListOne.push("目标超滤量:"+(this.prescription.target_ultrafiltration?this.prescription.target_ultrafiltration:""))
976
+           }
977
+           if(this.double_check.dialysis_parameter_desc.indexOf("抗凝剂")!=-1){
978
+              this.checkListOne.push("抗凝剂:"+this.getAnticoagulant(this.prescription.anticoagulant))
979
+           }
980
+           if(this.double_check.dialysis_parameter_desc.indexOf("首剂")!=-1){
981
+              this.checkListOne.push("首剂:"+(this.prescription.anticoagulant_shouji?this.prescription.anticoagulant_shouji:""))
982
+           }
983
+           if(this.double_check.dialysis_parameter_desc.indexOf("维持")!=-1){
984
+              this.checkListOne.push("维持:"+(this.prescription.anticoagulant_weichi?this.prescription.anticoagulant_weichi:""))
985
+           }
986
+          if(this.double_check.dialysis_parameter_desc.indexOf("总量")!=-1){
987
+              this.checkListOne.push("总量:"+(this.prescription.anticoagulant_zongliang?this.prescription.anticoagulant_zongliang:""))
988
+           }
989
+          if(this.double_check.dialysis_parameter_desc.indexOf("置换液")!=-1){
990
+              this.checkListOne.push("置换液:"+(this.prescription.displace_liqui_part?this.prescription.displace_liqui_part:""))
991
+           }
992
+           if(this.double_check.dialysis_parameter_desc.indexOf("置换总量")!=-1){
993
+             this.checkListOne.push("置换总量:"+(this.prescription.replacement_total?this.prescription.replacement_total:""))
994
+           }
995
+           if(this.double_check.dialysis_parameter_desc.indexOf("处方血流量")!=-1){
996
+             this.checkListOne.push("处方血流量:"+(this.prescription.blood_flow_volume?this.prescription.blood_flow_volume:""))
997
+           }
998
+           if(this.double_check.dialysis_parameter_desc.indexOf("透析液流量")!=-1){
999
+             this.checkListOne.push("透析液流量:"+(this.prescription.dialysate_flow?this.prescription.dialysate_flow:""))
1000
+           }
1001
+           if(this.double_check.vascular_access_desc.indexOf("通路类型")!=-1){
1002
+             this.checkListTwo.push("通路类型:"+this.getBloodAccess(this.predialysis_evaluation.blood_access_part_opera_id))
1003
+           }
1004
+
1005
+           if(this.double_check.vascular_access_desc.indexOf("动静脉接错")!=-1){
1006
+             this.checkListTwo.push("动静脉接错")
1007
+           }
1008
+           if(this.double_check.vascular_access_desc.indexOf("渗血")!=-1){
1009
+             this.checkListTwo.push("渗血")
1010
+           }
1011
+           if(this.double_check.vascular_access_desc.indexOf("压迫")!=-1){
1012
+             this.checkListTwo.push("压迫")
1013
+           }
1014
+          if(this.double_check.vascular_access_desc.indexOf("折叠")!=-1){
1015
+             this.checkListTwo.push("折叠")
1016
+           }
1017
+          if(this.double_check.vascular_access_desc.indexOf("滑脱")!=-1){
1018
+             this.checkListTwo.push("滑脱")
1019
+           }
1020
+
1021
+           if(this.double_check.pipeline_connection_desc.indexOf("泵前补液测管未夹")!=-1){
1022
+             this.checkListThree.push("泵前补液测管未夹")
1023
+           }
1024
+           if(this.double_check.pipeline_connection_desc.indexOf("肝素管夹未开启")!=-1){
1025
+             this.checkListThree.push("肝素管夹未开启")
1026
+           }
1027
+           if(this.double_check.pipeline_connection_desc.indexOf("透析器连接错误")!=-1){
1028
+             this.checkListThree.push("透析器连接错误")
1029
+           }
1030
+           if(this.double_check.pipeline_connection_desc.indexOf("动静脉壶页面不标准")!=-1){
1031
+             this.checkListThree.push("动静脉壶页面不标准")
1032
+           }
1033
+           if(this.double_check.pipeline_connection_desc.indexOf("静脉管路未卡入保护夹")!=-1){
1034
+             this.checkListThree.push("静脉管路未卡入保护夹")
1035
+           }
1036
+           if(this.double_check.pipeline_connection_desc.indexOf("压力传感器夹未打开")){
1037
+              this.checkListThree.push("压力传感器夹未打开")
1038
+           }
1039
+           if(this.double_check.pipeline_connection_desc.indexOf("接口连接松动")){
1040
+              this.checkListThree.push("接口连接松动")
1041
+           }
1042
+           if(this.double_check.pipeline_connection_desc.indexOf("管路打折")){
1043
+             this.checkListThree.push("管路打折")
1044
+           }
1045
+           console.log("hhh",this.checkListOne)
1046
+        }
1047
+      }, 
1048
+      'double_check.id': function() {
495
         if (this.double_check.id > 0) {
1049
         if (this.double_check.id > 0) {
496
           for (var index in this.doubleReview) {
1050
           for (var index in this.doubleReview) {
497
             this.doubleReview[index] = this.double_check[index] + ''
1051
             this.doubleReview[index] = this.double_check[index] + ''
558
 
1112
 
559
     },
1113
     },
560
     created() {
1114
     created() {
1115
+     
561
       var date = this.$route.query && this.$route.query.date
1116
       var date = this.$route.query && this.$route.query.date
562
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
1117
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
563
 
1118
 
571
         this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
1126
         this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
572
       }
1127
       }
573
       this.first_check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
1128
       this.first_check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
574
-
1129
+     
575
     }
1130
     }
576
 
1131
 
577
   }
1132
   }
578
 </script>
1133
 </script>
579
 
1134
 
580
-<style scoped>
581
-
1135
+<style lang="scss">
1136
+.newInline{
1137
+  display: flex;
1138
+}
1139
+.newItem{
1140
+  flex: 1;
1141
+  display: flex !important;
1142
+  .el-form-item__content{
1143
+    width: 100%;
1144
+  }
1145
+}
1146
+.newCheckBox{
1147
+  margin-bottom: 10px;
1148
+  .el-checkbox{
1149
+    margin-bottom: 10px;
1150
+  }
1151
+}
582
 </style>
1152
 </style>
1153
+

+ 8 - 6
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Bestand weergeven

163
                   template_id == 31 ||
163
                   template_id == 31 ||
164
                   template_id == 32 ||
164
                   template_id == 32 ||
165
                   template_id == 34 ||
165
                   template_id == 34 ||
166
+                  template_id == 35 ||
166
                   org_id == 9555)
167
                   org_id == 9555)
167
             "
168
             "
168
           >
169
           >
202
                 template_id != 31 &&
203
                 template_id != 31 &&
203
                 template_id != 32 &&
204
                 template_id != 32 &&
204
                 template_id != 34 &&
205
                 template_id != 34 &&
206
+                template_id != 35 &&
205
                 org_id!=9555
207
                 org_id!=9555
206
             "
208
             "
207
           >
209
           >
219
             align="center"
221
             align="center"
220
             label="超滤率(ml/h)"
222
             label="超滤率(ml/h)"
221
             width="100"
223
             width="100"
222
-            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) "
224
+            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) "
223
           >
225
           >
224
             <template slot-scope="scope">
226
             <template slot-scope="scope">
225
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
227
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
230
             align="center"
232
             align="center"
231
             label="超滤率(L/h)"
233
             label="超滤率(L/h)"
232
             width="100"
234
             width="100"
233
-            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"
235
+            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"
234
           >
236
           >
235
             <template slot-scope="scope">
237
             <template slot-scope="scope">
236
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
238
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
518
             </el-form-item>
520
             </el-form-item>
519
           </el-col>
521
           </el-col>
520
 
522
 
521
-          <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) ">
523
+          <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) ">
522
             <el-form-item label="超滤率(ml/h)">
524
             <el-form-item label="超滤率(ml/h)">
523
               <el-input v-model="form.ultrafiltration_rate"></el-input>
525
               <el-input v-model="form.ultrafiltration_rate"></el-input>
524
             </el-form-item>
526
             </el-form-item>
525
           </el-col>
527
           </el-col>
526
-          <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">
528
+          <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">
527
             <el-form-item label="超滤率(L/h)">
529
             <el-form-item label="超滤率(L/h)">
528
               <el-input v-model="form.ultrafiltration_rate"></el-input>
530
               <el-input v-model="form.ultrafiltration_rate"></el-input>
529
             </el-form-item>
531
             </el-form-item>
531
 
533
 
532
           <el-col
534
           <el-col
533
             :span="8"
535
             :span="8"
534
-            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 || org_id == 9555) " >
536
+            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 || org_id == 9555) " >
535
             <el-form-item label="超滤量(ml):">
537
             <el-form-item label="超滤量(ml):">
536
               <el-input v-model="form.ultrafiltration_volume"></el-input>
538
               <el-input v-model="form.ultrafiltration_volume"></el-input>
537
             </el-form-item>
539
             </el-form-item>
539
 
541
 
540
           <el-col
542
           <el-col
541
             :span="8"
543
             :span="8"
542
-            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 && org_id !=9555" >
544
+            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 && org_id !=9555" >
543
             <el-form-item label="超滤量(L):">
545
             <el-form-item label="超滤量(L):">
544
               <el-input v-model="form.ultrafiltration_volume"></el-input>
546
               <el-input v-model="form.ultrafiltration_volume"></el-input>
545
             </el-form-item>
547
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue Bestand weergeven

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
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 || 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 && 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)" 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" 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 || 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 && 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)" 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" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
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>
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>

+ 15 - 19
src/xt_pages/dialysis/details/doubleCheck.vue Bestand weergeven

7
           <label>透析物品核查 : </label>
7
           <label>透析物品核查 : </label>
8
           <span class="content">{{ dialysis_item_check }}</span>
8
           <span class="content">{{ dialysis_item_check }}</span>
9
         </li>
9
         </li>
10
-        <li>
11
-          <label>透析参数核查 : </label>
12
-          <span class="content">{{ dialysis_parameter_check }}</span>
13
-        </li>
14
-        <li>
15
-          <label>血管通路核查 : </label>
16
-          <span class="content">{{ vascular_access_verification }}</span>
17
-        </li>
18
-      </ul>
19
-      <ul>
20
         <li>
10
         <li>
21
           <label>{{ dialysis_item_desc_title }}</label>
11
           <label>{{ dialysis_item_desc_title }}</label>
22
           <span class="content">{{ dialysis_item_desc }}</span>
12
           <span class="content">{{ dialysis_item_desc }}</span>
23
         </li>
13
         </li>
14
+        <li>
15
+          <label>透析参数核查 : </label>
16
+          <span class="content">{{ dialysis_parameter_check }}</span>
17
+        </li>
24
         <li>
18
         <li>
25
           <label>{{ dialysis_parameter_desc_title }}</label>
19
           <label>{{ dialysis_parameter_desc_title }}</label>
26
           <span class="content">{{ dialysis_parameter_desc }}</span>
20
           <span class="content">{{ dialysis_parameter_desc }}</span>
27
         </li>
21
         </li>
22
+        <li>
23
+          <label>血管通路核查 : </label>
24
+          <span class="content">{{ vascular_access_verification }}</span>
25
+        </li>
28
         <li>
26
         <li>
29
           <label>{{ vascular_access_desc_title }}</label>
27
           <label>{{ vascular_access_desc_title }}</label>
30
           <span class="content">{{ vascular_access_desc }}</span>
28
           <span class="content">{{ vascular_access_desc }}</span>
32
       </ul>
30
       </ul>
33
       <ul>
31
       <ul>
34
           <li>
32
           <li>
35
-          <label>管道连接核查 : </label>
36
-          <span class="content">{{ pipeline_connection_check }}</span>
37
-        </li>
33
+            <label>管道连接核查 : </label>
34
+            <span class="content">{{ pipeline_connection_check }}</span>
35
+          </li>
36
+          <li>
37
+            <label>{{ pipeline_connection_desc_title }}</label>
38
+            <span class="content">{{ pipeline_connection_desc }}</span>
39
+          </li>
38
           <li>
40
           <li>
39
           <label>第一次核对人员 : </label>
41
           <label>第一次核对人员 : </label>
40
           <span class="content">{{getCreaterName(record.creater)}}</span>
42
           <span class="content">{{getCreaterName(record.creater)}}</span>
44
           <span class="content">{{getCreateTime(record.first_check_time,record.creater)}}</span>
46
           <span class="content">{{getCreateTime(record.first_check_time,record.creater)}}</span>
45
         </li>
47
         </li>
46
       </ul>
48
       </ul>
47
-      <ul>
48
-          <li>
49
-          <label>{{ pipeline_connection_desc_title }}</label>
50
-          <span class="content">{{ pipeline_connection_desc }}</span>
51
-        </li>
52
-      </ul>
53
       <ul>
49
       <ul>
54
 
50
 
55
         <li>
51
         <li>

+ 24 - 14
src/xt_pages/dialysis/details/index.vue Bestand weergeven

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
-         
994
+           console.log("透器评估",predialysis_evaluation)
992
           if (predialysis_evaluation != null) {
995
           if (predialysis_evaluation != null) {
993
             if (predialysis_evaluation.blood_access_part_id == -2) {
996
             if (predialysis_evaluation.blood_access_part_id == -2) {
994
               predialysis_evaluation.blood_access_part_id = 0
997
               predialysis_evaluation.blood_access_part_id = 0
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
           }

+ 11 - 1
src/xt_pages/dialysis/dialysisDoctorAdvice.vue Bestand weergeven

114
         <el-table-column prop="date" label="透析器" align="center" min-width="26px">
114
         <el-table-column prop="date" label="透析器" align="center" min-width="26px">
115
           <template slot-scope="scope">
115
           <template slot-scope="scope">
116
             <span>{{ scope.row.dialyzer_perfusion_apparatus }}</span>
116
             <span>{{ scope.row.dialyzer_perfusion_apparatus }}</span>
117
+            <span v-if="scope.row.dialysis_dialyszers!=''">{{scope.row.dialysis_dialyszers}}</span>
118
+            <span v-if="scope.row.dialysis_irrigation!=''">{{scope.row.dialysis_irrigation}}</span>
117
           </template>
119
           </template>
118
         </el-table-column>
120
         </el-table-column>
119
         <el-table-column prop="start_time" label="开始时间" align="center" min-width="35px">
121
         <el-table-column prop="start_time" label="开始时间" align="center" min-width="35px">
234
         </el-table-column>
236
         </el-table-column>
235
         <el-table-column prop="date" label="透析器" align="center" min-width="26px">
237
         <el-table-column prop="date" label="透析器" align="center" min-width="26px">
236
           <template slot-scope="scope">
238
           <template slot-scope="scope">
237
-            <span>{{ scope.row.dialyzer_perfusion_apparatus }}</span>
239
+            <span>
240
+              {{ scope.row.dialyzer_perfusion_apparatus }}
241
+              <span v-if="scope.row.dialysis_dialyszers!=''">{{scope.row.dialysis_dialyszers}}</span>
242
+              <span v-if="scope.row.dialysis_irrigation!=''">{{scope.row.dialysis_irrigation}}</span>
243
+            </span>
238
           </template>
244
           </template>
239
         </el-table-column>
245
         </el-table-column>
240
         <el-table-column prop="start_time" label="开始时间" align="center" min-width="35px">
246
         <el-table-column prop="start_time" label="开始时间" align="center" min-width="35px">
496
                 it.name = item.patient.name
502
                 it.name = item.patient.name
497
                     if(item.prescription != null){
503
                     if(item.prescription != null){
498
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
504
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
505
+                       it.dialysis_dialyszers = item.prescription.dialysis_dialyszers
506
+                       it.dialysis_irrigation = item.prescription.dialysis_irrigation
499
                     }
507
                     }
500
                     it.schedule_type = item.schedule_type
508
                     it.schedule_type = item.schedule_type
501
                     it.zoneId = item.device_number.zone.id
509
                     it.zoneId = item.device_number.zone.id
554
                 it.name = item.patient.name
562
                 it.name = item.patient.name
555
                     if(item.prescription != null){
563
                     if(item.prescription != null){
556
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
564
                        it.dialyzer_perfusion_apparatus = item.prescription.dialyzer_perfusion_apparatus
565
+                       it.dialysis_dialyszers = item.prescription.dialysis_dialyszers
566
+                       it.dialysis_irrigation = item.prescription.dialysis_irrigation
557
                     }
567
                     }
558
                     it.schedule_type = item.schedule_type
568
                     it.schedule_type = item.schedule_type
559
                     it.zoneId = item.device_number.zone.id
569
                     it.zoneId = item.device_number.zone.id

+ 24 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Bestand weergeven

485
           >打印</el-button
485
           >打印</el-button
486
         >
486
         >
487
       </template>
487
       </template>
488
+      <template v-if="org_template_info.template_id == 35">
489
+        <el-button
490
+          :loading="loading"
491
+          size="small"
492
+          icon="el-icon-printer"
493
+          @click="printThisPage"
494
+          type="primary"
495
+          >打印</el-button
496
+        >
497
+      </template>
488
     </div>
498
     </div>
489
     <div class="app-container" style="min-height:0;">
499
     <div class="app-container" style="min-height:0;">
490
       <!--<div class="order-print-btn"-->
500
       <!--<div class="order-print-btn"-->
735
             v-if="org_template_info.template_id == 34"
745
             v-if="org_template_info.template_id == 34"
736
           >
746
           >
737
           </DialysisPrintOrderThirtyFour>
747
           </DialysisPrintOrderThirtyFour>
748
+          <DialysisPrintOrderThirtyFive
749
+            v-bind:childResponse="childResponse"
750
+            v-if="org_template_info.template_id == 35"
751
+          >
752
+          </DialysisPrintOrderThirtyFive>
738
         </div>
753
         </div>
739
       </el-container>
754
       </el-container>
740
     </div>
755
     </div>
788
 import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
803
 import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
789
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
804
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
790
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
805
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
806
+import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
791
 export default {
807
 export default {
792
   name: "dialysisPrintOrder",
808
   name: "dialysisPrintOrder",
793
   components: {
809
   components: {
810
+    DialysisPrintOrderThirtyFive,
794
     DialysisPrintOrderThirtyFour,
811
     DialysisPrintOrderThirtyFour,
795
     DialysisPrintOrderThirtyThree,
812
     DialysisPrintOrderThirtyThree,
796
     DialysisPrintOrderThirtyTwo,
813
     DialysisPrintOrderThirtyTwo,
1223
           style: style2,
1240
           style: style2,
1224
           scanStyles: false
1241
           scanStyles: false
1225
         });
1242
         });
1243
+      } else if (this.org_template_info.template_id == 35) {
1244
+        printJS({
1245
+          printable: "dialysis-print-box",
1246
+          type: "html",
1247
+          style: style,
1248
+          scanStyles: false
1249
+        });
1226
       }
1250
       }
1227
     },
1251
     },
1228
     printThisOnePage() {
1252
     printThisOnePage() {

+ 5 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Bestand weergeven

509
                     <td width="140">透析器/灌流器型号:</td>
509
                     <td width="140">透析器/灌流器型号:</td>
510
                     <td width="">
510
                     <td width="">
511
                       <div class="under-line">
511
                       <div class="under-line">
512
-                        &nbsp;{{ prescription.dialyzer_perfusion_apparatus }}
512
+                          <span v-if="org_id ==9987 || org_id== 3877 || org_id == 4 || org_id == 9671">
513
+                            <span>{{prescription.dialysis_dialyszers}}</span>
514
+                            <span v-if="prescription.dialysis_irrigation!=''">/{{prescription.dialysis_irrigation}}</span>
515
+                          </span>
516
+                        &nbsp;<span else>{{ prescription.dialyzer_perfusion_apparatus }}</span> 
513
                       </div>
517
                       </div>
514
                     </td>
518
                     </td>
515
                   </tr>
519
                   </tr>

Diff onderdrukt omdat het te groot bestand
+ 2139 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue


+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue Bestand weergeven

874
             <td style="line-height:20px;" width="40">钠<br />浓<br />度<br /><span style="font-size:10px; !important">mmol/L</span></td>
874
             <td style="line-height:20px;" width="40">钠<br />浓<br />度<br /><span style="font-size:10px; !important">mmol/L</span></td>
875
             <td style="line-height:20px;" width="40">电<br />导<br />度<br /><span style="font-size:10px; !important">ms/cm</span></td>
875
             <td style="line-height:20px;" width="40">电<br />导<br />度<br /><span style="font-size:10px; !important">ms/cm</span></td>
876
             
876
             
877
-            <td style="line-height:20px;" width="60">透析液<br />温度<br /><span style="font-size:10px; !important">ml</span></td>
877
+            <td style="line-height:20px;" width="60">透析液<br />温度<br /><span style="font-size:10px; !important"></span></td>
878
             <td style="line-height:20px;" width="">病情变化及处理</td>
878
             <td style="line-height:20px;" width="">病情变化及处理</td>
879
             <td style="line-height:20px;" width="60">签名</td>
879
             <td style="line-height:20px;" width="60">签名</td>
880
           </tr>
880
           </tr>

+ 8 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Bestand weergeven

661
                     <td width="60">
661
                     <td width="60">
662
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
662
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
663
                     </td>
663
                     </td>
664
-                    <td width="10">ml,</td>
664
+                    <td width="15">
665
+                      <span v-if="prescription.anticoagulant =='阿加曲班'">ml,</span>
666
+                      <span v-if="prescription.anticoagulant =='普通肝素'">iu,</span>
667
+                     </td>
665
                     <td width="60">追加量</td>
668
                     <td width="60">追加量</td>
666
                     <td width="60">
669
                     <td width="60">
667
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
670
                         <div class="under-line">&nbsp;{{ (prescription.anticoagulant == '阿加曲班' || prescription.anticoagulant == '普通肝素') && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
668
                     </td>
671
                     </td>
669
-                    <td width="10">ml</td>
672
+                    <td width="10">
673
+                      <span v-if="prescription.anticoagulant =='阿加曲班'">ml</span>
674
+                      <span v-if="prescription.anticoagulant =='普通肝素'">iu/h</span>
675
+                    </td>
670
                     <td width="10">)</td>
676
                     <td width="10">)</td>
671
                     <td width="100">
677
                     <td width="100">
672
                         <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素"></label-box>
678
                         <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素"></label-box>

+ 2 - 1
src/xt_pages/management/components/PlanForm.vue Bestand weergeven

183
         { id: 1, name: "0.22%季铵盐" },
183
         { id: 1, name: "0.22%季铵盐" },
184
         { id: 2, name: "500mg/l含氯消毒剂" },
184
         { id: 2, name: "500mg/l含氯消毒剂" },
185
         { id: 3, name: "1000mg/l含氯消毒剂" },
185
         { id: 3, name: "1000mg/l含氯消毒剂" },
186
-        { id: 4, name: "1500mg/l含氯消毒剂" }
186
+        { id: 4, name: "1500mg/l含氯消毒剂" },
187
+        { id: 5,  name:"消毒湿巾"}
187
       ],
188
       ],
188
       // 夜路消毒方式
189
       // 夜路消毒方式
189
       sterilizeType: [
190
       sterilizeType: [

+ 8 - 1
src/xt_pages/management/home.vue Bestand weergeven

2329
           { id: 1, name: '0.22%季铵盐' },
2329
           { id: 1, name: '0.22%季铵盐' },
2330
           { id: 2, name: '500mg/l含氯消毒剂' },
2330
           { id: 2, name: '500mg/l含氯消毒剂' },
2331
           { id: 3, name: '1000mg/l含氯消毒剂' },
2331
           { id: 3, name: '1000mg/l含氯消毒剂' },
2332
-          { id: 4, name: '1500mg/l含氯消毒剂' }
2332
+          { id: 4, name: '1500mg/l含氯消毒剂' },
2333
+          { id: 5,  name:  "消毒湿巾"}
2333
         ],
2334
         ],
2334
         // 夜路消毒方式
2335
         // 夜路消毒方式
2335
         sterilizeType: [
2336
         sterilizeType: [
3212
               if (plan[index].machine_disinfectant === 4) {
3213
               if (plan[index].machine_disinfectant === 4) {
3213
                 plan[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3214
                 plan[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3214
               }
3215
               }
3216
+              if(plan[index].machine_disinfectant === 5){
3217
+                 plan[index].machine_disinfectant = "消毒湿巾"
3218
+              }
3215
 
3219
 
3216
               if (plan[index].disinfectan_way === 0) {
3220
               if (plan[index].disinfectan_way === 0) {
3217
                 plan[index].disinfectan_way = '/'
3221
                 plan[index].disinfectan_way = '/'
3346
               if (plandetail[index].machine_disinfectant === 4) {
3350
               if (plandetail[index].machine_disinfectant === 4) {
3347
                 plandetail[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3351
                 plandetail[index].machine_disinfectant = '1500mg/l含氯消毒剂'
3348
               }
3352
               }
3353
+              if(plandetail[index].machine_disinfectant === 5){
3354
+                  plandetail[index].machine_disinfectant = "消毒湿巾"
3355
+              }
3349
 
3356
 
3350
               if (plandetail[index].disinfectan_way === 0) {
3357
               if (plandetail[index].disinfectan_way === 0) {
3351
                 plandetail[index].disinfectan_way = '/'
3358
                 plandetail[index].disinfectan_way = '/'

+ 1 - 0
src/xt_pages/medicalScheduling/index.vue Bestand weergeven

1794
                 start_time:this.getTimestamp(this.weekDayArr[0]),
1794
                 start_time:this.getTimestamp(this.weekDayArr[0]),
1795
                 end_time:this.getTimestamp(this.weekDayArr[6])
1795
                 end_time:this.getTimestamp(this.weekDayArr[6])
1796
             }
1796
             }
1797
+           
1797
             copyStaffSchedule(params).then(response=>{
1798
             copyStaffSchedule(params).then(response=>{
1798
                 if(response.data.state == 1){
1799
                 if(response.data.state == 1){
1799
                 var msg =  response.data.data.msg
1800
                 var msg =  response.data.data.msg

+ 29 - 4
src/xt_pages/stock/Dialog/goodInfoDailog.vue Bestand weergeven

54
               <el-input v-model="form.specification_name" placeholder="" maxlength="30"></el-input>
54
               <el-input v-model="form.specification_name" placeholder="" maxlength="30"></el-input>
55
             </el-form-item>
55
             </el-form-item>
56
             <el-form-item label="生产厂商 : " prop="manufacturer" style="width:100%">
56
             <el-form-item label="生产厂商 : " prop="manufacturer" style="width:100%">
57
-              <el-select v-model="form.manufacturer" style="width:100%" placeholder="请选择">
57
+              <!-- <el-select v-model="form.manufacturer" style="width:100%" placeholder="请选择" filterable>
58
                 <el-option
58
                 <el-option
59
-                  v-for="item,index in form.manufacturers"
59
+                  v-for="(item,index) in form.manufacturers"
60
                   :key="index"
60
                   :key="index"
61
                   :label="item.manufacturer_name"
61
                   :label="item.manufacturer_name"
62
                   :value="item.id">
62
                   :value="item.id">
63
                 </el-option>
63
                 </el-option>
64
-              </el-select>
64
+              </el-select> -->
65
+
66
+               <el-select v-model="form.manufacturer" style="width:100%;" filterable placeholder="请选择">
67
+                  <el-option
68
+                    v-for="(item,index) in form.manufacturers"
69
+                    :key="index"
70
+                    :label="item.manufacturer_name"
71
+                    :value="item.id">
72
+                  </el-option>
73
+             </el-select>
65
             </el-form-item>
74
             </el-form-item>
66
             <el-form-item label="单位 : " prop="good_unit">
75
             <el-form-item label="单位 : " prop="good_unit">
67
               <el-select v-model="form.good_unit" style="width:160px;" placeholder="请选择">
76
               <el-select v-model="form.good_unit" style="width:160px;" placeholder="请选择">
241
 
250
 
242
 <script>
251
 <script>
243
   import { getDictionaryDataConfig,getDataConfig } from '@/utils/data'
252
   import { getDictionaryDataConfig,getDataConfig } from '@/utils/data'
244
-
253
+  import { getManufacturerList } from "@/api/stock";
245
   export default {
254
   export default {
246
     name: 'goodInfoDailog',
255
     name: 'goodInfoDailog',
247
     data() {
256
     data() {
418
         })
427
         })
419
       },
428
       },
420
       getValue: function() {
429
       getValue: function() {
430
+        console.log("生产吃",this.form.manufacturer)
421
         const form = {}
431
         const form = {}
422
         form['specification_name'] = this.form.specification_name
432
         form['specification_name'] = this.form.specification_name
423
         form['good_unit'] = this.form.good_unit
433
         form['good_unit'] = this.form.good_unit
458
         return form
468
         return form
459
       }, changeSelected: function(val) {
469
       }, changeSelected: function(val) {
460
         console.log(val)
470
         console.log(val)
471
+      },
472
+      getlist(){
473
+         var params = {
474
+             page:this.page,
475
+             limit:this.limit
476
+          }
477
+          console.log("params2222222",params)
478
+        getManufacturerList(params).then(response=>{
479
+           var manufacturerList =   response.data.data.manufacturer
480
+           console.log("列表2222222",manufacturerList)
481
+           this.manufacturerList = manufacturerList
482
+        })
461
       }
483
       }
462
     },
484
     },
463
     watch: {
485
     watch: {
469
           this.good_unit = ''
491
           this.good_unit = ''
470
         }
492
         }
471
       }
493
       }
494
+    },
495
+    created(){
496
+      this.getlist()
472
     }
497
     }
473
   }
498
   }
474
 
499
 

+ 38 - 11
src/xt_pages/stock/Dialog/goodTypeDialog.vue Bestand weergeven

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
 

+ 11 - 3
src/xt_pages/stock/Dialog/stockInDialog.vue Bestand weergeven

49
             type="selection"
49
             type="selection"
50
             width="55">
50
             width="55">
51
           </el-table-column>
51
           </el-table-column>
52
+           <el-table-column
53
+            align="center"
54
+            label="耗材名称"
55
+            property="good_name"
56
+            style="word-break: keep-all;white-space:nowrap;"
57
+          ></el-table-column>
52
           <el-table-column
58
           <el-table-column
53
             align="center"
59
             align="center"
54
             label="规格名称"
60
             label="规格名称"
136
         }
142
         }
137
       },
143
       },
138
        goodTypeTableChange: function(currentRow, oldCurrentRow) {
144
        goodTypeTableChange: function(currentRow, oldCurrentRow) {
139
-        
145
+        console.log("currentRow2233333",currentRow)
140
         let keyName = ""
146
         let keyName = ""
141
         var arr = []
147
         var arr = []
142
         for(let i= 0;i<this.propForm.goods.length;i++){
148
         for(let i= 0;i<this.propForm.goods.length;i++){
149
         }
155
         }
150
         this.currentGoodTypeId = parseInt(keyName)
156
         this.currentGoodTypeId = parseInt(keyName)
151
         this.goodInfoTableData = arr[keyName]
157
         this.goodInfoTableData = arr[keyName]
158
+        
152
         for(let i=0;i<arr.length;i++){
159
         for(let i=0;i<arr.length;i++){
153
           for(var key in arr[i]){
160
           for(var key in arr[i]){
154
               this.goodInfo = arr[i][keyName]
161
               this.goodInfo = arr[i][keyName]
155
               this.goodInfoTableData = arr[i][keyName]
162
               this.goodInfoTableData = arr[i][keyName]
156
           }
163
           }
157
-         }
164
+        }
165
+        console.log("22222222哈哈哈哈哈哈哈哈哈",this.goodInfoTableData)
158
        },
166
        },
159
       cancle: function(formName) {
167
       cancle: function(formName) {
160
         this.goodInfo = []
168
         this.goodInfo = []
236
       changeGoodInfoTableData: function(val) {
244
       changeGoodInfoTableData: function(val) {
237
       },
245
       },
238
       changeAllGoodInfoTableData: function(selection) {
246
       changeAllGoodInfoTableData: function(selection) {
239
-        console.log("888878888888",this.propForm.goods)
247
+        console.log("888878888888",selection)
240
         var arr = []
248
         var arr = []
241
         var id = 0
249
         var id = 0
242
          for(let i=0;i<this.propForm.goods.length;i++){
250
          for(let i=0;i<this.propForm.goods.length;i++){

+ 3 - 2
src/xt_pages/stock/config/goodType.vue Bestand weergeven

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

+ 18 - 18
src/xt_pages/stock/detail/stockOutDetail.vue Bestand weergeven

322
       this.cancelStockDate = [];
322
       this.cancelStockDate = [];
323
       getStockDetail(Params).then(response => {
323
       getStockDetail(Params).then(response => {
324
         if (response.data.state == 0) {
324
         if (response.data.state == 0) {
325
-          
325
+
326
           this.$message.error(response.data.msg);
326
           this.$message.error(response.data.msg);
327
           return false;
327
           return false;
328
         } else {
328
         } else {
329
-          
329
+
330
           this.total = response.data.data.total;
330
           this.total = response.data.data.total;
331
           for (let i = 0; i < response.data.data.list.length; i++) {
331
           for (let i = 0; i < response.data.data.list.length; i++) {
332
             var obj = response.data.data.list[i];
332
             var obj = response.data.data.list[i];
333
             obj["is_total"] = 0;
333
             obj["is_total"] = 0;
334
             this.cancelStockDate.push(obj);
334
             this.cancelStockDate.push(obj);
335
-            
335
+
336
           }
336
           }
337
           this.cancelStockDate.push({
337
           this.cancelStockDate.push({
338
             warehouse_out_order_number: "合计",
338
             warehouse_out_order_number: "合计",
369
           this.$message.error(response.data.msg);
369
           this.$message.error(response.data.msg);
370
           return false;
370
           return false;
371
         } else {
371
         } else {
372
-          
372
+
373
           this.total = response.data.data.total;
373
           this.total = response.data.data.total;
374
-         
374
+
375
           for (let i = 0; i < response.data.data.list.length; i++) {
375
           for (let i = 0; i < response.data.data.list.length; i++) {
376
             var obj = response.data.data.list[i];
376
             var obj = response.data.data.list[i];
377
             obj["is_total"] = 0;
377
             obj["is_total"] = 0;
378
             this.cancelStockDate.push(obj);
378
             this.cancelStockDate.push(obj);
379
-           
379
+
380
           }
380
           }
381
           this.cancelStockDate.push({
381
           this.cancelStockDate.push({
382
             warehouse_out_order_number: "合计",
382
             warehouse_out_order_number: "合计",
386
               warehouse_out_time: 0
386
               warehouse_out_time: 0
387
             }
387
             }
388
           });
388
           });
389
-        
389
+
390
         }
390
         }
391
       });
391
       });
392
     },
392
     },
644
                 this.tableList.push(list[i])
644
                 this.tableList.push(list[i])
645
               }
645
               }
646
             }
646
             }
647
-          console.log("表哥",this.tableList)
647
+          // console.log("表哥",this.tableList)
648
           }
648
           }
649
       })
649
       })
650
     },
650
     },
663
        array = stock.query_warehousing_info
663
        array = stock.query_warehousing_info
664
         let total_price = 0.0
664
         let total_price = 0.0
665
         for (let i = 0; i < array.length; i++) {
665
         for (let i = 0; i < array.length; i++) {
666
-         total_price = total_price + array[i].warehousing_count * array[i].price  
666
+         total_price = total_price + array[i].warehousing_count * array[i].price
667
         }
667
         }
668
         return  Math.floor(total_price * 100) / 100
668
         return  Math.floor(total_price * 100) / 100
669
-      }, 
669
+      },
670
       calTotalPrice() {
670
       calTotalPrice() {
671
         var amountPrice = 0
671
         var amountPrice = 0
672
         for (let i = 0; i < this.tableList.length; i++) {
672
         for (let i = 0; i < this.tableList.length; i++) {
675
           len = obj.query_warehouseout_info.length
675
           len = obj.query_warehouseout_info.length
676
           let total_price = 0.0
676
           let total_price = 0.0
677
           for (let a = 0; a < len; a++) {
677
           for (let a = 0; a < len; a++) {
678
-           total_price = total_price + obj.query_warehouseout_info[a].total_price   
678
+           total_price = total_price + obj.query_warehouseout_info[a].total_price
679
           }
679
           }
680
 
680
 
681
           amountPrice = amountPrice +  Math.floor(total_price* 100) / 100
681
           amountPrice = amountPrice +  Math.floor(total_price* 100) / 100
682
         }
682
         }
683
         return Math.floor(amountPrice* 100) / 100
683
         return Math.floor(amountPrice* 100) / 100
684
-      }, 
684
+      },
685
       getStockCount(id){
685
       getStockCount(id){
686
-        
686
+
687
         var count = ""
687
         var count = ""
688
         for(let i=0;i<this.stockTotal.length;i++){
688
         for(let i=0;i<this.stockTotal.length;i++){
689
             if(id == this.stockTotal[i].good_id){
689
             if(id == this.stockTotal[i].good_id){
709
         r2 = Number(total.toString().replace('.', ''))
709
         r2 = Number(total.toString().replace('.', ''))
710
         return r1 * r2 / Math.pow(10, m)
710
         return r1 * r2 / Math.pow(10, m)
711
       },
711
       },
712
-   
712
+
713
 
713
 
714
      exportList(){
714
      exportList(){
715
-     
715
+
716
       var obj = {index:"合计",total:0}
716
       var obj = {index:"合计",total:0}
717
        obj.total = this.calTotalPrice()
717
        obj.total = this.calTotalPrice()
718
        for(let i=0;i<this.tableList.length;i++){
718
        for(let i=0;i<this.tableList.length;i++){
727
        import('@/vendor/Export2Excel').then(excel => {
727
        import('@/vendor/Export2Excel').then(excel => {
728
        const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','出货价','总价','备注']
728
        const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','出货价','总价','备注']
729
        const filterVal = ['index','good_name', 'specification_name', 'min_unit','count','price','total','remark']
729
        const filterVal = ['index','good_name', 'specification_name', 'min_unit','count','price','total','remark']
730
-       
731
 
730
 
732
-      
731
+
732
+
733
 
733
 
734
        const data = this.formatJson(filterVal, this.tableList)
734
        const data = this.formatJson(filterVal, this.tableList)
735
        console.log("data",data)
735
        console.log("data",data)
736
-     
736
+
737
         excel.export_json_to_excel({
737
         excel.export_json_to_excel({
738
            header: tHeader,
738
            header: tHeader,
739
            data,
739
            data,

+ 1 - 1
src/xt_pages/stock/index.vue Bestand weergeven

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="商品信息">-->

+ 15 - 3
src/xt_pages/stock/stockInOrderAdd.vue Bestand weergeven

58
                   style="width: 100%"
58
                   style="width: 100%"
59
                   max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
59
                   max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
60
         >
60
         >
61
-
61
+      
62
           <el-table-column align="center" width="200">
62
           <el-table-column align="center" width="200">
63
-
63
+            
64
             <template slot="header" slot-scope="scope">
64
             <template slot="header" slot-scope="scope">
65
               <span>耗材类型<span style="color: red">*</span></span>
65
               <span>耗材类型<span style="color: red">*</span></span>
66
             </template>
66
             </template>
67
-
67
+     
68
             <template slot-scope="scope">
68
             <template slot-scope="scope">
69
               <el-form-item style="padding-top: 15px;margin-left: 10px;margin-right: 10px">
69
               <el-form-item style="padding-top: 15px;margin-left: 10px;margin-right: 10px">
70
                 <el-input placeholder="请输入耗材类型" v-model="scope.row.good_type_id"
70
                 <el-input placeholder="请输入耗材类型" v-model="scope.row.good_type_id"
74
             </template>
74
             </template>
75
           </el-table-column>
75
           </el-table-column>
76
           <el-table-column align="center" width="200">
76
           <el-table-column align="center" width="200">
77
+             <template slot="header" slot-scope="scope">
78
+              <span>耗材名称</span>
79
+            </template>
80
+            <template slot-scope="scope">
81
+               <el-input v-model="scope.row.good_name" :disabled="true"></el-input>
82
+            </template>
83
+          </el-table-column>
84
+          <el-table-column align="center" width="200">
85
+            
77
             <template slot="header" slot-scope="scope">
86
             <template slot="header" slot-scope="scope">
78
               <span>规格名称<span style="color: red">*</span></span>
87
               <span>规格名称<span style="color: red">*</span></span>
79
             </template>
88
             </template>
373
               this.recordInfo.recordData[this.currentIndex].good_id = val.selectedGoodInfo[i].id
382
               this.recordInfo.recordData[this.currentIndex].good_id = val.selectedGoodInfo[i].id
374
               this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].buy_price.toString()
383
               this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].buy_price.toString()
375
               this.recordInfo.recordData[this.currentIndex].good_unit = val.selectedGoodInfo[i].good_unit
384
               this.recordInfo.recordData[this.currentIndex].good_unit = val.selectedGoodInfo[i].good_unit
385
+              this.recordInfo.recordData[this.currentIndex].good_name = val.selectedGoodInfo[i].good_name
376
             } else {
386
             } else {
377
               const tempForm = {}
387
               const tempForm = {}
378
               tempForm['good_type_id'] =val.selectedGoodInfo[i].good_type_id
388
               tempForm['good_type_id'] =val.selectedGoodInfo[i].good_type_id
386
               tempForm['dealer'] = ''
396
               tempForm['dealer'] = ''
387
               tempForm['manufacturer'] = ''
397
               tempForm['manufacturer'] = ''
388
               tempForm['good_unit'] = val.selectedGoodInfo[i].good_unit
398
               tempForm['good_unit'] = val.selectedGoodInfo[i].good_unit
399
+              tempForm['good_name'] = val.selectedGoodInfo[i].good_name
389
               this.recordInfo.recordData.splice(this.currentIndex + 1, 0, tempForm)
400
               this.recordInfo.recordData.splice(this.currentIndex + 1, 0, tempForm)
390
             }
401
             }
391
           }
402
           }
501
             for (let i = 0; i < response.data.data.info.length; i++) {
512
             for (let i = 0; i < response.data.data.info.length; i++) {
502
               this.recordInfo.recordData.push(response.data.data.info[i])
513
               this.recordInfo.recordData.push(response.data.data.info[i])
503
             }
514
             }
515
+            console.log("333333333",this.recordInfo.recordData)
504
           }
516
           }
505
         })
517
         })
506
       }, getTime(val, temp) {
518
       }, getTime(val, temp) {

+ 26 - 0
src/xt_pages/stock/stockOutOrderAdd.vue Bestand weergeven

126
               </el-form-item>
126
               </el-form-item>
127
             </template>
127
             </template>
128
           </el-table-column>
128
           </el-table-column>
129
+           <el-table-column min-width="35" align="center">
130
+            <template slot="header" slot-scope="scope">
131
+              <span>耗材名称</span>
132
+            </template>
133
+
134
+            <template slot-scope="scope">
135
+              <el-form-item style="padding-top: 15px">
136
+                <el-input
137
+                  placeholder=""
138
+                  v-model="scope.row.good_id"
139
+                  :value="typeNameOne(scope.row.good_id)"
140
+                  :disabled="true"
141
+                ></el-input>
142
+              </el-form-item>
143
+            </template>
144
+          </el-table-column>
145
+          
129
           <el-table-column min-width="35" align="center">
146
           <el-table-column min-width="35" align="center">
130
             <template slot="header" slot-scope="scope">
147
             <template slot="header" slot-scope="scope">
131
               <span>规格名称<span style="color: red">*</span></span>
148
               <span>规格名称<span style="color: red">*</span></span>
447
       }
464
       }
448
       return name;
465
       return name;
449
     },
466
     },
467
+    typeNameOne:function(good_info_id){
468
+       let name = ''
469
+      for (let i = 0; i < this.goodInfo.length; i++) {
470
+        if (this.goodInfo[i].id == good_info_id) {
471
+          name = this.goodInfo[i].good_name
472
+        }
473
+      }
474
+      return name
475
+    },
450
     specificationName: function(good_info_id) {
476
     specificationName: function(good_info_id) {
451
       let name = ''
477
       let name = ''
452
       for (let i = 0; i < this.goodInfo.length; i++) {
478
       for (let i = 0; i < this.goodInfo.length; i++) {

+ 3 - 1
src/xt_pages/user/components/PatientForm.vue Bestand weergeven

1400
       this.submitForm(formName, "renew");
1400
       this.submitForm(formName, "renew");
1401
     },
1401
     },
1402
     onSubmit(formName) {
1402
     onSubmit(formName) {
1403
+      console.log("2222",this.form)
1403
       this.submitForm(formName, "redict");
1404
       this.submitForm(formName, "redict");
1404
     },
1405
     },
1405
     submitForm(formName, action) {
1406
     submitForm(formName, action) {
1603
           if (response.data.state == 1) {
1604
           if (response.data.state == 1) {
1604
             this.$emit("tran-patient-info", response.data.data.patient);
1605
             this.$emit("tran-patient-info", response.data.data.patient);
1605
             var patietInfo = response.data.data.patient;
1606
             var patietInfo = response.data.data.patient;
1607
+            console.log("9999999",response.data.data.patient)
1606
             this.form.avatar = patietInfo.avatar;
1608
             this.form.avatar = patietInfo.avatar;
1607
             this.form.name = patietInfo.name;
1609
             this.form.name = patietInfo.name;
1608
             this.form.alias = patietInfo.alias;
1610
             this.form.alias = patietInfo.alias;
1644
             if (patietInfo.source == 1 || patietInfo.source == 2) {
1646
             if (patietInfo.source == 1 || patietInfo.source == 2) {
1645
               this.form.source = patietInfo.source;
1647
               this.form.source = patietInfo.source;
1646
             }
1648
             }
1647
-            if (patietInfo.lapseto == 1 || patietInfo.lapseto == 2) {
1649
+            if (patietInfo.lapseto == 1 || patietInfo.lapseto == 2 || patietInfo.lapseto == 3) {
1648
               this.form.lapseto = patietInfo.lapseto;
1650
               this.form.lapseto = patietInfo.lapseto;
1649
             }
1651
             }
1650
             if (
1652
             if (

+ 7 - 2
src/xt_pages/user/coursePrint.vue Bestand weergeven

50
 
50
 
51
           <div class="row" style="padding: 2px 0;line-height:24px;">
51
           <div class="row" style="padding: 2px 0;line-height:24px;">
52
             <div class="inline_block" style="width:100%;">
52
             <div class="inline_block" style="width:100%;">
53
-              <div v-html="record.content">{{record.content}}</div>
53
+              <div v-html="record.content" class="printP">{{record.content}}</div>
54
             </div>
54
             </div>
55
           </div>
55
           </div>
56
 
56
 
101
         var resp = rs.data
101
         var resp = rs.data
102
         if (resp.state == 1) {
102
         if (resp.state == 1) {
103
           this.record = resp.data.record
103
           this.record = resp.data.record
104
+          this.record.content = resp.data.record.content.replace(new RegExp('<p>','g'),"<div>").replace(new RegExp('</p>','g'),"</div>")
104
           this.patient = resp.data.patient
105
           this.patient = resp.data.patient
105
 
106
 
106
           this.loading = false
107
           this.loading = false
114
     },
115
     },
115
     methods: {
116
     methods: {
116
       printAction: function() {
117
       printAction: function() {
117
-        const style = '@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: 5px 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-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.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%;}.print-yema5{position: absolute;top:1370px;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;}'
118
+        const style = '@media print {.printP div{margin-bottom:5px;} .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: 5px 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-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.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%;}.print-yema5{position: absolute;top:1370px;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;}'
118
         printJS({
119
         printJS({
119
           printable: 'print_content',
120
           printable: 'print_content',
120
           type: 'html',
121
           type: 'html',
294
     left: 50%;
295
     left: 50%;
295
   }
296
   }
296
   .did_checke::after {content: "\221A";font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}
297
   .did_checke::after {content: "\221A";font-size: 8px;margin-left: 2px;margin-top: 2px;position: absolute;}
298
+  .printP{
299
+    line-height: 20px;
300
+    font-weight: bold;
301
+  }
297
 </style>
302
 </style>
298
 
303
 
299
 
304
 

+ 117 - 18
src/xt_pages/user/dialysisSolution.vue Bestand weergeven

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>

+ 6 - 1
src/xt_pages/user/vascularAccess.vue Bestand weergeven

508
                    this.user_status = ""
508
                    this.user_status = ""
509
                    this.stop_reason = ""
509
                    this.stop_reason = ""
510
                    this.remark = ""
510
                    this.remark = ""
511
+                }else{
512
+                   this.$message.error("该日期数据已存在!")
511
                 }
513
                 }
512
              })
514
              })
513
            }  
515
            }  
644
                 user_status:this.form.user_status,
646
                 user_status:this.form.user_status,
645
                 stop_reason:this.form.stop_reason,
647
                 stop_reason:this.form.stop_reason,
646
                 remark:this.form.remark,
648
                 remark:this.form.remark,
647
-                stop_time:this.form.stop_time
649
+                stop_time:this.form.stop_time,
650
+                patient_id:this.patientID
648
               }
651
               }
649
               console.log("编辑",params)
652
               console.log("编辑",params)
650
               updatedVasularAccess(params).then(response=>{
653
               updatedVasularAccess(params).then(response=>{
654
                   this.$message.success("保存成功")
657
                   this.$message.success("保存成功")
655
                   this.editDialogVisible = false
658
                   this.editDialogVisible = false
656
                   this.getlist()
659
                   this.getlist()
660
+                }else{
661
+                   this.$message.error("该日期数据已存在!")
657
                 }
662
                 }
658
               })
663
               })
659
            }
664
            }

+ 186 - 36
src/xt_pages/workforce/appointment.vue Bestand weergeven

84
           </el-button>
84
           </el-button>
85
 
85
 
86
           <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印</el-button>
86
           <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印</el-button>
87
-          <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
88
-          </el-button>
87
+          <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板</el-button>
88
+          <el-button type="primary" size="small" @click="copySchedule">复制排班</el-button>
89
         </div>
89
         </div>
90
     </div>
90
     </div>
91
     <div class="app-container">
91
     <div class="app-container">
122
 
122
 
123
       <table-data :week-time="activeName" :partitions-prop="partitions" :schedule-zone-row-prop="scheduleZoneRow"
123
       <table-data :week-time="activeName" :partitions-prop="partitions" :schedule-zone-row-prop="scheduleZoneRow"
124
                   :schedule-zone-prop="scheduleZone" title="" @event1="changePartition" @event2="changeSchedule"></table-data>
124
                   :schedule-zone-prop="scheduleZone" title="" @event1="changePartition" @event2="changeSchedule"></table-data>
125
+
126
+
127
+       <el-dialog title="复制排班" width="600px" :visible.sync="newVisible">
128
+            <el-form :model="form"  ref="form" label-width="90px" :rules="rules">
129
+                <el-form-item label="复制到 : " required  prop="copyWeek">
130
+                    <el-select v-model="form.copyWeek" placeholder="请选择">
131
+                        <el-option
132
+                        v-for="item in typeOptions"
133
+                        :key="item.value"
134
+                        :label="item.label"
135
+                        :value="item.value">
136
+                        </el-option>
137
+                    </el-select>
138
+                </el-form-item>
139
+
140
+            </el-form>
141
+            <div slot="footer" class="dialog-footer">
142
+                <el-button @click="newVisible=false">取 消</el-button>
143
+                <el-button type="primary" @click="submitAction('form')">保 存</el-button>
144
+            </div>
145
+      </el-dialog>            
125
     </div>
146
     </div>
126
   </div>
147
   </div>
127
 </template>
148
 </template>
130
   import moment from 'moment'
151
   import moment from 'moment'
131
   import { parseTime } from '@/utils'
152
   import { parseTime } from '@/utils'
132
   import tableData from './components/tableData'
153
   import tableData from './components/tableData'
133
-  import { exportSchedule, getWeekPanels, initDate,getThreeWeekList } from '@/api/schedule'
154
+  import { exportSchedule, getWeekPanels, initDate,getThreeWeekList,copyPatientSchedule } from '@/api/schedule'
134
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
155
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
135
   import UploadExcel from '@/xt_pages/components/UploadExcel'
156
   import UploadExcel from '@/xt_pages/components/UploadExcel'
136
   import ScheduleUploadExcel from './components/scheduleUploadExcel/index'
157
   import ScheduleUploadExcel from './components/scheduleUploadExcel/index'
169
         partition_id:0,
190
         partition_id:0,
170
         start_time:"",
191
         start_time:"",
171
         end_time:"",
192
         end_time:"",
172
-        export_type:0
193
+        export_type:0,
194
+        form:{
195
+          copyWeek:"",
196
+        },
197
+        newVisible:false,
198
+        typeOptions:[],
199
+        timeOptions:[],
200
+        copyWeek:'',
201
+        weekList: [],
202
+        currentFirstDate1: '',
203
+        rules: {
204
+           copyWeek: [{ required: true, message: "请选择复制时间段", trigger: "blur" }],
205
+         },
206
+        weekNum:'',
207
+        weekDayArr:[],
208
+        todayDate:'',
209
+        clen:7,
210
+        nowYear: new Date().getFullYear(),
211
+        schedule_week:0,
173
       }
212
       }
174
     },
213
     },
175
     components: {
214
     components: {
505
        return jsonData.map(v => filterVal.map(j => v[j]))
544
        return jsonData.map(v => filterVal.map(j => v[j]))
506
       },
545
       },
507
 
546
 
508
-      //  formatJson(filterVal, jsonData) {
509
-      //    console.log("jsonData",jsonData)
510
-      //   return jsonData.map(v =>
511
-      //     filterVal.map(j => {
512
-      //       console.log("v",j)
513
-      //       console.log("8888888",v[j])
514
-      //       if (j === 'timestamp') {
515
-      //         return parseTime(v[j])
516
-      //       } else {
517
-      //         return v[j]
518
-      //       }
519
-      //     })
520
-      //   )
521
-      // },
547
+     
522
       printScheduleAction: function() {
548
       printScheduleAction: function() {
523
         var date = new Date().getTime()
549
         var date = new Date().getTime()
524
         if (this.activeName == 'lastWeek') {
550
         if (this.activeName == 'lastWeek') {
998
               return cur
1024
               return cur
999
             }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1025
             }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1000
 
1026
 
1001
-            console.log("长度11111111111",tempObjArr[i][key].length)
1002
-            console.log("长度22222222222",arr.length)
1027
+           
1003
             if (tempObjArr[i][key].length > arr.length) {    //比对原数组和去重后的原数组总数,不同的话则存在重复元素
1028
             if (tempObjArr[i][key].length > arr.length) {    //比对原数组和去重后的原数组总数,不同的话则存在重复元素
1004
               is_exist_repeat = true
1029
               is_exist_repeat = true
1005
             }
1030
             }
1012
 
1037
 
1013
 
1038
 
1014
         if (headers.length > 65 || !is_system_zone || !is_device_number) {
1039
         if (headers.length > 65 || !is_system_zone || !is_device_number) {
1015
-          console.log("ssssssszzzzzzzqqqqqqqq")
1040
+         
1016
 
1041
 
1017
           this.dialogVisible = true
1042
           this.dialogVisible = true
1018
           return
1043
           return
1932
        },
1957
        },
1933
 
1958
 
1934
 
1959
 
1935
-       getThreeWeekList(){
1960
+     getThreeWeekList(){
1936
           var params ={
1961
           var params ={
1937
               start_time:this.start_time,
1962
               start_time:this.start_time,
1938
               end_time:this.end_time,
1963
               end_time:this.end_time,
2067
 
2092
 
2068
 
2093
 
2069
                const start_time = moment().weekday(1).format('YYYY-MM-DD'); //本周一
2094
                const start_time = moment().weekday(1).format('YYYY-MM-DD'); //本周一
2070
-               var start = this.getTimestamp(start_time)
2095
+               var start = this.getTimestamp(start_time) - 28800
2071
                console.log("start",start)
2096
                console.log("start",start)
2072
-              const end_time = moment().weekday(7).format('YYYY-MM-DD');
2073
-              var end = this.getTimestamp(end_time)
2074
-
2075
-
2097
+               const end_time = moment().weekday(7).format('YYYY-MM-DD');
2098
+               var end = this.getTimestamp(end_time) - 28800
2076
               console.log("end",end)
2099
               console.log("end",end)
2077
               var scheduleList = response.data.data.list
2100
               var scheduleList = response.data.data.list
2078
-              console.log("排班列表22222",scheduleList)
2101
+             
2079
               var week= []
2102
               var week= []
2080
               var nextWeek = []
2103
               var nextWeek = []
2081
               var lastWeek = []
2104
               var lastWeek = []
2082
               var next_start = this.getNextWeekOne(1)
2105
               var next_start = this.getNextWeekOne(1)
2083
-              var nextstart = this.getTimestamp(next_start)
2084
-              // console.log("下周开始时间",nextstart)
2106
+              var nextstart = this.getTimestamp(next_start) - 28800
2107
+              console.log("下周开始时间",nextstart)
2085
               var next_end = this.getNextWeek(1)
2108
               var next_end = this.getNextWeek(1)
2086
-              var nextend = this.getTimestamp(next_end)
2087
-              // console.log("下周结束时间",nextend)
2109
+              var nextend = this.getTimestamp(next_end) - 28800
2110
+              console.log("下周结束时间",nextend)
2088
               var last_start = this.getNextWeekOne(2)
2111
               var last_start = this.getNextWeekOne(2)
2089
               var last_end = this.getNextWeek(2)
2112
               var last_end = this.getNextWeek(2)
2090
-              var laststart = this.getTimestamp(last_start)
2091
-              // console.log("下下周数据时间",laststart)
2092
-              var lastend = this.getTimestamp(last_end)
2093
-              // console.log("下下周数据时间",lastend)
2113
+              var laststart = this.getTimestamp(last_start) - 28800
2114
+              console.log("下下周数据时间",laststart)
2115
+              var lastend = this.getTimestamp(last_end) - 28800
2116
+              console.log("下下周数据时间",lastend)
2094
 
2117
 
2095
               if(this.export_type == 0){
2118
               if(this.export_type == 0){
2096
                 for(let i = 0;i<scheduleList.length;i++){
2119
                 for(let i = 0;i<scheduleList.length;i++){
2447
       getTime(val) {
2470
       getTime(val) {
2448
         return uParseTime(val, '{y}-{m}-{d}')
2471
         return uParseTime(val, '{y}-{m}-{d}')
2449
       },
2472
       },
2473
+      
2474
+      copySchedule(){
2475
+        this.newVisible = true
2476
+      },
2450
 
2477
 
2478
+       getYearWeek(year,month,date){
2479
+        /*
2480
+            dateNow是当前日期
2481
+            dateFirst是当年第一天
2482
+            dataNumber是当前日期是今年第多少天
2483
+            用dataNumber + 当前年的第一天的周差距的和在除以7就是本年第几周
2484
+        */
2485
+        let dateNow = new Date(year, parseInt(month) - 1, date);
2486
+        let dateFirst = new Date(year, 0, 1);
2487
+        let dataNumber = Math.round((dateNow.valueOf() - dateFirst.valueOf()) / 86400000);
2488
+        return Math.ceil((dataNumber + ((dateFirst.getDay() + 1) - 1)) / 7);
2489
+        },
2490
+        getTimestamp(time) { //把时间日期转成时间戳
2491
+        return (new Date(time)).getTime() / 1000
2492
+      },
2451
 
2493
 
2494
+        formatDate(date){
2495
+            var year = date.getFullYear()+'.'
2496
+            var month = (date.getMonth()+1)+'.';
2497
+            var day = date.getDate();
2498
+            return year+month+day
2499
+        },
2500
+        formatDateTwo(date){
2501
+            var year = date.getFullYear()+'.'
2502
+            var month = (date.getMonth()+1)+'.';
2503
+            var day = date.getDate();
2504
+            return year+month+day
2505
+        },
2506
+        addDate(date,n){
2507
+            date.setDate(date.getDate()+n);
2508
+            return date;
2509
+        },
2510
+            //
2511
+        setDate(date){
2512
+            var week = date.getDay()-1;
2513
+            date = this.addDate(date,week*-1);
2514
+            this.currentFirstDate = new Date(date);
2515
+            this.currentDate = new Date(date)
2516
+            for(var i = 0;i<this.clen; i++){
2517
+                this.weekDayArr.push(this.formatDate(i==0 ? date : this.addDate(date,1)))
2518
+            }
2519
+        },
2520
+       setDate1 (date) {
2521
+            var week = date.getDay() - 1
2522
+            date = this.addDate(date, week * -1)
2523
+            this.currentDate = new Date(date)
2524
+            let arr1 = []
2525
+            for (var i = 0; i < this.clen; i++) {
2526
+                arr1.push(this.formatDate(i == 0 ? date : this.addDate(date, 1)))
2527
+            }
2528
+            this.weekList.push(arr1)
2529
+            let num = this.weekNum
2530
+            this.currentFirstDate1 = num + 1
2531
+        },
2532
+        getTimestamp(time) { //把时间日期转成时间戳
2533
+          return (new Date(time)).getTime() / 1000
2534
+        },
2535
+        submitAction(formName){
2536
+            var label = ""
2537
+            for(let i=0;i<this.timeOptions.length;i++){
2538
+               if(this.form.copyWeek == this.timeOptions[i].value){
2539
+                 label = this.timeOptions[i].label
2540
+               }
2541
+            }
2542
+           var start = label.split('~')
2543
+           var copy_startime = this.getTimestamp(start[0])
2544
+           var copy_endtime = this.getTimestamp(start[1])
2545
+
2546
+            const params = {
2547
+              start_time:this.getTimestamp(this.weekDayArr[0]),
2548
+              end_time:this.getTimestamp(this.weekDayArr[6]),
2549
+              copy_startime:copy_startime,
2550
+              copy_endtime:copy_endtime,
2551
+            }
2552
+           console.log("parasm",params)
2553
+        
2554
+           this.$refs[formName].validate(valid=>{
2555
+              if(valid){
2556
+                copyPatientSchedule(params).then(response=>{
2557
+                   if(response.data.state == 1){
2558
+                     var msg = response.data.data.msg
2559
+                     this.$message.success("复制成功")
2560
+                     this.newVisible = false
2561
+                   }else{
2562
+                    this.$message.error("复制失败")
2563
+                  }
2564
+                })
2565
+              }
2566
+           })
2567
+        },
2452
     },
2568
     },
2453
     created() {
2569
     created() {
2454
      var start_time = moment().weekday(1).format('YYYY-MM-DD');
2570
      var start_time = moment().weekday(1).format('YYYY-MM-DD');
2571
+     console.log("开始时间",start_time)
2455
      this.start_time = start_time
2572
      this.start_time = start_time
2573
+    
2456
      var end_time = this.getNextWeek(2)
2574
      var end_time = this.getNextWeek(2)
2575
+     console.log("结束时间222222",end_time)
2457
      this.end_time = end_time
2576
      this.end_time = end_time
2458
       this.getWeekPanels()
2577
       this.getWeekPanels()
2459
       this.getInitDate()
2578
       this.getInitDate()
2460
 
2579
 
2461
       //获取三周排班数据
2580
       //获取三周排班数据
2462
       this.getThreeWeekList()
2581
       this.getThreeWeekList()
2582
+
2583
+
2584
+     let year = new Date().getFullYear()
2585
+     let month = new Date().getMonth() + 1
2586
+     let date = new Date().getDate()
2587
+     this.weekNum = this.getYearWeek(year,month,date)
2588
+     this.todayDate=this.formatDate(new Date())
2589
+     this.setDate(new Date())
2590
+
2591
+     for (var i = 0; i <= 9; i++) {
2592
+       this.setDate1(this.addDate(this.currentDate, 7))
2593
+     }
2594
+     let newNum = 0
2595
+     for(let i = 0; i < this.weekList.length; i++){
2596
+         if(this.weekNum + i + 1 <= 53){
2597
+             let num = this.weekNum + i + 1
2598
+            let str = this.weekList[i][0] + '~' + this.weekList[i][6] + '(' + num + ')'
2599
+             this.typeOptions.push({value:i,label:str})
2600
+            let stt = this.weekList[i][0] +"~"+this.weekList[i][6]
2601
+            this.timeOptions.push({value:i,label:stt})
2602
+        }else{
2603
+
2604
+            newNum++
2605
+            let str = this.weekList[i][0] + '~' + this.weekList[i][6] + '(' + newNum + ')'
2606
+            this.typeOptions.push({value:i,label:str})
2607
+            let stt = this.weekList[i][0] +"~"+this.weekList[i][6]
2608
+            this.timeOptions.push({value:i,label:stt})
2609
+          }
2610
+
2611
+        }
2612
+       
2463
     }
2613
     }
2464
   }
2614
   }
2465
 </script>
2615
 </script>

+ 5 - 3
src/xt_pages/workforce/components/nextTableWeeks.vue Bestand weergeven

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
+          <span > {{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span>
85
+          {{scope.row.prescription.dialysis_dialyszers}}
86
+          <span v-if="scope.row.prescription.dialysis_irrigation!=''">/{{scope.row.prescription.dialysis_irrigation}}</span>
85
         </template>
87
         </template>
86
       </el-table-column>
88
       </el-table-column>
87
       <el-table-column label="抗凝剂" min-width="100" align="center">
89
       <el-table-column label="抗凝剂" min-width="100" align="center">
254
              scheduleData[i].sort = scheduleData[i].number.sort
256
              scheduleData[i].sort = scheduleData[i].number.sort
255
            }
257
            }
256
           var arr =   scheduleData.sort(this.compare('sort'))
258
           var arr =   scheduleData.sort(this.compare('sort'))
257
-          // console.log("元旦快乐",arr)
259
+           console.log("元旦快乐",arr)
258
           this.scheduleData = arr
260
           this.scheduleData = arr
259
         
261
         
260
          
262
          

+ 1 - 1
src/xt_pages/workforce/components/tableData.vue Bestand weergeven

917
           this.toDay = response.data.data.today;
917
           this.toDay = response.data.data.today;
918
           var theSchedules = response.data.data.schdules;
918
           var theSchedules = response.data.data.schdules;
919
           
919
           
920
-          console.log("中国4444444444444",this.scheduleZone)
920
+        
921
         
921
         
922
           var that = this;
922
           var that = this;
923
           this.scheduleZone.forEach(function(zone, index) {
923
           this.scheduleZone.forEach(function(zone, index) {

+ 11 - 5
src/xt_pages/workforce/components/tableWeeks.vue Bestand weergeven

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
+          {{scope.row.prescription.dialysis_dialyszers}}
86
+          <span v-if="scope.row.prescription.dialysis_irrigation!=''">/{{scope.row.prescription.dialysis_irrigation}}</span>
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("网络错误");
449
     //   week_type: this.week_type
454
     //   week_type: this.week_type
450
     // };
455
     // };
451
     this.getScheduleWeekDay();
456
     this.getScheduleWeekDay();
457
+    console.log("org2222222",this.$store.getters.xt_user.org.id)
452
   }
458
   }
453
 };
459
 };
454
 </script>
460
 </script>

+ 3 - 2
src/xt_pages/workforce/next_remind_print.vue Bestand weergeven

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}} 
64
+                  <span v-if="main_collection.prescription.dialysis_irrigation!=''">/ {{main_collection.prescription.dialysis_irrigation}}</span>
64
 
65
 
65
                 </td>
66
                 </td>
66
                 <td :width="td_1_width">
67
                 <td :width="td_1_width">

+ 3 - 2
src/xt_pages/workforce/remind_print.vue Bestand weergeven

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}} 
64
+                  <span v-if="main_collection.prescription.dialysis_irrigation!=''">/ {{main_collection.prescription.dialysis_irrigation}}</span>
64
 
65
 
65
                 </td>
66
                 </td>
66
                 <td :width="td_1_width">
67
                 <td :width="td_1_width">