Browse Source

批量打印

XMLWAN 4 years ago
parent
commit
6b35e6f1bf

+ 3 - 1
src/api/dialysis.js View File

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

+ 1 - 1
src/xt_pages/data/druguseTemplate.vue View File

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

+ 13 - 11
src/xt_pages/dialysis/PatientBox.vue View File

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

+ 2 - 2
src/xt_pages/dialysis/components/allSummary.vue View File

@@ -298,7 +298,7 @@ export default {
298 298
               }
299 299
 
300 300
 
301
-             console.log("2222222",arr)
301
+            //  console.log("2222222",arr)
302 302
 
303 303
 
304 304
               let newObj = {
@@ -323,7 +323,7 @@ export default {
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 View File

@@ -3218,11 +3218,9 @@
3218 3218
         const res = new Map();
3219 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 3224
     watch: {
3227 3225
       'dialysisPrescription.dialysis_duration_hour': function() {
3228 3226
         let dialysis_duration_minute = 0

+ 4 - 3
src/xt_pages/dialysis/details/index.vue View File

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

+ 1 - 1
src/xt_pages/upload/fast/basicInfo.vue View File

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