瀏覽代碼

自备药

XMLWAN 4 年之前
父節點
當前提交
97f74334d4

+ 5 - 1
src/xt_pages/dialysis/PatientBox.vue 查看文件

211
       headNurses: [],
211
       headNurses: [],
212
       lastDialysisPrescribe: { id: 0 },
212
       lastDialysisPrescribe: { id: 0 },
213
       temp_schedual: null,
213
       temp_schedual: null,
214
-      date:''
214
+      date:'',
215
+      modedata:0,
215
     };
216
     };
216
   },
217
   },
217
   props: {
218
   props: {
588
       this.$emit("advice");
589
       this.$emit("advice");
589
     },
590
     },
590
     open(schedual){
591
     open(schedual){
592
+      console.log("中国2222222",this)
593
+     
591
       this.date = schedual.schedule_date
594
       this.date = schedual.schedule_date
592
       this.patient_id = schedual.patient_id
595
       this.patient_id = schedual.patient_id
596
+      this.modedata = 1
593
       this.getScheduleDetail()
597
       this.getScheduleDetail()
594
       // this.getLongAdvice()
598
       // this.getLongAdvice()
595
       this.$refs.prescription.show(this.prescription,schedual);
599
       this.$refs.prescription.show(this.prescription,schedual);

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

1372
 
1372
 
1373
 
1373
 
1374
         this.treatment_mode = this.$store.getters.treatment_mode
1374
         this.treatment_mode = this.$store.getters.treatment_mode
1375
-        console.log("99999",this.treatment_mode)
1375
+        // console.log("99999",this.treatment_mode)
1376
         this.perfusion_apparatus = getDataConfig(
1376
         this.perfusion_apparatus = getDataConfig(
1377
           'hemodialysis',
1377
           'hemodialysis',
1378
           'perfusion_apparatus'
1378
           'perfusion_apparatus'
1765
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1765
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1766
       },
1766
       },
1767
       show(pre,schedual,last) {
1767
       show(pre,schedual,last) {
1768
-
1769
         var date = new Date()
1768
         var date = new Date()
1770
         var year = date.getFullYear()
1769
         var year = date.getFullYear()
1771
         var month = date.getMonth() + 1
1770
         var month = date.getMonth() + 1
1838
 
1837
 
1839
         if (this.predialysis == null || this.predialysis.id == 0) {
1838
         if (this.predialysis == null || this.predialysis.id == 0) {
1840
           if(last != null) {
1839
           if(last != null) {
1840
+          
1841
             this.dialysisPrescription.niprocart = last.niprocart
1841
             this.dialysisPrescription.niprocart = last.niprocart
1842
             this.dialysisPrescription.jms = last.jms
1842
             this.dialysisPrescription.jms = last.jms
1843
             this.dialysisPrescription.fistula_needle_set = last.fistula_needle_set
1843
             this.dialysisPrescription.fistula_needle_set = last.fistula_needle_set