XMLWAN 4 vuotta sitten
vanhempi
commit
6b35e6f1bf

+ 3 - 1
src/api/dialysis.js Näytä tiedosto

241
 }
241
 }
242
 
242
 
243
 export function CreateGroupAdvice(id, groupno, advices) {
243
 export function CreateGroupAdvice(id, groupno, advices) {
244
-  console.log('中国人名', advices)
244
+ 
245
   return request({
245
   return request({
246
     url: '/api/advice_remind/create?id=' + id + '&groupno=' + groupno,
246
     url: '/api/advice_remind/create?id=' + id + '&groupno=' + groupno,
247
     method: 'post',
247
     method: 'post',
290
 
290
 
291
   })
291
   })
292
 }
292
 }
293
+
294
+

+ 1 - 1
src/xt_pages/data/druguseTemplate.vue Näytä tiedosto

1817
             var arr = this.templateForm.advice_name.split("(自备药)")
1817
             var arr = this.templateForm.advice_name.split("(自备药)")
1818
             this.templateForm.advice_name = arr[0]
1818
             this.templateForm.advice_name = arr[0]
1819
         }
1819
         }
1820
-        console.log("2222",this.templateForm)
1820
+        // console.log("2222",this.templateForm)
1821
 
1821
 
1822
         this.$refs[formName].validate(valid => {
1822
         this.$refs[formName].validate(valid => {
1823
           this.templateForm.single_dose = parseFloat(this.templateForm.single_dose)
1823
           this.templateForm.single_dose = parseFloat(this.templateForm.single_dose)

+ 13 - 11
src/xt_pages/dialysis/PatientBox.vue Näytä tiedosto

378
       this.doctor_advices = [];
378
       this.doctor_advices = [];
379
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
379
       getDialysisScheduleDetail(this.patient_id, dateStr).then(rs => {
380
         var resp = rs.data;
380
         var resp = rs.data;
381
+      
381
         if (resp.state == 1) {
382
         if (resp.state == 1) {
382
           var patient = resp.data.patient; // 患者信息
383
           var patient = resp.data.patient; // 患者信息
383
-          console.log("患者信息",patient)
384
+          // console.log("患者信息99999999",patient)
384
           var schedual = resp.data.schedual; // 患者排班信息
385
           var schedual = resp.data.schedual; // 患者排班信息
386
+          // console.log("排班2222222222",schedual)
385
           var prescription = resp.data.prescription; // 透析处方
387
           var prescription = resp.data.prescription; // 透析处方
386
           if(prescription!=null){
388
           if(prescription!=null){
387
               if(prescription.body_fluid == -2 ){
389
               if(prescription.body_fluid == -2 ){
503
           this.admin_users = resp.data.doctors;
505
           this.admin_users = resp.data.doctors;
504
           this.devices = resp.data.devices;
506
           this.devices = resp.data.devices;
505
           this.device_numbers = resp.data.device_numbers;
507
           this.device_numbers = resp.data.device_numbers;
506
-
507
-          
508
+           
509
+        
508
 
510
 
509
           var device_map = {};
511
           var device_map = {};
510
           for (let index = 0; index < this.devices.length; index++) {
512
           for (let index = 0; index < this.devices.length; index++) {
526
             device_number_map[device_number.id] = device_number;
528
             device_number_map[device_number.id] = device_number;
527
           }
529
           }
528
           this.device_number_map = device_number_map;
530
           this.device_number_map = device_number_map;
531
+
532
+          
529
           this.getLongAdvice()
533
           this.getLongAdvice()
530
         } else {
534
         } else {
531
           this.$message.error(resp.msg);
535
           this.$message.error(resp.msg);
577
               }
581
               }
578
 
582
 
579
               this.is_open = resp.data.is_open_remind;
583
               this.is_open = resp.data.is_open_remind;
584
+             
580
               this.longAdvices = totalAdvice;
585
               this.longAdvices = totalAdvice;
581
               this.waitUploadAdvices = waitUploadAdvices;
586
               this.waitUploadAdvices = waitUploadAdvices;
582
               break;
587
               break;
590
       this.$emit("advice");
595
       this.$emit("advice");
591
     },
596
     },
592
     open(schedual){
597
     open(schedual){
593
-      console.log("中国2222222",this)
594
      
598
      
599
+      
595
       this.date = schedual.schedule_date
600
       this.date = schedual.schedule_date
596
       this.patient_id = schedual.patient_id
601
       this.patient_id = schedual.patient_id
597
       this.modedata = 1
602
       this.modedata = 1
642
             return 0;
647
             return 0;
643
         }
648
         }
644
     }
649
     }
645
-}
650
+   }
651
+  
646
   },
652
   },
647
   created(){
653
   created(){
648
-    console.log("排班数据33333",this.schedules)
649
-
654
+  
650
     for(let i=0;i<this.schedules.length;i++){
655
     for(let i=0;i<this.schedules.length;i++){
651
        this.schedules[i].Sort = this.schedules[i].device_number.sort
656
        this.schedules[i].Sort = this.schedules[i].device_number.sort
652
     }
657
     }
653
-
654
-   console.log("9999999",this.schedules)
655
    this.schedules.sort(this.compare("Sort"))
658
    this.schedules.sort(this.compare("Sort"))
656
-    console.log("122212121212112",this.schedules)
657
-    this.scheduleArr = this.schedules
659
+   this.scheduleArr = this.schedules
658
   }
660
   }
659
 };
661
 };
660
 </script>
662
 </script>

+ 2 - 2
src/xt_pages/dialysis/components/allSummary.vue Näytä tiedosto

298
               }
298
               }
299
 
299
 
300
 
300
 
301
-             console.log("2222222",arr)
301
+            //  console.log("2222222",arr)
302
 
302
 
303
 
303
 
304
               let newObj = {
304
               let newObj = {
323
 
323
 
324
               }
324
               }
325
               }
325
               }
326
-              console.log("list22222",this.list)
326
+              // console.log("list22222",this.list)
327
              }
327
              }
328
           })
328
           })
329
         },
329
         },

+ 2 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Näytä tiedosto

3218
         const res = new Map();
3218
         const res = new Map();
3219
         return arr.filter((arr) => !res.has(arr.name) && res.set(arr.name, 1));
3219
         return arr.filter((arr) => !res.has(arr.name) && res.set(arr.name, 1));
3220
       },
3220
       },
3221
+     
3221
     },
3222
     },
3222
-    // created(){
3223
-    //   var org_id =  this.$store.getters.xt_user.template_info.org_id
3224
-    //   console.log("org_id-----",org_id)
3225
-    // },
3223
+  
3226
     watch: {
3224
     watch: {
3227
       'dialysisPrescription.dialysis_duration_hour': function() {
3225
       'dialysisPrescription.dialysis_duration_hour': function() {
3228
         let dialysis_duration_minute = 0
3226
         let dialysis_duration_minute = 0

+ 4 - 3
src/xt_pages/dialysis/details/index.vue Näytä tiedosto

970
         if (resp.state == 1) {
970
         if (resp.state == 1) {
971
           var patient = resp.data.patient // 患者信息
971
           var patient = resp.data.patient // 患者信息
972
           var schedual = resp.data.schedual // 患者排班信息
972
           var schedual = resp.data.schedual // 患者排班信息
973
-          // console.log("患者排班信息99999999",schedual)
973
+          console.log("患者排班信息99999999",schedual)
974
           var prescription = resp.data.prescription // 透析处方
974
           var prescription = resp.data.prescription // 透析处方
975
           if (prescription != null) {
975
           if (prescription != null) {
976
             if (prescription.body_fluid == -2) {
976
             if (prescription.body_fluid == -2) {
1118
           
1118
           
1119
           this.his_is_open = resp.data.is_open_config.is_open
1119
           this.his_is_open = resp.data.is_open_config.is_open
1120
           console.log(this.his_is_open)
1120
           console.log(this.his_is_open)
1121
-
1122
-
1121
+          
1122
+          // var stockType =  resp.data.stockType
1123
+          // console.log("stockTYPW",stockType)
1123
           for (let i = 0; i <  this.doctor_advices.length; i++){
1124
           for (let i = 0; i <  this.doctor_advices.length; i++){
1124
             this.doctor_advices[i]['origin'] = 1
1125
             this.doctor_advices[i]['origin'] = 1
1125
           }
1126
           }

+ 1 - 1
src/xt_pages/upload/fast/basicInfo.vue Näytä tiedosto

198
     watch:{
198
     watch:{
199
         patient:{
199
         patient:{
200
             handler:function(val) {
200
             handler:function(val) {
201
-                console.log(1111111111111,val)
201
+                // console.log(1111111111111,val)
202
                 Object.keys(val).map((item,index) => {
202
                 Object.keys(val).map((item,index) => {
203
                     this.$set(this.form, item, val[item])
203
                     this.$set(this.form, item, val[item])
204
                     this.$forceUpdate()
204
                     this.$forceUpdate()