Преглед на файлове

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

28169 преди 2 седмици
родител
ревизия
2b3e400ac9

+ 61 - 45
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue Целия файл

48
                           }}
48
                           }}
49
                         </div>
49
                         </div>
50
                         <div style="flex: 1;">
50
                         <div style="flex: 1;">
51
-                          透析频次:
52
-                          <span style="display: inline-block;width: 60px;">
53
-                            {{ record.assessment_before_dislysis.dialysis_count}}
54
-                          </span>
51
+                          透析频次:{{ record.assessment_before_dislysis.dialysis_count }}
52
+                          <!-- <span style="display: inline-block;width: 60px;">
53
+                            {{ record.assessment_before_dislysis.dialysis_count }}
54
+                          </span> -->
55
                         </div>
55
                         </div>
56
                       </div>
56
                       </div>
57
                     </td>
57
                     </td>
65
                   </tr>
65
                   </tr>
66
                   <tr>
66
                   <tr>
67
                     <td colspan="3">
67
                     <td colspan="3">
68
-                    
69
-                      <div class="row" style="padding: 2px 0; line-height: 23px;display: inline-block;" >
68
+
69
+                      <div class="row" style="padding: 2px 0; line-height: 23px;display: inline-block;">
70
                         <div class="inline_block" style="flex: 0.8;">
70
                         <div class="inline_block" style="flex: 0.8;">
71
                           T:
71
                           T:
72
                           <div class="under_line" style="width: 50px; text-align: center">
72
                           <div class="under_line" style="width: 50px; text-align: center">
129
                         治疗方式:
129
                         治疗方式:
130
                         <label-box :isChecked="record.prescription.mode_id == 1 ? true : false"
130
                         <label-box :isChecked="record.prescription.mode_id == 1 ? true : false"
131
                           showValue="HD"></label-box>&nbsp;
131
                           showValue="HD"></label-box>&nbsp;
132
-                        <label-box :isChecked="record.prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
132
+                        <label-box :isChecked="record.prescription.mode_id == 2 ? true : false"
133
+                          showValue="HDF"></label-box>
133
                         (<label-box
134
                         (<label-box
134
                           :isChecked="record.prescription.mode_id == 2 && record.prescription.displace_liqui_part == 1 ? true : false"
135
                           :isChecked="record.prescription.mode_id == 2 && record.prescription.displace_liqui_part == 1 ? true : false"
135
                           showValue="前稀释"></label-box>&nbsp;
136
                           showValue="前稀释"></label-box>&nbsp;
140
                           record.prescription.displace_liqui_value : "/" }} ml</span>
141
                           record.prescription.displace_liqui_value : "/" }} ml</span>
141
                         )&nbsp;&nbsp;
142
                         )&nbsp;&nbsp;
142
                         <label-box :isChecked="record.prescription.mode == 5 ? true : false" showValue="HF"></label-box>
143
                         <label-box :isChecked="record.prescription.mode == 5 ? true : false" showValue="HF"></label-box>
143
-                        <label-box :isChecked="record.prescription.mode == 20 ? true : false" showValue="UF"></label-box>
144
-                        <label-box :isChecked="record.prescription.mode == 3 ? true : false" showValue="HD+HP"></label-box>
144
+                        <label-box :isChecked="record.prescription.mode == 20 ? true : false"
145
+                          showValue="UF"></label-box>
146
+                        <label-box :isChecked="record.prescription.mode == 3 ? true : false"
147
+                          showValue="HD+HP"></label-box>
145
                       </div>
148
                       </div>
146
                     </td>
149
                     </td>
147
                     <td style="line-height:30px;">
150
                     <td style="line-height:30px;">
157
                     <td colspan="3">
160
                     <td colspan="3">
158
                       <div style="display: flex;line-height:30px;">
161
                       <div style="display: flex;line-height:30px;">
159
                         <span>治疗抗凝:</span>
162
                         <span>治疗抗凝:</span>
160
-                        <label-box :isChecked="record.prescription.anticoagulant==3 ||record.prescription.anticoagulant==6||
161
-                          record.prescription.anticoagulant==7 ? true : false"showValue="低分子肝素:"></label-box>&nbsp;
162
-                        <span v-if="record.prescription.anticoagulant==3 ||record.prescription.anticoagulant==6||record.prescription.anticoagulant==7">
163
-                          {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "0" }}
163
+                        <label-box :isChecked="record.prescription.anticoagulant == 3 || record.prescription.anticoagulant == 6 ||
164
+                          record.prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素:"></label-box>&nbsp;
165
+                        <span
166
+                          v-if="record.prescription.anticoagulant == 3 || record.prescription.anticoagulant == 6 || record.prescription.anticoagulant == 7">
167
+                          {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang :
168
+                          "0" }}
164
                         </span>U&nbsp;&nbsp;
169
                         </span>U&nbsp;&nbsp;
165
 
170
 
166
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false"
171
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false"
174
                           追加:
179
                           追加:
175
                           <span v-if="record.prescription.anticoagulant == 2">
180
                           <span v-if="record.prescription.anticoagulant == 2">
176
                             {{ record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi :
181
                             {{ record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi :
177
-                            "0"}}
182
+                              "0" }}
178
                           </span>mg/h &nbsp;&nbsp;
183
                           </span>mg/h &nbsp;&nbsp;
179
                           总量:
184
                           总量:
180
                           <span v-if="record.prescription.anticoagulant == 2">
185
                           <span v-if="record.prescription.anticoagulant == 2">
181
                             {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang
186
                             {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang
182
-                            : "0"}}
187
+                              : "0" }}
183
                           </span>mg
188
                           </span>mg
184
                         </div>
189
                         </div>
185
                         &nbsp;&nbsp;
190
                         &nbsp;&nbsp;
202
                         </span>ml/h
207
                         </span>ml/h
203
                         <span>
208
                         <span>
204
                           透析(滤)器:
209
                           透析(滤)器:
205
-                          {{ record.prescription.dialysis_dialyszers ? record.prescription.dialysis_dialyszers : "" }} &nbsp;
206
-                          {{ record.prescription.dialysis_strainer ? record.prescription.dialysis_strainer : "" }} &nbsp;
207
-                          {{ record.prescription.dialysis_irrigation ? record.prescription.dialysis_irrigation :'' }} &nbsp;
210
+                          {{ record.prescription.dialysis_dialyszers ? record.prescription.dialysis_dialyszers : "" }}
211
+                          &nbsp;
212
+                          {{ record.prescription.dialysis_strainer ? record.prescription.dialysis_strainer : "" }}
213
+                          &nbsp;
214
+                          {{ record.prescription.dialysis_irrigation ? record.prescription.dialysis_irrigation : '' }}
215
+                          &nbsp;
208
                         </span>
216
                         </span>
209
 
217
 
210
                       </div>
218
                       </div>
252
                       <label-box
260
                       <label-box
253
                         :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') != -1 ? true : false"
261
                         :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') != -1 ? true : false"
254
                         showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
262
                         showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
255
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') != -1 ? true : false"
263
+                      <label-box
264
+                        :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') != -1 ? true : false"
256
                         showValue="人造血管"></label-box>&nbsp;
265
                         showValue="人造血管"></label-box>&nbsp;
257
-                        <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('股静脉') != -1 ? true : false"
266
+                      <label-box
267
+                        :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('股静脉') != -1 ? true : false"
258
                         showValue="股静脉"></label-box>&nbsp;
268
                         showValue="股静脉"></label-box>&nbsp;
259
                       其他:
269
                       其他:
260
-                      <div style="display: inline-block;" 
270
+                      <div style="display: inline-block;"
261
                         v-if="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘') == -1 &&
271
                         v-if="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘') == -1 &&
262
-                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') == -1 &&
263
-                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('带隧道带绦纶套') == -1 &&
264
-                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') == -1"
265
-                      >
272
+                          QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') == -1 &&
273
+                          QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('带隧道带绦纶套') == -1 &&
274
+                          QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') == -1">
266
                         {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
275
                         {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
267
                       </div>
276
                       </div>
268
 
277
 
284
                     <div style="display: flex;">
293
                     <div style="display: flex;">
285
                       <div style="flex: 1;">
294
                       <div style="flex: 1;">
286
                         内瘘穿刺方式:
295
                         内瘘穿刺方式:
287
-                        <label-box :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('绳梯') != -1 ? true : false"
296
+                        <label-box
297
+                          :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('绳梯') != -1 ? true : false"
288
                           showValue="绳梯"></label-box>
298
                           showValue="绳梯"></label-box>
289
-                        <label-box :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('扣眼') != -1 ? true : false"
299
+                        <label-box
300
+                          :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('扣眼') != -1 ? true : false"
290
                           showValue="扣眼"></label-box>
301
                           showValue="扣眼"></label-box>
291
-                        <label-box :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('区域') != -1 ? true : false"
302
+                        <label-box
303
+                          :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('区域') != -1 ? true : false"
292
                           showValue="区域"></label-box>
304
                           showValue="区域"></label-box>
293
                       </div>
305
                       </div>
294
                       <div style="flex: 1;">
306
                       <div style="flex: 1;">
295
                         内瘘震颤和血管杂音:
307
                         内瘘震颤和血管杂音:
296
-                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 1 ? true : false" showValue="存在"></label-box>
297
-                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 2 ? true : false" showValue="减弱"></label-box>
298
-                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 3 ? true : false" showValue="不存在"></label-box>
308
+                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 1 ? true : false"
309
+                          showValue="存在"></label-box>
310
+                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 2 ? true : false"
311
+                          showValue="减弱"></label-box>
312
+                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 3 ? true : false"
313
+                          showValue="不存在"></label-box>
299
                       </div>
314
                       </div>
300
                     </div>
315
                     </div>
301
                   </td>
316
                   </td>
363
                           ? getAdminUser(monitor, "monitoring_nurse") : "/"
378
                           ? getAdminUser(monitor, "monitoring_nurse") : "/"
364
                         }}
379
                         }}
365
                       </span>
380
                       </span>
366
-                      <img class="es-img" :src="setAdminUserES(monitor, 'monitoring_nurse')" alt=""
367
-                        srcset="" v-else style="height: 40px" />
381
+                      <img class="es-img" :src="setAdminUserES(monitor, 'monitoring_nurse')" alt="" srcset="" v-else
382
+                        style="height: 40px" />
368
                     </td>
383
                     </td>
369
 
384
 
370
                   </tr>
385
                   </tr>
436
                         record.lastafterweight.weight_after).toFixed(1) }}kg</td>
451
                         record.lastafterweight.weight_after).toFixed(1) }}kg</td>
437
                       <td v-if="advice_index === 2">干体重(DW):</td>
452
                       <td v-if="advice_index === 2">干体重(DW):</td>
438
                       <td v-if="advice_index === 2">{{ record.assessment_before_dislysis.dry_weight ?
453
                       <td v-if="advice_index === 2">{{ record.assessment_before_dislysis.dry_weight ?
439
-                        record.assessment_before_dislysis.dry_weight : "0"}}kg</td>
454
+                        record.assessment_before_dislysis.dry_weight : "0" }}kg</td>
440
                       <td v-if="advice_index === 3">较干体重增加量:</td>
455
                       <td v-if="advice_index === 3">较干体重增加量:</td>
441
                       <td v-if="advice_index === 3">
456
                       <td v-if="advice_index === 3">
442
                         {{ (record.assessment_before_dislysis.weight_before -
457
                         {{ (record.assessment_before_dislysis.weight_before -
443
                           record.assessment_before_dislysis.dry_weight -
458
                           record.assessment_before_dislysis.dry_weight -
444
-                          record.assessment_before_dislysis.additional_weight).toFixed(2)}}kg
459
+                          record.assessment_before_dislysis.additional_weight).toFixed(2) }}kg
445
                       </td>
460
                       </td>
446
                       <td v-if="advice_index === 4">净脱水量:</td>
461
                       <td v-if="advice_index === 4">净脱水量:</td>
447
                       <td v-if="advice_index === 4">{{ record.assessment_after_dislysis.actual_ultrafiltration }}L</td>
462
                       <td v-if="advice_index === 4">{{ record.assessment_after_dislysis.actual_ultrafiltration }}L</td>
452
                         {{ record.assessment_after_dislysis.weight_after == 0 ||
467
                         {{ record.assessment_after_dislysis.weight_after == 0 ||
453
                           record.assessment_before_dislysis.weight_before == 0 ?
468
                           record.assessment_before_dislysis.weight_before == 0 ?
454
                           0 : (record.assessment_before_dislysis.weight_before -
469
                           0 : (record.assessment_before_dislysis.weight_before -
455
-                            record.assessment_after_dislysis.weight_after ).toFixed(2)
470
+                            record.assessment_after_dislysis.weight_after).toFixed(2)
456
                         }}kg</td>
471
                         }}kg</td>
457
                     </tr>
472
                     </tr>
458
                   </tbody>
473
                   </tbody>
564
                   <div class="inline_block" style="flex: 1">
579
                   <div class="inline_block" style="flex: 1">
565
                     透后体重:
580
                     透后体重:
566
                     <div class="under_line" style="width: 70px; text-align: center">
581
                     <div class="under_line" style="width: 70px; text-align: center">
567
-                      <span v-if=" record.assessment_after_dislysis.weight_after!=''">
582
+                      <span v-if="record.assessment_after_dislysis.weight_after != ''">
568
                         <!-- {{
583
                         <!-- {{
569
                           record.assessment_after_dislysis.weight_after
584
                           record.assessment_after_dislysis.weight_after
570
                             ? parseFloat(
585
                             ? parseFloat(
573
                             ).toFixed(1)
588
                             ).toFixed(1)
574
                             : "/"
589
                             : "/"
575
                         }} -->
590
                         }} -->
576
-                            {{  record.assessment_after_dislysis.weight_after}}
591
+                        {{ record.assessment_after_dislysis.weight_after }}
577
                       </span>
592
                       </span>
578
                     </div>
593
                     </div>
579
                     kg
594
                     kg
583
                     体重减少:
598
                     体重减少:
584
                     <div class="under_line" style="width: 70px; text-align: center">
599
                     <div class="under_line" style="width: 70px; text-align: center">
585
 
600
 
586
-                     <span>{{ record.assessment_after_dislysis &&
587
-                                record.assessment_before_dislysis &&
588
-                                (record.assessment_before_dislysis.weight_before -record.assessment_after_dislysis.weight_after).toFixed(2)
589
-                                ? (record.assessment_before_dislysis.weight_before -
590
-                                record.assessment_after_dislysis.weight_after).toFixed(2)
591
-                              : "/" }}
601
+                      <span>{{ record.assessment_after_dislysis &&
602
+                        record.assessment_before_dislysis &&
603
+                        (record.assessment_before_dislysis.weight_before
604
+                          - record.assessment_after_dislysis.weight_after).toFixed(2)
605
+                        ? (record.assessment_before_dislysis.weight_before -
606
+                          record.assessment_after_dislysis.weight_after).toFixed(2)
607
+                        : "/" }}
592
 
608
 
593
-                       </span> 
609
+                      </span>
594
                     </div>
610
                     </div>
595
                     kg
611
                     kg
596
                   </div>
612
                   </div>

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue Целия файл

33
                       dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
33
                       dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
34
                   </div>
34
                   </div>
35
                   <div style="flex: 1;">
35
                   <div style="flex: 1;">
36
-                    透析频次:
37
-                    <span style="display: inline-block;width: 50px;">
36
+                    透析频次:{{ predialysis.dialysis_count}}
37
+                    <!-- <span style="display: inline-block;">
38
                       {{ predialysis.dialysis_count}}
38
                       {{ predialysis.dialysis_count}}
39
-                    </span>
39
+                    </span> -->
40
                   </div>
40
                   </div>
41
                 </div>
41
                 </div>
42
               </td>
42
               </td>

+ 73 - 2
src/xt_pages/eleFaPiao/settleDetail.vue Целия файл

61
         <el-button v-if="$store.getters.xt_user.org_id != 10318"  size="small" type="primary"
61
         <el-button v-if="$store.getters.xt_user.org_id != 10318"  size="small" type="primary"
62
                    @click="auth">认证
62
                    @click="auth">认证
63
         </el-button>
63
         </el-button>
64
+
65
+        <el-button v-if="$store.getters.xt_user.org_id == 10318 || $store.getters.xt_user.org_id == 0"  size="small" type="primary"
66
+                   @click="batchOpen">批量开票
67
+        </el-button>
64
       </div>
68
       </div>
65
 
69
 
66
       <el-table
70
       <el-table
67
         :data="tableData"
71
         :data="tableData"
68
         border
72
         border
73
+        v-loading="isbatchloading"
74
+        @select="selectCostInfo"
75
+        @selection-change="changeCostInfoTableData"
76
+        @select-all="changeAllCostInfoTableData"
69
         style="width: 100%"
77
         style="width: 100%"
70
         :row-style="{ color: '#303133' }"
78
         :row-style="{ color: '#303133' }"
71
         :header-cell-style="{
79
         :header-cell-style="{
74
         }"
82
         }"
75
         highlight-current-row
83
         highlight-current-row
76
       >
84
       >
85
+        <el-table-column align="center" type="selection" width="55"></el-table-column>
86
+
77
         <el-table-column
87
         <el-table-column
78
           prop="date"
88
           prop="date"
79
           label="序号"
89
           label="序号"
374
         { path: false, name: '项目消费明细汇总' }
384
         { path: false, name: '项目消费明细汇总' }
375
       ],
385
       ],
376
       tableData: [],
386
       tableData: [],
387
+      isbatchloading:false,
377
       tableData2:[],
388
       tableData2:[],
378
       selecting_schs: [],
389
       selecting_schs: [],
379
       dialogfapiaoVisible:false,
390
       dialogfapiaoVisible:false,
418
         verify:[{ required: true, message: '请输入活动名称', trigger: 'blur' },]
429
         verify:[{ required: true, message: '请输入活动名称', trigger: 'blur' },]
419
       },
430
       },
420
       time:null,
431
       time:null,
432
+      selection:[],
421
       countdown: 0,
433
       countdown: 0,
422
 
434
 
423
     }
435
     }
432
   },
444
   },
433
 
445
 
434
   methods: {
446
   methods: {
447
+    selectCostInfo(selection, row) {
448
+      this.selection = selection
449
+    },
450
+    changeCostInfoTableData(val) {
451
+      this.selection = val
452
+    }, changeAllCostInfoTableData(selection) {
453
+      this.selection = selection
454
+    },
435
     searchAction(){
455
     searchAction(){
436
 
456
 
437
       this.getHisOrderList()
457
       this.getHisOrderList()
822
       }
842
       }
823
 
843
 
824
       var that = this;
844
       var that = this;
825
-      axios.get('http://127.0.0.1:9532/api/bwfapiao/red',{params:params}).then(function(response) {
845
+      axios.get('http://127.0.0.1:9531/api/bwfapiao/red',{params:params}).then(function(response) {
826
         if (response.data.state == 0) {
846
         if (response.data.state == 0) {
827
           that.red_loading = false
847
           that.red_loading = false
828
 
848
 
996
         });
1016
         });
997
 
1017
 
998
 
1018
 
999
-    },
1019
+    },batchOpen(){
1020
+      let ids  = ""
1021
+      for (var i = 0; i < this.selection.length; i++){
1022
+        if (ids.length == 0){
1023
+          ids = this.selection[i].id
1024
+        }else{
1025
+          ids = ids + "," + this.selection[i].id
1026
+        }
1027
+      }
1028
+      if(ids.length == 0 ){
1029
+        this.$message.error("请勾选需要开票的数据");
1030
+        return
1031
+      }
1032
+      let params = {
1033
+        id: ids,
1034
+        admin_user_id: this.$store.getters.xt_user.user.id,
1035
+      };
1036
+      var that = this;
1037
+      that.isbatchloading = true
1038
+
1039
+      axios.get('http://127.0.0.1:9531/api/bwfapiao/batchopen',{params:params}).then(function(response) {
1040
+        if (response.data.state == 0) {
1041
+          this.isbatchloading = false
1042
+
1043
+          that.$message.error(response.data.data.msg);
1044
+          return false
1045
+        } else {
1046
+          that.isbatchloading = false
1047
+          if(response.data.data.failed_code == -10){
1048
+            that.$confirm(response.data.data.msg, '错误信息', {
1049
+              confirmButtonText: '确 定',
1050
+              type: 'warning'
1051
+            }).then(() => {
1052
+
1053
+            }).catch(() => {
1054
+            })
1055
+          }else{
1056
+            that.$confirm(response.data.data.msg, '上传信息', {
1057
+              confirmButtonText: '确 定',
1058
+              type: 'warning'
1059
+            }).then(() => {
1060
+              // that.$message.success( response.data.data.msg)
1061
+              that.getHisOrderList()
1062
+            }).catch(() => {
1063
+              that.getHisOrderList()
1064
+            })
1065
+          }
1066
+        }
1067
+      }).catch(function(error) {
1068
+        that.isbatchloading = false
1000
 
1069
 
1070
+      })
1071
+    },
1001
     handleSelectionChange(val) {
1072
     handleSelectionChange(val) {
1002
       this.selecting_schs = val
1073
       this.selecting_schs = val
1003
     },
1074
     },

+ 9 - 5
src/xt_pages/hospitalStation/batchStatementTemplate/hospitalBatchPrint.vue Целия файл

87
         <td>住院号</td>
87
         <td>住院号</td>
88
         <td>{{info.number}}</td>
88
         <td>{{info.number}}</td>
89
         <td>科别</td>
89
         <td>科别</td>
90
-        <td width="100"></td>
90
+        <td width="100">血透室</td>
91
         <td>床号</td>
91
         <td>床号</td>
92
         <td></td>
92
         <td></td>
93
         <td>入院日期</td>
93
         <td>入院日期</td>
94
-        <td>{{info.his.in_hosptial_time.split(" ")[0]}}</td>
94
+        <td v-if="$store.getters.xt_user.org_id == 10215">{{info.his.in_hosptial_time.split(" ")[0]}}</td>
95
+        <td v-if="$store.getters.xt_user.org_id != 10215">{{info.order.setl_time.split(" ")[0]}}</td>
96
+
95
         <td>出院日期</td>
97
         <td>出院日期</td>
96
-        <td width="100">{{info.his.out_hosptial_time.split(" ")[0]}}</td>
97
-        <td>住院天数</td>
98
-        <td>{{getDay(info.his.in_hosptial_time.split(" ")[0],info.his.out_hosptial_time.split(" ")[0])}}</td>
98
+        <td width="100" v-if="$store.getters.xt_user.org_id == 10215">{{info.his.out_hosptial_time.split(" ")[0]}}</td>
99
+        <td v-if="$store.getters.xt_user.org_id != 10215">{{info.order.setl_time.split(" ")[0]}}</td>
99
 
100
 
101
+        <td>住院天数</td>
102
+        <td v-if="$store.getters.xt_user.org_id == 10215">{{getDay(info.his.in_hosptial_time.split(" ")[0],info.his.out_hosptial_time.split(" ")[0])}}</td>
103
+        <td v-if="$store.getters.xt_user.org_id != 10215">{{getDay(info.order.setl_time.split(" ")[0],info.order.setl_time.split(" ")[0])}}</td>
100
       </tr>
104
       </tr>
101
       <tr>
105
       <tr>
102
         <td>险种</td>
106
         <td>险种</td>

+ 2 - 2
src/xt_pages/user/components/PatientDetail.vue Целия файл

1049
     </el-form>
1049
     </el-form>
1050
     <!-- 打印预览 style="display: none"-->
1050
     <!-- 打印预览 style="display: none"-->
1051
     <div style="display: none">
1051
     <div style="display: none">
1052
-      <div id="print-info-box" v-if="org_id !=10206 && org_id!=0">
1052
+      <div id="print-info-box" v-if="org_id !=10206 ">
1053
         <div class="print_main_content" style="">
1053
         <div class="print_main_content" style="">
1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1056
-          <div >
1056
+          <div style="width: 99%;">
1057
             <table style="border-collapse: collapse;">
1057
             <table style="border-collapse: collapse;">
1058
               <thead>
1058
               <thead>
1059
                 <tr>
1059
                 <tr>