XMLWAN 3 年之前
父節點
當前提交
3d017e55f2
共有 1 個文件被更改,包括 13 次插入13 次删除
  1. 13 13
      src/xt_pages/workforce/next_remind_print.vue

+ 13 - 13
src/xt_pages/workforce/next_remind_print.vue 查看文件

62
                 </td>
62
                 </td>
63
                 <td :width="td_1_width" v-if="printObj.dialyzers == 1 && printObj.perfusion_apparatus == 1">
63
                 <td :width="td_1_width" v-if="printObj.dialyzers == 1 && printObj.perfusion_apparatus == 1">
64
                  <span v-if="org_id!=9987">
64
                  <span v-if="org_id!=9987">
65
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''"> 
66
-                        <span v-if="org_id!=10131">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
65
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''">
66
+                        <span v-if="org_id!=10131">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span>
67
                         <!-- <span v-if="org_id==10131">{{getDialysisDialyszerPerfusionOne(main_collection.prescription.patient_id)}}</span>  -->
67
                         <!-- <span v-if="org_id==10131">{{getDialysisDialyszerPerfusionOne(main_collection.prescription.patient_id)}}</span>  -->
68
                          <span v-if="org_id==10131 || org_id==9671">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span>
68
                          <span v-if="org_id==10131 || org_id==9671">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span>
69
                      </span>
69
                      </span>
70
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span> 
70
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span>
71
                   </span>
71
                   </span>
72
-                  {{main_collection.prescription.dialysis_dialyszers}} 
72
+                  {{main_collection.prescription.dialysis_dialyszers}}
73
                   <span v-if="main_collection.prescription.dialysis_dialyszers!='' && main_collection.prescription.dialysis_irrigation!=''">/</span>
73
                   <span v-if="main_collection.prescription.dialysis_dialyszers!='' && main_collection.prescription.dialysis_irrigation!=''">/</span>
74
                   <span v-if="main_collection.prescription.dialysis_irrigation!=''"> {{main_collection.prescription.dialysis_irrigation}}</span>
74
                   <span v-if="main_collection.prescription.dialysis_irrigation!=''"> {{main_collection.prescription.dialysis_irrigation}}</span>
75
 
75
 
113
   import { uParseTime } from '@/utils/tools'
113
   import { uParseTime } from '@/utils/tools'
114
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
114
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
115
   import print from 'print-js'
115
   import print from 'print-js'
116
-  const moment = require('moment') 
116
+  const moment = require('moment')
117
   export default {
117
   export default {
118
     name: 'SchedulePrint',
118
     name: 'SchedulePrint',
119
     data() {
119
     data() {
148
      this.getPrintList()
148
      this.getPrintList()
149
      this.org_id = this.$store.getters.xt_user.org.id
149
      this.org_id = this.$store.getters.xt_user.org.id
150
      this.currentDate = this.getCurrentDate()
150
      this.currentDate = this.getCurrentDate()
151
-   
151
+
152
       this.modeOptions = this.$store.getters.treatment_mode
152
       this.modeOptions = this.$store.getters.treatment_mode
153
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
153
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
154
       this.week_type = this.$route.query.week_type
154
       this.week_type = this.$route.query.week_type
169
         //   start_time:1609603200,
169
         //   start_time:1609603200,
170
         //   end_time:1610208000,
170
         //   end_time:1610208000,
171
         // }
171
         // }
172
-      console.log("打印下周",params)
173
-     
172
+      // console.log("打印下周",params)
173
+
174
       console.log("start",this.start_time)
174
       console.log("start",this.start_time)
175
       getNextScheduleWeekDay(params).then(rs => {
175
       getNextScheduleWeekDay(params).then(rs => {
176
         var resp = rs.data
176
         var resp = rs.data
191
             for(let i=0;i<scheduleData.length;i++){
191
             for(let i=0;i<scheduleData.length;i++){
192
               if(scheduleData.prescription.id > 0){
192
               if(scheduleData.prescription.id > 0){
193
                  newList.push(scheduleData[i])
193
                  newList.push(scheduleData[i])
194
-              } 
194
+              }
195
             }
195
             }
196
             var arr =   newList.sort(this.compare('sort'))
196
             var arr =   newList.sort(this.compare('sort'))
197
             console.log("打印",arr)
197
             console.log("打印",arr)
203
             for(let i=0;i<scheduleData.length;i++){
203
             for(let i=0;i<scheduleData.length;i++){
204
               if(scheduleData.prescription.id == 0){
204
               if(scheduleData.prescription.id == 0){
205
                  newList.push(scheduleData[i])
205
                  newList.push(scheduleData[i])
206
-              } 
206
+              }
207
             }
207
             }
208
             var arr =   newList.sort(this.compare('sort'))
208
             var arr =   newList.sort(this.compare('sort'))
209
             console.log("打印",arr)
209
             console.log("打印",arr)
299
 
299
 
300
           name = name + doctor_advice[i].advice_name + " " + drug_spec + " " + prescribing_number + " " + single_dose + " " + doctor_advice[i].delivery_way + " " + doctor_advice[i].execution_frequency + " " + doctor_advice[i].remark + "\n"
300
           name = name + doctor_advice[i].advice_name + " " + drug_spec + " " + prescribing_number + " " + single_dose + " " + doctor_advice[i].delivery_way + " " + doctor_advice[i].execution_frequency + " " + doctor_advice[i].remark + "\n"
301
 
301
 
302
-       
302
+
303
         }
303
         }
304
           return name
304
           return name
305
 
305
 
379
           var str = year + "年" + month + "月" + day + "日  " + days;
379
           var str = year + "年" + month + "月" + day + "日  " + days;
380
           return str;
380
           return str;
381
         }
381
         }
382
-        
383
-        
382
+
383
+
384
       },
384
       },
385
 
385
 
386
        compare(property) {
386
        compare(property) {