yq1 1年前
父节点
当前提交
f30e32913d
共有 2 个文件被更改,包括 47 次插入51 次删除
  1. 13 18
      src/xt_pages/dialysis/details/index.vue
  2. 34 33
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue

+ 13 - 18
src/xt_pages/dialysis/details/index.vue 查看文件

261
       :close-on-press-escape="false"
261
       :close-on-press-escape="false"
262
       :show-close="false"
262
       :show-close="false"
263
       width="30%"
263
       width="30%"
264
-      class="eldialog"
265
     >
264
     >
266
       <el-button
265
       <el-button
267
         size="small"
266
         size="small"
285
                    <span>{{getModeName(main_collection.prescription.mode_id)  }}</span>
284
                    <span>{{getModeName(main_collection.prescription.mode_id)  }}</span>
286
                   </div>
285
                   </div>
287
                 </div>
286
                 </div>
288
-                <div class="printCell" style="display:flex;justify-content: space-around;">
289
-                  <span style="display: block;width: 50%;">
287
+                <div class="printCell" style="display:flex;">
288
+                  <span style="display: block;width: 45%;">
290
                     床号:{{ main_collection.number.number }}
289
                     床号:{{ main_collection.number.number }}
291
                     <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
290
                     <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
292
                     <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
291
                     <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
294
                   </span>
293
                   </span>
295
                   <span style="display: block;width: 50%;">{{ printDate }}</span>
294
                   <span style="display: block;width: 50%;">{{ printDate }}</span>
296
                 </div>
295
                 </div>
297
-                <div class="printCell" style="display:flex;justify-content: space-around;">
298
-                  <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
296
+                <div class="printCell" style="display:flex;">
297
+                  <span style="display: block;width: 45%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
299
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
298
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
300
                   <span style="display: block;width: 50%;" v-if="org_id==10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
299
                   <span style="display: block;width: 50%;" v-if="org_id==10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
301
 
300
 
302
                 </div>
301
                 </div>
303
-                <div class="printCell" style="display:flex;justify-content: space-around;">
304
-                  <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
302
+                <div class="printCell" style="display:flex;">
303
+                  <span style="display: block;width: 45%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
305
 
304
 
306
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">
305
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">
307
                     首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
306
                     首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
372
                    </span>
371
                    </span>
373
 
372
 
374
                 </div>
373
                 </div>
375
-                <div class="printCell" style="display:flex;justify-content: space-around;">
376
-                  <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
374
+                <div class="printCell" style="display:flex;">
375
+                  <span style="display: block;width: 45%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
377
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">
376
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">
378
                     维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
377
                     维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
379
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
378
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
449
                   </span>
448
                   </span>
450
 
449
 
451
                 </div>
450
                 </div>
452
-                <div class="printCell" style="display:flex;justify-content: space-around;">
453
-                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
451
+                <div class="printCell" style="display:flex;">
452
+                  <span style="display: block;width: 45%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
454
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138 || $store.getters.xt_user.org.id == 10460">ml</span>
453
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138 || $store.getters.xt_user.org.id == 10460">ml</span>
455
                     <span v-else>L</span>
454
                     <span v-else>L</span>
456
                   </span>
455
                   </span>
528
                   </span>
527
                   </span>
529
                   </span>
528
                   </span>
530
                 </div>
529
                 </div>
531
-                <div class="printCell" style="display:flex;justify-content: space-around;"  v-if="org_id==10598 || org_id == 0">
532
-                  <span style="display: block;width: 50%;">目标脱水量:{{main_collection.prescription.prescription_water}}
530
+                <div class="printCell" style="display:flex;"  v-if="org_id==10598 || org_id == 0">
531
+                  <span style="display: block;width: 45%;">目标脱水量:{{main_collection.prescription.prescription_water}}
533
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
532
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
534
                      <span v-else>L</span>
533
                      <span v-else>L</span>
535
                   </span> 
534
                   </span> 
3498
       }
3497
       }
3499
     }
3498
     }
3500
 }
3499
 }
3501
-.eldialog{
3502
-  .el-dialog__body{
3503
-    padding: 30px 40px;
3504
-  }
3505
-}
3500
+
3506
 </style>
3501
 </style>

+ 34 - 33
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

344
       <recordPrint :patientid="patientid" ref="recordPrint">
344
       <recordPrint :patientid="patientid" ref="recordPrint">
345
       </recordPrint>
345
       </recordPrint>
346
     </el-dialog>
346
     </el-dialog>
347
-
347
+    <!-- 透析记录 打印上机单 -->
348
     <el-dialog
348
     <el-dialog
349
       :visible.sync="startVisibility"
349
       :visible.sync="startVisibility"
350
       :close-on-click-modal="false"
350
       :close-on-click-modal="false"
364
       <div id="print_content">
364
       <div id="print_content">
365
         <div class="print_main_content">
365
         <div class="print_main_content">
366
           <div class="table_panel">
366
           <div class="table_panel">
367
-            <div v-for="(main_collection,index) in printList" :key="index">
368
-             
367
+            <div v-for="(main_collection,index) in printList" :key="index" style="page-break-after: always;">
368
+
369
               <div class="signPrint" style="width: 360px;font-size:16px;">
369
               <div class="signPrint" style="width: 360px;font-size:16px;">
370
-                
370
+
371
                 <div style="margin-left:50px;">姓名:
371
                 <div style="margin-left:50px;">姓名:
372
                   <span>{{ main_collection.patient.name }} </span>
372
                   <span>{{ main_collection.patient.name }} </span>
373
                   ({{ main_collection.patient.dialysis_no }},{{ getNewAge(main_collection.patient.id_card_no) }}岁)
373
                   ({{ main_collection.patient.dialysis_no }},{{ getNewAge(main_collection.patient.id_card_no) }}岁)
374
                 </div>
374
                 </div>
375
-                <div class="printCell" style="display:flex;justify-content: space-around;" v-if="org_id ==10598 || org_id == 0">
376
-                  <div style="margin-left:-240px;">透析模式:
375
+                <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
376
+                  <div style="">透析模式:
377
                    <span>{{getModeName(main_collection.prescription.mode_id)  }}</span>
377
                    <span>{{getModeName(main_collection.prescription.mode_id)  }}</span>
378
                   </div>
378
                   </div>
379
-                 
379
+
380
                 </div>
380
                 </div>
381
-                <div class="printCell" style="display:flex;justify-content: space-around;">
382
-                  <span style="display: block;width: 50%;">
381
+                <div class="printCell" style="display:flex;">
382
+                  <span style="display: block;width: 45%;">
383
                     床号:{{ main_collection.number.number }}
383
                     床号:{{ main_collection.number.number }}
384
                     <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
384
                     <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
385
                     <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
385
                     <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
387
                   </span>
387
                   </span>
388
                   <span style="display: block;width: 50%;">{{ printDate }}</span>
388
                   <span style="display: block;width: 50%;">{{ printDate }}</span>
389
                 </div>
389
                 </div>
390
-                <div class="printCell" style="display:flex;justify-content: space-around;">
390
+                <div class="printCell" style="display:flex;">
391
                   <span
391
                   <span
392
-                    style="display: block;width: 50%;">干体重:{{ main_collection.assessmentbefor.dry_weight }}Kg</span>
393
-                  <span style="display: block;width: 50%;" v-if="org_id!=10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : '' }}</span>
394
-                  <span style="display: block;width: 50%;" v-if="org_id==10598">抗凝剂:{{ main_collection.prescription.anticoagulant ? anticoagulants_confit[main_collection.prescription.anticoagulant].name : '' }}</span>
392
+                    style="display: block;width: 45%;">干体重:{{ main_collection.assessmentbefor.dry_weight }}Kg</span>
393
+                  <span style="display: block;" v-if="org_id!=10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : '' }}</span>
394
+                  <span style="display: block;" v-if="org_id==10598">抗凝剂:{{ main_collection.prescription.anticoagulant ? anticoagulants_confit[main_collection.prescription.anticoagulant].name : '' }}</span>
395
                 </div>
395
                 </div>
396
-                <div class="printCell" style="display:flex;justify-content: space-around;">
397
-                  <span style="display: block;width: 50%;">净重值:{{
396
+                <div class="printCell" style="display:flex;">
397
+                  <span style="display: block;width: 45%;">净重值:{{
398
                       main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight
398
                       main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight
399
                     }}Kg</span>
399
                     }}Kg</span>
400
 
400
 
401
-                  <span style="display: block;width: 50%;" v-if="org_id!=10598">
401
+                  <span style="display: block;" v-if="org_id!=10598">
402
                     首剂: <span
402
                     首剂: <span
403
                     v-if="main_collection.dialysissolution.anticoagulant == 1">{{ main_collection.dialysissolution.anticoagulant_shouji }} mg</span>
403
                     v-if="main_collection.dialysissolution.anticoagulant == 1">{{ main_collection.dialysissolution.anticoagulant_shouji }} mg</span>
404
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
404
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
433
                    </span>
433
                    </span>
434
                   </span>
434
                   </span>
435
 
435
 
436
-                   <span style="display: block;width: 50%;" v-if="org_id==10598">
436
+                   <span style="display: block;" v-if="org_id==10598">
437
                     首剂: <span
437
                     首剂: <span
438
                     v-if="main_collection.prescription.anticoagulant == 1">{{ main_collection.prescription.anticoagulant_shouji }} mg</span>
438
                     v-if="main_collection.prescription.anticoagulant == 1">{{ main_collection.prescription.anticoagulant_shouji }} mg</span>
439
                   <span v-if="main_collection.prescription.anticoagulant == 2">
439
                   <span v-if="main_collection.prescription.anticoagulant == 2">
467
                     {{ main_collection.prescription.anticoagulant_shouji }}iu
467
                     {{ main_collection.prescription.anticoagulant_shouji }}iu
468
                    </span>
468
                    </span>
469
                   </span>
469
                   </span>
470
-
471
                 </div>
470
                 </div>
472
-                <div class="printCell" style="display:flex;justify-content: space-around;">
473
-                  <span style="display: block;width: 50%;">体重增加:{{
471
+                <div class="printCell" style="display:flex;">
472
+                  <span style="display: block;width: 45%;">体重增加:{{
474
                       (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2)
473
                       (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2)
475
                     }}Kg</span>
474
                     }}Kg</span>
476
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">
475
                   <span style="display: block;width: 50%;" v-if="org_id!=10598">
548
                   </span>
547
                   </span>
549
 
548
 
550
                 </div>
549
                 </div>
551
-                <div class="printCell" style="display:flex;justify-content: space-around;">
552
-                   <span style="display: block;width: 50%;">
550
+                <div class="printCell" style="display:flex;">
551
+                   <span style="display: block;width: 45%;">
553
                      目标脱水量:{{main_collection.prescription.target_ultrafiltration}}
552
                      目标脱水量:{{main_collection.prescription.target_ultrafiltration}}
554
                     <span
553
                     <span
555
                       v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
554
                       v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
556
                     <span v-else>L</span>
555
                     <span v-else>L</span>
557
                     </span>
556
                     </span>
558
-                 
557
+
559
                   <span style="display: block;width: 50%;"  v-if="org_id!=10598">
558
                   <span style="display: block;width: 50%;"  v-if="org_id!=10598">
560
                     总量:{{ main_collection.dialysissolution.anticoagulant_zongliang }}
559
                     总量:{{ main_collection.dialysissolution.anticoagulant_zongliang }}
561
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
560
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
629
                    iu
628
                    iu
630
                    </span>
629
                    </span>
631
                   </span>
630
                   </span>
632
-                 
631
+
633
                 </div>
632
                 </div>
634
-                <div class="printCell" style="display:flex;justify-content: space-around;"  v-if="org_id==10598 || org_id == 0">
635
-                  <span style="display: block;margin-left: -30px;">处方脱水量:{{main_collection.prescription.prescription_water}}
633
+                <div class="printCell" style="display:flex;"  v-if="org_id==10598 || org_id == 0">
634
+                  <span style="display: block;width: 45%;">处方脱水量:{{main_collection.prescription.prescription_water}}
636
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
635
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
637
                      <span v-else>L</span>
636
                      <span v-else>L</span>
638
-                  </span> 
639
-                  <span>
637
+                  </span>
638
+                  <span style="width: 50%;">
640
                     血流量:{{ main_collection.prescription.blood_flow_volume }} ml/min
639
                     血流量:{{ main_collection.prescription.blood_flow_volume }} ml/min
641
                   </span>
640
                   </span>
642
                 </div>
641
                 </div>
3929
           this.$refs.child.watchSign = 0
3928
           this.$refs.child.watchSign = 0
3930
         }
3929
         }
3931
       }else if(this.titleType == '透析历史'){
3930
       }else if(this.titleType == '透析历史'){
3932
-        
3931
+
3933
          this.$refs.childOne.show(this.patientid)
3932
          this.$refs.childOne.show(this.patientid)
3934
       } else {
3933
       } else {
3935
-      
3934
+
3936
         this.patientid = val.id
3935
         this.patientid = val.id
3937
         var nowDate = new Date()
3936
         var nowDate = new Date()
3938
         var nowYear = nowDate.getFullYear()
3937
         var nowYear = nowDate.getFullYear()
5163
 
5162
 
5164
                   }
5163
                   }
5165
                 }
5164
                 }
5166
-              
5165
+
5167
                 this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info, this.sick, this.diagnosis, this.patient_diagnoses)
5166
                 this.$refs.prescriptions.setData(this.prescriptions, this.info, this.admin_info, this.doctors, this.department, this.hisPatientInfo, this.month_prescriptions, this.last_info, this.sick, this.diagnosis, this.patient_diagnoses)
5168
               }
5167
               }
5169
             })
5168
             })
5414
       this.selecting_schs2 = val
5413
       this.selecting_schs2 = val
5415
     },
5414
     },
5416
     handleSelectionChange3(val) {
5415
     handleSelectionChange3(val) {
5417
-      console.log(val)
5416
+      console.log('检验',val)
5418
       if (val.length == 0) {
5417
       if (val.length == 0) {
5419
         this.selecting_schs3 = []
5418
         this.selecting_schs3 = []
5420
       } else {
5419
       } else {
5421
-        if (this.org_id == 10402 || this.org_id == 0) {
5420
+        if (this.org_id == 10402 ) {
5422
           this.selecting_schs3 = val
5421
           this.selecting_schs3 = val
5423
 
5422
 
5424
         } else {
5423
         } else {
5424
+          console.log('this.tableData4',this.tableData4);
5425
           this.selecting_schs3 = this.tableData4
5425
           this.selecting_schs3 = this.tableData4
5426
 
5426
 
5427
         }
5427
         }
5488
         }
5488
         }
5489
         this.paramsObj2 = obj2
5489
         this.paramsObj2 = obj2
5490
       }
5490
       }
5491
+      // 检验
5491
       var arr3 = []
5492
       var arr3 = []
5492
       if (this.selecting_schs3.length > 0) {
5493
       if (this.selecting_schs3.length > 0) {
5493
         for (let i = 0; i < this.selecting_schs3.length; i++) {
5494
         for (let i = 0; i < this.selecting_schs3.length; i++) {