Browse Source

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

28169 1 month ago
parent
commit
790db267ef

+ 56 - 37
src/xt_pages/Pharmacy/drugCode.vue View File

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div>
3
-    <div style="display: flex;justify-content: space-between;margin-bottom:10px;">
4
-      <div class="cell clearfix">
3
+    <div style="display: flex;margin-bottom:10px;">
4
+      <div class="cell clearfix" style="flex: 1;">
5 5
         <span>发药时间:</span>
6 6
         <el-date-picker
7 7
           size="small"
@@ -30,50 +30,57 @@
30 30
           format="yyyy-MM-dd"
31 31
           value-format="yyyy-MM-dd"
32 32
         ></el-date-picker>
33
-      </div>
34
-
35
-
36
-      <div style="width:150px;">
37
-        <el-input  style="width: 150px"
38
-                   v-model="keywords" @input="searchAction"
39
-                   @keyup.enter.native="searchAction"
40
-                   class="filter-item" placeholder="请输入患者姓名"
41
-        />
42
-      </div>
43
-
44
-
45
-      <div>
46
-        <div>上传状态:
47
-          <el-select size="small" v-model="is_sale" placeholder="请选择" style="width:100px;" @change="changeStock">
48
-            <el-option
49
-              v-for="item,index in items"
50
-              :key="index"
51
-              :label="item.name"
52
-              :value="item.id">
53
-            </el-option>
54
-          </el-select>
55
-        </div>
56
-      </div>
57 33
 
58
-      <div>
59
-        <div>结算状态:
60
-          <el-select size="small" v-model="is_settle" placeholder="请选择" style="width:100px;" @change="changeSettle">
61
-            <el-option
62
-              v-for="item,index in settle_items"
63
-              :key="index"
64
-              :label="item.name"
65
-              :value="item.id">
66
-            </el-option>
67
-          </el-select>
34
+        <div style="width:150px;display: inline-block;">
35
+          <el-input  style="width: 150px"
36
+                    v-model="keywords" @input="searchAction"
37
+                    @keyup.enter.native="searchAction"
38
+                    class="filter-item" placeholder="请输入患者姓名"
39
+          />
68 40
         </div>
69 41
       </div>
70 42
 
71
-      <div>
43
+      <div style="flex: 1;">
72 44
         <el-button type="primary" @click="batchUpload()">批量上传</el-button>
73 45
         <el-button type="primary" @click="query()">查询</el-button>
74 46
         <el-button type="primary" @click="exportdata()">导出</el-button>
75 47
       </div>
76 48
     </div>
49
+    <div style="display: flex;margin-bottom:10px;">
50
+     
51
+      <div>上传状态:
52
+        <el-select size="small" v-model="is_sale" placeholder="请选择" style="width:100px;" @change="changeStock">
53
+          <el-option
54
+            v-for="item,index in items"
55
+            :key="index"
56
+            :label="item.name"
57
+            :value="item.id">
58
+          </el-option>
59
+        </el-select>
60
+      </div>&nbsp;&nbsp;
61
+
62
+      <div>结算状态:
63
+        <el-select size="small" v-model="is_settle" placeholder="请选择" style="width:100px;" @change="changeSettle">
64
+          <el-option
65
+            v-for="item,index in settle_items"
66
+            :key="index"
67
+            :label="item.name"
68
+            :value="item.id">
69
+          </el-option>
70
+        </el-select>
71
+      </div>&nbsp;&nbsp;
72
+
73
+      <div>是否有溯源码:
74
+        <el-select size="small" v-model="is_code" placeholder="请选择" style="width:100px;" @change="changeCode">
75
+          <el-option
76
+            v-for="item,index in code_items"
77
+            :key="index"
78
+            :label="item.name"
79
+            :value="item.id">
80
+          </el-option>
81
+        </el-select>
82
+      </div>&nbsp;&nbsp;
83
+    </div>
77 84
     <el-table v-loading="isloading" :data="tableData" border :row-style="{ color: '#303133' }" ref="table2"
78 85
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
79 86
               max-height="800"
@@ -208,6 +215,7 @@ export default {
208 215
       start_time: new Date(new Date().getFullYear(), new Date().getMonth(), 1).toLocaleDateString('en-CA'),
209 216
       end_time: new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0).toLocaleDateString('en-CA'),
210 217
       is_settle:"0",
218
+      is_code:"0",
211 219
       tableData: [],
212 220
       change_type: "3",
213 221
       selection: [],
@@ -221,6 +229,12 @@ export default {
221 229
         {id: "1", name: '已上传'},
222 230
         {id: "2", name: '未上传'},
223 231
       ],
232
+      code_items:[
233
+        {id: "0", name: '全部'},
234
+        {id: "2", name: '有溯源码'},
235
+        {id: "1", name: '无溯源码'},
236
+
237
+      ],
224 238
       settle_items: [
225 239
         {id: "0", name: '全部'},
226 240
         {id: "2", name: '已结算'},
@@ -610,6 +624,7 @@ export default {
610 624
         limit: this.limit,
611 625
         is_sale: this.is_sale,
612 626
         is_settle:this.is_settle,
627
+        is_code:this.is_code,
613 628
         keywords:this.keywords,
614 629
 
615 630
       }
@@ -626,6 +641,10 @@ export default {
626 641
           this.is_open = response.data.data.codeConfig.is_open
627 642
         }
628 643
       })
644
+    },changeCode(val){
645
+      this.is_code = val
646
+      this.getlist()
647
+
629 648
     },changeSettle(val){
630 649
 
631 650
       this.is_settle = val

+ 4 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_eightyfour.vue View File

@@ -217,7 +217,7 @@
217 217
                         record.assessment_before_dislysis.point_puncture : "/" }}
218 218
                       </div>&nbsp;&nbsp;
219 219
                       <div style="flex: 1;line-height: 30px;">
220
-                        穿刺护士:杨能华/
220
+                        穿刺护士:
221 221
                         <span v-if="setAdminUserES( record.dialysis_order,'puncture_nurse') == ''">
222 222
                           {{ getAdminUser( record.dialysis_order,"puncture_nurse")
223 223
                               ? getAdminUser( record.dialysis_order,"puncture_nurse") : ""
@@ -324,7 +324,7 @@
324 324
                       </td>
325 325
                       <td>{{ advice[0].delivery_way }}</td>
326 326
                       <td>{{ getTime(advice[0].execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
327
-                      <td style="height:30px;line-height:30px">
327
+                      <td style="height:30px;line-height:30px">杨能华/
328 328
                         <span v-if="setAdminUserES(advice[0],'advice_doctor') == ''">
329 329
                           {{ getAdminUser(advice[0],'advice_doctor')}}
330 330
                         </span>
@@ -348,9 +348,7 @@
348 348
                             {{record.assessment_after_dislysis.actual_treatment_minute ? record.assessment_after_dislysis.actual_treatment_minute :'/'}}min
349 349
                           </div>
350 350
                           <div style="flex: 1;">透析器凝血:
351
-                            <div class="under_line" style=" width: 60%;text-align: center; white-space: normal;">
352
-                              {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "" }}
353
-                            </div>
351
+                            {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "" }}
354 352
                           </div>
355 353
                         </div>
356 354
                       </td>
@@ -367,7 +365,7 @@
367 365
                 <div style="display: flex;border: 1px solid black;padding: 5px;">
368 366
                   <div style="flex: 1;">
369 367
                     <div style="display: inline-block;margin-right: 120px;">
370
-                      <span style="display: inline-block;">医生签名:</span>
368
+                      <span style="display: inline-block;">医生签名:</span>杨能华/
371 369
                       <span v-if="setAdminUserES(record.prescription, 'prescription_doctor') == ''">
372 370
                         {{ getAdminUser(record.prescription, 'prescription_doctor') }}
373 371
                       </span>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue View File

@@ -781,7 +781,7 @@
781 781
                             {{
782 782
                               monitor.displacement_quantity
783 783
                                 ? monitor.displacement_quantity
784
-                                : "0"
784
+                                : ""
785 785
                             }}
786 786
                           </span>
787 787
                         </td>

+ 58 - 41
src/xt_pages/dialysis/template/DialysisPrintOrdereightyfour.vue View File

@@ -173,7 +173,7 @@
173 173
                   穿刺点情况:{{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}
174 174
                 </div>&nbsp;&nbsp;
175 175
                 <div style="display: 1;line-height: 30px;">
176
-                  穿刺护士:杨能华/
176
+                  穿刺护士:
177 177
                   <span style="display: inline-block;width: 100px;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
178 178
                     {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
179 179
                   </span>
@@ -278,6 +278,7 @@
278 278
                 <td>{{ advice.delivery_way }}</td>
279 279
                 <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
280 280
                 <td style="height:30px;line-height:30px">
281
+                  杨能华/
281 282
                   <span v-if="setAdminUserES(advice.advice_doctor) == ''">
282 283
                     {{ getAdminUser(advice.advice_doctor)}}
283 284
                   </span>
@@ -304,16 +305,8 @@
304 305
                       {{afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute :'/'}}min
305 306
                     </div>
306 307
                     <div style="flex: 1;">透析器凝血:
307
-                      <div
308
-                        class="under_line"
309
-                        style="
310
-                          width: 60%;
311
-                          text-align: center;
312
-                          white-space: normal;
313
-                        "
314
-                      >
315
-                        {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
316
-                      </div>
308
+                      {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
309
+                      
317 310
                     </div>
318 311
                   </div>
319 312
                 </td>
@@ -329,7 +322,7 @@
329 322
           <div style="display: flex;border: 1px solid black;padding: 5px;">
330 323
             <div style="flex: 1;">
331 324
               <div style="display: inline-block;margin-right: 120px;">
332
-                <span style="display: inline-block;">医生签名:</span>
325
+                <span style="display: inline-block;">医生签名:</span>杨能华/
333 326
                 <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
334 327
                   {{ getAdminUser(prescription.creater)}}
335 328
                 </span>
@@ -540,7 +533,17 @@ export default {
540 533
       ){
541 534
         const obj = "上机前病情"
542 535
         checkDate.push(obj)
543
-      } if(this.predialysis.systolic_blood_pressure == '' &&
536
+      } if(this.predialysis.temperature ==''){
537
+        const obj0 = "体温"
538
+        checkDate.push(obj0)
539
+      } if(this.predialysis.pulse_frequency==''){
540
+        const obj1_1 = "脉搏"
541
+        checkDate.push(obj1_1)
542
+      } if(this.predialysis.breathing_rate==''){
543
+        const obj1_2 = "呼吸"
544
+        checkDate.push(obj1_2)
545
+      }
546
+      if(this.predialysis.systolic_blood_pressure == '' &&
544 547
         this.predialysis.diastolic_blood_pressure == ''
545 548
       ){
546 549
         const obj1 = "血压"
@@ -555,16 +558,22 @@ export default {
555 558
       } if(this.afterdialysis.actual_treatment_hour == ''){
556 559
         const obj4 = "治疗时间"
557 560
         checkDate.push(obj4)
558
-      } if(this.prescription.anticoagulant == ''){
561
+      } if (
562
+        this.prescription.dialyzer_perfusion_apparatus == '' 
563
+      ){
564
+        const obj18 = "透析(滤)器"
565
+        checkDate.push(obj18)
566
+      }
567
+      if(this.prescription.anticoagulant == ''){
559 568
         const obj5 = "抗凝剂未填"
560 569
         checkDate.push(obj5)
561
-      } if(this.prescription.anticoagulant_shouji == 0 && this.prescription.anticoagulant=='普通肝素'){
570
+      } if(this.prescription.anticoagulant_shouji == 0 && this.prescription.anticoagulant==2){
562 571
         const obj6 = "首剂"
563 572
         checkDate.push(obj6)
564
-      } if(this.prescription.anticoagulant_weichi == 0 && this.prescription.anticoagulant=='普通肝素'){
573
+      } if(this.prescription.anticoagulant_weichi == 0 && this.prescription.anticoagulant==2){
565 574
         const obj7 = "维持"
566 575
         checkDate.push(obj7)
567
-      } if(this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant=='普通肝素'){
576
+      } if(this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant==2){
568 577
         const obj8 = "总量"
569 578
         checkDate.push(obj8)
570 579
       }
@@ -572,16 +581,16 @@ export default {
572 581
         const obj9 = "上次透后体重"
573 582
         checkDate.push(obj9)
574 583
       } if(this.predialysis.weight_before == 0){
575
-        const obj10 = "本次透前体重"
584
+        const obj10 = "透前体重"
576 585
         checkDate.push(obj10)
577 586
       } if(this.predialysis.dry_weight == 0){
578 587
         const obj11 = "干体重"
579 588
         checkDate.push(obj11)
580 589
       } if(this.afterdialysis.weight_after == 0){
581
-        const obj12 = "本次透后体重"
590
+        const obj12 = "透后体重"
582 591
         checkDate.push(obj12)
583
-      } if(this.prescription.target_ultrafiltration == 0){
584
-        const obj13 = "目标脱水量"
592
+      } if(this.prescription.calcium == 0){
593
+        const obj13 = "透析液钙浓度"
585 594
         checkDate.push(obj13)
586 595
       } if(this.prescription.prescription_water == 0){
587 596
         const obj14 = "处方脱水量"
@@ -589,29 +598,26 @@ export default {
589 598
       } if(this.prescription.creater == ""){
590 599
         const obj15 = "医生签名"
591 600
         checkDate.push(obj15)
592
-      } if(this.prescription.dialysate_flow == ''){
601
+      } 
602
+      if(this.afterdialysis.actual_treatment_hour == '' && 
603
+          this.afterdialysis.actual_treatment_minute==''){
593 604
         const obj16 = "透析液流量"
594 605
         checkDate.push(obj16)
595
-      } if(this.prescription.blood_flow_volume == ''){
596
-        const obj17 = "血流量"
606
+      } if(this.afterdialysis.cruor == ''){
607
+        const obj17 = "透析器凝血"
597 608
         checkDate.push(obj17)
598
-      } if (this.predialysis.machine_type == '') {
599
-        const obj19 = "透析器"
609
+      } 
610
+      if (this.predialysis.point_puncture == '') {
611
+        const obj19 = "穿刺点情况"
600 612
         checkDate.push(obj19)
601
-      } if (
602
-        this.prescription.dialysis_irrigation == '' &&
603
-        this.prescription.dialysis_dialyszers == '' &&
604
-        this.prescription.dialysis_strainer == ''
605
-      ){
606
-        const obj18 = "透析(滤)器"
607
-        checkDate.push(obj18)
608
-      } if (this.predialysis.blood_access_part_opera_name == ''){
613
+      } 
614
+      if (this.predialysis.blood_access_part_opera_name == ''){
609 615
         const obj20 = "血管通路"
610 616
         checkDate.push(obj20)
611 617
       } if (this.dialysisOrder == null ||
612 618
         this.dialysisOrder.puncture_nurse == 0
613 619
       ) {
614
-        const obj21 = "穿刺"
620
+        const obj21 = "穿刺护士"
615 621
         checkDate.push(obj21)
616 622
       } if(this.summary.dialysis_summary == ""){
617 623
         const obj22 = "透析小结"
@@ -620,21 +626,32 @@ export default {
620 626
         this.dialysisOrder == null ||
621 627
         this.dialysisOrder.start_nurse == 0
622 628
       ) {
623
-        const obj23 = "护士签名"
629
+        const obj23 = "责任护士"
624 630
         checkDate.push(obj23)
631
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
632
+        const obj49='核对护士'
633
+        checkDate.push(obj49)
634
+      } else if (this.dialysisOrder != null && this.check.creater == 0) {
635
+        const obj49='核对护士'
636
+        checkDate.push(obj49)
637
+      } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0) {
638
+        const obj49='核对护士'
639
+        checkDate.push(obj49)
640
+      } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0) {
641
+        const obj49='核对护士'
642
+        checkDate.push(obj49)
625 643
       }
626
-
627
-     if(this.tableAdvice.length > 0){
628
-        let num = 0
644
+      if(this.tableAdvice.length > 0){
629 645
         this.tableAdvice.map(item => {
630 646
           if(item.id > 0 && (item.created_time || item.start_time)){
631
-            if(item.execution_staff ==0 || item.checker ==0){
632
-              const obj24 = '执行,核对'
647
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
648
+              const obj24 = '执行,医生'
633 649
               checkDate.push(obj24)
634 650
             }
635 651
           }
636 652
         })
637 653
       }
654
+      
638 655
       this.getcheckData(checkDate)
639 656
     },
640 657
     getDisplaceLiquiPart: function(val) {

+ 1 - 1
src/xt_pages/hospitalStation/hospitalBatchStatementPrint.vue View File

@@ -13,7 +13,7 @@
13 13
       >
14 14
     </template>
15 15
 
16
-    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10215 || this.$store.getters.xt_user.org_id == 0">
16
+    <div class='dialysisPage' style="padding-top:40px;" >
17 17
       <hospital-batch-print :infos="infos"></hospital-batch-print>
18 18
     </div>
19 19
   </div>

+ 116 - 9
src/xt_pages/outpatientTool/components/allgather.vue View File

@@ -46,11 +46,6 @@
46 46
       <el-table-column align="center" prop="price" label="费用">
47 47
         <template slot-scope="scope">{{ scope.row.price.toFixed(2) }}</template>
48 48
       </el-table-column>
49
-      <el-table-column align="center" prop="sum" label="费用总额">
50
-        <template slot-scope="scope">
51
-          <div>{{ scope.row.sum.toFixed(2) }}</div>
52
-        </template>
53
-      </el-table-column>
54 49
 
55 50
     </el-table>
56 51
   </div>
@@ -147,7 +142,8 @@ export default {
147 142
         end_time: end_time,
148 143
         type: 0,
149 144
         keyword: this.keywords,
150
-        time_type: this.item_time_type
145
+        time_type: this.item_time_type,
146
+        s_type: 1,
151 147
       }
152 148
       GetSummaryDetail(params).then(response => {
153 149
         if (response.data.state == 0) {
@@ -163,7 +159,10 @@ export default {
163 159
           this.tableData = []
164 160
           this.all_table_data = []
165 161
 
166
-          let tempData = response.data
162
+          let tempDataTwo = response.data.Results
163
+          console.log(tempDataTwo)
164
+
165
+          let tempData = response.data.Patients
167 166
           tempPatientsTwo = tempData
168 167
 
169 168
           let infos = this.unique2(tempPatientsTwo)
@@ -186,10 +185,113 @@ export default {
186 185
 
187 186
             this.tableData.push(obj)
188 187
           }
189
-          for(let i = 0; i < this.tableData.length;i++){
190
-            this.tableData[i].sum = sum
188
+          if (tempDataTwo.length > 0){
189
+            let obj = {
190
+              'price': tempDataTwo[0].TotalMedicalFee,
191
+              'item_name': "医疗费总额"
192
+            }
193
+            this.tableData.push(obj)
194
+
195
+            let obj1 = {
196
+              'price': tempDataTwo[0].Fund,
197
+              'item_name': "基金支付总金额"
198
+            }
199
+            this.tableData.push(obj1)
200
+
201
+
202
+            let obj2 = {
203
+              'price': tempDataTwo[0].AcctPay,
204
+              'item_name': "个人账户支付总金额"
205
+            }
206
+            this.tableData.push(obj2)
207
+
208
+
209
+            let obj3 = {
210
+              'price': tempDataTwo[0].PsnPay,
211
+              'item_name': "个人自付总金额"
212
+            }
213
+            this.tableData.push(obj3)
214
+
215
+            let obj4 = {
216
+              'price': tempDataTwo[0].PoolFundPay,
217
+              'item_name': "基金统筹总金额"
218
+            }
219
+            this.tableData.push(obj4)
220
+
221
+
222
+            let obj5 = {
223
+              'price': tempDataTwo[0].DaE,
224
+              'item_name': "大额支付总金额"
225
+            }
226
+            this.tableData.push(obj5)
227
+
228
+
229
+            let obj6 = {
230
+              'price': tempDataTwo[0].XianXing,
231
+              'item_name': "先行自付总金额"
232
+            }
233
+            this.tableData.push(obj6)
234
+
235
+
236
+
237
+            let obj7 = {
238
+              'price': tempDataTwo[0].QuanZiFei,
239
+              'item_name': "全自费总金额"
240
+            }
241
+            this.tableData.push(obj7)
242
+
243
+            let obj8 = {
244
+              'price': tempDataTwo[0].YiLiaoJiuZhu,
245
+              'item_name': "医疗救助基金总额"
246
+            }
247
+            this.tableData.push(obj8)
248
+
249
+
250
+            let obj9 = {
251
+              'price': tempDataTwo[0].DaBing,
252
+              'item_name': "大病基金总额"
253
+            }
254
+            this.tableData.push(obj9)
255
+
256
+
257
+
258
+            let obj10 = {
259
+              'price': tempDataTwo[0].GongWuYuan,
260
+              'item_name': "公务员补助"
261
+            }
262
+            this.tableData.push(obj10)
263
+
264
+
265
+
266
+
267
+            let obj11 = {
268
+              'price': tempDataTwo[0].QiYe,
269
+              'item_name': "企业补充支付"
270
+            }
271
+            this.tableData.push(obj11)
272
+
273
+
274
+            let obj12= {
275
+              'price': tempDataTwo[0].QiTa,
276
+              'item_name': "其它支付"
277
+            }
278
+            this.tableData.push(obj12)
279
+
280
+
281
+
191 282
           }
192 283
 
284
+
285
+
286
+
287
+          let obj = {
288
+            'sum': 0,
289
+            'price': 0,
290
+            'cost_classify': infos[e].cost_classify,
291
+            'item_name': this.getName(infos[e].cost_classify)
292
+          }
293
+
294
+
193 295
           // for (let i = 0; i < tempPatientsThree.length; i++) {
194 296
           //   let sum = 0
195 297
           //   for (let b = 0; b < tempPatientsThree[i].length; b++) {
@@ -220,8 +322,13 @@ export default {
220 322
         return '耗材费'
221 323
       } else {
222 324
         var costClassify = getDictionaryDataConfig('system', 'cost_classify')
325
+        console.log(costClassify)
223 326
         var name = ''
224 327
         for (let i = 0; i < costClassify.length; i++) {
328
+          // console.log(cost_classify)
329
+          // console.log(costClassify[i].id)
330
+
331
+
225 332
           if (cost_classify == costClassify[i].id) {
226 333
             name = costClassify[i].name
227 334
           }

+ 20 - 128
src/xt_pages/outpatientTool/components/personSettle.vue View File

@@ -46,32 +46,30 @@
46 46
         <el-button size="small" type="primary" @click="export_detail">报表下载</el-button>
47 47
       </div>
48 48
     </div>
49
-    <el-table :data="tableData" border :row-style="{ color: '#303133' }"
49
+    <el-table ref="tables" :data="tableData" border :row-style="{ color: '#303133' }"
50 50
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
51
-
52 51
               v-loading="settle_loading"
53 52
               max-height="600"
54
-              :summary-method="getTotal"
55 53
               highlight-current-row>
56 54
 
57
-      <el-table-column align="center" label="患者名字" fixed>
55
+      <el-table-column align="center" prop="name" label="患者名字" fixed>
58 56
         <template slot-scope="scope">{{ scope.row.name }}</template>
59 57
       </el-table-column>
60
-      <el-table-column align="center" prop="item_name" label="身份证">
58
+      <el-table-column align="center" prop="id_card_no" label="身份证">
61 59
         <template slot-scope="scope">
62 60
           {{scope.row.id_card_no}}
63 61
         </template>
64 62
       </el-table-column>
65 63
 
66 64
 
67
-      <el-table-column align="center"  label="透析次数">
65
+      <el-table-column align="center" prop="dis"   label="透析次数">
68 66
         <template slot-scope="scope">
69 67
           {{scope.row.dis.length}}
70 68
 
71 69
         </template>
72 70
       </el-table-column>
73 71
 
74
-      <el-table-column align="center"  label="结算次数">
72
+      <el-table-column align="center" prop="s_count"  label="结算次数">
75 73
         <template slot-scope="scope">
76 74
           {{scope.row.orders.length}}
77 75
         </template>
@@ -458,7 +456,7 @@ export default {
458 456
       })
459 457
       this.sameRowArr = sameRowArr
460 458
     }, merge({ row, column, rowIndex, columnIndex }) {
461
-      if (columnIndex === 0 || columnIndex === 1) {
459
+      if (columnIndex === 0) {
462 460
         const _row = this.tempArr[rowIndex]
463 461
         const _col = _row > 0 ? 1 : 0
464 462
         return {
@@ -467,133 +465,27 @@ export default {
467 465
         }
468 466
       }
469 467
     },
470
-    getTotal(param) {
471
-      const { columns, data } = param
472
-      const sums = []
473
-      columns.forEach((column, index) => {
474
-        if (index === 0) {
475
-          sums[index] = '合计'
476
-          return
477
-        }
478
-        const values = data.map(item => Number(item[column.property]))
479
-        if (column.property === 'total' || column.property === 'medfee_sumamt'  || column.property === 'fund_pay_sumamt'  ||
480
-          column.property === 'acct_pay'  || column.property === 'maf_pay'  || column.property === 'psn_cash_pay'  ||
481
-          column.property === 'hifp_pay'  || column.property === 'hifob_pay' ||  column.property === 'hifes_pay' ||
482
-          column.property === 'hifmi_pay' || column.property === 'oth_pay' || column.property === 'cvlserv_pay' ||
483
-          column.property === 'wechat_pay' || column.property === 'ali_pay' || column.property === 'band_card_pay' ||
484
-          column.property === 'jifen_pay' || column.property === 'cash_pay' || column.property ==='card_desc'
485
-        ) {
486
-          sums[index] = values.reduce((prev, curr) => {
487
-            const value = Number(curr)
488
-            if (!isNaN(value)) {
489
-              return prev + curr
490
-            } else {
491
-              return prev
492
-            }
493
-          }, 0)
494
-          sums[index] = sums[index].toFixed(2)
495
-        } else {
496
-          sums[index] = ''
497
-        }
498
-      })
499
-
500
-      return sums
501
-    },
502
-    export_detail() {
468
+  export_detail() {
503 469
 
504 470
       let list = []
505
-      // for (let i = 0; i < this.tableData.length; i++) {
506
-      //   let order = this.tableData[i]
507
-      //   let name = order.other_name
508
-      //   let id_card_no = order.id_card_no
509
-      //
510
-      //   let time = ''
511
-      //   let balance_accounts = ""
512
-      //   let med_type = ""
513
-      //   let medfee_sumamt = ""
514
-      //   let fund_pay_sumamt = ""
515
-      //   let acct_pay = ""
516
-      //   let psn_cash_pay = ""
517
-      //   let hifes_pay = ""
518
-      //   let hifmi_pay = ""
519
-      //   let hifp_pay = ""
520
-      //   let hifob_pay = ""
521
-      //   let maf_pay = ""
522
-      //   let time2 = ""
523
-      //   time2 = this.getTimes(order.settle_accounts_date)
524
-      //
525
-      //   let total = ""
526
-      //
527
-      //   if(order.setl_time.length == 0){
528
-      //
529
-      //     time = this.getTimes(order.settle_accounts_date)
530
-      //
531
-      //   }else {
532
-      //
533
-      //     time = order.setl_time.split(" ")[0]
534
-      //
535
-      //   }
536
-      //
537
-      //   if (order.is_medicine_insurance == 0) {
538
-      //     balance_accounts = '自费'
539
-      //   }
540
-      //
541
-      //   if (order.is_medicine_insurance == 1) {
542
-      //     balance_accounts = '医保'
543
-      //   }
544
-      //
545
-      //   if (order.med_type == '14') {
546
-      //     med_type = '门诊特殊病'
547
-      //   }
548
-      //
549
-      //   if (order.med_type == '11') {
550
-      //     med_type = '普通门诊'
551
-      //   }
552
-      //
553
-      //   medfee_sumamt = order.medfee_sumamt
554
-      //   fund_pay_sumamt = order.fund_pay_sumamt
555
-      //
556
-      //   acct_pay = order.acct_pay
557
-      //
558
-      //   psn_cash_pay = order.psn_cash_pay
559
-      //   hifes_pay = order.hifes_pay
560
-      //   hifmi_pay = order.hifmi_pay
561
-      //   hifp_pay = order.hifp_pay
562
-      //   hifob_pay = order.hifob_pay
563
-      //   maf_pay = order.maf_pay
564
-      //   total = order.total
565
-      //
566
-      //
567
-      //   let obj = {
568
-      //     '患者姓名': name,
569
-      //     '身份证': id_card_no,
570
-      //     '治疗日期': time2,
571
-      //     '结算日期': time,
572
-      //     '结算类型': balance_accounts,
573
-      //     '处方类型': med_type,
574
-      //     '医疗费总额': medfee_sumamt,
575
-      //     '基金支付金额': fund_pay_sumamt,
576
-      //     '基金统筹金额': hifp_pay,
577
-      //     '大额基金支付':hifob_pay,
578
-      //     '医疗救助基金':maf_pay,
579
-      //     '个人账户支付金额': acct_pay,
580
-      //     '个人支付基金': psn_cash_pay,
581
-      //     '企业补充医疗保险基金支出': hifes_pay,
582
-      //     '居民大病保险资金支出': hifmi_pay,
583
-      //     '费用总额':total,
584
-      //
585
-      //   }
586
-      //   list.push(obj)
587
-      // }
471
+      for (let i = 0; i < this.tableData.length; i++) {
472
+        let order = this.tableData[i]
473
+        let name = order.name
474
+
475
+        let obj = {
476
+          '患者姓名': name,
477
+        }
478
+        list.push(obj)
479
+      }
588 480
       import('@/vendor/Export2Excel').then(excel => {
589
-        const tHeader = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
590
-        const filterVal = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出',  '费用总额']
481
+        const tHeader = [ '患者姓名']
482
+        const filterVal = [ '患者姓名']
591 483
         const data = this.formatJson(filterVal, list)
592 484
         excel.export_json_to_excel1({
593 485
           header: tHeader,
594 486
           data,
595
-          filename: '结算明细',
596
-          ref:this.$refs['report-table'].$el
487
+          filename: '汇总',
488
+          ref:this.$refs['tables'].$el
597 489
         })
598 490
       })
599 491
 

+ 155 - 149
src/xt_pages/outpatientTool/components/settle.vue View File

@@ -333,8 +333,6 @@ import { uParseTime } from '@/utils/tools'
333 333
         items: [
334 334
           { id: 1, name: '医保' },
335 335
           { id: 2, name: '自费' },
336
-          { id: 3, name: '门诊特殊病' },
337
-          { id: 4, name: '普通门诊' },
338 336
           { id: 5, name: '城乡居民基本医疗保险' },
339 337
           { id: 6, name: '职工基本医疗保险' }
340 338
 
@@ -673,203 +671,211 @@ import { uParseTime } from '@/utils/tools'
673 671
                 this.tableData_three.push(order)
674 672
               }
675 673
             }
676
-          }
677
-        })
678
-
679
-
680 674
 
675
+            let list = []
676
+            for (let i = 0; i < this.tableData_three.length; i++) {
677
+              let order = this.tableData_three[i]
678
+              let name = order.other_name
679
+              let id_card_no = order.id_card_no
680
+              let m_id = order.mdtrt_id
681
+              let setl_date = order.setl_time.split(" ")[0]
682
+              let setl_time = order.setl_time
683
+              let sick_name =this.getSickName(order.his.sick_type)
684
+              let cbd = this.getName(order.his.insuplc_admdvs) + "(" + order.his.insuplc_admdvs + ")"
685
+              let settle_type = ""
686
+              if(order.is_medicine_insurance == 0){
687
+                settle_type = "自费"
688
+              }else{
689
+                settle_type = this.getTypeName(order)
690
+              }
681 691
 
682
-        let list = []
683
-        for (let i = 0; i < this.tableData_three.length; i++) {
684
-          let order = this.tableData_three[i]
685
-          let name = order.other_name
686
-          let id_card_no = order.id_card_no
687
-          let m_id = order.mdtrt_id
688
-          let setl_date = order.setl_time.split(" ")[0]
689
-          let setl_time = order.setl_time
690
-          let sick_name =this.getSickName(order.his.sick_type)
691
-          let cbd = this.getName(order.his.insuplc_admdvs) + "(" + order.his.insuplc_admdvs + ")"
692
-          let settle_type = ""
693
-          if(order.is_medicine_insurance == 0){
694
-             settle_type = "自费"
695
-          }else{
696
-            settle_type = this.getTypeName(order)
697
-          }
692
+              let med_name = ""
693
+              switch (order.med_type){
694
+                case "14":
695
+                  med_name = "门诊特殊病"
696
+                  break
697
+                case "11":
698
+                  med_name = "普通门诊"
699
+
700
+                  break
701
+                case "1112":
702
+                  med_name = "普通门诊"
703
+
704
+                  break
705
+                case "140104":
706
+                  med_name = "城乡门诊特殊病(140104)"
707
+
708
+                  break
709
+                case "140201":
710
+                  med_name = "门诊特病(140201)"
711
+
712
+                  break
713
+                case "992102":
714
+                  med_name = "单病种(992102)"
715
+                  break
716
+              }
698 717
 
699
-          let med_name = ""
700
-          switch (order.med_type){
701
-            case "14":
702
-              med_name = "门诊特殊病"
703
-              break
704
-            case "11":
705
-              med_name = "普通门诊"
718
+              let mode_name = ""
719
+              if(order.sch.id == 0){
720
+                mode_name = "未排班"
721
+              }else{
722
+                mode_name = this.modeOptions[order.sch.mode_id].name
723
+              }
706 724
 
707
-              break
708
-            case "1112":
709
-              med_name = "普通门诊"
710 725
 
711
-              break
712
-            case "140104":
713
-              med_name = "城乡门诊特殊病(140104)"
714 726
 
715
-              break
716
-            case "140201":
717
-              med_name = "门诊特病(140201)"
727
+              let balance_accounts = ""
728
+              let med_type = ""
729
+              let medfee_sumamt = ""
730
+              let fund_pay_sumamt = ""
731
+              let acct_pay = ""
732
+              let psn_cash_pay = ""
733
+              let hifes_pay = ""
734
+              let hifmi_pay = ""
735
+              let hifp_pay = ""
736
+              let hifob_pay = ""
737
+              let maf_pay = ""
738
+              let time2 = ""
739
+              time2 = this.getTimes(order.settle_accounts_date)
718 740
 
719
-              break
720
-            case "992102":
721
-              med_name = "单病种(992102)"
722
-              break
723
-          }
724 741
 
725
-          let mode_name = ""
726
-          if(order.sch.id == 0){
727
-            mode_name = "未排班"
728
-          }else{
729
-            mode_name = this.modeOptions[order.sch.mode_id].name
730
-          }
742
+              medfee_sumamt = order.medfee_sumamt
743
+              fund_pay_sumamt = order.fund_pay_sumamt
744
+              acct_pay = order.acct_pay
745
+              psn_cash_pay = order.psn_cash_pay
731 746
 
747
+              console.log( order.psn_cash_pay)
732 748
 
749
+              console.log(psn_cash_pay)
733 750
 
734
-          let balance_accounts = ""
735
-          let med_type = ""
736
-          let medfee_sumamt = ""
737
-          let fund_pay_sumamt = ""
738
-          let acct_pay = ""
739
-          let psn_cash_pay = ""
740
-          let hifes_pay = ""
741
-          let hifmi_pay = ""
742
-          let hifp_pay = ""
743
-          let hifob_pay = ""
744
-          let maf_pay = ""
745
-          let time2 = ""
746
-          time2 = this.getTimes(order.settle_accounts_date)
751
+              hifp_pay = order.hifp_pay
752
+              hifob_pay = order.hifob_pay
747 753
 
754
+              let preselfpay_amt;
755
+              preselfpay_amt = order.preselfpay_amt
748 756
 
749
-          medfee_sumamt = order.medfee_sumamt
750
-          fund_pay_sumamt = order.fund_pay_sumamt
751
-          acct_pay = order.acct_pay
752
-          psn_cash_pay = order.psn_cash_pay
753
-          hifp_pay = order.hifp_pay
754
-          hifob_pay = order.hifob_pay
755 757
 
756
-          let preselfpay_amt;
757
-          preselfpay_amt = order.preselfpay_amt
758
+              let overlmt_self_pay;
759
+              overlmt_self_pay = order.overlmt_self_pay
758 760
 
761
+              let fulamt_ownpay_amt;
762
+              fulamt_ownpay_amt = order.fulamt_ownpay_amt
759 763
 
760
-          let overlmt_self_pay;
761
-          overlmt_self_pay = order.overlmt_self_pay
762 764
 
763
-          let fulamt_ownpay_amt;
764
-          fulamt_ownpay_amt = order.fulamt_ownpay_amt
765
+              let inscp_scp_amt;
766
+              inscp_scp_amt = order.inscp_scp_amt
765 767
 
766 768
 
767
-          let inscp_scp_amt;
768
-          inscp_scp_amt = order.inscp_scp_amt
769 769
 
770
+              maf_pay = order.maf_pay
770 771
 
771 772
 
772
-          maf_pay = order.maf_pay
773
+              hifes_pay = order.hifes_pay
774
+              hifmi_pay = order.hifmi_pay
773 775
 
774 776
 
775
-          hifes_pay = order.hifes_pay
776
-          hifmi_pay = order.hifmi_pay
777
+              let oth_pay;
778
+              oth_pay = order.oth_pay
777 779
 
778 780
 
779
-          let oth_pay;
780
-          oth_pay = order.oth_pay
781
+              let cvlserv_pay;
782
+              cvlserv_pay = order.cvlserv_pay
781 783
 
782 784
 
783
-          let cvlserv_pay;
784
-          cvlserv_pay = order.cvlserv_pay
785 785
 
786
+              let fa_piao_code;
787
+              fa_piao_code = order.fa_piao_code
786 788
 
787 789
 
788
-          let fa_piao_code;
789
-          fa_piao_code = order.fa_piao_code
790
+              let fa_piao_number;
791
+              fa_piao_number = order.fa_piao_number
790 792
 
793
+              let ali_pay;
794
+              ali_pay = order.ali_pay
791 795
 
792
-          let fa_piao_number;
793
-          fa_piao_number = order.fa_piao_number
794 796
 
795
-          let ali_pay;
796
-          ali_pay = order.ali_pay
797
+              let band_card_pay;
798
+              band_card_pay = order.band_card_pay
797 799
 
798 800
 
799
-          let band_card_pay;
800
-          band_card_pay = order.band_card_pay
801
+              let jifen_pay;
802
+              jifen_pay = order.jifen_pay
801 803
 
804
+              let wechat_pay;
805
+              wechat_pay = order.wechat_pay
802 806
 
803
-          let jifen_pay;
804
-          jifen_pay = order.jifen_pay
805 807
 
806
-          let wechat_pay;
807
-          wechat_pay = order.wechat_pay
808
+              let cash_pay;
809
+              cash_pay = order.cash_pay
808 810
 
809 811
 
810
-          let cash_pay;
811
-          cash_pay = order.cash_pay
812
+              let card_desc;
813
+              card_desc = order.card_desc
812 814
 
813 815
 
814
-          let card_desc;
815
-          card_desc = order.card_desc
816
+              let oth_desc;
817
+              oth_desc = order.oth_desc
816 818
 
817 819
 
818
-          let oth_desc;
819
-          oth_desc = order.oth_desc
820
+              let obj = {
821
+                '患者姓名': name,
822
+                '身份证': id_card_no,
823
+                "就诊号": m_id,
824
+                '治疗日期': time2,
825
+                "结算日期": setl_date,
826
+                '结算时间': setl_time,
827
+                "病种名称":sick_name,
828
+                "参保地":cbd,
829
+                '结算类型': settle_type,
830
+                '处方类型':  med_name,
831
+                // "透析模式": mode_name,
832
+                '医疗费总额': medfee_sumamt,
833
+                '基金支付金额': fund_pay_sumamt,
834
+                '个人账户支付金额': acct_pay,
835
+                '个人支付金额': psn_cash_pay,
836
+                '基金统筹金额': hifp_pay,
837
+                '大额基金支付':hifob_pay,
838
+                '先行自付金额': preselfpay_amt,
839
+                '超限价金额': overlmt_self_pay,
840
+                '全自费金额': fulamt_ownpay_amt,
841
+                '符合政策范围金额': inscp_scp_amt,
842
+                '医疗救助基金':maf_pay,
843
+                '企业补充医疗保险基金支出': hifes_pay,
844
+                '居民大病保险资金支出': hifmi_pay,
845
+                '其他支付': oth_pay,
846
+                '公务员医疗补助资金支出': cvlserv_pay,
847
+                '发票号码': fa_piao_number,
848
+                '发票编号': fa_piao_code,
849
+                '微信支付': wechat_pay,
850
+                '支付宝支付': ali_pay,
851
+                '银行卡支付': band_card_pay,
852
+                '积分支付': jifen_pay,
853
+                '现金支付': cash_pay,
854
+                '储值卡说明': card_desc,
855
+                '其他说明': oth_desc,
856
+              }
857
+              list.push(obj)
858
+            }
820 859
 
860
+            if(list.length > 0){
861
+              import('@/vendor/Export2Excel').then(excel => {
862
+                const tHeader = ['患者姓名', '身份证', "就诊号", '治疗日期', '结算日期', "结算时间", "病种名称", "参保地", '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付金额', "基金统筹金额", "大额基金支付", "先行自付金额", "超限价金额", "全自费金额", "符合政策范围金额", "医疗救助基金", '企业补充医疗保险基金支出', '居民大病保险资金支出', "其他支付", "公务员医疗补助资金支出", "发票号码", "发票编号", "微信支付", "支付宝支付", "银行卡支付", "积分支付", "现金支付", "储值卡说明", '其他说明']
863
+                const filterVal = ['患者姓名', '身份证', "就诊号", '治疗日期', '结算日期', "结算时间", "病种名称", "参保地", '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付金额', "基金统筹金额", "大额基金支付", "先行自付金额", "超限价金额", "全自费金额", "符合政策范围金额", "医疗救助基金", '企业补充医疗保险基金支出', '居民大病保险资金支出', "其他支付", "公务员医疗补助资金支出", "发票号码", "发票编号", "微信支付", "支付宝支付", "银行卡支付", "积分支付", "现金支付", "储值卡说明", '其他说明']
864
+
865
+                const data = this.formatJson(filterVal, list)
866
+                excel.export_json_to_excel({
867
+                  header: tHeader,
868
+                  data,
869
+                  filename: '结算明细'
870
+                })
871
+              })
872
+            }
821 873
 
822
-          let obj = {
823
-            '患者姓名': name,
824
-            '身份证': id_card_no,
825
-            "就诊号": m_id,
826
-            '治疗日期': time2,
827
-            "结算日期": setl_date,
828
-            '结算时间': setl_time,
829
-            "病种名称":sick_name,
830
-            "参保地":cbd,
831
-            '结算类型': settle_type,
832
-            '处方类型':  med_name,
833
-            // "透析模式": mode_name,
834
-            '医疗费总额': medfee_sumamt,
835
-            '基金支付金额': fund_pay_sumamt,
836
-            '个人账户支付金额': acct_pay,
837
-            '个人支付金额': psn_cash_pay,
838
-            '基金统筹金额': hifp_pay,
839
-            '大额基金支付':hifob_pay,
840
-            '先行自付金额': preselfpay_amt,
841
-            '超限价金额': overlmt_self_pay,
842
-            '全自费金额': fulamt_ownpay_amt,
843
-            '符合政策范围金额': inscp_scp_amt,
844
-            '医疗救助基金':maf_pay,
845
-            '企业补充医疗保险基金支出': hifes_pay,
846
-            '居民大病保险资金支出': hifmi_pay,
847
-            '其他支付': oth_pay,
848
-            '公务员医疗补助资金支出': cvlserv_pay,
849
-            '发票号码': fa_piao_number,
850
-            '发票编号': fa_piao_code,
851
-            '微信支付': wechat_pay,
852
-            '支付宝支付': ali_pay,
853
-            '银行卡支付': band_card_pay,
854
-            '积分支付': jifen_pay,
855
-            '现金支付': cash_pay,
856
-            '储值卡说明': card_desc,
857
-            '其他说明': oth_desc,
858 874
           }
859
-          list.push(obj)
860
-        }
861
-        import('@/vendor/Export2Excel').then(excel => {
862
-          const tHeader = [ '患者姓名','身份证',"就诊号", '治疗日期','结算日期',"结算时间",  "病种名称", "参保地",'结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金',"基金统筹金额","大额基金支付", "先行自付金额","超限价金额","全自费金额","符合政策范围金额","医疗救助基金",'企业补充医疗保险基金支出','居民大病保险资金支出',"其他支付", "公务员医疗补助资金支出","发票号码","发票编号","微信支付", "支付宝支付","银行卡支付","积分支付","现金支付","储值卡说明",'其他说明']
863
-          const filterVal = [ '患者姓名','身份证',"就诊号", '治疗日期','结算日期', "结算时间", "病种名称","参保地",'结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金',"基金统筹金额","大额基金支付","先行自付金额","超限价金额","全自费金额","符合政策范围金额","医疗救助基金",'企业补充医疗保险基金支出','居民大病保险资金支出',"其他支付", "公务员医疗补助资金支出","发票号码", "发票编号","微信支付","支付宝支付","银行卡支付","积分支付","现金支付","储值卡说明",'其他说明']
864
-
865
-          const data = this.formatJson(filterVal, list)
866
-          excel.export_json_to_excel({
867
-            header: tHeader,
868
-            data,
869
-            filename: '结算明细'
870
-          })
871 875
         })
872 876
 
877
+
878
+
873 879
       }, formatJson(filterVal, jsonData) {
874 880
         return jsonData.map(v => filterVal.map(j => v[j]))
875 881
       }

+ 15 - 11
src/xt_pages/outpatientTool/labelPrint.vue View File

@@ -128,18 +128,18 @@
128 128
                     </el-col>
129 129
                 </el-row>
130 130
                   <div id="sign" class="signPrint">
131
-                      <div style="display:flex;margin-bottom:10px;">
131
+                      <div style="display:flex;margin-bottom:0px;">
132 132
                           <div style="margin-left:15px;">
133 133
                               <div style="font-weight:bold;font-size:24px;">C</div>
134 134
                               <div>{{getTime(current_ctime,'{m}-{d}')}}</div>
135 135
                               <div>{{getTime(current_ctime,'{h}:{i}')}}</div>
136 136
                           </div>
137
-                          <img  v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217"  id="barcode">
137
+                          <img style="height: 85px;" v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217"  id="barcode">
138 138
                       </div>
139
-                      <div style="margin-bottom:5px;">{{current_number}}</div>
139
+                      <div style="margin-bottom:0px;">{{current_number}}</div>
140 140
                       <div style="display:flex;">
141
-                          <div style="font-size:24px;padding-left:20px;">{{current_project_name}}</div>
142
-                          <div style="font-size:24px;margin-left:20px;">{{current_name}}</div>
141
+                          <div style="font-size:15px;padding-left:20px;">{{current_project_name}}</div>
142
+                          <div style="font-size:15px;margin-left:20px;">{{current_name}}</div>
143 143
                       </div>
144 144
                   </div>
145 145
             </div>
@@ -360,10 +360,7 @@
360 360
                   }
361 361
                 }else{
362 362
                   this.current_params.is_team = 0
363
-
364 363
                 }
365
-
366
-
367 364
                 if(!this.isShow){
368 365
                   createPrintLable(this.current_params).then(response => {
369 366
                     if (response.data.state == 0) {
@@ -480,8 +477,11 @@
480 477
             this.$message.error(response.data.msg)
481 478
             return false
482 479
           } else {
480
+            console.log('vvvvvv',response.data.data);
483 481
             this.labelVisible = true
484 482
             if(response.data.data.labels.id > 0){
483
+              console.log('内容1');
484
+              
485 485
               this.current_ctime = row.ctime
486 486
               this.current_number = row.number
487 487
               this.current_project_name = row.project_name
@@ -491,8 +491,10 @@
491 491
                   format: 'CODE39',
492 492
                   lineColor: '#000',
493 493
                   background: '#EBEEF5',
494
-                  width: 3,
495
-                  height: 200,
494
+                  // width: 3,
495
+                  // height: 200,
496
+                  width: 1,
497
+                  height: 90,
496 498
                   displayValue: false,
497 499
                   fontOptions:"bold italic",//使文字加粗体或变斜体
498 500
                   font:"fantasy",//设置文本的字体
@@ -500,11 +502,13 @@
500 502
                   textPosition:"top",//设置文本的垂直位置
501 503
                   textMargin:5,//设置条形码和文本之间的间距
502 504
                   fontSize:15,//设置文本的大小
503
-                  margin:15//设置条形码周围的空白边距
505
+                  margin:0,//设置条形码周围的空白边距
506
+                  marginTop:0
504 507
                 })
505 508
               });
506 509
 
507 510
             }else{
511
+              console.log('内容2');
508 512
               let params = {
509 513
                 is_combination_print:this.is_combination_print,
510 514
                 patient_id: row.patient_id,