소스 검색

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

陈少旭 6 달 전
부모
커밋
cd4880c818
25개의 변경된 파일1875개의 추가작업 그리고 623개의 파일을 삭제
  1. 62 0
      src/api/patient.js
  2. 3 3
      src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue
  3. 56 56
      src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue
  4. 5 5
      src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue
  5. 4 5
      src/xt_pages/dialysis/batch_print/batch_print_order_sixtyFive.vue
  6. 22 15
      src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue
  7. 51 4
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  8. 55 2
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  9. 5 2
      src/xt_pages/dialysis/details/index.vue
  10. 5 5
      src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue
  11. 246 174
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue
  12. 22 23
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue
  13. 287 189
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue
  14. 1 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue
  15. 3 3
      src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue
  16. 30 31
      src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue
  17. 4 4
      src/xt_pages/stock/detail/print.vue
  18. 143 33
      src/xt_pages/user/Informed/Informedconsent.vue
  19. 268 0
      src/xt_pages/user/Informed/components/Death_informed.vue
  20. 342 0
      src/xt_pages/user/Informed/components/hemodialysis.vue
  21. 4 4
      src/xt_pages/user/components/PatientSidebar.vue
  22. 238 47
      src/xt_pages/user/courseOfDisease_new.vue
  23. 3 1
      src/xt_pages/user/deathSummary.vue
  24. 3 3
      src/xt_pages/user/templateSummaryPrint.vue
  25. 13 13
      src/xt_permission.js

+ 62 - 0
src/api/patient.js 파일 보기

1315
   })
1315
   })
1316
 }
1316
 }
1317
 
1317
 
1318
+
1319
+export function savePatientDeathRecord(data){
1320
+   
1321
+  return request({
1322
+    url:"/api/patient/savepatientdeathrecord",
1323
+    method:"post",
1324
+    data:data,
1325
+  })
1326
+}
1327
+
1328
+export function getPatientDeathRecord(params){
1329
+
1330
+  return request({
1331
+    url:"/api/patient/getpatientdeathrecord",
1332
+    method:"Get",
1333
+    params:params
1334
+  })
1335
+}
1336
+
1337
+export function saveCoureseTemplateTitle(data){
1338
+ 
1339
+  return request({
1340
+   url:"/api/patient/savecouresetemplatetitle",
1341
+   method:"post",
1342
+   data:data,
1343
+  })
1344
+}
1345
+
1346
+export function getPatientCoureOfTempalate(params){
1347
+  return request({
1348
+    url:"/api/patient/getpatientcourseoftemplate",
1349
+    method:"Get",
1350
+    params:params,
1351
+  })
1352
+}
1353
+
1354
+export function saveCourseOfNewTemplate(data){
1355
+
1356
+  return request({
1357
+    url:"/api/patient/savecourseofnewtemplate",
1358
+    method:"post",
1359
+    data:data
1360
+  })
1361
+}
1362
+
1363
+export function deleteCourseTempalte(id,params){
1364
+ 
1365
+  return request({
1366
+    url:"/api/patient/deletecourestempalte?id="+id,
1367
+    method:"Get",
1368
+    params:params
1369
+  })
1370
+}
1371
+
1372
+export function getAutoPatientContent(params){
1373
+  
1374
+  return request({
1375
+    url:"/api/patient/getautopatientcontent",
1376
+    method:"get",
1377
+    params:params
1378
+  })
1379
+}

+ 3 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue 파일 보기

1162
                         <div class="under_line"
1162
                         <div class="under_line"
1163
                           style="width: 70px; text-align: center"
1163
                           style="width: 70px; text-align: center"
1164
                         >
1164
                         >
1165
-                          <span>
1165
+                          <span v-if="predialysis.weight_before !=0 && afterdialysis.weight_after !=0">
1166
                            {{ record.assessment_after_dislysis &&
1166
                            {{ record.assessment_after_dislysis &&
1167
                             record.assessment_after_dislysis.weight_loss
1167
                             record.assessment_after_dislysis.weight_loss
1168
                               ? record.assessment_after_dislysis.weight_loss
1168
                               ? record.assessment_after_dislysis.weight_loss
1169
                               : ""}}
1169
                               : ""}}
1170
                           </span>
1170
                           </span>
1171
-
1171
+                          
1172
                         </div>
1172
                         </div>
1173
                         kg
1173
                         kg
1174
                       </div>
1174
                       </div>
1175
 
1175
 
1176
                       <div class="inline_block" style="flex: 1">
1176
                       <div class="inline_block" style="flex: 1">
1177
-                        <span>透析中入量(L):</span>
1177
+                        <span>透析中入量(g):</span>
1178
                         <div class="under_line"
1178
                         <div class="under_line"
1179
                           style="width: 70px; text-align: center"
1179
                           style="width: 70px; text-align: center"
1180
                         >
1180
                         >

+ 56 - 56
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue 파일 보기

111
             </div>
111
             </div>
112
           </div>
112
           </div>
113
 
113
 
114
-          <div class="row">
114
+          <div class="row" style="width: 99%;">
115
             <table class="proj_table">
115
             <table class="proj_table">
116
               <tbody>
116
               <tbody>
117
                 <tr>
117
                 <tr>
225
                       <div class="inline_block" style="flex: 1.5;">
225
                       <div class="inline_block" style="flex: 1.5;">
226
                         穿刺方式:
226
                         穿刺方式:
227
                         <div class="under_line" style="width: 66%;white-space: normal;">
227
                         <div class="under_line" style="width: 66%;white-space: normal;">
228
-                          {{record.assessment_before_dislysis.puncture_way ? 
228
+                          {{record.assessment_before_dislysis.puncture_way ?
229
                             record.assessment_before_dislysis.puncture_way : '/'}}
229
                             record.assessment_before_dislysis.puncture_way : '/'}}
230
                         </div>
230
                         </div>
231
                       </div>
231
                       </div>
235
                         血管通路:
235
                         血管通路:
236
                         <div class="under_line" style="width: 68%;white-space: normal;">
236
                         <div class="under_line" style="width: 68%;white-space: normal;">
237
                           {{ record.assessment_before_dislysis.blood_access_part_id
237
                           {{ record.assessment_before_dislysis.blood_access_part_id
238
-                              ? record.assessment_before_dislysis.blood_access_part_id:  "" 
238
+                              ? record.assessment_before_dislysis.blood_access_part_id:  ""
239
                           }}
239
                           }}
240
-                          {{ 
240
+                          {{
241
                             bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id)
241
                             bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id)
242
                           }}
242
                           }}
243
                         </div>
243
                         </div>
245
                       <div class="inline_block" style="flex: 1;">
245
                       <div class="inline_block" style="flex: 1;">
246
                         内瘘:
246
                         内瘘:
247
                         <div class="under_line" style="width: 68%;white-space: normal;">
247
                         <div class="under_line" style="width: 68%;white-space: normal;">
248
-                          {{ record.assessment_before_dislysis.internal_fistula ? 
249
-                            record.assessment_before_dislysis.internal_fistula : '/' 
248
+                          {{ record.assessment_before_dislysis.internal_fistula ?
249
+                            record.assessment_before_dislysis.internal_fistula : '/'
250
                           }}
250
                           }}
251
                         </div>
251
                         </div>
252
                       </div>
252
                       </div>
253
-                      
253
+
254
                       <div class="inline_block" style="flex: 1">
254
                       <div class="inline_block" style="flex: 1">
255
                         导管:
255
                         导管:
256
                         <div class="under_line"
256
                         <div class="under_line"
257
                           style="width: 60%; text-align: center;white-space: normal;"
257
                           style="width: 60%; text-align: center;white-space: normal;"
258
                         >
258
                         >
259
-                          {{ record.assessment_before_dislysis.catheter ? 
260
-                            record.assessment_before_dislysis.catheter : "/" 
259
+                          {{ record.assessment_before_dislysis.catheter ?
260
+                            record.assessment_before_dislysis.catheter : "/"
261
                           }}
261
                           }}
262
                         </div>
262
                         </div>
263
                       </div>
263
                       </div>
267
                         <div class="under_line"
267
                         <div class="under_line"
268
                           style="width: 60%; text-align: center;white-space: normal;"
268
                           style="width: 60%; text-align: center;white-space: normal;"
269
                         >
269
                         >
270
-                          {{ record.assessment_before_dislysis.puncture_needle ? 
271
-                            record.assessment_before_dislysis.puncture_needle : "/" 
270
+                          {{ record.assessment_before_dislysis.puncture_needle ?
271
+                            record.assessment_before_dislysis.puncture_needle : "/"
272
                           }}
272
                           }}
273
                         </div>
273
                         </div>
274
                       </div>
274
                       </div>
298
                         <div class="under_line"
298
                         <div class="under_line"
299
                           style="width: 70px; text-align: center"
299
                           style="width: 70px; text-align: center"
300
                         >
300
                         >
301
-                          <span> 
301
+                          <span>
302
                             {{
302
                             {{
303
                             record.prescription.replacement_total
303
                             record.prescription.replacement_total
304
                               ? record.prescription.replacement_total
304
                               ? record.prescription.replacement_total
320
                         </div>
320
                         </div>
321
                         ml/min
321
                         ml/min
322
                       </div>
322
                       </div>
323
-                      
323
+
324
                     </div>
324
                     </div>
325
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
325
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
326
                       <div class="inline_block" style="flex: 1">
326
                       <div class="inline_block" style="flex: 1">
365
                         干体重:
365
                         干体重:
366
                         <div class="under_line" style="width: 100px; text-align: center">
366
                         <div class="under_line" style="width: 100px; text-align: center">
367
                           {{
367
                           {{
368
-                            record.assessment_before_dislysis.dry_weight 
368
+                            record.assessment_before_dislysis.dry_weight
369
                             ? record.assessment_before_dislysis.dry_weight : "/"
369
                             ? record.assessment_before_dislysis.dry_weight : "/"
370
                           }}
370
                           }}
371
                         </div>
371
                         </div>
399
                       </div> -->
399
                       </div> -->
400
                     </div>
400
                     </div>
401
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
401
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
402
-                      
402
+
403
                       <div class="inline_block" style="flex: 1">
403
                       <div class="inline_block" style="flex: 1">
404
                         上次透后体重:
404
                         上次透后体重:
405
                         <div class="under_line" style="width: 50px; text-align: center">
405
                         <div class="under_line" style="width: 50px; text-align: center">
427
                       </div>
427
                       </div>
428
                       <div class="inline_block" style="flex: 1">
428
                       <div class="inline_block" style="flex: 1">
429
                         体重增加:
429
                         体重增加:
430
-                      
430
+
431
                         <div class="under_line" style="width: 70px; text-align: center">
431
                         <div class="under_line" style="width: 70px; text-align: center">
432
                           <span v-if="record.lastafterweight.weight_after>0">
432
                           <span v-if="record.lastafterweight.weight_after>0">
433
-                            {{ record.assessment_before_dislysis.weight_before > 0 && record.lastafterweight.weight_after > 0 
433
+                            {{ record.assessment_before_dislysis.weight_before > 0 && record.lastafterweight.weight_after > 0
434
                             ? parseFloat(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.additional_weight
434
                             ? parseFloat(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.additional_weight
435
-                            - record.lastafterweight.weight_after).toFixed(2): "/" 
435
+                            - record.lastafterweight.weight_after).toFixed(2): "/"
436
                           }}
436
                           }}
437
-                          </span> 
437
+                          </span>
438
 
438
 
439
                           <span v-if="record.lastafterweight.weight_after<=0 && record.assessment_after_dislysis.last_after_weight>0">
439
                           <span v-if="record.lastafterweight.weight_after<=0 && record.assessment_after_dislysis.last_after_weight>0">
440
-                            {{ record.assessment_before_dislysis.weight_before > 0 && record.assessment_after_dislysis.last_after_weight > 0 
440
+                            {{ record.assessment_before_dislysis.weight_before > 0 && record.assessment_after_dislysis.last_after_weight > 0
441
                             ? parseFloat(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.additional_weight
441
                             ? parseFloat(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.additional_weight
442
-                            - record.assessment_after_dislysis.last_after_weight).toFixed(2): "/" 
442
+                            - record.assessment_after_dislysis.last_after_weight).toFixed(2): "/"
443
                           }}
443
                           }}
444
-                          </span> 
444
+                          </span>
445
 
445
 
446
                           <span v-if="record.lastafterweight.weight_after<=0 && record.assessment_after_dislysis.last_after_weight ==0">
446
                           <span v-if="record.lastafterweight.weight_after<=0 && record.assessment_after_dislysis.last_after_weight ==0">
447
                               /
447
                               /
448
-                          </span> 
448
+                          </span>
449
                         </div>
449
                         </div>
450
                         kg
450
                         kg
451
                       </div>
451
                       </div>
468
                           style="width: 40px; text-align: center"
468
                           style="width: 40px; text-align: center"
469
                         >
469
                         >
470
                         {{ record.prescription.kalium ? record.prescription.kalium : "/" }}
470
                         {{ record.prescription.kalium ? record.prescription.kalium : "/" }}
471
-                        
471
+
472
                         </div>
472
                         </div>
473
                         mmol/L
473
                         mmol/L
474
                       </div>
474
                       </div>
488
                           class="under_line"
488
                           class="under_line"
489
                           style="width: 50px; text-align: center"
489
                           style="width: 50px; text-align: center"
490
                         >
490
                         >
491
-                        <span> {{ record.prescription.calcium ? record.prescription.calcium : "/" }}</span>                     
491
+                        <span> {{ record.prescription.calcium ? record.prescription.calcium : "/" }}</span>
492
                         </div>
492
                         </div>
493
                         mmol/L
493
                         mmol/L
494
                       </div>
494
                       </div>
501
                             record.prescription.bicarbonate ? record.prescription.bicarbonate : "/"
501
                             record.prescription.bicarbonate ? record.prescription.bicarbonate : "/"
502
                           }}
502
                           }}
503
                           </span>
503
                           </span>
504
-                          
504
+
505
                         </div>
505
                         </div>
506
                         mmol/L
506
                         mmol/L
507
                       </div>
507
                       </div>
547
                         <span v-if="record.prescription.anticoagulant!=0">
547
                         <span v-if="record.prescription.anticoagulant!=0">
548
                           {{ getshouji(record.prescription.anticoagulant) }}
548
                           {{ getshouji(record.prescription.anticoagulant) }}
549
                         </span>
549
                         </span>
550
-                        
550
+
551
                       </div>
551
                       </div>
552
                       <div class="inline_block" style="flex: 1;">
552
                       <div class="inline_block" style="flex: 1;">
553
                         追加:
553
                         追加:
563
                         <span v-if="record.prescription.anticoagulant!=0">
563
                         <span v-if="record.prescription.anticoagulant!=0">
564
                           {{ getweichi(record.prescription.anticoagulant) }}
564
                           {{ getweichi(record.prescription.anticoagulant) }}
565
                         </span>
565
                         </span>
566
-                        
566
+
567
                       </div>
567
                       </div>
568
                       <div class="inline_block" style="flex: 1;"
568
                       <div class="inline_block" style="flex: 1;"
569
                         v-if="record.prescription.anticoagulant == 5"
569
                         v-if="record.prescription.anticoagulant == 5"
612
                         <span v-if="record.prescription.anticoagulant!=0">
612
                         <span v-if="record.prescription.anticoagulant!=0">
613
                           {{ getzongliang(record.prescription.anticoagulant) }}
613
                           {{ getzongliang(record.prescription.anticoagulant) }}
614
                         </span>
614
                         </span>
615
-                        
615
+
616
                       </div>
616
                       </div>
617
                       <div class="inline_block" style="flex: 1">
617
                       <div class="inline_block" style="flex: 1">
618
                         透析机号:
618
                         透析机号:
630
                         型号:
630
                         型号:
631
                         <div class="under_line" style="width: 60%; text-align: center">
631
                         <div class="under_line" style="width: 60%; text-align: center">
632
                           <span v-if="record.bed_id !=0 && record.bed_id !=''">
632
                           <span v-if="record.bed_id !=0 && record.bed_id !=''">
633
-                            {{ getnumberlist(record.bed_id) ? getnumberlist(record.bed_id) :'东丽' }} 
633
+                            {{ getnumberlist(record.bed_id) ? getnumberlist(record.bed_id) :'东丽' }}
634
                           </span>
634
                           </span>
635
                         </div>
635
                         </div>
636
                       </div>
636
                       </div>
637
-                      
637
+
638
                     </div>
638
                     </div>
639
                   </td>
639
                   </td>
640
                 </tr>
640
                 </tr>
724
                               </span>
724
                               </span>
725
                             </div>
725
                             </div>
726
                           </td>
726
                           </td>
727
-                         
727
+
728
                         </tr>
728
                         </tr>
729
                         <tr v-for="(monitor_record, s) in record.monitor_records2" :key="s">
729
                         <tr v-for="(monitor_record, s) in record.monitor_records2" :key="s">
730
                           <td></td>
730
                           <td></td>
888
                               <td></td>
888
                               <td></td>
889
                             </tr>
889
                             </tr>
890
                           </template>
890
                           </template>
891
-                          
891
+
892
                         </template>
892
                         </template>
893
                       </tbody>
893
                       </tbody>
894
                     </table>
894
                     </table>
980
               </div>
980
               </div>
981
             </div>
981
             </div>
982
             <div class="row">
982
             <div class="row">
983
-              
983
+
984
               <div class="inline_block" style="margin-left: 10px">
984
               <div class="inline_block" style="margin-left: 10px">
985
                 诊断:
985
                 诊断:
986
                 <div
986
                 <div
999
               </div>
999
               </div>
1000
             </div>
1000
             </div>
1001
           </template> -->
1001
           </template> -->
1002
-          <div class="row" style="margin-top: -11px; position: relative">
1002
+          <div class="row" style="margin-top: -11px; position: relative;width: 99%;">
1003
             <table class="proj_table">
1003
             <table class="proj_table">
1004
               <tbody>
1004
               <tbody>
1005
                 <tr>
1005
                 <tr>
1050
                           }}
1050
                           }}
1051
                         </div>
1051
                         </div>
1052
                       </div>
1052
                       </div>
1053
-                      
1053
+
1054
                     </div>
1054
                     </div>
1055
 
1055
 
1056
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1056
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1234
                         </div>
1234
                         </div>
1235
                       </div>
1235
                       </div>
1236
                     </div>
1236
                     </div>
1237
-            
1237
+
1238
                   </td>
1238
                   </td>
1239
                 </tr>
1239
                 </tr>
1240
                 <tr>
1240
                 <tr>
1241
                   <td>
1241
                   <td>
1242
                     <div class="row"
1242
                     <div class="row"
1243
                       style="padding: 2px 0; line-height: 23px; display: flex"
1243
                       style="padding: 2px 0; line-height: 23px; display: flex"
1244
-                    > 
1244
+                    >
1245
                       <div class="inline_block" style="flex: 1" v-if="record.assessment_before_dislysis.internal_fistula>0">
1245
                       <div class="inline_block" style="flex: 1" v-if="record.assessment_before_dislysis.internal_fistula>0">
1246
                         上机护士:
1246
                         上机护士:
1247
                         <div class="under_line"
1247
                         <div class="under_line"
1258
                               }}
1258
                               }}
1259
                           </span>
1259
                           </span>
1260
                           <img
1260
                           <img
1261
-                            style="height: 30px"
1261
+                            style="height: 40px"
1262
                             :src="
1262
                             :src="
1263
                               setAdminUserES(
1263
                               setAdminUserES(
1264
                                 record.dialysis_order,'puncture_nurse'
1264
                                 record.dialysis_order,'puncture_nurse'
1287
                               }}
1287
                               }}
1288
                           </span>
1288
                           </span>
1289
                           <img
1289
                           <img
1290
-                            style="height: 30px"
1290
+                            style="height: 40px"
1291
                             :src="
1291
                             :src="
1292
                               setAdminUserES(
1292
                               setAdminUserES(
1293
                                 record.dialysis_order,'change_nurse'
1293
                                 record.dialysis_order,'change_nurse'
1315
                             }}
1315
                             }}
1316
                         </span>
1316
                         </span>
1317
                         <img
1317
                         <img
1318
-                          style="height: 30px"
1318
+                          style="height: 40px"
1319
                           :src="
1319
                           :src="
1320
                             setAdminUserES(
1320
                             setAdminUserES(
1321
                               record.dialysis_order,'start_nurse'
1321
                               record.dialysis_order,'start_nurse'
1327
                         />
1327
                         />
1328
                         </div>
1328
                         </div>
1329
                       </div>
1329
                       </div>
1330
-                     
1330
+
1331
                       <div class="inline_block" style="flex: 1">
1331
                       <div class="inline_block" style="flex: 1">
1332
                         核对护士:
1332
                         核对护士:
1333
                         <div
1333
                         <div
1354
                             }}
1354
                             }}
1355
                           </span>
1355
                           </span>
1356
                           <img
1356
                           <img
1357
-                            style="height: 30px"
1357
+                            style="height: 40px"
1358
                             :src="setAdminUserES(record.check, 'creater')"
1358
                             :src="setAdminUserES(record.check, 'creater')"
1359
                             alt=""
1359
                             alt=""
1360
                             srcset=""
1360
                             srcset=""
1382
                             }}
1382
                             }}
1383
                           </span>
1383
                           </span>
1384
                           <img
1384
                           <img
1385
-                            style="height: 30px"
1385
+                            style="height: 40px"
1386
                             :src="setAdminUserES(record.check, 'creater')"
1386
                             :src="setAdminUserES(record.check, 'creater')"
1387
                             alt=""
1387
                             alt=""
1388
                             srcset=""
1388
                             srcset=""
1412
                             }}
1412
                             }}
1413
                           </span>
1413
                           </span>
1414
                           <img
1414
                           <img
1415
-                            style="height: 30px"
1415
+                            style="height: 40px"
1416
                             :src="setAdminUserES(record.check, 'modifier')"
1416
                             :src="setAdminUserES(record.check, 'modifier')"
1417
                             alt=""
1417
                             alt=""
1418
                             srcset=""
1418
                             srcset=""
1442
                             }}
1442
                             }}
1443
                           </span>
1443
                           </span>
1444
                           <img
1444
                           <img
1445
-                            style="height: 30px"
1445
+                            style="height: 40px"
1446
                             :src="setAdminUserES(record.check, 'creater')"
1446
                             :src="setAdminUserES(record.check, 'creater')"
1447
                             alt=""
1447
                             alt=""
1448
                             srcset=""
1448
                             srcset=""
1455
                           v-if="!record.check"
1455
                           v-if="!record.check"
1456
                         ></div> -->
1456
                         ></div> -->
1457
                       </div>
1457
                       </div>
1458
- 
1458
+
1459
                       <div class="inline_block" style="flex: 1">
1459
                       <div class="inline_block" style="flex: 1">
1460
                         下机护士:
1460
                         下机护士:
1461
                         <div
1461
                         <div
1492
                             alt=""
1492
                             alt=""
1493
                             srcset=""
1493
                             srcset=""
1494
                             v-else
1494
                             v-else
1495
-                            style="height: 30px"
1495
+                            style="height: 40px"
1496
                           />
1496
                           />
1497
                         </div>
1497
                         </div>
1498
                       </div>
1498
                       </div>
1510
                               }}
1510
                               }}
1511
                           </span>
1511
                           </span>
1512
                           <img
1512
                           <img
1513
-                            style="height: 30px"
1513
+                            style="height: 40px"
1514
                             :src="setAdminUserES( record.prescription,'creater')"
1514
                             :src="setAdminUserES( record.prescription,'creater')"
1515
                             alt=""
1515
                             alt=""
1516
                             srcset=""
1516
                             srcset=""
1602
     };
1602
     };
1603
   },
1603
   },
1604
   created() {
1604
   created() {
1605
-   
1605
+
1606
     var bloodAccessParOpera = getDataConfig(
1606
     var bloodAccessParOpera = getDataConfig(
1607
       "hemodialysis",
1607
       "hemodialysis",
1608
       "vascular_access_desc"
1608
       "vascular_access_desc"
1638
     // }
1638
     // }
1639
     console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
1639
     console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
1640
 
1640
 
1641
-   
1641
+
1642
 
1642
 
1643
     this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
1643
     this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
1644
 
1644
 
1938
                       }
1938
                       }
1939
                      }
1939
                      }
1940
                     }
1940
                     }
1941
-                    
1941
+
1942
                   }
1942
                   }
1943
                 })
1943
                 })
1944
                 let newArr = Object.values(objInfo);
1944
                 let newArr = Object.values(objInfo);
1958
               this.records[i].new_his_advices = []
1958
               this.records[i].new_his_advices = []
1959
               this.records[i].new_his_advices.push(...newArr)
1959
               this.records[i].new_his_advices.push(...newArr)
1960
               console.log('this.records[i].new_his_advices',this.records[i].new_his_advices);
1960
               console.log('this.records[i].new_his_advices',this.records[i].new_his_advices);
1961
-              
1961
+
1962
             }
1962
             }
1963
           }
1963
           }
1964
           console.log("时间我哦我",this.records)
1964
           console.log("时间我哦我",this.records)
2022
       if(id != 0){
2022
       if(id != 0){
2023
         for(let i in options){
2023
         for(let i in options){
2024
           if(id == options[i].id){
2024
           if(id == options[i].id){
2025
-            console.log('anticoagulantsConfit11111',id); 
2025
+            console.log('anticoagulantsConfit11111',id);
2026
             return options[i].shouji_unit
2026
             return options[i].shouji_unit
2027
           }
2027
           }
2028
         }
2028
         }
2311
            name = this.bloodAccessParOpera[i].name
2311
            name = this.bloodAccessParOpera[i].name
2312
         }
2312
         }
2313
       }
2313
       }
2314
-      
2314
+
2315
       return name
2315
       return name
2316
       // if (id in this.bloodAccessParOpera) {
2316
       // if (id in this.bloodAccessParOpera) {
2317
 
2317
 
2319
       // }
2319
       // }
2320
       // return "";
2320
       // return "";
2321
     },
2321
     },
2322
-    
2322
+
2323
   },
2323
   },
2324
 };
2324
 };
2325
 </script>
2325
 </script>

+ 5 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue 파일 보기

321
                             </td>
321
                             </td>
322
                            <td width="60"></td>
322
                            <td width="60"></td>
323
                             <td width="60">穿刺针:</td>
323
                             <td width="60">穿刺针:</td>
324
-                            <td width="220">
324
+                            <td width="280">
325
                             <div>
325
                             <div>
326
-                               &nbsp;
327
-                               <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('16G') > -1 ? true : false" showValue="16G"></label-box>
328
-                               &nbsp;
326
+                                &nbsp;
327
+                                <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle == '16G' ? true : false" showValue="16G"></label-box>
328
+                                &nbsp;
329
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
329
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
330
                                 &nbsp;
330
                                 &nbsp;
331
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
331
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
332
                                 &nbsp;
332
                                 &nbsp;
333
-                                <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('留置针16G') > -1 ? true : false" showValue="留置针16G"></label-box>
333
+                                <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle == '留置针16G' ? true : false" showValue="留置针16G"></label-box>
334
                             </div>
334
                             </div>
335
                             </td>
335
                             </td>
336
                             <td></td>
336
                             <td></td>

+ 4 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyFive.vue 파일 보기

386
                           class="inline_block"
386
                           class="inline_block"
387
                           style="margin-left: 10px; flex: 1"
387
                           style="margin-left: 10px; flex: 1"
388
                         >
388
                         >
389
-                          穿刺针
389
+                          穿刺针:
390
                           <div
390
                           <div
391
                             class="under_line"
391
                             class="under_line"
392
-                            style="width: 100px; text-align: center"
392
+                            style="width: 120px; text-align: center;white-space:normal;"
393
                           >
393
                           >
394
                             {{
394
                             {{
395
                               record.assessment_before_dislysis &&
395
                               record.assessment_before_dislysis &&
1634
                           </tr>
1634
                           </tr>
1635
   
1635
   
1636
                           <template v-if="record.advices">
1636
                           <template v-if="record.advices">
1637
-                            <tr
1638
-                              v-for="(advice, advice_index) in record.advices"
1637
+                            <tr v-for="(advice, advice_index) in record.advices"
1639
                               :key="advice_index"
1638
                               :key="advice_index"
1640
                             >
1639
                             >
1641
                               <td height="35px">
1640
                               <td height="35px">
3106
                 this.records[recordIndex].advices &&
3105
                 this.records[recordIndex].advices &&
3107
                 this.records[recordIndex].advices.length < 12
3106
                 this.records[recordIndex].advices.length < 12
3108
               ) {
3107
               ) {
3109
-                delghTwo = 12 - this.records[recordIndex].advices.length;
3108
+                delghTwo = 8 - this.records[recordIndex].advices.length;
3110
               } else {
3109
               } else {
3111
                 delghTwo = 0;
3110
                 delghTwo = 0;
3112
               }
3111
               }

+ 22 - 15
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue 파일 보기

959
                                     record.assessment_before_dislysis
959
                                     record.assessment_before_dislysis
960
                                       .additional_weight
960
                                       .additional_weight
961
                                 ).toFixed(1)
961
                                 ).toFixed(1)
962
-                              : "/"
962
+                              : "未称重"
963
                           }}
963
                           }}
964
                         </div>
964
                         </div>
965
                         kg
965
                         kg
1866
                                     <span v-if="item.single_dose !=''">
1866
                                     <span v-if="item.single_dose !=''">
1867
                                       {{ item.single_dose}}{{ item.single_dose_unit }}
1867
                                       {{ item.single_dose}}{{ item.single_dose_unit }}
1868
                                     </span>
1868
                                     </span>
1869
-                                    
1869
+
1870
                                   </div>
1870
                                   </div>
1871
                                 </template>
1871
                                 </template>
1872
                                 <span v-if="advice[0].parent_id > 0"></span>
1872
                                 <span v-if="advice[0].parent_id > 0"></span>
2378
                                     record.assessment_before_dislysis
2378
                                     record.assessment_before_dislysis
2379
                                       .additional_weight
2379
                                       .additional_weight
2380
                                 ).toFixed(1)
2380
                                 ).toFixed(1)
2381
-                              : "/"
2381
+                              : "未称重"
2382
                           }}
2382
                           }}
2383
                         </div>
2383
                         </div>
2384
                         kg
2384
                         kg
2396
                               ? record.assessment_after_dislysis.weight_loss
2396
                               ? record.assessment_after_dislysis.weight_loss
2397
                               : "/"
2397
                               : "/"
2398
                           }} -->
2398
                           }} -->
2399
-                          {{
2400
-                            record.assessment_after_dislysis &&
2401
-                            (record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after).toFixed(2)
2402
-                              ?(record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after).toFixed(2)
2403
-                              : "/"
2404
-                          }}
2399
+                          <span v-if="record.assessment_before_dislysis.weight_before !=0 &&
2400
+                                  record.assessment_after_dislysis.weight_after"
2401
+                          >
2402
+                              {{
2403
+                                record.assessment_after_dislysis &&
2404
+                                (record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after).toFixed(2)
2405
+                                  ?(record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after).toFixed(2)
2406
+                                  : "/"
2407
+                              }}
2408
+                          </span>
2409
+                          <span v-else>
2410
+                            /
2411
+                          </span>
2405
                         </div>
2412
                         </div>
2406
                         kg
2413
                         kg
2407
                       </div>
2414
                       </div>
3112
               </tbody>
3119
               </tbody>
3113
             </table>
3120
             </table>
3114
           </div>
3121
           </div>
3115
-          <div style="position: relative;left: 70%;top: 30px;">
3122
+          <div style="position: relative;left: 70%;top: 0px;width: 250px;">
3116
             患者签名:
3123
             患者签名:
3117
             <div class="under_line" style="width: 120px;">
3124
             <div class="under_line" style="width: 120px;">
3118
               <img
3125
               <img
3119
                 v-if="record.dialysis_order.url!=''"
3126
                 v-if="record.dialysis_order.url!=''"
3120
-                style="height: 50px"
3127
+                style="height: 60px"
3121
                 :src="record.dialysis_order == null? 0: record.dialysis_order.url"
3128
                 :src="record.dialysis_order == null? 0: record.dialysis_order.url"
3122
                 alt=""
3129
                 alt=""
3123
                 srcset=""
3130
                 srcset=""
3730
   width: 50%;
3737
   width: 50%;
3731
 }
3738
 }
3732
 
3739
 
3733
-.under_line::before {
3740
+/* .under_line::before {
3734
   content: "\00A0";
3741
   content: "\00A0";
3735
 }
3742
 }
3736
 
3743
 
3737
 .under_line::after {
3744
 .under_line::after {
3738
   content: "\00A0";
3745
   content: "\00A0";
3739
-}
3746
+} */
3740
 
3747
 
3741
 .under_line_two {
3748
 .under_line_two {
3742
   display: inline-block;
3749
   display: inline-block;
3746
   width: 50%;
3753
   width: 50%;
3747
 }
3754
 }
3748
 
3755
 
3749
-.under_line_two::before {
3756
+/* .under_line_two::before {
3750
   content: "\00A0";
3757
   content: "\00A0";
3751
 }
3758
 }
3752
 
3759
 
3753
 .under_line_two::after {
3760
 .under_line_two::after {
3754
   content: "\00A0";
3761
   content: "\00A0";
3755
-}
3762
+} */
3756
 
3763
 
3757
 .flex {
3764
 .flex {
3758
   display: -webkit-box;
3765
   display: -webkit-box;

+ 51 - 4
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 파일 보기

11
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
11
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
12
       <el-form ref="form" :model="form" label-width="160px">
12
       <el-form ref="form" :model="form" label-width="160px">
13
         <el-row :gutter="20">
13
         <el-row :gutter="20">
14
+         
15
+          <el-col :span="8" >
16
+            <el-form-item
17
+              label="透后时间 :"
18
+              style="width: 350px"
19
+              :prop="isName('透后时间')"
20
+              v-if="org_id == 0 || org_id ==10599"
21
+            >
22
+              <el-date-picker
23
+                type="datetime"
24
+                format="yyyy-MM-dd HH:mm"
25
+                value-format="yyyy-MM-dd HH:mm"
26
+                placeholder="选择时间"
27
+                v-model="form.start_time"
28
+                style="width: 100%"
29
+              ></el-date-picker>
30
+            </el-form-item>
31
+          </el-col>
32
+
14
           <el-col :span="8" v-if="isShow('实际治疗时长')">
33
           <el-col :span="8" v-if="isShow('实际治疗时长')">
15
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
34
             <el-form-item label="实际治疗时长(时):" prop="actualTreatmentHourShow" :rules="isCheckmust('实际治疗时长')">
16
 
35
 
362
           </el-form-item>
381
           </el-form-item>
363
         </el-col>
382
         </el-col>
364
 
383
 
365
-        <el-col :span="8" v-if="isShow('透后症状')">
384
+        <el-col :span="8" v-if="isShow('透后症状') && org_id !=0 && org_id != 10721">
366
           <el-form-item label="透后症状: " :prop="isName('透后症状')" :rules="isCheckmust('透后症状')">
385
           <el-form-item label="透后症状: " :prop="isName('透后症状')" :rules="isCheckmust('透后症状')">
367
             <el-input
386
             <el-input
368
               v-model="form.symptom_after_dialysis"
387
               v-model="form.symptom_after_dialysis"
372
           </el-form-item>
391
           </el-form-item>
373
         </el-col>
392
         </el-col>
374
 
393
 
394
+        <el-col :span="8" v-if="(org_id == 0 || org_id == 10721)">
395
+          <el-form-item label="透后症状: ">
396
+            <el-input v-model="form.symptom_after_dialysis_remark"></el-input>
397
+          </el-form-item>
398
+         
399
+        </el-col>
400
+
375
         <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485 && org_id!=10460  && org_id!=10551">
401
         <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485 && org_id!=10460  && org_id!=10551">
376
           <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
402
           <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
377
             <el-input v-model="form.dialysis_intakes"></el-input>
403
             <el-input v-model="form.dialysis_intakes"></el-input>
733
 import { uParseTime } from '@/utils/tools'
759
 import { uParseTime } from '@/utils/tools'
734
 import store from '@/store'
760
 import store from '@/store'
735
 import { parseTime } from '@/utils'
761
 import { parseTime } from '@/utils'
736
-
762
+const moment = require('moment');
737
 import request from '@/utils/request'
763
 import request from '@/utils/request'
738
 
764
 
739
 export default {
765
 export default {
907
         last_after_weight:"",
933
         last_after_weight:"",
908
         displace_liqui_value:"",
934
         displace_liqui_value:"",
909
         after_weight:"",
935
         after_weight:"",
936
+        symptom_after_dialysis_remark:"",
937
+        start_time:""
910
       },
938
       },
911
       lapseList:[],
939
       lapseList:[],
912
       leaveOfficeMethod:[],
940
       leaveOfficeMethod:[],
1058
     }
1086
     }
1059
   },
1087
   },
1060
   methods: {
1088
   methods: {
1089
+    getTimeOne (time) {
1090
+      return uParseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
1091
+    },
1061
     isName(name) {
1092
     isName(name) {
1062
       let filedList = store.getters.xt_user.fileds;
1093
       let filedList = store.getters.xt_user.fileds;
1063
       for (let i = 0; i < filedList.length; i++) {
1094
       for (let i = 0; i < filedList.length; i++) {
1174
 
1205
 
1175
           ParamsQuery['patient'] = this.patient.id
1206
           ParamsQuery['patient'] = this.patient.id
1176
           ParamsQuery['record_date'] = this.record_date
1207
           ParamsQuery['record_date'] = this.record_date
1208
+          if(this.form.start_time == ""){
1209
+            ParamsQuery["record_time"] =  moment().format('YYYY-MM-DD HH:mm:ss')
1210
+          }else{
1211
+            ParamsQuery["record_time"] = this.form.start_time
1212
+          }
1213
+        
1177
           ParamsQuery['mode'] = '1'
1214
           ParamsQuery['mode'] = '1'
1178
           if (this.assessment_after_dislysis.creater > 0) {
1215
           if (this.assessment_after_dislysis.creater > 0) {
1179
             ParamsQuery['mode'] = '2'
1216
             ParamsQuery['mode'] = '2'
1261
           data["transfusion_volume"] = this.form.transfusion_volume
1298
           data["transfusion_volume"] = this.form.transfusion_volume
1262
           data["condenser"] = this.form.condenser
1299
           data["condenser"] = this.form.condenser
1263
           data['displace_liqui_value'] = this.form.displace_liqui_value
1300
           data['displace_liqui_value'] = this.form.displace_liqui_value
1301
+        
1302
+          data["symptom_after_dialysis_remark"] = this.form.symptom_after_dialysis_remark
1303
+        
1304
+        
1264
           if(this.form.last_after_weight >0){
1305
           if(this.form.last_after_weight >0){
1265
             data["last_after_weight"] = this.form.last_after_weight.toString()
1306
             data["last_after_weight"] = this.form.last_after_weight.toString()
1266
           }else{
1307
           }else{
1454
     // 数据开始
1495
     // 数据开始
1455
     show(predialysis,last_after) {
1496
     show(predialysis,last_after) {
1456
       console.log("头号好地方阿道夫地方阿道夫阿道夫",this.last_monitor)
1497
       console.log("头号好地方阿道夫地方阿道夫阿道夫",this.last_monitor)
1457
-
1498
+      
1499
+      if(this.assessment_after_dislysis!=null && this.assessment_after_dislysis.id>0){
1500
+         this.form.start_time = this.getTimeOne(this.assessment_after_dislysis.record_time) 
1501
+      }
1502
+     
1503
+      
1458
       if(this.$store.getters.xt_user.template_info.org_id == 10679){
1504
       if(this.$store.getters.xt_user.template_info.org_id == 10679){
1459
         if(this.form.systolic_blood_pressure == 0){
1505
         if(this.form.systolic_blood_pressure == 0){
1460
            this.form.systolic_blood_pressure = this.last_monitor.systolic_blood_pressure
1506
            this.form.systolic_blood_pressure = this.last_monitor.systolic_blood_pressure
1471
         if(this.form.pulse_frequency == 0){
1517
         if(this.form.pulse_frequency == 0){
1472
           this.form.pulse_frequency = this.last_monitor.pulse_frequency
1518
           this.form.pulse_frequency = this.last_monitor.pulse_frequency
1473
         }
1519
         }
1520
+       
1474
 
1521
 
1475
       }
1522
       }
1476
       this.isVisibility = true
1523
       this.isVisibility = true
1650
   },
1697
   },
1651
   created() {
1698
   created() {
1652
     // console.log("this.form", this.form.consciousness);
1699
     // console.log("this.form", this.form.consciousness);
1653
-
1700
+     
1654
     this.org_id = this.$store.getters.xt_user.template_info.org_id
1701
     this.org_id = this.$store.getters.xt_user.template_info.org_id
1655
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1702
     this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
1656
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')
1703
     this.pip_coagulationOptions = getDataConfig('hemodialysis','pip_coagulation')

+ 55 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 파일 보기

202
                     </el-col>
202
                     </el-col>
203
 
203
 
204
                     <el-col :span="8" v-if="isShows('是否单超脱水')">
204
                     <el-col :span="8" v-if="isShows('是否单超脱水')">
205
-                        <el-form-item label="是否单超脱水:" prop="is_water" :rules="isCheckmust('是否单超脱水')">
205
+                        <el-form-item label="是否单超脱水:" prop="is_water">
206
                            <el-select v-model="dialysisPrescription.is_water">
206
                            <el-select v-model="dialysisPrescription.is_water">
207
                                 <el-option
207
                                 <el-option
208
                                         v-for="(item, index) in waterList"
208
                                         v-for="(item, index) in waterList"
214
                         </el-form-item>
214
                         </el-form-item>
215
                     </el-col>
215
                     </el-col>
216
 
216
 
217
+                    <el-col :span="8" >
218
+                        <el-form-item label="是否先超脱水:" prop="first_super" v-if="isShows('是否先超脱水')">
219
+                           <el-select v-model="dialysisPrescription.first_super">
220
+                                <el-option
221
+                                        v-for="(item, index) in waterListThree"
222
+                                        :label="item.name"
223
+                                        :value="item.id"
224
+                                        :key="index + 's'"
225
+                                ></el-option>
226
+                            </el-select>
227
+                        </el-form-item>
228
+                    </el-col>
229
+
230
+                    
231
+                    <el-col :span="8">
232
+                        <el-form-item label="是否序惯脱水:" prop="is_sequential"  v-if="isShows('是否序惯脱水')">
233
+                           <el-select v-model="dialysisPrescription.is_sequential">
234
+                                <el-option
235
+                                        v-for="(item, index) in waterListTwo"
236
+                                        :label="item.name"
237
+                                        :value="item.id"
238
+                                        :key="index + 't'"
239
+                                ></el-option>
240
+                            </el-select>
241
+                        </el-form-item>
242
+                    </el-col>
243
+
244
+                    <el-col :span="8">
245
+                        <el-form-item label="电导度(mS/cm):" prop="conduct" v-if="isShows('电导度')">
246
+                            <el-input v-model="dialysisPrescription.conduct"></el-input>
247
+                        </el-form-item>
248
+                    </el-col>
249
+
250
+                    
251
+
217
 
252
 
218
                     <el-col :span="8" v-if="isShows('透析液')">
253
                     <el-col :span="8" v-if="isShows('透析液')">
219
                         <el-form-item label="透析液:" prop="dialyzate" :rules="isCheckmust('透析液')">
254
                         <el-form-item label="透析液:" prop="dialyzate" :rules="isCheckmust('透析液')">
1901
           washing_time:"",
1936
           washing_time:"",
1902
           blood_access_part_id:"",
1937
           blood_access_part_id:"",
1903
           anticoagulant_weichi_hour:"",
1938
           anticoagulant_weichi_hour:"",
1904
-          dialyzate:""
1939
+          dialyzate:"",
1940
+          first_super:0,
1941
+          is_sequential:0,
1942
+          conduct:""
1905
         },
1943
         },
1906
 
1944
 
1907
         anticoagulant: {
1945
         anticoagulant: {
1943
           {id:1,name:"是"},
1981
           {id:1,name:"是"},
1944
           {id:2,name:"否"}
1982
           {id:2,name:"否"}
1945
         ],
1983
         ],
1984
+        waterListOne:[
1985
+          {id:0,name:"请选择"},
1986
+          {id:1,name:"是"},
1987
+          {id:2,name:"否"}
1988
+        ],
1989
+        waterListTwo:[
1990
+          {id:0,name:"请选择"},
1991
+          {id:1,name:"是"},
1992
+          {id:2,name:"否"}
1993
+        ],
1994
+        waterListThree:[
1995
+          {id:0,name:"请选择"},
1996
+          {id:1,name:"是"},
1997
+          {id:2,name:"否"}
1998
+        ],
1946
         dialyzateList:[
1999
         dialyzateList:[
1947
           {id:0,name:"请选择"},
2000
           {id:0,name:"请选择"},
1948
           {id:1,name:"碳酸"},
2001
           {id:1,name:"碳酸"},

+ 5 - 2
src/xt_pages/dialysis/details/index.vue 파일 보기

563
                   </div>
563
                   </div>
564
                 </div>
564
                 </div>
565
                 <div class="printCell" style="display:flex;" v-if="org_id ==10635 || org_id == 0">
565
                 <div class="printCell" style="display:flex;" v-if="org_id ==10635 || org_id == 0">
566
-                  <div>
566
+                  <div style="width: 45%;">
567
                     处方脱水量:{{main_collection.prescription.prescription_water}} L
567
                     处方脱水量:{{main_collection.prescription.prescription_water}} L
568
                   </div>
568
                   </div>
569
-                  <div></div>
569
+                  <div  style="width: 50%;">
570
+                    血流量:{{main_collection.prescription.blood_flow_volume}} ml/min
571
+                  </div>
570
                 </div>
572
                 </div>
571
                 <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
573
                 <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
572
                   <div style="">透析器:
574
                   <div style="">透析器:
1425
 import { uParseTime } from '@/utils/tools'
1427
 import { uParseTime } from '@/utils/tools'
1426
 import Calendar from 'vue-calendar-component'
1428
 import Calendar from 'vue-calendar-component'
1427
 import data from '../../../store/modules/data'
1429
 import data from '../../../store/modules/data'
1430
+
1428
 export default {
1431
 export default {
1429
   name: 'index',
1432
   name: 'index',
1430
   components: {
1433
   components: {

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue 파일 보기

387
                   </td>
387
                   </td>
388
                   <td width='20'></td>
388
                   <td width='20'></td>
389
                   <td width="70">穿刺针:</td>
389
                   <td width="70">穿刺针:</td>
390
-                  <td width="260" style="text-align:left;">
390
+                  <td width="280" style="text-align:left;">
391
                     <div>
391
                     <div>
392
-                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : false" showValue="16G"></label-box>
392
+                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle =='16G' ? true : false" showValue="16G"></label-box>
393
                       &nbsp;
393
                       &nbsp;
394
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
394
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
395
                       &nbsp;
395
                       &nbsp;
396
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
396
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
397
                       &nbsp;
397
                       &nbsp;
398
-                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('留置针16G') > -1 ? true : false" showValue="留置针16G"></label-box>
398
+                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle == '留置针16G' ? true : false" showValue="留置针16G"></label-box>
399
                     </div>
399
                     </div>
400
                   </td>
400
                   </td>
401
 
401
 
2200
             }
2200
             }
2201
             this.check = response.data.data.check
2201
             this.check = response.data.data.check
2202
             this.predialysis = response.data.data.PredialysisEvaluation
2202
             this.predialysis = response.data.data.PredialysisEvaluation
2203
-            console.log(11111111111111111111111, this.predialysis)
2203
+            console.log('11111111111111111111111222', this.predialysis)
2204
             this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
2204
             this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
2205
               this.predialysis.blood_access_part_opera_id
2205
               this.predialysis.blood_access_part_opera_id
2206
             )
2206
             )
2207
             this.afterdialysis = response.data.data.AssessmentAfterDislysis
2207
             this.afterdialysis = response.data.data.AssessmentAfterDislysis
2208
-            console.log(22222222222222222222222222, response.data.data)
2208
+            console.log('222222222222222222222222222111', response.data.data)
2209
             this.operators = response.data.data.operators
2209
             this.operators = response.data.data.operators
2210
             this.dialysisOrder =
2210
             this.dialysisOrder =
2211
               response.data.data.dialysisOrder === null
2211
               response.data.data.dialysisOrder === null

+ 246 - 174
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue 파일 보기

145
             </div>
145
             </div>
146
           </div>
146
           </div>
147
         </div>
147
         </div>
148
-        <div
149
-          class="row"
148
+        <div class="row"
150
           :style="this.totollength > 13 ? 'margin-bottom:400px;' : ''"
149
           :style="this.totollength > 13 ? 'margin-bottom:400px;' : ''"
151
         >
150
         >
152
           <table class="proj_table">
151
           <table class="proj_table">
279
                     >
278
                     >
280
                       导管:
279
                       导管:
281
                       <div
280
                       <div
282
-                        style="width: 90%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
281
+                        style="width: 85%; text-align: left;display: inline-block;border-bottom: 1px solid #999;"
283
                       >
282
                       >
284
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
283
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
285
                       </div>
284
                       </div>
673
 
672
 
674
                     <div
673
                     <div
675
                       class="inline_block"
674
                       class="inline_block"
676
-                      style="margin-left: 10px; flex: 1"
675
+                      style="flex: 1"
677
                     >
676
                     >
678
                       置换方式:
677
                       置换方式:
679
                       <div
678
                       <div
688
                     <div
687
                     <div
689
 
688
 
690
                       class="inline_block"
689
                       class="inline_block"
691
-                      style="margin-left: 10px; flex: 1"
690
+                      style="flex: 1"
692
                     >
691
                     >
693
                       置换量:
692
                       置换量:
694
                       <div
693
                       <div
706
                     </div>
705
                     </div>
707
                     <div
706
                     <div
708
                       class="inline_block"
707
                       class="inline_block"
709
-                      style="margin-left: 10px; flex: 1"
708
+                      style=" flex: 1"
710
                     >
709
                     >
711
                       血流量:
710
                       血流量:
712
                       <div
711
                       <div
721
                       </div>
720
                       </div>
722
                       ml/min
721
                       ml/min
723
                     </div>
722
                     </div>
724
-                    <div class="inline_block" style="margin-left: 1px; flex: 1">
723
+                    <div class="inline_block" style=" flex: 1">
725
                       透析时间:
724
                       透析时间:
726
                       <div
725
                       <div
727
                         class="under_line"
726
                         class="under_line"
1927
                       </div>
1926
                       </div>
1928
                       mmHg
1927
                       mmHg
1929
                     </div>
1928
                     </div>
1930
-                    
1929
+
1931
 
1930
 
1932
                   </div>
1931
                   </div>
1933
                   <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1932
                   <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1997
                     </div>
1996
                     </div>
1998
                   </div> -->
1997
                   </div> -->
1999
 
1998
 
2000
-                  <div
2001
-                    class="row"
1999
+                  <div class="row"
2002
                     style="padding: 2px 0; line-height: 23px; display: flex"
2000
                     style="padding: 2px 0; line-height: 23px; display: flex"
2003
                   >
2001
                   >
2004
                     <div class="inline_block" style="flex: 1.1">
2002
                     <div class="inline_block" style="flex: 1.1">
2440
         </div>
2438
         </div>
2441
       </div>
2439
       </div>
2442
     </div>
2440
     </div>
2443
-      {{ 'dfasfdafssdfasfad',x_tdate }}
2444
     <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
2441
     <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
2445
       <div class="order-yy-name">{{ orgname }}</div>
2442
       <div class="order-yy-name">{{ orgname }}</div>
2446
       <div class="order_title">血液净化科医嘱及执行单</div>
2443
       <div class="order_title">血液净化科医嘱及执行单</div>
2893
     },
2890
     },
2894
 
2891
 
2895
     checkData() {
2892
     checkData() {
2896
-      if (this.receiverTreatmentAccess.way == 0) {
2897
-        this.$message.error("入科方式未填");
2898
-      } else if (this.predialysis.symptom_before_dialysis == "") {
2899
-        this.$message.error("透前症状未填");
2900
-      } else if (this.predialysis.temperature == "") {
2901
-        this.$message.error("透前体温未填");
2902
-      } else if (this.predialysis.pulse_frequency == "") {
2903
-        this.$message.error("透前脉搏未填");
2904
-      } else if (this.predialysis.breathing_rate == "") {
2905
-        this.$message.error("透前呼吸频率未填");
2906
-      } else if (
2893
+      var checkDate =[]
2894
+      if (this.predialysis.temperature == 0) {
2895
+        const obj = "透前体温"
2896
+        checkDate.push(obj)
2897
+      } if (this.predialysis.pulse_frequency == "") {
2898
+        const obj1 = "透前脉搏"
2899
+        checkDate.push(obj1)
2900
+      } if (this.predialysis.breathing_rate == "") {
2901
+         const obj2 = "透前呼吸频率"
2902
+         checkDate.push(obj2)
2903
+      } if (
2907
         this.predialysis.systolic_blood_pressure == 0 ||
2904
         this.predialysis.systolic_blood_pressure == 0 ||
2908
         this.predialysis.diastolic_blood_pressure == 0
2905
         this.predialysis.diastolic_blood_pressure == 0
2909
       ) {
2906
       ) {
2910
-        this.$message.error("透前血压未填完整");
2911
-      } else if (this.predialysis.puncture_way == "") {
2912
-        this.$message.error("穿刺方式未填");
2913
-      } else if (this.predialysis.puncture_needle == "") {
2914
-        this.$message.error("穿刺针未填");
2915
-      } else if (
2907
+        const obj3 = "透前血压"
2908
+        checkDate.push(obj3)
2909
+      } if (
2916
         this.predialysis.blood_access_part_id == "" &&
2910
         this.predialysis.blood_access_part_id == "" &&
2917
         this.predialysis.blood_access_part_opera_name == ""
2911
         this.predialysis.blood_access_part_opera_name == ""
2918
       ) {
2912
       ) {
2919
-        this.$message.error("血管通路未填");
2920
-      } else if (this.predialysis.internal_fistula == "") {
2921
-        this.$message.error("透前内瘘未填");
2922
-      } else if (this.predialysis.catheter == "") {
2923
-        this.$message.error("透前导管未填");
2924
-      } else if (this.prescription.mode_id == "") {
2925
-        this.$message.error("透析方式未填");
2926
-      } else if (
2913
+        const obj4 = "血管通路"
2914
+        checkDate.push(obj4)
2915
+      } if(this.predialysis.internal_fistula == "") {
2916
+        const obj5 = '透前内瘘'
2917
+        checkDate.push(obj5)
2918
+      } if (this.predialysis.catheter == "") {
2919
+        const obj6 = '透前导管'
2920
+        checkDate.push(obj6)
2921
+      } if (this.predialysis.puncture_way == "") {
2922
+        const obj7 = '穿刺方式'
2923
+        checkDate.push(obj7)
2924
+      } if (this.predialysis.puncture_needle == "") {
2925
+        const obj8 = '穿刺针'
2926
+        checkDate.push(obj8)
2927
+      } if(this.predialysis.puncture_needle_direction == ''){
2928
+        const obj9 = '穿刺方向'
2929
+        checkDate.push(obj9)
2930
+      } if (this.prescription.mode_id == 0) {
2931
+        const obj10 = '透析方式'
2932
+        checkDate.push(obj10);
2933
+      } if (
2927
         this.prescription.displace_liqui_part == 0 &&
2934
         this.prescription.displace_liqui_part == 0 &&
2928
         this.prescription.mode_id == 2
2935
         this.prescription.mode_id == 2
2929
       ) {
2936
       ) {
2930
-        this.$message.error("置换方式未填");
2931
-      } else if (
2937
+        const obj11 = '置换方式'
2938
+        checkDate.push(obj11);
2939
+      } if (
2932
         this.prescription.displace_liqui_value == 0 &&
2940
         this.prescription.displace_liqui_value == 0 &&
2933
         this.prescription.mode_id == 2
2941
         this.prescription.mode_id == 2
2934
       ) {
2942
       ) {
2935
-        this.$message.error("置换量未填");
2936
-      } else if (this.prescription.blood_flow_volume == 0) {
2937
-        this.$message.error("血流量未填");
2938
-      } else if (
2943
+        const obj12 = '置换量'
2944
+        checkDate.push(obj12);
2945
+      } if (this.prescription.blood_flow_volume == 0) {
2946
+        const obj13 = '血流量'
2947
+        checkDate.push(obj13);
2948
+      } if (
2939
         this.prescription.dialysis_duration_hour == 0 &&
2949
         this.prescription.dialysis_duration_hour == 0 &&
2940
         this.prescription.dialysis_duration_minute == 0
2950
         this.prescription.dialysis_duration_minute == 0
2941
       ) {
2951
       ) {
2942
-        this.$message.error("透析时间未填");
2943
-      } else if (
2944
-        this.prescription.dialyzer_perfusion_apparatus == "" &&
2945
-        this.prescription.dialysis_dialyszers == ""
2946
-      ) {
2947
-        this.$message.error("透析器未填");
2948
-      } else if (this.prescription.dialysis_irrigation == "") {
2949
-        this.$message.error("灌流器未填");
2950
-      } else if (
2951
-        this.prescription.plasma_separator == "" &&
2952
-        this.org_id == 9538
2953
-      ) {
2954
-        this.$message.error("血浆分离器未填");
2955
-      } else if (
2956
-        this.prescription.bilirubin_adsorption_column == "" &&
2957
-        this.org_id == 9538
2958
-      ) {
2959
-        this.$message.error("胆红素吸附柱未填");
2960
-      } else if (this.predialysis.weight_before == 0) {
2961
-        this.$message.error("透前体重未填");
2962
-      } else if (this.predialysis.dry_weight == 0) {
2963
-        this.$message.error("干体重未填");
2964
-      } else if (this.prescription.target_ultrafiltration == 0) {
2965
-        this.$message.error("计划超滤量未填");
2966
-      } else if (this.prescription.calcium == 0) {
2967
-        this.$message.error("钙未填");
2968
-      } else if (this.prescription.sodium == 0) {
2969
-        this.$message.error("钠未填");
2970
-      } else if (this.prescription.kalium == 0) {
2971
-        this.$message.error("钾未填");
2972
-      } else if (this.prescription.bicarbonate == 0) {
2973
-        this.$message.error("碳酸氢根未填");
2974
-      } else if (this.prescription.dialysate_flow == 0) {
2975
-        this.$message.error("透析液流量未填");
2976
-      } else if (this.prescription.anticoagulant == 0) {
2977
-        this.$message.error("抗凝剂未填");
2978
-      } else if (
2952
+        const obj14 = '透析时间'
2953
+        checkDate.push(obj14);
2954
+      } if (this.predialysis.symptom_before_dialysis == "") {
2955
+        const obj15 = '透前症状'
2956
+        checkDate.push(obj15);
2957
+      } if ( this.prescription.dialysis_dialyszers == "" ) {
2958
+        const obj16 = '透析(滤)器'
2959
+        checkDate.push(obj16);
2960
+      } if ( this.prescription.dialysis_irrigation == "" ) {
2961
+        const obj17 = '灌流器'
2962
+        checkDate.push(obj17);
2963
+      } if ( this.prescription.dialysis_strainer == "" ) {
2964
+        const obj18 = '滤过器'
2965
+        checkDate.push(obj18);
2966
+      } if(this.predialysis.dry_weight == 0) {
2967
+        const obj19 = '干体重'
2968
+        checkDate.push(obj19);
2969
+      } if(this.predialysis.additional_weight ==0){
2970
+        const obj20 = '衣物重'
2971
+        checkDate.push(obj20);
2972
+      } if(this.predialysis.weight_after_last_transparency ==''){
2973
+        const obj21 = '上次透后体重'
2974
+        checkDate.push(obj21);
2975
+      } if (this.predialysis.weight_before == 0) {
2976
+        const obj22 = '透前体重'
2977
+        checkDate.push(obj22);
2978
+      } if (this.prescription.calcium == 0) {
2979
+        const obj23 = '钙'
2980
+        checkDate.push(obj23);
2981
+      } if (this.prescription.sodium == 0) {
2982
+        const obj24 = '钠'
2983
+        checkDate.push(obj24);
2984
+      } if (this.prescription.kalium == 0) {
2985
+        const obj25 = '钾'
2986
+        checkDate.push(obj25);
2987
+      } if (this.prescription.bicarbonate == 0) {
2988
+        const obj26 = '碳酸氢根'
2989
+        checkDate.push(obj26);
2990
+      } if (this.prescription.dialysate_flow == 0) {
2991
+        const obj27 = '流量'
2992
+        checkDate.push(obj27);
2993
+      } if (this.prescription.anticoagulant == 0) {
2994
+        const obj28 = '抗凝剂'
2995
+        checkDate.push(obj28);
2996
+      } if (
2979
         this.prescription.anticoagulant_gaimingcheng == "" &&
2997
         this.prescription.anticoagulant_gaimingcheng == "" &&
2980
         this.prescription.anticoagulant == 5
2998
         this.prescription.anticoagulant == 5
2981
       ) {
2999
       ) {
2982
-        this.$message.error("钙名称未填");
2983
-      } else if (
3000
+        const obj29 = '钙名称'
3001
+        checkDate.push(obj29);
3002
+      } if (
2984
         this.prescription.anticoagulant_gaijiliang == "" &&
3003
         this.prescription.anticoagulant_gaijiliang == "" &&
2985
         this.prescription.anticoagulant == 5
3004
         this.prescription.anticoagulant == 5
2986
       ) {
3005
       ) {
2987
-        this.$message.error("钙剂量未填");
2988
-      } else if (this.afterdialysis.temperature == 0) {
2989
-        this.$message.error("透后体温未填");
2990
-      } else if (this.afterdialysis.pulse_frequency == 0) {
2991
-        this.$message.error("透后脉搏未填");
2992
-      } else if (this.afterdialysis.breathing_rate == 0) {
2993
-        this.$message.error("透后呼吸频率未填");
2994
-      } else if (
3006
+        const obj29 = '钙剂量'
3007
+        checkDate.push(obj29);
3008
+      }  if (this.prescription.anticoagulant_shouji == 0 &&
3009
+            this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
3010
+      ) {
3011
+        const obj30 ='首剂'
3012
+        checkDate.push(obj30)
3013
+      } if (this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant !=1
3014
+            && this.prescription.anticoagulant !='' && this.prescription.anticoagulant != 5
3015
+      ) {
3016
+        const obj31 ='总量'
3017
+        checkDate.push(obj31)
3018
+      } if (this.dialysisOrder.DeviceNumber.number == 0 &&
3019
+            this.patientInfo.DialysisSchedule.device_number.number ==''
3020
+      ) {
3021
+        const obj32 ='透析机号'
3022
+        checkDate.push(obj32)
3023
+      } if (this.afterdialysis.temperature == 0) {
3024
+        const obj33 ='透后体温'
3025
+        checkDate.push(obj33);
3026
+      } if (this.afterdialysis.pulse_frequency == 0) {
3027
+        const obj34 ='透后脉搏'
3028
+        checkDate.push(obj34);
3029
+      } if (this.afterdialysis.breathing_rate == 0) {
3030
+        const obj35 ='透后呼吸频率'
3031
+        checkDate.push(obj35);
3032
+      } if (
2995
         this.afterdialysis.systolic_blood_pressure == 0 ||
3033
         this.afterdialysis.systolic_blood_pressure == 0 ||
2996
         this.afterdialysis.diastolic_blood_pressure == 0
3034
         this.afterdialysis.diastolic_blood_pressure == 0
2997
       ) {
3035
       ) {
2998
-        this.$message.error("透后血压未填完整");
2999
-      } else if (
3000
-        this.afterdialysis.actual_treatment_hour == 0 &&
3001
-        this.afterdialysis.actual_treatment_minute == 0
3002
-      ) {
3003
-        this.$message.error("实际治疗时间未填");
3004
-      } else if (this.afterdialysis.cruor == "") {
3005
-        this.$message.error("透析器凝血未填");
3006
-      } else if (this.afterdialysis.internal_fistula == "") {
3007
-        this.$message.error("透后内瘘未填");
3008
-      } else if (this.afterdialysis.catheter == "") {
3009
-        this.$message.error("透后导管未填");
3010
-      } else if (this.afterdialysis.weight_after == 0) {
3011
-        this.$message.error("透后体重未填");
3012
-      } else if (this.afterdialysis.weight_loss == 0) {
3013
-        this.$message.error("透后体重减少未填");
3014
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
3015
-        this.$message.error("透析中入量未填");
3016
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
3017
-        this.$message.error("实际超滤量未填");
3018
-      } else if (this.summary.dialysis_summary == "") {
3019
-        this.$message.error("透析小结未填");
3020
-      } else if (
3036
+        const obj36 ='透后血压'
3037
+        checkDate.push(obj36);
3038
+      } if (this.afterdialysis.symptom_after_dialysis == 0) {
3039
+        const obj37 ='透后症状'
3040
+        checkDate.push(obj37);
3041
+      } if (this.afterdialysis.cruor == "") {
3042
+        const obj38 ='凝血程度'
3043
+        checkDate.push(obj38);
3044
+      } if (this.afterdialysis.internal_fistula == "") {
3045
+        const obj39 ='透后内瘘'
3046
+        checkDate.push(obj39);
3047
+      } if (this.afterdialysis.catheter == "") {
3048
+        const obj34 ='透后导管'
3049
+        checkDate.push(obj34);
3050
+      } if (this.afterdialysis.ktv == "") {
3051
+        const obj35 ='KTV(在线)'
3052
+        checkDate.push(obj35);
3053
+      } if (this.afterdialysis.actual_treatment_hour == 0 &&
3054
+            this.afterdialysis.actual_treatment_minute == 0
3055
+      ){
3056
+        const obj36 ='实际治疗时间'
3057
+        checkDate.push(obj36);
3058
+      } if (this.afterdialysis.weight_after == 0) {
3059
+        const obj37 ='透后体重'
3060
+        checkDate.push(obj37);
3061
+      } if (this.afterdialysis.weight_loss == 0) {
3062
+        const obj38 ='透后体重减少'
3063
+        checkDate.push(obj38);
3064
+      } if (this.afterdialysis.dialysis_intakes == 0) {
3065
+        const obj39 ='透析中入量'
3066
+        checkDate.push(obj39);
3067
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
3068
+        const obj40 ='实际超滤量'
3069
+        checkDate.push(obj40);
3070
+      } if (this.summary.dialysis_summary == "") {
3071
+        const obj41 ='治疗小结'
3072
+        checkDate.push(obj41);
3073
+      } if (
3021
         this.dialysisOrder == null ||
3074
         this.dialysisOrder == null ||
3022
         this.dialysisOrder.puncture_nurse == 0
3075
         this.dialysisOrder.puncture_nurse == 0
3023
       ) {
3076
       ) {
3024
-        this.$message.error("穿刺护士未填");
3025
-      } else if (
3077
+        const obj42 ='穿刺护士'
3078
+        checkDate.push(obj42);
3079
+      } if (
3026
         this.dialysisOrder == null ||
3080
         this.dialysisOrder == null ||
3027
         this.dialysisOrder.start_nurse == 0
3081
         this.dialysisOrder.start_nurse == 0
3028
       ) {
3082
       ) {
3029
-        this.$message.error("治疗护士未填");
3030
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
3031
-        this.$message.error("核对人员未填");
3083
+        const obj43 ='治疗护士'
3084
+        checkDate.push(obj43);
3085
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
3086
+        const obj44 ='核对人员'
3087
+        checkDate.push(obj44);
3032
       } else if (
3088
       } else if (
3033
         this.dialysisOrder != null &&
3089
         this.dialysisOrder != null &&
3034
         this.dialysisOrder.start_nurse == this.check.modifier &&
3090
         this.dialysisOrder.start_nurse == this.check.modifier &&
3035
         this.check.creater == 0
3091
         this.check.creater == 0
3036
       ) {
3092
       ) {
3037
-        this.$message.error("核对人员未填");
3093
+        const obj44 ='核对人员'
3094
+        checkDate.push(obj44);
3038
       } else if (
3095
       } else if (
3039
         this.dialysisOrder != null &&
3096
         this.dialysisOrder != null &&
3040
         this.dialysisOrder.start_nurse == this.check.creater &&
3097
         this.dialysisOrder.start_nurse == this.check.creater &&
3041
         this.check.modifier == 0
3098
         this.check.modifier == 0
3042
       ) {
3099
       ) {
3043
-        this.$message.error("核对人员未填");
3100
+        const obj44 ='核对人员'
3101
+        checkDate.push(obj44);
3044
       } else if (
3102
       } else if (
3045
         this.dialysisOrder != null &&
3103
         this.dialysisOrder != null &&
3046
         this.dialysisOrder.start_nurse != this.check.creater &&
3104
         this.dialysisOrder.start_nurse != this.check.creater &&
3047
         this.dialysisOrder.start_nurse != this.check.modifier &&
3105
         this.dialysisOrder.start_nurse != this.check.modifier &&
3048
         this.check.creater == 0
3106
         this.check.creater == 0
3049
       ) {
3107
       ) {
3050
-        this.$message.error("核对人员未填");
3051
-      } else if (
3108
+        const obj44 ='核对人员'
3109
+        checkDate.push(obj44);
3110
+      } if (
3052
         this.dialysisOrder == null ||
3111
         this.dialysisOrder == null ||
3053
         this.dialysisOrder.finish_nurse == 0
3112
         this.dialysisOrder.finish_nurse == 0
3054
       ) {
3113
       ) {
3055
-        this.$message.error("下机护士未填");
3056
-      } else if (this.prescription.creater == 0) {
3057
-        this.$message.error("医生签名未填");
3058
-      } else if (this.tableAdvice.length > 0) {
3059
-        let num = 0;
3060
-        this.tableAdvice.map((item) => {
3061
-          if (item.id > 0 && (item.created_time || item.start_time)) {
3062
-            this.users.map((it) => {
3063
-              if (it.id == item.advice_doctor) {
3064
-                if (it.user_type == 3) {
3065
-                  num++;
3066
-                  this.$message.closeAll();
3067
-                  this.$message.error("存在不是医生保存的医嘱");
3068
-                } else if (
3069
-                  it.id == item.execution_staff &&
3070
-                  item.execution_staff > 0
3071
-                ) {
3072
-                  if (it.user_type == 2) {
3073
-                    num++;
3074
-                    this.$message.closeAll();
3075
-                    this.$message.error("存在不是护士执行的医嘱");
3076
-                  }
3077
-                } else if (it.id == item.checker && item.checker > 0) {
3078
-                  if (it.user_type == 2) {
3079
-                    num++;
3080
-                    this.$message.closeAll();
3081
-                    this.$message.error("存在不是护士核对的医嘱");
3082
-                  }
3083
-                }
3084
-              } else if (
3085
-                it.id == item.execution_staff &&
3086
-                item.execution_staff > 0
3087
-              ) {
3088
-                if (it.user_type == 2) {
3089
-                  num++;
3090
-                  this.$message.closeAll();
3091
-                  this.$message.error("存在不是护士执行的医嘱");
3092
-                }
3093
-              } else if (it.id == item.checker && item.checker > 0) {
3094
-                if (it.user_type == 2) {
3095
-                  num++;
3096
-                  this.$message.closeAll();
3097
-                  this.$message.error("存在不是护士核对的医嘱");
3098
-                }
3099
-              }
3100
-            });
3114
+        const obj45 ='下机护士'
3115
+        checkDate.push(obj45);
3116
+      } if (this.prescription.creater == 0) {
3117
+        const obj46 ='医生签名'
3118
+        checkDate.push(obj46);
3119
+      } if(this.doctor_advices.length > 0){
3120
+        this.doctor_advices.map((item) =>{
3121
+          if(item.id > 0 && (item.created_time || item.start_time)){
3122
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
3123
+              const obj50 = '执行人员,医生签名'
3124
+              checkDate.push(obj50)
3125
+            }
3126
+          }
3127
+        })
3128
+      } if(this.monitors.length >0){
3129
+          for(let i in this.monitors){
3130
+            if(this.monitors[i].dialysate_temperature == 0){
3131
+              const obj51 = '监测第'+((i*1)+1)+'行透析液温度'
3132
+              checkDate.push(obj51)
3133
+            } if(this.monitors[i].pulse_frequency ==0){
3134
+              const obj60 = '监测第'+((i*1)+1)+'行脉搏'
3135
+              checkDate.push(obj60)
3136
+            } if(this.monitors[i].breathing_rate ==0){
3137
+              const obj61 = '监测第'+((i*1)+1)+'行呼吸'
3138
+              checkDate.push(obj61)
3139
+            } if(this.monitors[i].systolic_blood_pressure ==0 ||
3140
+                  this.monitors.diastolic_blood_pressure==0){
3141
+              const obj62 = '监测第'+((i*1)+1)+'行血压'
3142
+              checkDate.push(obj62)
3143
+            }
3144
+            if(this.monitors[i].blood_flow_volume ==0){
3145
+              const obj55 = '监测第'+((i*1)+1)+'行血流量'
3146
+              checkDate.push(obj55)
3147
+            } if(this.monitors[i].arterial_pressure ==0){
3148
+              const obj54 = '监测第'+((i*1)+1)+'动脉压'
3149
+              checkDate.push(obj54)
3150
+            }
3151
+            if(this.monitors[i].venous_pressure ==0 ){
3152
+              const obj56 = '监测第'+((i*1)+1)+'行静脉压'
3153
+              checkDate.push(obj56)
3154
+            } if(this.monitors[i].transmembrane_pressure ==0){
3155
+              const obj52 = '监测第'+((i*1)+1)+'行跨膜压'
3156
+              checkDate.push(obj52)
3157
+            } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
3158
+              const obj53 = '监测第'+((i*1)+1)+'行超滤量'
3159
+              checkDate.push(obj53)
3160
+            }
3161
+            if(this.monitors[i].sodium_concentration ==0 ){
3162
+              // this.monitors[i].temperature == 0
3163
+              const obj59 = '监测第'+((i*1)+1)+'行钠浓度'
3164
+              checkDate.push(obj59)
3165
+            }
3166
+
3101
           }
3167
           }
3102
-        });
3103
-        if (num == 0) {
3104
-          this.$message.success("核对完成");
3105
-        }
3106
-      } else {
3107
-        this.$message.success("核对完成");
3108
       }
3168
       }
3169
+      this.getcheckData(checkDate)
3109
     },
3170
     },
3110
     getDisplaceLiquiPart: function (val) {
3171
     getDisplaceLiquiPart: function (val) {
3111
       let displace_liqui_part_name = "/";
3172
       let displace_liqui_part_name = "/";
3816
         return "0.0";
3877
         return "0.0";
3817
       }
3878
       }
3818
     },
3879
     },
3819
-
3880
+    getcheckData(val){
3881
+      if(val.length >0){
3882
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
3883
+        this.$alert(message, '提示', {
3884
+          confirmButtonText: '确定',
3885
+          type: 'warning',
3886
+          dangerouslyUseHTMLString: true,
3887
+        });
3888
+      }else{
3889
+        this.$message.success('核对完成')
3890
+      }
3891
+    }
3820
   },
3892
   },
3821
   watch: {
3893
   watch: {
3822
     "patientInfo.gender": function () {
3894
     "patientInfo.gender": function () {

+ 22 - 23
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue 파일 보기

120
             </div>
120
             </div>
121
           </div>
121
           </div>
122
         </div>
122
         </div>
123
-        <div
124
-            class="row"
123
+        <div class="row"
125
             style="padding: 2px 0; line-height: 23px; display: flex"
124
             style="padding: 2px 0; line-height: 23px; display: flex"
125
+        >
126
+          <div
127
+            class="inline_block"
128
+            style="flex: 1; display: inline-block"
129
+          >
130
+            身份证:
131
+            <div
132
+              class="under_line"
133
+              style="
134
+                width: 860px;
135
+                line-height: 25px;
136
+                text-align: left;
137
+                margin-left: 2px;
138
+                display: inline-block;
139
+                white-space: normal;
140
+              "
126
             >
141
             >
127
-              <div
128
-                class="inline_block"
129
-                style="flex: 1; display: inline-block"
130
-              >
131
-                身份证:
132
-                <div
133
-                  class="under_line"
134
-                  style="
135
-                    width: 860px;
136
-                    line-height: 25px;
137
-                    text-align: left;
138
-                    margin-left: 2px;
139
-                    display: inline-block;
140
-                    white-space: normal;
141
-                  "
142
-                >
143
-                  {{ patientInfo.id_card_no }}
144
-                </div>
145
-              </div>
142
+              {{ patientInfo.id_card_no }}
146
             </div>
143
             </div>
144
+          </div>
145
+        </div>
147
         <div class="row">
146
         <div class="row">
148
           <div class="inline_block">
147
           <div class="inline_block">
149
             入科方式:
148
             入科方式:
358
                       class="inline_block"
357
                       class="inline_block"
359
                       style="margin-left: 10px; flex: 1"
358
                       style="margin-left: 10px; flex: 1"
360
                     >
359
                     >
361
-                      穿刺针
360
+                      穿刺针:
362
                       <div
361
                       <div
363
                         class="under_line"
362
                         class="under_line"
364
-                        style="width: 100px; text-align: center"
363
+                        style="width: 120px; text-align: center;white-space:normal;"
365
                       >
364
                       >
366
                         {{
365
                         {{
367
                           predialysis.puncture_needle
366
                           predialysis.puncture_needle

+ 287 - 189
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue 파일 보기

220
                   <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
220
                   <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
221
                     <div class="inline_block" style="flex: 1;">
221
                     <div class="inline_block" style="flex: 1;">
222
                       T:
222
                       T:
223
-                      <div
224
-                        class="under_line"
223
+                      <div class="under_line"
225
                         style="width: 50px; text-align: center"
224
                         style="width: 50px; text-align: center"
226
                       >
225
                       >
227
                         {{
226
                         {{
837
                             : ""
836
                             : ""
838
                         }}
837
                         }}
839
                       </div>
838
                       </div>
840
-
841
                     </div>
839
                     </div>
842
 
840
 
843
                     <div class="inline_block" style="flex: 0.8" >
841
                     <div class="inline_block" style="flex: 0.8" >
900
                         class="under_line"
898
                         class="under_line"
901
                         style="width: 70px; text-align: center"
899
                         style="width: 70px; text-align: center"
902
                       >
900
                       >
903
-                      <span>{{
901
+                      <span v-if="org_id !=10447 && org_id != 9675">{{
904
                           predialysis.weight_before
902
                           predialysis.weight_before
905
                             ? parseFloat(
903
                             ? parseFloat(
906
                                 predialysis.weight_before -
904
                                 predialysis.weight_before -
907
                                   predialysis.additional_weight
905
                                   predialysis.additional_weight
908
                               ).toFixed(1)
906
                               ).toFixed(1)
909
-                            : "/"
907
+                            : "未称重"
910
                         }}
908
                         }}
911
                       </span>
909
                       </span>
912
                        <span v-if="org_id==10447 || org_id == 9675">
910
                        <span v-if="org_id==10447 || org_id == 9675">
1195
 
1193
 
1196
                   </div>
1194
                   </div>
1197
 
1195
 
1198
-
1199
                   <div class="row" style="padding: 2px 0; line-height: 23px">
1196
                   <div class="row" style="padding: 2px 0; line-height: 23px">
1200
                     <div class="inline_block">
1197
                     <div class="inline_block">
1201
                       备注:
1198
                       备注:
1281
                         <td width="50" v-if="org_id != 10121">
1278
                         <td width="50" v-if="org_id != 10121">
1282
                           <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490"> 电导度<br />(ms/cm)</span>
1279
                           <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490"> 电导度<br />(ms/cm)</span>
1283
                           <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
1280
                           <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
1284
-                          <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1281
+                          <span v-if="org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1285
                         </td>
1282
                         </td>
1286
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1283
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1287
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
1284
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
2160
                                 afterdialysis.weight_after -
2157
                                 afterdialysis.weight_after -
2161
                                   afterdialysis.additional_weight
2158
                                   afterdialysis.additional_weight
2162
                               ).toFixed(1)
2159
                               ).toFixed(1)
2163
-                            : "/"
2160
+                            : "未称重"
2164
                         }}
2161
                         }}
2165
                       </span>
2162
                       </span>
2166
                       </div>
2163
                       </div>
2178
                             ? afterdialysis.weight_loss
2175
                             ? afterdialysis.weight_loss
2179
                             : "/"
2176
                             : "/"
2180
                         }} -->
2177
                         }} -->
2181
-                        {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
2178
+                        <span v-if="predialysis.weight_before !=0 && afterdialysis.weight_after !=0">
2179
+                          {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
2180
+                        </span>
2181
+                        <span v-else>
2182
+                          /
2183
+                        </span>
2182
                       </div>
2184
                       </div>
2183
                       kg
2185
                       kg
2184
                     </div>
2186
                     </div>
2547
                         class="under_line"
2549
                         class="under_line"
2548
                         style="width: 80px; text-align: center"
2550
                         style="width: 80px; text-align: center"
2549
                       >
2551
                       >
2550
-                      <span
2552
+                        <span
2551
                             style="height: 30px; display: inline-block"
2553
                             style="height: 30px; display: inline-block"
2552
-                            v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
2554
+                            v-if=" setAdminUserES(doctor_advices[0].advice_doctor) == ''"
2553
                           >
2555
                           >
2554
                             {{ getAdminUser(doctor_advices[0].advice_doctor) }}
2556
                             {{ getAdminUser(doctor_advices[0].advice_doctor) }}
2555
                           </span>
2557
                           </span>
2566
                 </td>
2568
                 </td>
2567
               </tr>
2569
               </tr>
2568
               <!--  -->
2570
               <!--  -->
2569
-              <tr v-if="(org_id ==10677 || org_id == 0) && dialysisOrder.quality_nurse_id>0">
2571
+              <tr v-if="dialysisOrder != null&&(org_id ==10677 || org_id == 0) && dialysisOrder.quality_nurse_id>0">
2570
                 <td colspan="7" >
2572
                 <td colspan="7" >
2571
                   <div
2573
                   <div
2572
                     class="row"
2574
                     class="row"
2622
         </div>
2624
         </div>
2623
 
2625
 
2624
          <!-- 患者签名 -->
2626
          <!-- 患者签名 -->
2625
-         <div style="position: relative; left: 70%;top: 20px;">
2627
+         <div style="position: relative; left: 70%;top: 10px;width: 250px;">
2626
           患者签名:
2628
           患者签名:
2627
           <div class="under_line" style="width: 120px;">
2629
           <div class="under_line" style="width: 120px;">
2628
             <img
2630
             <img
2629
-              v-if="dialysisOrder.url!=''"
2630
-              style="height: 50px"
2631
+              v-if="dialysisOrder != null&& dialysisOrder.url!=''"
2632
+              style="height: 60px"
2631
               :src="dialysisOrder == null? 0: dialysisOrder.url"
2633
               :src="dialysisOrder == null? 0: dialysisOrder.url"
2632
               alt=""
2634
               alt=""
2633
               srcset=""
2635
               srcset=""
2638
     </div>
2640
     </div>
2639
 
2641
 
2640
 
2642
 
2641
-
2642
     <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
2643
     <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
2643
       <div class="order-yy-name">{{ orgname }}</div>
2644
       <div class="order-yy-name">{{ orgname }}</div>
2644
       <div class="order_title">血液净化科医嘱及执行单</div>
2645
       <div class="order_title">血液净化科医嘱及执行单</div>
2993
     },
2994
     },
2994
 
2995
 
2995
     checkData() {
2996
     checkData() {
2996
-      if (this.receiverTreatmentAccess.way == 0) {
2997
-        this.$message.error("入科方式未填");
2998
-      } else if (this.predialysis.symptom_before_dialysis == "") {
2999
-        this.$message.error("透前症状未填");
3000
-      } else if (this.predialysis.temperature == "") {
3001
-        this.$message.error("透前体温未填");
3002
-      } else if (this.predialysis.pulse_frequency == "") {
3003
-        this.$message.error("透前脉搏未填");
3004
-      } else if (this.predialysis.breathing_rate == "") {
3005
-        this.$message.error("透前呼吸频率未填");
3006
-      } else if (
2997
+      var checkDate =[]
2998
+      if (this.predialysis.temperature == 0) {
2999
+        const obj = "透前体温"
3000
+        checkDate.push(obj)
3001
+      } if (this.predialysis.pulse_frequency == "") {
3002
+        const obj1 = "透前脉搏"
3003
+        checkDate.push(obj1)
3004
+      } if (this.predialysis.breathing_rate == "") {
3005
+         const obj2 = "透前呼吸频率"
3006
+         checkDate.push(obj2)
3007
+      } if (
3007
         this.predialysis.systolic_blood_pressure == 0 ||
3008
         this.predialysis.systolic_blood_pressure == 0 ||
3008
         this.predialysis.diastolic_blood_pressure == 0
3009
         this.predialysis.diastolic_blood_pressure == 0
3009
       ) {
3010
       ) {
3010
-        this.$message.error("透前血压未填完整");
3011
-      } else if (this.predialysis.puncture_way == "") {
3012
-        this.$message.error("穿刺方式未填");
3013
-      } else if (this.predialysis.puncture_needle == "") {
3014
-        this.$message.error("穿刺针未填");
3015
-      } else if (
3016
-        this.predialysis.blood_access_part_id == "" &&
3017
-        this.predialysis.blood_access_part_opera_name == ""
3018
-      ) {
3019
-        this.$message.error("血管通路未填");
3020
-      } else if (this.predialysis.internal_fistula == "") {
3021
-        this.$message.error("透前内瘘未填");
3022
-      } else if (this.predialysis.catheter == "") {
3023
-        this.$message.error("透前导管未填");
3024
-      } else if (this.prescription.mode_id == "") {
3025
-        this.$message.error("透析方式未填");
3026
-      } else if (
3027
-        this.prescription.displace_liqui_part == 0 &&
3028
-        this.prescription.mode_id == 2
3029
-      ) {
3030
-        this.$message.error("置换方式未填");
3031
-      } else if (
3032
-        this.prescription.displace_liqui_value == 0 &&
3033
-        this.prescription.mode_id == 2
3034
-      ) {
3035
-        this.$message.error("置换量未填");
3036
-      } else if (this.prescription.blood_flow_volume == 0) {
3037
-        this.$message.error("血流量未填");
3038
-      } else if (
3011
+        const obj3 = "透前血压"
3012
+        checkDate.push(obj3)
3013
+      } if(this.predialysis.puncture_way == ""){
3014
+        const obj4 = "穿刺方式"
3015
+        checkDate.push(obj4)
3016
+      } if(this.predialysis.puncture_needle == ""){
3017
+        const obj5 = "穿刺针"
3018
+        checkDate.push(obj5)
3019
+      } if (
3039
         this.prescription.dialysis_duration_hour == 0 &&
3020
         this.prescription.dialysis_duration_hour == 0 &&
3040
         this.prescription.dialysis_duration_minute == 0
3021
         this.prescription.dialysis_duration_minute == 0
3041
       ) {
3022
       ) {
3042
-        this.$message.error("透析时间未填");
3043
-      } else if (
3044
-        this.prescription.dialyzer_perfusion_apparatus == "" &&
3045
-        this.prescription.dialysis_dialyszers == ""
3046
-      ) {
3047
-        this.$message.error("透析器未填");
3048
-      } else if (this.prescription.dialysis_irrigation == "") {
3049
-        this.$message.error("灌流器未填");
3050
-      } else if (
3051
-        this.prescription.plasma_separator == "" &&
3052
-        this.org_id == 9538
3053
-      ) {
3054
-        this.$message.error("血浆分离器未填");
3055
-      } else if (
3056
-        this.prescription.bilirubin_adsorption_column == "" &&
3057
-        this.org_id == 9538
3023
+        const obj6 = "透析时间"
3024
+        checkDate.push(obj6)
3025
+      } if(this.dialysisOrder && this.dialysisOrder.DeviceNumber.number ==''&&
3026
+          this.patientInfo.DialysisSchedule.device_number.number ==''
3027
+      ){
3028
+        const obj7 = "透析机号"
3029
+        checkDate.push(obj7)
3030
+      } if(this.predialysis.machine_type ==0){
3031
+        const obj8 = "透析机型"
3032
+        checkDate.push(obj8)
3033
+      } if( this.predialysis.blood_access_part_id == "" &&
3034
+        this.predialysis.blood_access_part_opera_name == ""){
3035
+          const obj9 = "血管通路"
3036
+        checkDate.push(obj9)
3037
+      } if(this.predialysis.internal_fistula == "" && this.predialysis.catheter == ""){
3038
+        const obj10 = "透前内瘘"
3039
+        checkDate.push(obj10)
3040
+      } if (this.predialysis.catheter == "" && this.predialysis.internal_fistula == "") {
3041
+        const obj11 = "透前导管"
3042
+        checkDate.push(obj11)
3043
+      } if (this.prescription.mode_id == 0) {
3044
+        const obj12 = "透析方式"
3045
+        checkDate.push(obj12)
3046
+      } if (this.prescription.displace_liqui_part == 0 &&
3047
+          this.prescription.mode_id == 2
3048
+      ){
3049
+        const obj13 = "置换方式"
3050
+        checkDate.push(obj13)
3051
+      } if(this.prescription.displace_liqui_value == 0 &&
3052
+          this.prescription.mode_id == 2
3053
+      ){
3054
+        const obj14 = "置换量"
3055
+        checkDate.push(obj14)
3056
+      } if(this.prescription.displace_speed == 0){
3057
+        const obj15 = "置换速度"
3058
+        checkDate.push(obj15)
3059
+      } if(this.dialysisOrder&& this.prescription.dialyzer_perfusion_apparatus =='' &&
3060
+          this.prescription.dialysis_dialyszers =='' && this.dialysisOrder.dialysis_dialyszers ==''
3061
+      ){
3062
+        const obj16 = "透析(滤)器"
3063
+        checkDate.push(obj16)
3064
+      } if(this.dialysisOrder && this.prescription.dialysis_irrigation =='' &&
3065
+            this.dialysisOrder.dialysis_irrigation ==''
3066
+      ){
3067
+        const obj17 = "灌流器"
3068
+        checkDate.push(obj17)
3069
+      } if(this.predialysis.symptom_before_dialysis ==''){
3070
+        const obj18 = "透前症状"
3071
+        checkDate.push(obj18)
3072
+      } if(this.lastafterdialysis.weight_after == ''){
3073
+        const obj19 = "上次透后体重"
3074
+        checkDate.push(obj19)
3075
+      } if(this.predialysis.weight_before == 0) {
3076
+        const obj20 = "透前体重"
3077
+        checkDate.push(obj20)
3078
+      } if(this.prescription.prescription_water == 0) {
3079
+        const obj21 = "处方脱水量"
3080
+        checkDate.push(obj21)
3081
+      } if(this.predialysis.dry_weight == 0) {
3082
+        const obj22 = "干体重"
3083
+        checkDate.push(obj22)
3084
+      } if (this.prescription.calcium == 0) {
3085
+        const obj25 = "钙"
3086
+        checkDate.push(obj25)
3087
+      } if (this.prescription.sodium == 0) {
3088
+        const obj26 = "钠"
3089
+        checkDate.push(obj26)
3090
+      } if (this.prescription.kalium == 0) {
3091
+        const obj27 = "钾"
3092
+        checkDate.push(obj27)
3093
+      } if (this.prescription.bicarbonate == 0) {
3094
+        const obj28 = "碳酸氢根"
3095
+        checkDate.push(obj28)
3096
+      } if (this.prescription.dialysate_flow == 0) {
3097
+        const obj29 = "流量"
3098
+        checkDate.push(obj29)
3099
+      } if(this.prescription.anticoagulant == 0) {
3100
+        const obj23 = "抗凝剂"
3101
+        checkDate.push(obj23)
3102
+      } if(this.prescription.anticoagulant_shouji == 0 &&
3103
+          this.prescription.anticoagulant != 5 &&
3104
+          this.prescription.anticoagulant != 1
3058
       ) {
3105
       ) {
3059
-        this.$message.error("胆红素吸附柱未填");
3060
-      } else if (this.predialysis.weight_before == 0) {
3061
-        this.$message.error("透前体重未填");
3062
-      } else if (this.predialysis.dry_weight == 0) {
3063
-        this.$message.error("干体重未填");
3064
-      } else if (this.prescription.target_ultrafiltration == 0) {
3065
-        this.$message.error("计划超滤量未填");
3066
-      } else if (this.prescription.calcium == 0) {
3067
-        this.$message.error("钙未填");
3068
-      } else if (this.prescription.sodium == 0) {
3069
-        this.$message.error("钠未填");
3070
-      } else if (this.prescription.kalium == 0) {
3071
-        this.$message.error("钾未填");
3072
-      } else if (this.prescription.bicarbonate == 0) {
3073
-        this.$message.error("碳酸氢根未填");
3074
-      } else if (this.prescription.dialysate_flow == 0) {
3075
-        this.$message.error("透析液流量未填");
3076
-      } else if (this.prescription.anticoagulant == 0) {
3077
-        this.$message.error("抗凝剂未填");
3078
-      } else if (
3106
+        const obj24 = "首剂"
3107
+        checkDate.push(obj24)
3108
+      }
3109
+      // if(this.prescription.anticoagulant_weichi ==0 &&
3110
+      //       this.prescription.anticoagulant != 1
3111
+      // ){
3112
+      //   const obj30 ='维持'
3113
+      //   checkDate.push(obj30)
3114
+
3115
+      // }
3116
+      if (
3079
         this.prescription.anticoagulant_gaimingcheng == "" &&
3117
         this.prescription.anticoagulant_gaimingcheng == "" &&
3080
         this.prescription.anticoagulant == 5
3118
         this.prescription.anticoagulant == 5
3081
       ) {
3119
       ) {
3082
-        this.$message.error("钙名称未填");
3083
-      } else if (
3120
+        const obj31 ='钙名称'
3121
+        checkDate.push(obj31);
3122
+      } if (
3084
         this.prescription.anticoagulant_gaijiliang == "" &&
3123
         this.prescription.anticoagulant_gaijiliang == "" &&
3085
         this.prescription.anticoagulant == 5
3124
         this.prescription.anticoagulant == 5
3086
       ) {
3125
       ) {
3087
-        this.$message.error("钙剂量未填");
3088
-      } else if (this.afterdialysis.temperature == 0) {
3089
-        this.$message.error("透后体温未填");
3090
-      } else if (this.afterdialysis.pulse_frequency == 0) {
3091
-        this.$message.error("透后脉搏未填");
3092
-      } else if (this.afterdialysis.breathing_rate == 0) {
3093
-        this.$message.error("透后呼吸频率未填");
3094
-      } else if (
3126
+        const obj32 ='钙剂量'
3127
+        checkDate.push(obj32);
3128
+      } if(this.prescription.anticoagulant_zongliang ==''&&
3129
+          this.prescription.anticoagulant != 5 &&
3130
+          this.prescription.anticoagulant != 1
3131
+      ){
3132
+        const obj33 ='总量'
3133
+        checkDate.push(obj33);
3134
+      } if(this.prescription.warsh_count ==''){
3135
+        const obj34 ='Ns冲洗量'
3136
+        checkDate.push(obj34);
3137
+      } if(this.prescription.washing_time ==''){
3138
+        const obj35 ='q'
3139
+        checkDate.push(obj35);
3140
+      } if(this.predialysis.remark ==''){
3141
+        const obj35 ='备注'
3142
+        checkDate.push(obj35);
3143
+      } if (this.afterdialysis.temperature == 0) {
3144
+        const obj36 ='透后体温'
3145
+        checkDate.push(obj36);
3146
+      } if (this.afterdialysis.pulse_frequency == 0) {
3147
+        const obj37 ='透后脉搏'
3148
+        checkDate.push(obj37);
3149
+      } if (this.afterdialysis.breathing_rate == 0) {
3150
+        const obj38 ='透后呼吸频率'
3151
+        checkDate.push(obj38);
3152
+      } if (
3095
         this.afterdialysis.systolic_blood_pressure == 0 ||
3153
         this.afterdialysis.systolic_blood_pressure == 0 ||
3096
         this.afterdialysis.diastolic_blood_pressure == 0
3154
         this.afterdialysis.diastolic_blood_pressure == 0
3097
       ) {
3155
       ) {
3098
-        this.$message.error("透后血压未填完整");
3099
-      } else if (
3156
+        const obj39 ='透后血压'
3157
+        checkDate.push(obj39);
3158
+      } if (
3100
         this.afterdialysis.actual_treatment_hour == 0 &&
3159
         this.afterdialysis.actual_treatment_hour == 0 &&
3101
         this.afterdialysis.actual_treatment_minute == 0
3160
         this.afterdialysis.actual_treatment_minute == 0
3102
       ) {
3161
       ) {
3103
-        this.$message.error("实际治疗时间未填");
3104
-      } else if (this.afterdialysis.cruor == "") {
3105
-        this.$message.error("透析器凝血未填");
3106
-      } else if (this.afterdialysis.internal_fistula == "") {
3107
-        this.$message.error("透后内瘘未填");
3108
-      } else if (this.afterdialysis.catheter == "") {
3109
-        this.$message.error("透后导管未填");
3110
-      } else if (this.afterdialysis.weight_after == 0) {
3111
-        this.$message.error("透后体重未填");
3112
-      } else if (this.afterdialysis.weight_loss == 0) {
3113
-        this.$message.error("透后体重减少未填");
3114
-      } else if (this.afterdialysis.dialysis_intakes == 0) {
3115
-        this.$message.error("透析中入量未填");
3116
-      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
3117
-        this.$message.error("实际超滤量未填");
3118
-      } else if (this.summary.dialysis_summary == "") {
3119
-        this.$message.error("透析小结未填");
3120
-      } else if (
3162
+        const obj40 ='实际治疗时间'
3163
+        checkDate.push(obj40);
3164
+      } if (this.afterdialysis.cruor == "") {
3165
+        const obj41 ='透析器凝血'
3166
+        checkDate.push(obj41);
3167
+      } if (this.afterdialysis.internal_fistula == "" && this.afterdialysis.catheter == "") {
3168
+        const obj42 ='透后内瘘导管'
3169
+        checkDate.push(obj42);
3170
+      }
3171
+      // if (this.afterdialysis.catheter == "") {
3172
+      //   const obj43 ='透后导管'
3173
+      //   checkDate.push(obj43);
3174
+      // }
3175
+      if (this.afterdialysis.weight_after == 0) {
3176
+        const obj44 ='透后体重'
3177
+        checkDate.push(obj44);
3178
+      } if (this.afterdialysis.weight_loss == 0) {
3179
+        const obj45 ='透后体重减少'
3180
+        checkDate.push(obj45);
3181
+      } if (this.afterdialysis.dialysis_intakes == 0) {
3182
+        const obj46 ='透析中入量'
3183
+        checkDate.push(obj46);
3184
+      } if (this.afterdialysis.actual_ultrafiltration == 0) {
3185
+        const obj47 ='实际超滤量'
3186
+        checkDate.push(obj47);
3187
+      } if(this.afterdialysis.stroke_volume == 0){
3188
+        const obj49 ='透析中出量'
3189
+        checkDate.push(obj49);
3190
+      } if (this.summary.dialysis_summary == "") {
3191
+        const obj50 ='透析小结'
3192
+        checkDate.push(obj50);
3193
+      } if (
3121
         this.dialysisOrder == null ||
3194
         this.dialysisOrder == null ||
3122
         this.dialysisOrder.puncture_nurse == 0
3195
         this.dialysisOrder.puncture_nurse == 0
3123
       ) {
3196
       ) {
3124
-        this.$message.error("穿刺护士未填");
3125
-      } else if (
3197
+        const obj51 ='穿刺护士'
3198
+        checkDate.push(obj51);
3199
+      } if (
3126
         this.dialysisOrder == null ||
3200
         this.dialysisOrder == null ||
3127
         this.dialysisOrder.start_nurse == 0
3201
         this.dialysisOrder.start_nurse == 0
3128
       ) {
3202
       ) {
3129
-        this.$message.error("治疗护士未填");
3130
-      } else if (this.dialysisOrder == null && this.check.creater == 0) {
3131
-        this.$message.error("核对人员未填");
3203
+        const obj52 ='治疗护士'
3204
+        checkDate.push(obj52);
3205
+      } if (this.dialysisOrder == null|| this.check.creater == 0) {
3206
+        const obj53 ='核对人员'
3207
+        checkDate.push(obj53);
3132
       } else if (
3208
       } else if (
3133
         this.dialysisOrder != null &&
3209
         this.dialysisOrder != null &&
3134
         this.dialysisOrder.start_nurse == this.check.modifier &&
3210
         this.dialysisOrder.start_nurse == this.check.modifier &&
3135
         this.check.creater == 0
3211
         this.check.creater == 0
3136
       ) {
3212
       ) {
3137
-        this.$message.error("核对人员未填");
3213
+        const obj53 ='核对人员'
3214
+        checkDate.push(obj53);
3138
       } else if (
3215
       } else if (
3139
         this.dialysisOrder != null &&
3216
         this.dialysisOrder != null &&
3140
         this.dialysisOrder.start_nurse == this.check.creater &&
3217
         this.dialysisOrder.start_nurse == this.check.creater &&
3141
         this.check.modifier == 0
3218
         this.check.modifier == 0
3142
       ) {
3219
       ) {
3143
-        this.$message.error("核对人员未填");
3144
-      } else if (
3220
+        const obj53 ='核对人员'
3221
+        checkDate.push(obj53);
3222
+      } if (
3145
         this.dialysisOrder != null &&
3223
         this.dialysisOrder != null &&
3146
         this.dialysisOrder.start_nurse != this.check.creater &&
3224
         this.dialysisOrder.start_nurse != this.check.creater &&
3147
         this.dialysisOrder.start_nurse != this.check.modifier &&
3225
         this.dialysisOrder.start_nurse != this.check.modifier &&
3148
         this.check.creater == 0
3226
         this.check.creater == 0
3149
       ) {
3227
       ) {
3150
-        this.$message.error("核对人员未填");
3151
-      } else if (
3228
+        const obj54 ='穿刺护士'
3229
+        checkDate.push(obj54);("核对人员未填");
3230
+      } if (
3152
         this.dialysisOrder == null ||
3231
         this.dialysisOrder == null ||
3153
         this.dialysisOrder.finish_nurse == 0
3232
         this.dialysisOrder.finish_nurse == 0
3154
       ) {
3233
       ) {
3155
-        this.$message.error("下机护士未填");
3156
-      } else if (this.prescription.creater == 0) {
3157
-        this.$message.error("医生签名未填");
3158
-      } else if (this.tableAdvice.length > 0) {
3159
-        let num = 0;
3160
-        this.tableAdvice.map((item) => {
3161
-          if (item.id > 0 && (item.created_time || item.start_time)) {
3162
-            this.users.map((it) => {
3163
-              if (it.id == item.advice_doctor) {
3164
-                if (it.user_type == 3) {
3165
-                  num++;
3166
-                  this.$message.closeAll();
3167
-                  this.$message.error("存在不是医生保存的医嘱");
3168
-                } else if (
3169
-                  it.id == item.execution_staff &&
3170
-                  item.execution_staff > 0
3171
-                ) {
3172
-                  if (it.user_type == 2) {
3173
-                    num++;
3174
-                    this.$message.closeAll();
3175
-                    this.$message.error("存在不是护士执行的医嘱");
3176
-                  }
3177
-                } else if (it.id == item.checker && item.checker > 0) {
3178
-                  if (it.user_type == 2) {
3179
-                    num++;
3180
-                    this.$message.closeAll();
3181
-                    this.$message.error("存在不是护士核对的医嘱");
3182
-                  }
3183
-                }
3184
-              } else if (
3185
-                it.id == item.execution_staff &&
3186
-                item.execution_staff > 0
3187
-              ) {
3188
-                if (it.user_type == 2) {
3189
-                  num++;
3190
-                  this.$message.closeAll();
3191
-                  this.$message.error("存在不是护士执行的医嘱");
3192
-                }
3193
-              } else if (it.id == item.checker && item.checker > 0) {
3194
-                if (it.user_type == 2) {
3195
-                  num++;
3196
-                  this.$message.closeAll();
3197
-                  this.$message.error("存在不是护士核对的医嘱");
3198
-                }
3199
-              }
3200
-            });
3234
+        const obj55 ='下机护士'
3235
+        checkDate.push(obj55);
3236
+      } if (this.prescription.creater == 0) {
3237
+        const obj56 ='医生签名'
3238
+        checkDate.push(obj56);
3239
+      } if(this.dialysisOrder != null && this.dialysisOrder.url!=''){
3240
+        const obj57 ='患者签名'
3241
+        checkDate.push(obj57);
3242
+      } if(this.doctor_advices.length > 0){
3243
+        this.doctor_advices.map((item) =>{
3244
+          if(item.id > 0 && (item.created_time || item.start_time)){
3245
+            if(item.execution_staff ==0 || item.advice_doctor ==0 || item.checker ==0){
3246
+              const obj58 = '执行人员,医生签名,核对人员'
3247
+              checkDate.push(obj58)
3248
+            }
3201
           }
3249
           }
3202
-        });
3203
-        if (num == 0) {
3204
-          this.$message.success("核对完成");
3205
-        }
3206
-      } else {
3207
-        this.$message.success("核对完成");
3250
+        })
3208
       }
3251
       }
3252
+      this.getcheckData(checkDate)
3253
+      // if(this.monitors.length >0){
3254
+      //     for(let i in this.monitors){
3255
+      //       if(this.monitors[i].systolic_blood_pressure ==0 ||
3256
+      //             this.monitors.diastolic_blood_pressure==0){
3257
+      //         const obj62 = '监测第'+((i*1)+1)+'行血压'
3258
+      //         checkDate.push(obj62)
3259
+      //       } if(this.monitors[i].pulse_frequency ==0){
3260
+      //         const obj60 = '监测第'+((i*1)+1)+'行脉搏'
3261
+      //         checkDate.push(obj60)
3262
+      //       } if(this.monitors[i].breathing_rate ==0){
3263
+      //         const obj61 = '监测第'+((i*1)+1)+'行呼吸'
3264
+      //         checkDate.push(obj61)
3265
+      //       }  if(this.monitors[i].arterial_pressure ==0){
3266
+      //         const obj63 = '监测第'+((i*1)+1)+'动脉压'
3267
+      //         checkDate.push(obj63)
3268
+      //       }
3269
+      //       if(this.monitors[i].venous_pressure ==0 ){
3270
+      //         const obj64 = '监测第'+((i*1)+1)+'行静脉压'
3271
+      //         checkDate.push(obj64)
3272
+      //       }
3273
+      //       if(this.monitors[i].blood_flow_volume ==0){
3274
+      //         const obj65 = '监测第'+((i*1)+1)+'行血流量'
3275
+      //         checkDate.push(obj65)
3276
+      //       } if(this.monitors[i].transmembrane_pressure ==0){
3277
+      //         const obj66 = '监测第'+((i*1)+1)+'行跨膜压'
3278
+      //         checkDate.push(obj66)
3279
+      //       }
3280
+      //       if(this.monitors[i].dialysate_temperature == 0){
3281
+      //         const obj67 = '监测第'+((i*1)+1)+'行透析液温度'
3282
+      //         checkDate.push(obj67)
3283
+      //       } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
3284
+      //         const obj53 = '监测第'+((i*1)+1)+'行超滤量'
3285
+      //         checkDate.push(obj53)
3286
+      //       }
3287
+      //       if(this.monitors[i].sodium_concentration ==0 ){
3288
+      //         // this.monitors[i].temperature == 0
3289
+      //         const obj59 = '监测第'+((i*1)+1)+'行钠浓度'
3290
+      //         checkDate.push(obj59)
3291
+      //       }
3292
+
3293
+      //     }
3294
+      // }
3295
+
3209
     },
3296
     },
3210
     getDisplaceLiquiPart: function (val) {
3297
     getDisplaceLiquiPart: function (val) {
3211
       let displace_liqui_part_name = "/";
3298
       let displace_liqui_part_name = "/";
3874
         return "0.0";
3961
         return "0.0";
3875
       }
3962
       }
3876
     },
3963
     },
3877
-
3964
+    getcheckData(val){
3965
+      if(val.length >0){
3966
+        let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
3967
+        this.$alert(message, '提示', {
3968
+          confirmButtonText: '确定',
3969
+          type: 'warning',
3970
+          dangerouslyUseHTMLString: true,
3971
+        });
3972
+      }else{
3973
+        this.$message.success('核对完成')
3974
+      }
3975
+    }
3878
   },
3976
   },
3879
   watch: {
3977
   watch: {
3880
     "patientInfo.gender": function () {
3978
     "patientInfo.gender": function () {
4026
   width: 50%;
4124
   width: 50%;
4027
 }
4125
 }
4028
 
4126
 
4029
-.under_line_two::before {
4127
+/* .under_line_two::before {
4030
   content: "\00A0";
4128
   content: "\00A0";
4031
 }
4129
 }
4032
 
4130
 
4033
 .under_line_two::after {
4131
 .under_line_two::after {
4034
   content: "\00A0";
4132
   content: "\00A0";
4035
-}
4133
+} */
4036
 
4134
 
4037
 .under_line {
4135
 .under_line {
4038
   display: inline-block;
4136
   display: inline-block;
4042
   width: 50%;
4140
   width: 50%;
4043
 }
4141
 }
4044
 
4142
 
4045
-.under_line::before {
4143
+/* .under_line::before {
4046
   content: "\00A0";
4144
   content: "\00A0";
4047
 }
4145
 }
4048
 
4146
 
4049
 .under_line::after {
4147
 .under_line::after {
4050
   content: "\00A0";
4148
   content: "\00A0";
4051
-}
4149
+} */
4052
 
4150
 
4053
 .flex {
4151
 .flex {
4054
   display: -webkit-box;
4152
   display: -webkit-box;

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue 파일 보기

592
                         <div>
592
                         <div>
593
                           <span class="under_line" style="width:50px;display:inline-block">
593
                           <span class="under_line" style="width:50px;display:inline-block">
594
                             {{ afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '/' }}
594
                             {{ afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '/' }}
595
-                          </span><span v-if="org_id==10028">ml</span><span v-else>g</span>
595
+                          </span><span>g</span>
596
                         </div>
596
                         </div>
597
                       </td>
597
                       </td>
598
                       <td width="100" style="border:none;padding-left:5px">透析器凝血:</td>
598
                       <td width="100" style="border:none;padding-left:5px">透析器凝血:</td>

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue 파일 보기

1020
                             : "/"
1020
                             : "/"
1021
                            }}
1021
                            }}
1022
                          </span> -->
1022
                          </span> -->
1023
-                         <span>
1023
+                         <span v-if="predialysis.weight_before !=0 && afterdialysis.weight_after !=0">
1024
                           {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
1024
                           {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
1025
                          </span>
1025
                          </span>
1026
-
1026
+                         <span v-else></span>
1027
                       </div>
1027
                       </div>
1028
                       kg
1028
                       kg
1029
                     </div>
1029
                     </div>
1030
 
1030
 
1031
                     <div class="inline_block" style="flex: 1">
1031
                     <div class="inline_block" style="flex: 1">
1032
-                      透析中入量(L):
1032
+                      透析中入量(g):
1033
                       <div class="under_line"
1033
                       <div class="under_line"
1034
                         style="width: 70px; text-align: center"
1034
                         style="width: 70px; text-align: center"
1035
                       >
1035
                       >

+ 30 - 31
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue 파일 보기

4
     <el-button type="primary" @click="toUpload">一键上传</el-button>
4
     <el-button type="primary" @click="toUpload">一键上传</el-button>
5
 
5
 
6
     <div id="dialysis-print-box-1"  ref="pdfContent">
6
     <div id="dialysis-print-box-1"  ref="pdfContent">
7
-      <div id="dialysis-print-box-1-1"
7
+      <div id="dialysis-print-box-1-1" style="box-sizing: border-box;"
8
         class="dialysis-print-order print-template-two print_page_main_content"
8
         class="dialysis-print-order print-template-two print_page_main_content"
9
       >
9
       >
10
         <div style="display: inline-block; width: 100%; text-align: center">
10
         <div style="display: inline-block; width: 100%; text-align: center">
98
           </div>
98
           </div>
99
         </div>
99
         </div>
100
 
100
 
101
-        <div class="row">
101
+        <div class="row" style="width: 99%;">
102
           <table class="proj_table">
102
           <table class="proj_table">
103
             <tbody>
103
             <tbody>
104
               <tr>
104
               <tr>
204
                     </div>
204
                     </div>
205
                     <div class="inline_block" style="flex: 1.5;">
205
                     <div class="inline_block" style="flex: 1.5;">
206
                       穿刺方式:
206
                       穿刺方式:
207
-                      <div class="under_line" style="width: 68%;white-space: normal;">
207
+                      <div class="under_line" style="width: 65%;white-space: normal;">
208
                         {{predialysis.puncture_way ? predialysis.puncture_way : '/'}}
208
                         {{predialysis.puncture_way ? predialysis.puncture_way : '/'}}
209
                       </div>
209
                       </div>
210
                     </div>
210
                     </div>
213
                   <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
213
                   <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
214
                     <div class="inline_block" style="flex: 1;">
214
                     <div class="inline_block" style="flex: 1;">
215
                       血管通路:
215
                       血管通路:
216
-                      <div class="under_line" style="width: 68%;white-space: normal;">
216
+                      <div class="under_line" style="width: 65%;white-space: normal;">
217
                         {{ predialysis.blood_access_part_id }}
217
                         {{ predialysis.blood_access_part_id }}
218
                         {{ predialysis.blood_access_part_opera_name }}
218
                         {{ predialysis.blood_access_part_opera_name }}
219
                       </div>
219
                       </div>
270
                       <div class="under_line"
270
                       <div class="under_line"
271
                         style="width: 70px; text-align: center"
271
                         style="width: 70px; text-align: center"
272
                       >
272
                       >
273
-                        <span> 
273
+                        <span>
274
                           <!-- {{
274
                           <!-- {{
275
                           prescription.displace_liqui_value
275
                           prescription.displace_liqui_value
276
                             ? prescription.displace_liqui_value
276
                             ? prescription.displace_liqui_value
381
                       上次透后体重:
381
                       上次透后体重:
382
                       <div class="under_line" style="width: 50px; text-align: center">
382
                       <div class="under_line" style="width: 50px; text-align: center">
383
                         <!-- {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}} -->
383
                         <!-- {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}} -->
384
-                       
385
-                        
386
-                        <span v-if="lastafterdialysis.weight_after>0">{{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}</span> 
387
-                        <span v-if="lastafterdialysis.weight_after<=0">{{afterdialysis.last_after_weight?afterdialysis.last_after_weight:"未称重"}}</span> 
384
+
385
+
386
+                        <span v-if="lastafterdialysis.weight_after>0">{{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}</span>
387
+                        <span v-if="lastafterdialysis.weight_after<=0">{{afterdialysis.last_after_weight?afterdialysis.last_after_weight:"未称重"}}</span>
388
                       </div>
388
                       </div>
389
                       kg
389
                       kg
390
                     </div>
390
                     </div>
410
                           <!-- {{ (predialysis.weight_before - lastafterdialysis.weight_after).toFixed(2)}} -->
410
                           <!-- {{ (predialysis.weight_before - lastafterdialysis.weight_after).toFixed(2)}} -->
411
                           <span v-if="lastafterdialysis.weight_after>0"
411
                           <span v-if="lastafterdialysis.weight_after>0"
412
                             >{{ (predialysis.weight_before - predialysis.additional_weight - lastafterdialysis.weight_after).toFixed(2)}}
412
                             >{{ (predialysis.weight_before - predialysis.additional_weight - lastafterdialysis.weight_after).toFixed(2)}}
413
-                          </span> 
413
+                          </span>
414
                           <span v-if="lastafterdialysis.weight_after<=0 && afterdialysis.last_after_weight>0">
414
                           <span v-if="lastafterdialysis.weight_after<=0 && afterdialysis.last_after_weight>0">
415
                             {{ (predialysis.weight_before - predialysis.additional_weight -afterdialysis.last_after_weight).toFixed(2)}}
415
                             {{ (predialysis.weight_before - predialysis.additional_weight -afterdialysis.last_after_weight).toFixed(2)}}
416
-                          </span> 
416
+                          </span>
417
                           <span v-if="lastafterdialysis.weight_after<=0 && afterdialysis.last_after_weight==0">
417
                           <span v-if="lastafterdialysis.weight_after<=0 && afterdialysis.last_after_weight==0">
418
                             /
418
                             /
419
-                          </span> 
419
+                          </span>
420
                         </span>
420
                         </span>
421
                       </div>
421
                       </div>
422
                       kg
422
                       kg
841
           </table>
841
           </table>
842
         </div>
842
         </div>
843
 
843
 
844
-        <div class="row" style="margin-top: -11px; position: relative">
844
+        <div class="row" style="margin-top: -11px; position: relative;width: 99%;">
845
           <table class="proj_table">
845
           <table class="proj_table">
846
             <tbody>
846
             <tbody>
847
               <tr>
847
               <tr>
1050
                     >
1050
                     >
1051
                       治疗小结:
1051
                       治疗小结:
1052
                       <div class="under_line"
1052
                       <div class="under_line"
1053
-                        style=" width: 860px;
1053
+                        style=" width: 90%;
1054
                           line-height: 25px;
1054
                           line-height: 25px;
1055
                           text-align: left;
1055
                           text-align: left;
1056
-                          margin-left: 2px;
1057
                           display: inline-block;
1056
                           display: inline-block;
1058
                           white-space: normal;
1057
                           white-space: normal;
1059
                         "
1058
                         "
1074
                       <div
1073
                       <div
1075
                         class="under_line"
1074
                         class="under_line"
1076
                         style="
1075
                         style="
1077
-                          width: 860px;
1076
+                          width: 90%;
1078
                           line-height: 25px;
1077
                           line-height: 25px;
1079
                           text-align: left;
1078
                           text-align: left;
1080
-                          margin-left: 2px;
1081
                           display: inline-block;
1079
                           display: inline-block;
1082
                           white-space: normal;
1080
                           white-space: normal;
1083
                         "
1081
                         "
1124
                           }}</span
1122
                           }}</span
1125
                         >
1123
                         >
1126
                         <img
1124
                         <img
1127
-                          style="height: 30px"
1125
+                          style="height: 40px"
1128
                           :src="
1126
                           :src="
1129
                             setAdminUserES(
1127
                             setAdminUserES(
1130
                               dialysisOrder == null
1128
                               dialysisOrder == null
1161
                           }}</span
1159
                           }}</span
1162
                         >
1160
                         >
1163
                         <img
1161
                         <img
1164
-                          style="height: 30px"
1162
+                          style="height: 40px"
1165
                           :src="
1163
                           :src="
1166
                             setAdminUserES(
1164
                             setAdminUserES(
1167
                               dialysisOrder == null
1165
                               dialysisOrder == null
1200
                           }}</span
1198
                           }}</span
1201
                         >
1199
                         >
1202
                         <img
1200
                         <img
1203
-                          style="height: 30px"
1201
+                          style="height: 40px"
1204
                           :src="
1202
                           :src="
1205
                             setAdminUserES(
1203
                             setAdminUserES(
1206
                               dialysisOrder == null
1204
                               dialysisOrder == null
1232
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
1230
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
1233
                         </span>
1231
                         </span>
1234
                         <img
1232
                         <img
1235
-                          style="height: 30px"
1233
+                          style="height: 40px"
1236
                           :src="
1234
                           :src="
1237
                             setAdminUserES(check == null ? 0 : check.creater)
1235
                             setAdminUserES(check == null ? 0 : check.creater)
1238
                           "
1236
                           "
1259
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
1257
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
1260
                         </span>
1258
                         </span>
1261
                         <img
1259
                         <img
1262
-                          style="height: 30px"
1260
+                          style="height: 40px"
1263
                           :src="
1261
                           :src="
1264
                             setAdminUserES(check == null ? 0 : check.creater)
1262
                             setAdminUserES(check == null ? 0 : check.creater)
1265
                           "
1263
                           "
1287
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
1285
                           {{ getAdminUser(check == null ? 0 : check.modifier) }}
1288
                         </span>
1286
                         </span>
1289
                         <img
1287
                         <img
1290
-                          style="height: 30px"
1288
+                          style="height: 40px"
1291
                           :src="
1289
                           :src="
1292
                             setAdminUserES(check == null ? 0 : check.modifier)
1290
                             setAdminUserES(check == null ? 0 : check.modifier)
1293
                           "
1291
                           "
1315
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
1313
                           {{ getAdminUser(check == null ? 0 : check.creater) }}
1316
                         </span>
1314
                         </span>
1317
                         <img
1315
                         <img
1318
-                          style="height: 30px"
1316
+                          style="height: 40px"
1319
                           :src="
1317
                           :src="
1320
                             setAdminUserES(check == null ? 0 : check.creater)
1318
                             setAdminUserES(check == null ? 0 : check.creater)
1321
                           "
1319
                           "
1351
                           }}
1349
                           }}
1352
                         </span>
1350
                         </span>
1353
                         <img
1351
                         <img
1354
-                          style="height: 30px"
1352
+                          style="height: 40px"
1355
                           :src="
1353
                           :src="
1356
                             setAdminUserES(
1354
                             setAdminUserES(
1357
                               dialysisOrder == null
1355
                               dialysisOrder == null
1370
                       治疗医生:
1368
                       治疗医生:
1371
                       <div class="under_line"
1369
                       <div class="under_line"
1372
                         style="width: 80px; text-align: center"
1370
                         style="width: 80px; text-align: center"
1373
-                      >
1371
+                      > 
1372
+                      <!-- {{ getAdminUser(prescription.creater) }} -->
1374
                         <span style="height: 30px; display: inline-block"
1373
                         <span style="height: 30px; display: inline-block"
1375
                           v-if=" setAdminUserES(prescription.creater) == ''"
1374
                           v-if=" setAdminUserES(prescription.creater) == ''"
1376
                         >
1375
                         >
1377
                           {{ getAdminUser(prescription.creater) }}
1376
                           {{ getAdminUser(prescription.creater) }}
1378
                         </span>
1377
                         </span>
1379
-                        <img style="height: 30px"
1380
-                          :src="setAdminUserES( prescription.creater)"
1378
+                        <img style="height: 40px"
1379
+                          :src="setAdminUserES(prescription.creater)"
1381
                           alt=""
1380
                           alt=""
1382
                           srcset=""
1381
                           srcset=""
1383
                           v-else
1382
                           v-else
1999
         return "";
1998
         return "";
2000
       }
1999
       }
2001
       for (let i = 0; i < this.adminUser.length; i++) {
2000
       for (let i = 0; i < this.adminUser.length; i++) {
2002
-        if (this.adminUser[i].id == id) {
2001
+        if (this.adminUser[i].id == id) {        
2003
           return this.adminUser[i].name;
2002
           return this.adminUser[i].name;
2004
         }
2003
         }
2005
       }
2004
       }
2205
           this.afterdialysis.complications_other.join(",");
2204
           this.afterdialysis.complications_other.join(",");
2206
 
2205
 
2207
         this.prescription = response.data.data.dialysisPrescription;
2206
         this.prescription = response.data.data.dialysisPrescription;
2208
-        // console.log("透析处方", this.prescription);
2207
+        console.log("透析处方", this.prescription);
2209
         this.receiverTreatmentAccess =
2208
         this.receiverTreatmentAccess =
2210
           response.data.data.receiverTreatmentAccess;
2209
           response.data.data.receiverTreatmentAccess;
2211
         this.prescription.mode = this.modeName(this.prescription.mode_id);
2210
         this.prescription.mode = this.modeName(this.prescription.mode_id);
2772
           cancelButtonText: '取消',
2771
           cancelButtonText: '取消',
2773
           type: 'warning',
2772
           type: 'warning',
2774
           dangerouslyUseHTMLString: true,
2773
           dangerouslyUseHTMLString: true,
2775
-        })       
2774
+        })
2776
       }else{
2775
       }else{
2777
         this.$message.success('核对完成')
2776
         this.$message.success('核对完成')
2778
       }
2777
       }

+ 4 - 4
src/xt_pages/stock/detail/print.vue 파일 보기

60
               <td style="line-height: 50px">
60
               <td style="line-height: 50px">
61
                 <span v-if="type == 1"> {{ item.warehousing_count }}</span>
61
                 <span v-if="type == 1"> {{ item.warehousing_count }}</span>
62
                 <span v-if="type == 2">
62
                 <span v-if="type == 2">
63
-                  <span  v-if="org_id == 3907 || org_id == 9919 || org_id == 9583 || org_id == 0 || org_id == 10402">
63
+                  <span  v-if="org_id == 3907 || org_id == 9919 || org_id == 9583 || org_id == 0 || org_id == 10402 || org_id == 10721 || org_id == 10726 || org_id == 10697">
64
                     <!-- {{getStockCount(item.good_id) }} -->
64
                     <!-- {{getStockCount(item.good_id) }} -->
65
                     {{getMySelfCount(item.good_id) }}
65
                     {{getMySelfCount(item.good_id) }}
66
                   </span>
66
                   </span>
67
                    <span  v-if="org_id == 10265 || org_id == 10215">{{getMySelfCount(item.good_id) }}</span>
67
                    <span  v-if="org_id == 10265 || org_id == 10215">{{getMySelfCount(item.good_id) }}</span>
68
                    <span v-if="org_id == 10210 || org_id == 9671 || org_id == 9675 || org_id == 9679 || org_id == 10188 || org_id == 10217 || org_id == 9956 || org_id == 10191  || org_id ==10485">{{getWarehouseOut(item.good_id)}}</span>
68
                    <span v-if="org_id == 10210 || org_id == 9671 || org_id == 9675 || org_id == 9679 || org_id == 10188 || org_id == 10217 || org_id == 9956 || org_id == 10191  || org_id ==10485">{{getWarehouseOut(item.good_id)}}</span>
69
-                  <span v-if="org_id!=3907&&org_id!=10265 &&org_id!=9919&&org_id!=10285&&org_id!=9583&&org_id!=10215&&org_id!=10210&&org_id!=9671 &&org_id!=9679 &&org_id!=9675 && org_id!=10188&& org_id!=10217&& org_id!=9956&& org_id!=10191 && org_id!=0 && org_id!=10402 && org_id!=10485">{{getStockCount(item.good_id) }}</span>
69
+                  <span v-if="org_id!=3907&&org_id!=10265 &&org_id!=9919&&org_id!=10285&&org_id!=9583&&org_id!=10215&&org_id!=10210&&org_id!=9671 &&org_id!=9679 &&org_id!=9675 && org_id!=10188&& org_id!=10217&& org_id!=9956&& org_id!=10191 && org_id!=0 && org_id!=10402 && org_id!=10485 && org_id!=10721 && org_id!=10726 && org_id!=10697">{{getStockCount(item.good_id) }}</span>
70
                 </span>
70
                 </span>
71
 
71
 
72
                 <span v-if="type == 4"> {{ item.count }}</span>
72
                 <span v-if="type == 4"> {{ item.count }}</span>
95
                      {{(getMySelfCount(item.good_id) * item.buy_price).toFixed(2)}}
95
                      {{(getMySelfCount(item.good_id) * item.buy_price).toFixed(2)}}
96
                      
96
                      
97
                   </span>
97
                   </span>
98
-                  <span v-if="org_id == 10265 || org_id == 10215  ">{{(getMySelfCount(item.good_id)*item.packing_price).toFixed(2)}}</span>
98
+                  <span v-if="org_id == 10265 || org_id == 10215 || org_id == 10721 || org_id ==10726 || org_id == 10697 ">{{(getMySelfCount(item.good_id)*item.packing_price).toFixed(2)}}</span>
99
                    <span v-if="org_id == 10210 || org_id == 9671 || org_id == 9675 || org_id == 9679 || org_id == 10188 || org_id == 10217 || org_id == 9956 || org_id == 10191">{{(getWarehouseOut(item.good_id)*item.packing_price).toFixed(2)}}</span>
99
                    <span v-if="org_id == 10210 || org_id == 9671 || org_id == 9675 || org_id == 9679 || org_id == 10188 || org_id == 10217 || org_id == 9956 || org_id == 10191">{{(getWarehouseOut(item.good_id)*item.packing_price).toFixed(2)}}</span>
100
-                  <span v-if="org_id!=3907&&org_id!=10265&&org_id!=9919&&org_id!=10215&&org_id!=9671 && org_id!=9675 && org_id!=9679 && org_id!=10188 && org_id!=10217 && org_id!= 9956 && org_id!=10191 && org_id!=10402&& org_id!=0">{{(getStockCount(item.good_id) * item.packing_price).toFixed(2)}}</span>
100
+                  <span v-if="org_id!=3907&&org_id!=10265&&org_id!=9919&&org_id!=10215&&org_id!=9671 && org_id!=9675 && org_id!=9679 && org_id!=10188 && org_id!=10217 && org_id!= 9956 && org_id!=10191 && org_id!=10402&& org_id!=0 && org_id!=10721 && org_id!=10726 && org_id!=10697">{{(getStockCount(item.good_id) * item.packing_price).toFixed(2)}}</span>
101
                 </span>
101
                 </span>
102
                 <span v-if="type == 4">{{(item.count * item.price).toFixed(2)}}</span>
102
                 <span v-if="type == 4">{{(item.count * item.price).toFixed(2)}}</span>
103
               </td>
103
               </td>

+ 143 - 33
src/xt_pages/user/Informed/Informedconsent.vue 파일 보기

78
                       label="知情同意书模板"
78
                       label="知情同意书模板"
79
                       align="center"
79
                       align="center"
80
                     >
80
                     >
81
+                    <template slot-scope="scope">
82
+                      <div v-if="org_id == 10731 && scope.row.date =='血液透析知情同意书'">{{ scope.row.date }}</div>
83
+                      <div v-if="org_id !=10731 && scope.row.value !=21">{{ scope.row.date }}</div>
84
+                    </template>
81
                     </el-table-column>
85
                     </el-table-column>
82
                   </el-table>
86
                   </el-table>
83
                 </div>
87
                 </div>
124
                   <Medicalhistory :patient_id ="this.patientID" :medicalList="medicalList" ref="childThrity" @getPatientMeDicalList="getPatientMeDicalList"></Medicalhistory>
128
                   <Medicalhistory :patient_id ="this.patientID" :medicalList="medicalList" ref="childThrity" @getPatientMeDicalList="getPatientMeDicalList"></Medicalhistory>
125
                 </div>
129
                 </div>
126
                 <div v-if="show14">
130
                 <div v-if="show14">
127
-                  <heal_informed :patient_id ="this.patientID" ref="childSeventy" ::patientTreamentPlan="patientTreamentPlan" @getTreamentPlan="getTreamentPlan"></heal_informed>
131
+                  <heal_informed :patient_id ="this.patientID" ref="childSeventy" :patientTreamentPlan="patientTreamentPlan" @getTreamentPlan="getTreamentPlan"></heal_informed>
128
                 </div>
132
                 </div>
129
                 <div v-if="show16">
133
                 <div v-if="show16">
130
                   <criticalpatient_informed2 :patient_id ="this.patientID" ref="childSixty" :patientCritaicalInformedOnePrint="patientCritaicalInformedOnePrint" @getPatientCriticalOneList="getPatientCriticalOneList"></criticalpatient_informed2>
134
                   <criticalpatient_informed2 :patient_id ="this.patientID" ref="childSixty" :patientCritaicalInformedOnePrint="patientCritaicalInformedOnePrint" @getPatientCriticalOneList="getPatientCriticalOneList"></criticalpatient_informed2>
141
                 <div v-if="show20">
145
                 <div v-if="show20">
142
                   <Terminate_informed :patient_id ="this.patientID" ref="childtwoty"></Terminate_informed>
146
                   <Terminate_informed :patient_id ="this.patientID" ref="childtwoty"></Terminate_informed>
143
                 </div>
147
                 </div>
144
-
148
+                <div v-if="show21">
149
+                  <hemodialysis :patient_id ="this.patientID" ref="childrtwotyone"></hemodialysis>
150
+                </div>
151
+                <div v-if="show22">
152
+                  <Death_informed :patient_id ="this.patientID" ref="childrtwotytwo" :patientDeathPlan="patientDeathPlan" @getPatientDeathRecord="getPatientDeathRecord"></Death_informed>
153
+                </div>
145
               </div>
154
               </div>
146
             </div>
155
             </div>
147
           </el-tab-pane>
156
           </el-tab-pane>
168
 import therapy_informed from './components/therapy_informed'//透析器(滤过)治疗
177
 import therapy_informed from './components/therapy_informed'//透析器(滤过)治疗
169
 import Medicalhistory from './components/Medicalhistory'
178
 import Medicalhistory from './components/Medicalhistory'
170
 import heal_informed from './components/heal_informed'
179
 import heal_informed from './components/heal_informed'
171
-import criticalpatient_informed from './components/criticalpatient_informed'
180
+import Death_informed from './components/Death_informed'
172
 import criticalpatient_informed2 from './components/criticalpatient_informed2'
181
 import criticalpatient_informed2 from './components/criticalpatient_informed2'
173
 import Disease_diagnosis from './components/Disease_diagnosis'
182
 import Disease_diagnosis from './components/Disease_diagnosis'
174
 import nonheparin_informed from './components/nonheparin_informed'
183
 import nonheparin_informed from './components/nonheparin_informed'
175
 import CRRT_informed from './components/CRRT_informed'
184
 import CRRT_informed from './components/CRRT_informed'
176
 import Terminate_informed from './components/Terminate_informed'
185
 import Terminate_informed from './components/Terminate_informed'
186
+import hemodialysis from './components/hemodialysis'
177
 import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,
187
 import { getPatientDetailInformedconsent,getFallOutBedPrintList,getFilterInformed,getProfundaInformed,
178
   getArterOvernous,getHighRiskInformed,getPatientMeDicalList,getAnticoagulationInformed,getCriticalInformed,
188
   getArterOvernous,getHighRiskInformed,getPatientMeDicalList,getAnticoagulationInformed,getCriticalInformed,
179
   getHemoperfusionInformed,getInformedConsent,getCatheterization,getDialyzerInformed, getTherapyInformed,
189
   getHemoperfusionInformed,getInformedConsent,getCatheterization,getDialyzerInformed, getTherapyInformed,
180
-  getPatientCriticalList,getPatientCriticalOneList,getTreamentPlan } from '@/api/patient'
190
+  getPatientCriticalList,getPatientCriticalOneList,getTreamentPlan,getPatientDeathRecord } from '@/api/patient'
181
 export default {
191
 export default {
182
   components: {
192
   components: {
183
     PatientSidebar,
193
     PatientSidebar,
195
     therapy_informed,
205
     therapy_informed,
196
     Medicalhistory,
206
     Medicalhistory,
197
     heal_informed,
207
     heal_informed,
198
-    criticalpatient_informed,
208
+    Death_informed,
199
     criticalpatient_informed2,
209
     criticalpatient_informed2,
200
     Disease_diagnosis,
210
     Disease_diagnosis,
201
     nonheparin_informed,
211
     nonheparin_informed,
202
     CRRT_informed,
212
     CRRT_informed,
203
-    Terminate_informed
213
+    Terminate_informed,
214
+    hemodialysis
204
   },
215
   },
205
   data() {
216
   data() {
206
     return {
217
     return {
218
+      org_id:'',
207
       // patient_id:0,{date:'透析器(滤器)重复使用知情同意书',value:'11'},{date:'危重病人知情同意书',value:'15'},
219
       // patient_id:0,{date:'透析器(滤器)重复使用知情同意书',value:'11'},{date:'危重病人知情同意书',value:'15'},
208
       activeName:'second',
220
       activeName:'second',
209
       templates:[{date:'人脸识别知情同意书',value:'1'},{date:'血液透析(滤过、灌流)治疗知情同意书',value:'2'},{date:'深静脉透析导管拔管术知情同意书',value:'3'},{date:'动静脉内瘘穿刺知情同意书',value:'4'},
221
       templates:[{date:'人脸识别知情同意书',value:'1'},{date:'血液透析(滤过、灌流)治疗知情同意书',value:'2'},{date:'深静脉透析导管拔管术知情同意书',value:'3'},{date:'动静脉内瘘穿刺知情同意书',value:'4'},
213
                 {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'16'},
225
                 {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'16'},
214
                 // {date:'疾病诊断证明书',value:'17'},{date:'无肝素血液透析风险知情同意书',value:'18'},
226
                 // {date:'疾病诊断证明书',value:'17'},{date:'无肝素血液透析风险知情同意书',value:'18'},
215
                 // {date:'连续肾脏替代治疗(CRRT)治疗知情同意书',value:'19'},{date:'患方要求终止治疗及风险、责任承担承诺书',value:'20'},
227
                 // {date:'连续肾脏替代治疗(CRRT)治疗知情同意书',value:'19'},{date:'患方要求终止治疗及风险、责任承担承诺书',value:'20'},
228
+                // {date:'血液透析知情同意书',value:'21'}
229
+                {date:'死亡病例讨论记录',value:'22'}
216
       ],
230
       ],
217
 
231
 
218
       face_show:true,
232
       face_show:true,
234
       show17:false,
248
       show17:false,
235
       show19:false,
249
       show19:false,
236
       show20:false,
250
       show20:false,
251
+      show21:false,
252
+      show22:false,
237
       patientID:0,
253
       patientID:0,
238
       patient:{},
254
       patient:{},
239
       tableData:[],
255
       tableData:[],
253
       therapyinformePrint:{},
269
       therapyinformePrint:{},
254
       patientCritaicalInformedPrint:{},
270
       patientCritaicalInformedPrint:{},
255
       patientCritaicalInformedOnePrint:{},
271
       patientCritaicalInformedOnePrint:{},
256
-      patientTreamentPlan:{}
272
+      patientTreamentPlan:{},
273
+      patientDeathPlan:{}
257
     }
274
     }
258
 
275
 
259
   },
276
   },
261
     const id = this.$route.params && this.$route.params.id
278
     const id = this.$route.params && this.$route.params.id
262
     this.patientID = parseInt(id)
279
     this.patientID = parseInt(id)
263
     console.log("病人id",this.patientID)
280
     console.log("病人id",this.patientID)
281
+    this.org_id = this.$store.getters.xt_user.org.id
264
     // this.queryParams.patient_id = this.patientID;
282
     // this.queryParams.patient_id = this.patientID;
265
   },
283
   },
266
   methods: {
284
   methods: {
267
     getlist(){
285
     getlist(){
268
 
286
 
269
-    getPatientDetailInformedconsent(this.patientID).then(response=>{
270
-      if(response.data.state == 1){
271
-        var patient =  response.data.data.patients
272
-        console.log("patinet",patient)
273
-        this.patient =patient
274
-      }
275
-    })
276
-   },
287
+      getPatientDetailInformedconsent(this.patientID).then(response=>{
288
+        if(response.data.state == 1){
289
+          var patient =  response.data.data.patients
290
+          console.log("patinet",patient)
291
+          this.patient =patient
292
+        }
293
+      })
294
+    },
277
 
295
 
278
    getPatientMeDicalList(){
296
    getPatientMeDicalList(){
279
       var params = {
297
       var params = {
426
         }
444
         }
427
       })
445
       })
428
     },
446
     },
447
+    getPatientDeathRecord(){
448
+       getPatientDeathRecord().then(response=>{
449
+         if(response.data.state == 1){
450
+            var list = response.data.data.record
451
+          
452
+            this.patientDeathPlan = list
453
+            console.log("list=================",this.patientDeathPlan)
454
+            this.$refs.childrtwotytwo.show(list)
455
+         }
456
+       })
457
+    },
429
 
458
 
430
     rowClick(row, column, event){
459
     rowClick(row, column, event){
431
      console.log('1111',row);
460
      console.log('1111',row);
451
           this.show17=false,
480
           this.show17=false,
452
           this.show18=false,
481
           this.show18=false,
453
           this.show19 = false,
482
           this.show19 = false,
454
-          this.show20 = false
483
+          this.show20 = false,
484
+          this.show21 = false,
485
+          this.show22 = false
455
           this.getFallOutBedPrintList()
486
           this.getFallOutBedPrintList()
456
         }
487
         }
457
         if(row.value==2){
488
         if(row.value==2){
472
           this.show17=false,
503
           this.show17=false,
473
           this.show18=false,
504
           this.show18=false,
474
           this.show19 = false,
505
           this.show19 = false,
475
-          this.show20 = false
506
+          this.show20 = false,
507
+          this.show21 = false,
508
+          this.show22 = false
476
           this.getFilterInformed()
509
           this.getFilterInformed()
477
         }
510
         }
478
         if(row.value==3){
511
         if(row.value==3){
493
           this.show17=false,
526
           this.show17=false,
494
           this.show18=false,
527
           this.show18=false,
495
           this.show19 = false,
528
           this.show19 = false,
496
-          this.show20 = false
529
+          this.show20 = false,
530
+          this.show21 = false,
531
+          this.show22 = false
497
           this.getProfundaInformed()
532
           this.getProfundaInformed()
498
         }
533
         }
499
         if(row.value==4){
534
         if(row.value==4){
514
           this.show17=false,
549
           this.show17=false,
515
           this.show18=false,
550
           this.show18=false,
516
           this.show19 = false,
551
           this.show19 = false,
517
-          this.show20 = false
552
+          this.show20 = false,
553
+          this.show21 = false,
554
+          this.show22 = false
518
           this.getArterOvernous()
555
           this.getArterOvernous()
519
         }
556
         }
520
         if(row.value==5){
557
         if(row.value==5){
535
           this.show17=false,
572
           this.show17=false,
536
           this.show18=false,
573
           this.show18=false,
537
           this.show19 = false,
574
           this.show19 = false,
538
-          this.show20 = false
575
+          this.show20 = false,
576
+          this.show21 = false,
577
+          this.show22 = false
539
           this.getHighRiskInformed()
578
           this.getHighRiskInformed()
540
         }
579
         }
541
         if(row.value==6){
580
         if(row.value==6){
556
           this.show17=false,
595
           this.show17=false,
557
           this.show18=false,
596
           this.show18=false,
558
           this.show19 = false,
597
           this.show19 = false,
559
-          this.show20 = false
598
+          this.show20 = false,
599
+          this.show21 = false,
600
+          this.show22 = false
560
           this.getAnticoagulationInformed()
601
           this.getAnticoagulationInformed()
561
         }
602
         }
562
         if(row.value==7){
603
         if(row.value==7){
577
           this.show17=false,
618
           this.show17=false,
578
           this.show18=false,
619
           this.show18=false,
579
           this.show19 = false,
620
           this.show19 = false,
580
-          this.show20 = false
621
+          this.show20 = false,
622
+          this.show21 = false,
623
+          this.show22 = false
581
           this.getCriticalInformed()
624
           this.getCriticalInformed()
582
         }
625
         }
583
         if(row.value==8){
626
         if(row.value==8){
598
           this.show17=false,
641
           this.show17=false,
599
           this.show18=false,
642
           this.show18=false,
600
           this.show19 = false,
643
           this.show19 = false,
601
-          this.show20 = false
644
+          this.show20 = false,
645
+          this.show21 = false,
646
+          this.show22 = false
602
           this.getHemoperfusionInformed()
647
           this.getHemoperfusionInformed()
603
         }
648
         }
604
         if(row.value==9){
649
         if(row.value==9){
619
           this.show17=false,
664
           this.show17=false,
620
           this.show18=false,
665
           this.show18=false,
621
           this.show19 = false,
666
           this.show19 = false,
622
-          this.show20 = false
667
+          this.show20 = false,
668
+          this.show21 = false,
669
+          this.show22 = false
623
           this.getInformedConsent()
670
           this.getInformedConsent()
624
         }
671
         }
625
         if(row.value==10){
672
         if(row.value==10){
640
           this.show17=false,
687
           this.show17=false,
641
           this.show18=false,
688
           this.show18=false,
642
           this.show19 = false,
689
           this.show19 = false,
643
-          this.show20 = false
690
+          this.show20 = false,
691
+          this.show21 = false,
692
+          this.show22 = false
644
         }
693
         }
645
         // if(row.value==11){
694
         // if(row.value==11){
646
         //   this.face_show=false
695
         //   this.face_show=false
680
           this.show17=false,
729
           this.show17=false,
681
           this.show18=false,
730
           this.show18=false,
682
           this.show19 = false,
731
           this.show19 = false,
683
-          this.show20 = false
732
+          this.show20 = false,
733
+          this.show21 = false,
734
+          this.show22 = false
684
           this.getTherapyInformed()
735
           this.getTherapyInformed()
685
         }
736
         }
686
         if(row.value==13){
737
         if(row.value==13){
701
           this.show17=false,
752
           this.show17=false,
702
           this.show18=false,
753
           this.show18=false,
703
           this.show19 = false,
754
           this.show19 = false,
704
-          this.show20 = false
755
+          this.show20 = false,
756
+          this.show21 = false,
757
+          this.show22 = false
705
           this.getPatientMeDicalList()
758
           this.getPatientMeDicalList()
706
         }
759
         }
707
         if(row.value==14){
760
         if(row.value==14){
722
           this.show17=false,
775
           this.show17=false,
723
           this.show18=false,
776
           this.show18=false,
724
           this.show19 = false,
777
           this.show19 = false,
725
-          this.show20 = false
778
+          this.show20 = false,
779
+          this.show21 = false,
780
+          this.show22 = false
726
           this.getTreamentPlan()
781
           this.getTreamentPlan()
727
         }
782
         }
728
         // if(row.value==15){
783
         // if(row.value==15){
762
           this.show17=false,
817
           this.show17=false,
763
           this.show18=false,
818
           this.show18=false,
764
           this.show19 = false,
819
           this.show19 = false,
765
-          this.show20 = false
820
+          this.show20 = false,
821
+          this.show21 = false,
822
+          this.show22 = false
766
           this.getPatientCriticalOneList()
823
           this.getPatientCriticalOneList()
767
         }
824
         }
768
         if(row.value==17){
825
         if(row.value==17){
783
           this.show17=true,
840
           this.show17=true,
784
           this.show18=false,
841
           this.show18=false,
785
           this.show19 = false,
842
           this.show19 = false,
786
-          this.show20 = false
843
+          this.show20 = false,
844
+          this.show21 = false,
845
+          this.show22 = false
787
         }
846
         }
788
         if(row.value==18){
847
         if(row.value==18){
789
           this.filter_show=false
848
           this.filter_show=false
803
           this.show17=false,
862
           this.show17=false,
804
           this.show18=true,
863
           this.show18=true,
805
           this.show19 = false,
864
           this.show19 = false,
806
-          this.show20 = false
865
+          this.show20 = false,
866
+          this.show21 = false,
867
+          this.show22 = false
807
         }
868
         }
808
         if(row.value==19){
869
         if(row.value==19){
809
           this.filter_show=false
870
           this.filter_show=false
823
           this.show17=false,
884
           this.show17=false,
824
           this.show18=false,
885
           this.show18=false,
825
           this.show19 = true,
886
           this.show19 = true,
826
-          this.show20 = false
887
+          this.show20 = false,
888
+          this.show21 = false,
889
+          this.show22 = false
827
         }
890
         }
828
         if(row.value==20){
891
         if(row.value==20){
829
           this.filter_show=false
892
           this.filter_show=false
843
           this.show17=false,
906
           this.show17=false,
844
           this.show18=false,
907
           this.show18=false,
845
           this.show19 = false,
908
           this.show19 = false,
846
-          this.show20 = true
909
+          this.show20 = true,
910
+          this.show21 = false,
911
+          this.show22 = false
912
+        }
913
+        if(row.value==21){
914
+          this.filter_show=false
915
+          this.face_show=false
916
+          this.profunda_show=false,
917
+          this.arteriovenous_show=false,
918
+          this.Highrisk_show=false,
919
+          this.anticoagulation_show=false,
920
+          this.critical_show=false,
921
+          this.hemoperfusion_show=false,
922
+          this.Bring_show=false,
923
+          this.catheterization_show=false,
924
+          this.therapy_show=false,
925
+          this.history_show=false,
926
+          this.show14=false,
927
+          this.show16=false,
928
+          this.show17=false,
929
+          this.show18=false,
930
+          this.show19 = false,
931
+          this.show20 = false,
932
+          this.show21 = true,
933
+          this.show22 = false
934
+        }
935
+        if(row.value==22){
936
+          this.filter_show=false
937
+          this.face_show=false
938
+          this.profunda_show=false,
939
+          this.arteriovenous_show=false,
940
+          this.Highrisk_show=false,
941
+          this.anticoagulation_show=false,
942
+          this.critical_show=false,
943
+          this.hemoperfusion_show=false,
944
+          this.Bring_show=false,
945
+          this.catheterization_show=false,
946
+          this.therapy_show=false,
947
+          this.history_show=false,
948
+          this.show14=false,
949
+          this.show16=false,
950
+          this.show17=false,
951
+          this.show18=false,
952
+          this.show19 = false,
953
+          this.show20 = false,
954
+          this.show21 = false,
955
+          this.show22 = true
956
+          this.getPatientDeathRecord()
847
         }
957
         }
848
     },
958
     },
849
 
959
 

+ 268 - 0
src/xt_pages/user/Informed/components/Death_informed.vue 파일 보기

1
+<!-- 抗凝 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+         <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+       <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+        <div class="print_page_main_content">
18
+          <div class="content">
19
+              <h2 style="text-align: center;">{{orgname}}<br/>死亡病例讨论记录</h2>
20
+
21
+              <div style="text-align: right;">
22
+                透析号:{{ patient.dialysis_no }}
23
+              </div>
24
+              <div style="display: flex;margin: 10px 0;">
25
+                <div style="flex:1">姓名:{{ patient.name }}</div>
26
+                <div style="flex:1">性别:
27
+                  <span v-if="patient.gender == 1">男</span>
28
+                   <span v-if="patient.gender == 2">女</span>
29
+                </div>
30
+                <div style="flex:1">年龄:
31
+                  {{ getAge(patient) }}
32
+                </div>
33
+                <div style="flex:1">住院(门诊)号:
34
+                  {{ patient.admission_number }}
35
+                </div>
36
+              </div>
37
+              <div style="border-bottom: 1px solid gainsboro;margin-bottom: 10px;">
38
+                诊断:
39
+                {{ patient.diagnose }}
40
+              </div>
41
+              <div>
42
+
43
+              </div>
44
+              <div v-html="content"></div>
45
+          </div>
46
+        </div>
47
+      </div>
48
+
49
+      <el-dialog
50
+        title="提示"
51
+        :visible.sync="dialogVisible"
52
+        width="60%"
53
+        >
54
+        <div>
55
+          <h2 style="text-align: center;">危重病人知情同意书</h2>
56
+
57
+          <div style="text-align: right;">
58
+            透析号:{{ patient.dialysis_no }}
59
+          </div>
60
+          <div style="display: flex;margin: 10px 0;">
61
+            <div style="flex:1">姓名:{{ patient.name }}</div>
62
+            <div style="flex:1">性别:
63
+              <span v-if="patient.gender == 1">男</span>
64
+                <span v-if="patient.gender == 2">女</span>
65
+            </div>
66
+            <div style="flex:1">年龄:
67
+              {{ getAge(patient) }}
68
+            </div>
69
+            <div style="flex:1">住院(门诊)号:
70
+              {{ patient.admission_number }}
71
+            </div>
72
+          </div>
73
+          <div style="border-bottom: 1px solid gainsboro;">
74
+            诊断:
75
+            {{ patient.diagnose }}
76
+          </div>
77
+          <keep-alive>
78
+            <editor ref="editor"
79
+                    id="editor"
80
+                    style="width: 100%"
81
+                    :content="content">
82
+            </editor>
83
+          </keep-alive>
84
+        </div>
85
+        <span slot="footer" class="dialog-footer">
86
+          <el-button @click="dialogVisible = false">取 消</el-button>
87
+          <el-button type="primary" @click="savePatientCritaicalInformed">确 定</el-button>
88
+        </span>
89
+      </el-dialog>
90
+
91
+  </div>
92
+</template>
93
+
94
+<script>
95
+import print from "print-js";
96
+// import Editor from '@/components/Editor'
97
+import Editor from '@/components/Uedtior'
98
+import { getPatientDetailInformedconsent,savePatientDeathRecord  } from '@/api/patient'
99
+import { jsGetAge, uParseTime } from "@/utils/tools";
100
+const content=`<p style="display: flex;margin-bottom: 5px;">
101
+                  <span style="flex:1">讨论目期:</span>
102
+                  <span style="flex:1">讨论目期:</span>
103
+                </p>
104
+                <p style="display: flex;margin-bottom: 5px;">
105
+                  <span style="flex:1">讨论主持人:</span>
106
+                  <span style="flex:1">参加人员:</span>
107
+                </p>
108
+                <p style='margin-bottom: 5px;'>医生汇报病情:&nbsp;&nbsp;&nbsp;&nbsp;岁,于&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;月份因恶心呕吐,双下肢水肿,血肌升高,在丽水市中心医院诊断为“慢性肾功能不全,尿毒症期”,采用颈内静脉长期置管做为血管通路,开始血液透析治疗,每周三次。该患平时而压较高,波动在130-190/60-98mHg之间,脱水在1.5
109
+3.0Kg。辅助检查化验血红蛋白基本正常,CI提示主动脉、冠状动脉、二尖多发钙化,甲状腺钙化结石,超声提示双侧颈动脉内膜不均匀增厚伴斑块形成,右锁骨下动脉斑块形成。于7月7日凌晨3点30分许,患者去卫生局解手,突然发生量厥并摔倒,家人立即去察看,发现患者呼吸心跳已停止立即平卧,胸外心脏按压,并拨打120急救,医生到达后确认患者已死亡。
110
+                </p>
111
+                <p style='margin-bottom: 5px;'>讨论摘要:患者老年女性,长期血透病史达7年多,根据患者病史、症状及体征,结合辅助检查,诊
112
+断:肾病综合征,慢性肾功能衰竭,肾性高血压,肾性贫血,继发性甲状旁腺功能亢进。患者平时经常漏服降压药物,血液控制较差,波动较大,透析间期体重增长较多,常常超过干体重的5,心脏功能较差,经常发生进行左心衰竭,来我中心行急诊透析治疗。多次向患者本人及家属交代病
113
+情,告知高血压及体重增长过多对身体各脏器的损害,患者本人及家属均表示已知晓。本次发病于?月7日凌晨3:30许,患者去卫生局时突发意外死亡,但死亡原因不明确。考虑是否为大动脉斑块脱落致重要器官栓塞,或血压突然升高致颅内出血,导致呼吸心跳停而死亡。
114
+                </p>
115
+                <p style='margin-bottom: 5px;'>
116
+                  总结:患者为长期透析病人,依从性差,容量管理不佳,水负荷较重,心功能差,血压控制不好,本次突发意外致呼吸心跳骒停。
117
+                </p>
118
+                <p style="display: flex;">
119
+                  <span style="flex:1">主持人签名:</span>
120
+                  <span style="flex:1">记录日期:</span>
121
+                </p>`
122
+export default{
123
+  props: {
124
+    patient_id: {
125
+        type: Number,
126
+    },
127
+    patientDeathPlan:{
128
+      type:Object,
129
+    }
130
+  },
131
+  components:{
132
+    Editor
133
+  },
134
+
135
+  data(){
136
+  return{
137
+    patient:{},
138
+    dialogVisible:false,
139
+    content:content,
140
+    orgname:'',
141
+
142
+  }
143
+  },
144
+  methods:{
145
+    getlist(){
146
+
147
+      getPatientDetailInformedconsent(this.patient_id).then(response=>{
148
+        if(response.data.state == 1){
149
+          var patient =  response.data.data.patients
150
+          console.log("patinet",patient)
151
+          this.patient =patient
152
+        }
153
+      })
154
+    },
155
+    printThisPage(){
156
+        const style = '@media print {.content p{font-size: 16px;font-family: 新宋体;  margin-bottom: 5px;}}'
157
+        printJS({
158
+            printable: 'print_content',
159
+            type: 'html',
160
+            documentTitle: '  ',
161
+            style: style,
162
+            scanStyles: false
163
+        })
164
+    },
165
+    getAge: function(val) {
166
+        if (val.id_card_no == undefined) {
167
+          return false
168
+        }
169
+        var thisLen = val.id_card_no.length
170
+        var birth = ''
171
+        if (thisLen == 15) {
172
+          birth = '19' + val.id_card_no.substr(6, 6)
173
+        } else {
174
+          birth = val.id_card_no.substr(6, 8)
175
+        }
176
+        var birthtwo =
177
+          birth.substr(0, 4) +
178
+          '-' +
179
+          birth.substr(4, 2) +
180
+          '-' +
181
+          birth.substr(6, 2)
182
+
183
+        var age = jsGetAge(birthtwo, '-')
184
+        return age
185
+    },
186
+    show(val){
187
+      console.log("val--------------",val)
188
+      if(val!=null){
189
+        if(val.content!=""){
190
+          this.content = ""
191
+          this.content = val.content
192
+        }
193
+      }
194
+    },
195
+    bianji(){
196
+      this.dialogVisible=true
197
+    },
198
+    savePatientCritaicalInformed(){
199
+      console.log('1111',this.$refs);
200
+      var params = {
201
+        content:this.$refs.editor.contents,
202
+      }
203
+      savePatientDeathRecord(params).then(response=>{
204
+        if(response.data.state ==1){
205
+          var list = response.data.data.list
206
+          this.$message.success("保存成功!")
207
+          this.dialogVisible = false
208
+          this.$emit("getPatientDeathRecord","");
209
+        }
210
+      })
211
+    }
212
+  },
213
+  created(){
214
+    this.orgname = this.$store.getters.xt_user.org.org_name;
215
+    console.log("patientDeathPlan-------------",this.patientDeathPlan)
216
+    if(this.patientDeathPlan!=null && this.patientDeathPlan.id >0){
217
+       this.content = ""
218
+       this.content = this.patientDeathPlan.content
219
+    }
220
+    this.getlist()
221
+  }
222
+}
223
+</script>
224
+<style lang="scss" scoped>
225
+
226
+*{
227
+  // margin: 0;
228
+  // padding: 0;
229
+  border: 0;
230
+}
231
+  .content{
232
+      p{
233
+        font-size: 16px;
234
+        font-family: '新宋体';
235
+        line-height: 22px;
236
+        // padding-left: 20px;
237
+        margin-bottom: 5px;
238
+        text-align: justify;
239
+      }
240
+      .wsgl-module-wrap * {
241
+          font-family: 新宋体,NSimSun,宋体,SimSun;
242
+          color: #333;
243
+          font-size: 16px;
244
+      }
245
+      .ws-module-part {
246
+        line-height: 25px;
247
+        margin-top: 10px;
248
+        margin-bottom: 4px;
249
+        text-align: justify;
250
+      }
251
+      .abs-title {
252
+          position: relative;
253
+          padding-left: 20px;
254
+      }
255
+    .ws-module-content {
256
+        line-height: 25px;
257
+        padding-left: 20px;
258
+        margin-bottom: 4px;
259
+        text-align: justify;
260
+    }
261
+  }
262
+  .print_page_main_content {
263
+    background-color: white;
264
+    width: 100%;
265
+    padding: 0 0 0 0;
266
+    page-break-after: always;
267
+  }
268
+</style>

+ 342 - 0
src/xt_pages/user/Informed/components/hemodialysis.vue 파일 보기

1
+<!-- 透析器(滤过)治疗 -->
2
+<template>
3
+  <div style="border:1px solid gainsboro ;padding:10px">
4
+      <div style="position: relative; left: 400px;width: 250px;margin: 20px 0;">
5
+        <!-- <el-button type="primary">主要按钮</el-button> -->
6
+        <el-button type="primary" style=""  @click="bianji">
7
+              编辑
8
+          </el-button>
9
+        <!-- <el-button type="danger" style=""  @click="">
10
+              删除
11
+        </el-button> -->
12
+        <el-button type="success" style=""  @click="printThisPage">
13
+            打印
14
+        </el-button>
15
+      </div>
16
+      <div id="print_content">
17
+          <div class="print_page_main_content">
18
+          <div class="content">
19
+              <div style="text-align: center;font-size: 20px;">{{ orgname }}</div>
20
+              <h2 style="text-align: center;">血液透析知情同意书</h2>
21
+              <!-- <div v-if="org_id!=10571"> -->
22
+              <div style="text-align: right;" v-if="org_id!=10571">
23
+                透析号:{{ patient.dialysis_no }}
24
+              </div>
25
+              <div style="display: flex;margin: 10px 0;">
26
+                <div style="flex:1">姓名:
27
+                  {{ patient.name }}
28
+                </div>
29
+                <div style="flex:1">性别:
30
+                  <span v-if="patient.gender == 1">男</span>
31
+                  <span v-if="patient.gender == 2">女</span>
32
+                </div>
33
+                <div style="flex:1">年龄:
34
+                  {{ getAge(patient) }}
35
+                </div>
36
+                <div style="flex:1" v-if="org_id!=10571">住院(门诊)号:
37
+                  {{ patient.admission_number }}
38
+                </div>
39
+                <div style="flex:1" v-if="org_id==10571">门诊号:
40
+                  {{ patient.admission_number }}
41
+                </div>
42
+              </div>
43
+              <div style="display: flex;margin: 10px 0; ">
44
+                <div style="flex:1" v-if="org_id==10571">住院号:
45
+                  {{ patient.admission_number }}
46
+                </div>
47
+
48
+                <div style="flex:1" v-if="org_id==10571">
49
+                  血管通路
50
+                </div>
51
+              </div>
52
+              <div style="border-bottom: 1px solid gainsboro;margin-bottom: 10px;">
53
+                诊断:
54
+                {{ patient.diagnose }}
55
+              </div>
56
+              <div v-html="content" ></div>
57
+          </div>
58
+        </div>
59
+      </div>
60
+      <el-dialog
61
+        title="提示"
62
+        :visible.sync="dialogVisible"
63
+        width="60%"
64
+        >
65
+        <div>
66
+          <h2 style="text-align: center;">血液透析知情同意书</h2>
67
+          <div style="text-align: right;" v-if="org_id!=10571">
68
+            透析号:{{ patient.dialysis_no }}
69
+          </div>
70
+          <div style="display: flex;margin: 10px 0;">
71
+            <div style="flex:1">姓名:
72
+              {{ patient.name }}
73
+            </div>
74
+            <div style="flex:1">性别:
75
+              <span v-if="patient.gender == 1">男</span>
76
+              <span v-if="patient.gender == 2">女</span>
77
+            </div>
78
+            <div style="flex:1">年龄:
79
+              {{ getAge(patient) }}
80
+            </div>
81
+            <div style="flex:1" v-if="org_id!=10571">住院(门诊)号:
82
+              {{ patient.admission_number }}
83
+            </div>
84
+            <div style="flex:1" v-if="org_id==10571">门诊号:
85
+              {{ patient.admission_number }}
86
+            </div>
87
+          </div>
88
+          <div style="display: flex;margin: 10px 0; ">
89
+            <div style="flex:1" v-if="org_id==10571">住院号:
90
+              {{ patient.admission_number }}
91
+            </div>
92
+
93
+            <div style="flex:1" v-if="org_id==10571">
94
+              血管通路
95
+            </div>
96
+          </div>
97
+          <div style="border-bottom: 1px solid gainsboro;">
98
+            诊断:
99
+            {{ patient.diagnose }}
100
+          </div>
101
+          <keep-alive>
102
+            <editor ref="editor"
103
+                    id="editor"
104
+                    style="width: 100%"
105
+                    v-bind:r_content="content">
106
+            </editor>
107
+          </keep-alive>
108
+        </div>
109
+        <span slot="footer" class="dialog-footer">
110
+          <el-button @click="dialogVisible = false">取 消</el-button>
111
+          <el-button type="primary" @click="saveTherapyInformed">保 存</el-button>
112
+        </span>
113
+      </el-dialog>
114
+  </div>
115
+</template>
116
+
117
+<script>
118
+import print from "print-js";
119
+import Editor from '@/components/Editor'
120
+import { getPatientDetailInformedconsent,saveTherapyInformed  } from '@/api/patient'
121
+import { jsGetAge, uParseTime } from "@/utils/tools";
122
+const content=`
123
+<p>
124
+<table border='1' class="table" style="border-collapse: collapse;">
125
+    <tr>
126
+      <td colspan="2">
127
+        <span>尊敬的患者/患者亲属/法定监护人  </span><br/>
128
+        <span>您好!根据您目前的病情,我们特向您详细介绍和说明如下内容,同时对您的疑问和要求进行咨询和答复。以帮助您了解相关知识,做出选择。</span><br/>
129
+        <span style="text-align: right;display: inline-block;width: 100%;">•您是否需要文化援助 口不需要 口需要 (口盲文 口手语 口翻译 等)</span>
130
+      </td>
131
+    </tr>
132
+    <tr>
133
+      <td style="padding: 10px 0;text-align: center" colspan="2" >
134
+        患者姓名: &nbsp;&nbsp;&nbsp;&nbsp;          年龄:&nbsp;&nbsp;&nbsp;&nbsp;
135
+        科室:&nbsp;&nbsp;&nbsp;&nbsp;                  性别:
136
+      </td>
137
+    </tr>
138
+    <tr>
139
+      <td style="width: 10%;text-align: center;align-items: center;">医<br/>嘱<br/>告<br/>知</td>
140
+      <td>
141
+    疾病介绍目前诊断:<br/>
142
+诊疗方案;<br/>
143
+•治疗目的及预期效果:<br/>
144
+•治疗存在但是不限于以下潜在风险:<br/>
145
+1.任何所用药物都可能产生副作用、包括轻度的的恶心、皮疹等症状到严重的过敏性休克、甚至危及生命。
146
+2.呼吸、心脏骤停。<br/>
147
+3.肌肉痉挛或抽搐。<br/>
148
+4.低血压或高血压、心律失常、心力衰竭、心肌梗塞。<br/>
149
+5.首次使用综合症、失衡综合征、电解质酸碱平衡紊乱。<br/>
150
+6.脑出血、局部或全身出血倾向。<br/>
151
+7.过敏反应、发热反应等。<br/>
152
+8.溶血、出血、严重感染或原有感染播散。<br/>
153
+9.透析过程中发生空气栓塞或其他栓塞。<br/>
154
+10.血液传播性疾病(乙肝等各型肝炎、梅毒、艾滋病等)、慢性并发症几其他不良反应。<br/>
155
+11.部分病人因为出血倾向、活动性出血或手术后需要无肝素、减少肝素使用剂量或使用分子肝素抗凝或其他特殊的抗凝方法,可能会造成体外凝血,体内循环的血液不能回输体内,造成部分血液丢失。<br/>
156
+12.部分病人因为出血倾向、活动性出血或手术后需要枸橼盐酸纳注射液抗凝方法,可能会出过敏反应,甚至是过敏性休克;枸橼盐酸纳注射液蓄积可能出现低钙症。引起抽搐和心肌收缩抑制,或者出现严重代谢性碱中毒,甚至导致死亡。<br/>
157
+13.肾性骨病、消化道疾病。<br/>
158
+14.瘘管堵塞、感染。<br/>
159
+15.由于医学的复杂性,可能发生其他不可预见的并发症。<br/>
160
+16.治疗过程中可能因患者无法耐受而必须中断治疗。<br/>
161
+17.各种血管通路均有可能发生感染、血栓形成可能。<br/>
162
+18.其他不可预见的风险和并发症。<br/>
163
+19. 患者自身存在高危风险:肝功能不全、静脉血栓等疾病或者有吸烟史(如患者自身不存在高危风险,则删除此条款),以上这些高危风险因素可能导致治疗风险加大,或者在治疗中或治疗后出现相关的病情加重或心脑血管意外,甚至死亡。<br/>除上述情况外,本医疗措施尚有可能发生的其他的并发症或者需要提前请患者家属特别注意的其他事项。<br/>
164
+•血液净化治疗费用昂贵,须有患者家属或工作单位按时付清。若停止付费,经医院通知后仍不缴纳费用,本中心将暂停透析治疗。<br/>
165
+•患者应积极配合治疗,服从医护人员对透析方式及时间的安排,如有特殊情况需更改时间,请提前一天中心人员取得联系并得到许可,患者因不能按时来做透析而造成后果,由患者自负。<br/>
166
+•为了您的安全,门诊血液净化治疗患者来中心治疗时必须有家属陪护,负责路途中发生意外后果自负。<br/>
167
+•长期血液透析治疗的患者,依据卫生部血液净化规范条例要求,必须半年复查一次血液传播疾病的病毒学检查,包括乙肝、丙肝、艾滋病、梅毒。<br/>
168
+•如不实施该治疗方案,可采取的代替方案:对症治疗,该代替方案评价:稳定病情。我们将以高度的责任心,严格遵守医疗常规及规范,对上述可能发生得情况尽最大力
169
+量给予救治。但由于医疗救助水平的局限性、药物固有的不良反应及个人体制的差异,意外风险不能做到绝对避免,且不能确保救治完全成功,可能会出现残疾、组织器官损
170
+伤导致功能障碍、甚至死亡等不良后果,及其他不可预见且为能告知的特殊情况,敬请谅解。<br/>
171
+我己向患者解释了此知情同意书的全部内容和条款。<br/>
172
+        <p style="padding: 5px;">
173
+          <span>主管医师签字: &nbsp;&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
174
+          <span>签字时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      年 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   月 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   日</span>
175
+        </p>
176
+      </td>
177
+    </tr>
178
+    <tr>
179
+      <td style="width: 10%;text-align: center;align-items: center;">患<br/>者<br/>知<br/>情<br/>选<br/>择</td>
180
+      <td>
181
+        患者/患者亲属/法定监护人/授权人(姓名)<br/>
182
+我的医生已经告知我将要进行的治疗方式、此次治疗及治疗后可能发生的并发和风险、可能存在的其他治疗方法并且解答了我关于此次治疗的相关问题。<br/>
183
+•我同意在治疗中医生可以根据我的病情对预定的治疗方法做出调整。<br/>
184
+•我理解我的治疗方案的实施需要多位医生和护士共同进行。<br/>
185
+•我并未得到治疗百分百成功的许诺。<br/>患者知情选择<br/>
186
+•医师已经向我解释治疗过程中如果出现紧急情况会按相关应急预案进行处理。<br/>
187
+•医师已经向我告知可能发生的费用情况,我已理解并愿承担。<br/>
188
+基于以上陈述,在此本人授权医师:<br/>
189
+•在发生紧急情况下,为保障本人的生命安全,医师有权按照医学常规给予紧急处置,更改并选择最适宜的治疗方案实施必要的抢救。<br/>
190
+•我  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接受该治疗方案,并对产生的不良后果已做好了充分思想准备。<br/>
191
+请患者签署“同意”字样<br/>
192
+•我  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接受该治疗方案,并愿意承担因拒绝治疗而发生的一切后果。<br/>
193
+请患者注明“不同意”字样<br/>
194
+患者签字:      &nbsp;&nbsp;&nbsp;&nbsp;  与患者关系:&nbsp;&nbsp;&nbsp;&nbsp;
195
+签字时间:     &nbsp;&nbsp;&nbsp;&nbsp;年   &nbsp;&nbsp; 月    &nbsp;&nbsp;日    &nbsp;&nbsp;时   &nbsp;&nbsp;分
196
+      </td>
197
+    </tr>
198
+    <tr>
199
+      <td style="width: 10%;text-align: center;align-items: center;">文<br/>化<br/>援<br/>助</td>
200
+      <td>
201
+        我提供了 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(请填写盲文、手语或者患者具体语言)的翻译,我翻译的内容包括此知情同意书的内容及医师与患者或患者委托人关系的一切书面信息。<br/>
202
+翻译签字:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;签字时间:&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
203
+&nbsp;&nbsp;&nbsp;&nbsp;时&nbsp;&nbsp;&nbsp;&nbsp;分
204
+      </td>
205
+    </tr>
206
+  </table>
207
+</p>`
208
+export default{
209
+  props: {
210
+    patient_id: {
211
+        type: Number,
212
+      },
213
+      therapyinformePrint:{
214
+        type:Object,
215
+      }
216
+   },
217
+  components:{
218
+    Editor
219
+  },
220
+  data(){
221
+    return{
222
+      patient:{},
223
+      org_id:0,
224
+      dialogVisible:false,
225
+      content:content,
226
+      orgname:'',
227
+    }
228
+  },
229
+  methods:{
230
+     getlist(){
231
+        getPatientDetailInformedconsent(this.patient_id).then(response=>{
232
+          if(response.data.state == 1){
233
+            var patient =  response.data.data.patients
234
+            console.log("patinet",patient)
235
+            this.patient =patient
236
+          }
237
+        })
238
+      },
239
+      printThisPage(){
240
+          const style = '@media print { .table tr{page-break-inside:avoid} .table tr td{border: 1px solid black;text-align: center;align-items: center;}}'
241
+          printJS({
242
+              printable: 'print_content',
243
+              type: 'html',
244
+              documentTitle: '  ',
245
+              style: style,
246
+              scanStyles: false
247
+          })
248
+      },
249
+      getAge: function(val) {
250
+          if (val.id_card_no == undefined) {
251
+            return false
252
+          }
253
+          var thisLen = val.id_card_no.length
254
+          var birth = ''
255
+          if (thisLen == 15) {
256
+            birth = '19' + val.id_card_no.substr(6, 6)
257
+          } else {
258
+            birth = val.id_card_no.substr(6, 8)
259
+          }
260
+          var birthtwo =
261
+            birth.substr(0, 4) +
262
+            '-' +
263
+            birth.substr(4, 2) +
264
+            '-' +
265
+            birth.substr(6, 2)
266
+
267
+          var age = jsGetAge(birthtwo, '-')
268
+          return age
269
+      },
270
+      bianji(){
271
+        this.dialogVisible=true
272
+      },
273
+      show(val){
274
+
275
+       if(val!=null){
276
+        console.log("valw233223",val)
277
+         if(val.content!=""){
278
+           this.content = ""
279
+           this.content = val.content
280
+         }
281
+
282
+       }
283
+     },
284
+      saveTherapyInformed(){
285
+         var params = {
286
+          content:this.$refs.editor.content
287
+         }
288
+        saveTherapyInformed(params).then(response=>{
289
+
290
+          if(response.data.state ==1){
291
+            var list = response.data.data.list
292
+            this.$message.success("保存成功!")
293
+            this.dialogVisible = false
294
+            this.$emit("getTherapyInformed","");
295
+          }
296
+        })
297
+      }
298
+
299
+  },
300
+  created(){
301
+    this.orgname = this.$store.getters.xt_user.org.org_name;
302
+    if(this.therapyinformePrint!=null && this.therapyinformePrint.id >0){
303
+       this.content = ""
304
+       this.content = this.therapyinformePrint.content
305
+    }
306
+    this.getlist()
307
+    this.org_id = this.$store.getters.xt_user.org.id
308
+  }
309
+}
310
+</script>
311
+<style lang="scss" scoped>
312
+
313
+*{
314
+  // margin: 0;
315
+  // padding: 0;
316
+  border: 0;
317
+}
318
+  .content{
319
+      p{
320
+        font-size: 16px;
321
+        font-family: '新宋体';
322
+        line-height: 22px;
323
+        // padding-left: 20px;
324
+        // margin-bottom: 5px;
325
+        text-align: justify;
326
+      }
327
+  }
328
+  .print_page_main_content {
329
+    background-color: white;
330
+    width: 100%;
331
+    padding: 0 0 0 0;
332
+    page-break-after: always;
333
+  }
334
+  .table tr{
335
+    page-break-inside:avoid
336
+  }
337
+  .table tr td{
338
+    border: 1px solid black;
339
+    // text-align: center;
340
+    // align-items: center;
341
+  }
342
+</style>

+ 4 - 4
src/xt_pages/user/components/PatientSidebar.vue 파일 보기

179
             //   name: '3-3',
179
             //   name: '3-3',
180
             //   label: '体格检查新'
180
             //   label: '体格检查新'
181
             // },
181
             // },
182
-            // {
183
-            //   name: '3-5',
184
-            //   label: '病程记录新'
185
-            // },
182
+            {
183
+              name: '3-5',
184
+              label: '病程记录新'
185
+            },
186
             {
186
             {
187
               name: '1-11',
187
               name: '1-11',
188
               label: '首次病程记录'
188
               label: '首次病程记录'

+ 238 - 47
src/xt_pages/user/courseOfDisease_new.vue 파일 보기

1
 <template>
1
 <template>
2
- 
2
+  <!-- <div class="main-contain">
3
+      <div class="position">
4
+         <bread-crumb></bread-crumb>
5
+      </div> -->
3
   <div class="patient-container">
6
   <div class="patient-container">
4
     <PatientSidebar :id="patient_id" defaultActive="3-5"></PatientSidebar>
7
     <PatientSidebar :id="patient_id" defaultActive="3-5"></PatientSidebar>
5
-   
8
+
6
     <div v-loading="loading">
9
     <div v-loading="loading">
7
       <div class="patient-app-container advice-container app-container" style="">
10
       <div class="patient-app-container advice-container app-container" style="">
8
         <div style="display: flex;">
11
         <div style="display: flex;">
22
                 :highlight-current-row="true"
25
                 :highlight-current-row="true"
23
                 @current-change="getCurrentChangeOne"
26
                 @current-change="getCurrentChangeOne"
24
                 style="width: 100%">
27
                 style="width: 100%">
25
-                
28
+
26
                 <el-table-column prop="index" label="序号" width="50">
29
                 <el-table-column prop="index" label="序号" width="50">
27
                   <template slot-scope="scope">
30
                   <template slot-scope="scope">
28
                      {{ scope.$index + 1 }}
31
                      {{ scope.$index + 1 }}
90
                   自动生成
93
                   自动生成
91
                 </el-button>
94
                 </el-button>
92
               </div>
95
               </div>
93
-             
96
+
94
               <ueditor ref="editor" id="editors" :content="new_content"></ueditor>
97
               <ueditor ref="editor" id="editors" :content="new_content"></ueditor>
95
             </div>
98
             </div>
96
           </div>
99
           </div>
105
         center>
108
         center>
106
         <div>
109
         <div>
107
           模板名称:
110
           模板名称:
108
-          <el-input v-model="template_name" placeholder="请输入内容" style="width: 160px;"></el-input>
111
+          <el-input v-model="title" placeholder="请输入内容" style="width: 160px;"></el-input>
109
         </div>
112
         </div>
110
         <span slot="footer" class="dialog-footer">
113
         <span slot="footer" class="dialog-footer">
111
           <el-button @click="template_dialog = false">取 消</el-button>
114
           <el-button @click="template_dialog = false">取 消</el-button>
112
-          <el-button type="primary" @click="template_save">确 定</el-button>
115
+          <el-button type="primary" @click="saveTemplate">确 定</el-button>
113
         </span>
116
         </span>
114
       </el-dialog>
117
       </el-dialog>
115
       <el-dialog
118
       <el-dialog
122
           <div style="display: flex;">
125
           <div style="display: flex;">
123
             <div style="width: 27%;">
126
             <div style="width: 27%;">
124
               <el-table
127
               <el-table
125
-                :data="tableData"
128
+                :data="templateList"
126
                 :highlight-current-row="true"
129
                 :highlight-current-row="true"
127
                 @row-click="rowclick"
130
                 @row-click="rowclick"
131
+                 ref="record_table_one"
132
+                 @current-change="getCurrentChangeTwo"
128
                 style="width: 100%">
133
                 style="width: 100%">
129
-                <el-table-column
130
-                  prop="index"
131
-                  label="序号"
132
-                  width="">
134
+                <el-table-column prop="index" label="序号"  width="">
135
+                  <template slot-scope="scope">
136
+                       {{ scope.$index + 1 }}
137
+                   </template>
133
                 </el-table-column>
138
                 </el-table-column>
134
-                <el-table-column
135
-                  prop="name"
136
-                  label="模板名称"
137
-                  width="">
139
+                <el-table-column prop="name" label="模板名称" width="">
140
+                  <template slot-scope="scope">
141
+                       {{ scope.row.title }}
142
+                   </template>
138
                 </el-table-column>
143
                 </el-table-column>
139
               </el-table>
144
               </el-table>
140
             </div>
145
             </div>
142
               <div class="Second_title">模板内容</div>
147
               <div class="Second_title">模板内容</div>
143
               <div style="">
148
               <div style="">
144
                 <keep-alive>
149
                 <keep-alive>
145
-                  <ueditor ref="ue" :content="new_content" id="editor"></ueditor>
150
+                  <ueditor ref="editorOne" id="editors" :content="new_content"></ueditor>
146
                 </keep-alive>
151
                 </keep-alive>
147
               </div>
152
               </div>
148
             </div>
153
             </div>
151
         <span slot="footer" class="dialog-footer" style="text-align: center;">
156
         <span slot="footer" class="dialog-footer" style="text-align: center;">
152
           <el-button type="danger" @click="template_dele">删除模板</el-button>
157
           <el-button type="danger" @click="template_dele">删除模板</el-button>
153
           <el-button type="primary" @click="template_save">保存模板</el-button>
158
           <el-button type="primary" @click="template_save">保存模板</el-button>
154
-          <el-button type="primary" @click="template_save">应用</el-button>
159
+          <el-button type="primary" @click="toContentPint">应用</el-button>
155
           <el-button @click="library_dialog = false">取消</el-button>
160
           <el-button @click="library_dialog = false">取消</el-button>
156
         </span>
161
         </span>
157
       </el-dialog>
162
       </el-dialog>
162
         top="0"
167
         top="0"
163
         >
168
         >
164
         <div>
169
         <div>
165
-          <div style="display:flex">
170
+          <div style="display:flex;position: absolute;top: 20px;left: 20%;">
166
             <div>
171
             <div>
167
               取值时间:
172
               取值时间:
168
-              <el-select v-model="quzhi_date" placeholder="请选择" style="width: 120px;">
173
+              <el-select v-model="quzhi_date" @change="datachange" placeholder="请选择" style="width: 120px;">
169
                 <el-option
174
                 <el-option
170
                   v-for="item in quzhi_options"
175
                   v-for="item in quzhi_options"
171
                   :key="item.value"
176
                   :key="item.value"
201
             </div>
206
             </div>
202
           </div>
207
           </div>
203
         </div>
208
         </div>
204
-       
209
+
205
       </el-dialog>
210
       </el-dialog>
206
 
211
 
207
 
212
 
208
 
213
 
209
 
214
 
210
-    
211
- 
215
+
216
+
212
     </div>
217
     </div>
213
   </div>
218
   </div>
214
 
219
 
226
     createNewCourseOfDiseaseRecord,
231
     createNewCourseOfDiseaseRecord,
227
     deleteNewCouseOfDisease,
232
     deleteNewCouseOfDisease,
228
     modifyCourseOfDiseaseRecord,
233
     modifyCourseOfDiseaseRecord,
229
-    getPatientCourseOfDiseaseList
234
+    getPatientCourseOfDiseaseList,
235
+    saveCoureseTemplateTitle,
236
+    getPatientCoureOfTempalate,
237
+    saveCourseOfNewTemplate,
238
+    deleteCourseTempalte,
239
+    getAutoPatientContent
230
   } from '@/api/patient'
240
   } from '@/api/patient'
231
   import { fetchAllDoctorAndNurse } from "@/api/doctor";
241
   import { fetchAllDoctorAndNurse } from "@/api/doctor";
232
   import { parseTime } from '@/utils'
242
   import { parseTime } from '@/utils'
281
         admin_user_id:0,
291
         admin_user_id:0,
282
         record_date:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),
292
         record_date:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),
283
         template_name:"",
293
         template_name:"",
284
-        id:0
294
+        id:0,
295
+        doctorOptions:[],
296
+        template_content:"",
297
+        template_id:0,
298
+        title:"",
299
+        templateList:[]
285
       }
300
       }
286
     },
301
     },
287
     created() {
302
     created() {
288
       this.admin_user_id = this.$store.getters.xt_user.user.id
303
       this.admin_user_id = this.$store.getters.xt_user.user.id
289
-    
304
+
290
       this.patient_id = parseInt(this.$route.query.id)
305
       this.patient_id = parseInt(this.$route.query.id)
291
       this.org_id = this.$store.getters.xt_user.template_info.org_id;
306
       this.org_id = this.$store.getters.xt_user.template_info.org_id;
292
       if (isNaN(this.patient_id) || this.patient_id <= 0) {
307
       if (isNaN(this.patient_id) || this.patient_id <= 0) {
300
 
315
 
301
       this.fetchAllDoctorAndNurse()
316
       this.fetchAllDoctorAndNurse()
302
       this.getlist()
317
       this.getlist()
303
-     
318
+
304
 
319
 
305
     },
320
     },
306
     methods: {
321
     methods: {
307
-      template_dele(){
308
 
322
 
323
+      toContentPint(){
324
+        this.$refs.editor.contents = this.template_content
325
+        this.library_dialog = false
326
+      },
327
+      getCurrentChangeOne(val){
328
+        this.$refs.editor.contents = val.content
329
+        this.record_date = this.getTime(val.record_time)
330
+        this.id = val.id
309
       },
331
       },
310
-      rowclick(){
332
+      getCurrentChangeTwo(val){
333
+
334
+        this.$refs.editorOne.contents = val.content
335
+        this.template_content = ""
336
+        this.template_content = val.content
337
+        this.template_id = val.id
338
+     },
339
+     template_dele(){
340
+       deleteCourseTempalte(this.template_id).then(response=>{
341
+        if(response.data.state == 1){
342
+          var msg =  response.data.data.msg
343
+          this.$message.success("删除成功!")
344
+          this.library_dialog = false
345
+          this.getPatientCoureOfTempalateOne()
346
+        }
347
+      })
348
+     },
349
+     getPatientCoureOfTempalateOne(){
350
+
351
+     },
352
+     rowclick(){
311
 
353
 
312
       },
354
       },
313
       prints(){
355
       prints(){
314
 
356
 
357
+      },
358
+      saveTemplate(){
359
+
360
+        var params = {
361
+          title:this.title,
362
+          content: this.$refs.editor.contents,
363
+        }
364
+      saveCoureseTemplateTitle(params).then(response=>{
365
+        if(response.data.state == 1){
366
+          var courseTemplate =  response.data.data.courseTemplate
367
+          this.$message.success("保存成功!")
368
+          this.template_dialog = false
369
+        }
370
+        })
315
       },
371
       },
316
       template_save(){
372
       template_save(){
373
+        var params = {
374
+         template_id:this.template_id,
375
+         content:this.$refs.editorOne.contents
376
+        }
317
 
377
 
378
+        saveCourseOfNewTemplate(params).then(response=>{
379
+           if(response.data.state == 1){
380
+              var msg = response.data.data.msg
381
+              this.$message.success("保存成功")
382
+              this.library_dialog = false
383
+           }
384
+        })
318
       },
385
       },
319
       getDocName(admin_user_id){
386
       getDocName(admin_user_id){
320
         var user_name = ""
387
         var user_name = ""
334
                var list = response.data.data.list
401
                var list = response.data.data.list
335
               this.tableData = []
402
               this.tableData = []
336
               this.tableData = list
403
               this.tableData = list
337
-             
404
+
338
             }
405
             }
339
         })
406
         })
340
      },
407
      },
347
        });
414
        });
348
       },
415
       },
349
       add_click(){
416
       add_click(){
350
-        this.add_index = 1
417
+        this.admin_user_id = ""
418
+        this.admin_user_id = this.$store.getters.xt_user.user.id
419
+        this.fetchAllDoctorAndNurse()
420
+        this.$refs.editor.contents = ""
421
+        this.id = 0
351
         this.disabled = false
422
         this.disabled = false
423
+        this.add_index = 1
352
       },
424
       },
353
       showCancel(){
425
       showCancel(){
354
         this.add_index = 0
426
         this.add_index = 0
379
          }
451
          }
380
 
452
 
381
         }).catch(error => {
453
         }).catch(error => {
382
-         
454
+
383
         })
455
         })
384
       },
456
       },
385
       template_click(){
457
       template_click(){
388
         if(this.add_index ==0){
460
         if(this.add_index ==0){
389
           this.template_dialog = true
461
           this.template_dialog = true
390
         }else{
462
         }else{
391
-          this.library_dialog = true
392
-        }
463
+         getPatientCoureOfTempalate().then(response=>{
464
+          if(response.data.state == 1){
465
+            this.library_dialog = true
466
+            this.templateList = response.data.data.templateList
467
+            console.log("hahhahahaha",this.$refs)
468
+            if(this.templateList!=null && this.templateList.length>0){
469
+              this.$refs.record_table_one.setCurrentRow(this.templateList[0])
470
+            }
471
+            console.log("haaaaaaaaaaaaa",this.templateList)
472
+
473
+          }
474
+        })
475
+
476
+       }
393
       },
477
       },
394
       auto_click(){
478
       auto_click(){
395
         this.auto_dialog = true
479
         this.auto_dialog = true
397
       autotext_click(){
481
       autotext_click(){
398
         this.auto_dialog = false
482
         this.auto_dialog = false
399
       },
483
       },
484
+      // 本周
485
+      getFirstDayOfWeek(date){
486
+        var weekday = date.getDay()
487
+        date.setDate(date.getDate()-weekday+1);//往前算(weekday-1)天,年份、月份会自动变化
488
+        return this.timeFormat(date);
489
+      },
490
+      // 上周
491
+      getlastweek(date){
492
+        date.setDate(date.getDate()-7 - date.getDay() + 1);
493
+        var m =''
494
+        var d = ''
495
+        if(date.getMonth() + 1<10){
496
+          m = '0'+(date.getMonth() + 1)
497
+        }else{
498
+            m = date.getMonth() + 1
499
+        }
500
+        if(date.getDate()<10){
501
+            d = '0'+date.getDate()
502
+        }else{
503
+          d = date.getDate()
504
+        }
505
+        // this.start_date = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate() ;
506
+        this.start_date = date.getFullYear() + "-" + m + "-" + d ;
507
+        date.setDate(date.getDate() +6);
508
+        var mm = ''
509
+        var dd = ''
510
+        if(date.getMonth() + 1<10){
511
+          mm = '0'+(date.getMonth() + 1)
512
+        }else{
513
+          mm = date.getMonth() + 1
514
+        }
515
+        if(date.getDate()<10){
516
+          dd = '0'+date.getDate()
517
+        }else{
518
+          dd = date.getDate()
519
+        }
520
+        // if(date.getMonth() + 1<10)
521
+        // this.end_date = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
522
+        this.end_date = date.getFullYear() + "-" + mm + "-" + dd ;
523
+        console.log('this.end_date',this.end_date);
524
+      },
525
+      // 本月
526
+      getFirstDayOfMonth (date) {
527
+        date.setDate(1);
528
+        return this.timeFormat(date);
529
+      },
530
+       //上个月第一天
531
+      getLastMonthFirstDay() {
532
+          var date = new Date();
533
+          date.setDate(0);
534
+          var y = date.getFullYear(); //获取年份
535
+          var m = date.getMonth() + 1; //获取月份
536
+          m = m < 10 ? "0" + m : m;
537
+          this.start_date = [y, m, '01'].join("-")
538
+          // return [y, m, '01'].join("-");
539
+      },
540
+      // 上个月最后一天
541
+      getLastMonthLastDay() {
542
+          var date = new Date();
543
+          date.setDate(0);
544
+          var y = date.getFullYear(); //获取年份
545
+          var m = date.getMonth() + 1; //获取月份
546
+          var d = new Date(y, m, 0).getDate(); //获取当月最后一日
547
+          m = m < 10 ? "0" + m : m; //月份补 0
548
+          d = d < 10 ? "0" + d : d; //日数补 0
549
+          this.end_date = [y, m, d].join("-")
550
+          // return [y, m, d].join("-");
551
+      },
552
+      // 日期格式化
553
+      timeFormat(date) {
554
+          if (!date || typeof(date) === "string") {
555
+            this.error("参数异常,请检查...");
556
+          }
557
+          var y = date.getFullYear(); //年
558
+          if(date.getMonth() + 1<10){
559
+            var m ='0'+(date.getMonth() + 1); //月
560
+          }else{
561
+            var m =date.getMonth() + 1; //月
562
+          }
563
+          if(date.getDate()<10){
564
+            var d ='0'+date.getDate(); //日
565
+          }else{
566
+            var d = date.getDate(); //日
567
+          }
568
+          // var d = date.getDate(); //日
569
+
570
+          return y + "-" + m + "-" + d;
571
+      },
572
+
573
+
400
       requestCourseRecords: function() {
574
       requestCourseRecords: function() {
401
         this.loading = true
575
         this.loading = true
402
         getCourseOfDiseaseRecords(this.patient_id, this.start_time, this.end_time).then(rs => {
576
         getCourseOfDiseaseRecords(this.patient_id, this.start_time, this.end_time).then(rs => {
470
       createAction() {
644
       createAction() {
471
         console.log("haaaaaaaaaaaaaaa",this.$refs)
645
         console.log("haaaaaaaaaaaaaaa",this.$refs)
472
         this.new_content = this.$refs.editor.contents
646
         this.new_content = this.$refs.editor.contents
473
-        
647
+
474
         if (this.new_content.length == 0) {
648
         if (this.new_content.length == 0) {
475
           this.$message.error('请填写病程内容')
649
           this.$message.error('请填写病程内容')
476
           return
650
           return
490
          }
664
          }
491
 
665
 
492
         }).catch(error => {
666
         }).catch(error => {
493
-         
667
+
494
         })
668
         })
495
       },
669
       },
496
       didSelectTemplate: function(templateContent) {
670
       didSelectTemplate: function(templateContent) {
524
           deleteNewCouseOfDisease(this.id).then(response=>{
698
           deleteNewCouseOfDisease(this.id).then(response=>{
525
             if (response.data.state==1) {
699
             if (response.data.state==1) {
526
               var msg = response.data.data.msg
700
               var msg = response.data.data.msg
527
-              this.$message.success("保存成功!")
701
+              this.$message.success("删除成功!")
528
               this.getlist()
702
               this.getlist()
529
             }
703
             }
530
           });
704
           });
535
 
709
 
536
       },
710
       },
537
       showEdit() {
711
       showEdit() {
538
-        if (this.table_current_index == -1) {
539
-          this.$message.error('请选择要修改的病程内容')
540
-          return
541
-        }
542
-        this.show_edit_dialog = true
543
-        this.edit_course_of_disease_time = this.recordTime(this.records[this.table_current_index].record_time)
544
-        this.edit_new_content = this.records[this.table_current_index].content
545
-        this.edit_current_id = this.records[this.table_current_index].id
546
-        this.edit_title = this.records[this.table_current_index].title
547
-        this.$refs.record_table.setCurrentRow(null)
712
+
713
+        this.add_index =1
714
+        this.disabled = false
548
 
715
 
549
       }, tableRow({ row, rowIndex }) {
716
       }, tableRow({ row, rowIndex }) {
550
         // 把每一行的索引放进row
717
         // 把每一行的索引放进row
703
         return anticoagulant_name
870
         return anticoagulant_name
704
       },
871
       },
705
       getTime (time) {
872
       getTime (time) {
706
-      return uParseTime(time, '{y}-{m}-{d} {h}:{i}')
873
+      return uParseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
707
       },
874
       },
708
       getTimeOne (time) {
875
       getTimeOne (time) {
709
       return uParseTime(time, '{y}-{m}-{d}')
876
       return uParseTime(time, '{y}-{m}-{d}')
710
       },
877
       },
878
+      getAutoPatientContent(){
879
+        if(this.start_date == ""){
880
+          this.$message.error("")
881
+        }
882
+        if(this.end_date == ""){
883
+          this.$message.error("")
884
+        }
885
+        var params = {
886
+          start_date:this.start_date,
887
+          end_date:this.end_date,
888
+          patient_id:this.patient_id,
889
+        }
890
+       getAutoPatientContent(params).then(response=>{
891
+
892
+       })
893
+
894
+      }
711
     }
895
     }
712
   }
896
   }
713
 </script>
897
 </script>
809
       text-align: center;
993
       text-align: center;
810
     }
994
     }
811
   }
995
   }
996
+  .course{
997
+    .el-dialog{
998
+      height: 90%;
999
+      // position: fixed !important;
1000
+      // top: 10% !important;
1001
+    }
1002
+  }
812
 </style>
1003
 </style>

+ 3 - 1
src/xt_pages/user/deathSummary.vue 파일 보기

518
           transplant:transplant,
518
           transplant:transplant,
519
           patient_id:this.patientID,
519
           patient_id:this.patientID,
520
           remark:this.remark,
520
           remark:this.remark,
521
-          last_record_date:this.last_record_date
521
+          last_record_date:this.last_record_date?this.last_record_date:""
522
         }
522
         }
523
         console.log("parasm===============",params)
523
         console.log("parasm===============",params)
524
        
524
        
609
                }
609
                }
610
                if(deathSummary.last_record_date>0){
610
                if(deathSummary.last_record_date>0){
611
                 this.last_record_date = this.getTime(deathSummary.last_record_date)
611
                 this.last_record_date = this.getTime(deathSummary.last_record_date)
612
+               }else{
613
+                this.last_record_date = ""
612
                }
614
                }
613
                 this.updateShow = true
615
                 this.updateShow = true
614
                 this.deathDisabed = true
616
                 this.deathDisabed = true

+ 3 - 3
src/xt_pages/user/templateSummaryPrint.vue 파일 보기

8
       <div class="order-yy-name"></div>
8
       <div class="order-yy-name"></div>
9
       <div class="order-title">{{ orgname }}血液透析患者诊疗阶段小结</div>
9
       <div class="order-title">{{ orgname }}血液透析患者诊疗阶段小结</div>
10
       
10
       
11
-      <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;">
11
+      <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;" v-if="org_id !=10013 &&org_id !=10014">
12
          <span>姓名:{{patientList.patient.name}}</span>  
12
          <span>姓名:{{patientList.patient.name}}</span>  
13
          <span style="margin-left:20px;">年龄:{{getNewAge(patientList.patient.id_card_no)}}</span>  
13
          <span style="margin-left:20px;">年龄:{{getNewAge(patientList.patient.id_card_no)}}</span>  
14
          <span style="margin-left:20px;">性别:
14
          <span style="margin-left:20px;">性别:
17
          </span> 
17
          </span> 
18
          <span style="margin-left:20px;">诊断:{{patientList.patient.diagnose}}</span> 
18
          <span style="margin-left:20px;">诊断:{{patientList.patient.diagnose}}</span> 
19
       </div>
19
       </div>
20
-      <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;">
20
+      <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;" v-if="org_id !=10013 &&org_id !=10014">
21
         <span>阶段评估时间:{{getTime(patientList.record_time)}}</span>  
21
         <span>阶段评估时间:{{getTime(patientList.record_time)}}</span>  
22
       </div>
22
       </div>
23
        <!-- <div style="padding:20px 0;border-bottom:1px solid #000;">
23
        <!-- <div style="padding:20px 0;border-bottom:1px solid #000;">
46
           </div>
46
           </div>
47
         </div>
47
         </div>
48
       </div> -->
48
       </div> -->
49
-      <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;">
49
+      <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;" v-if="org_id !=10013 &&org_id !=10014">
50
         <span style="font-weight:bold;">阶段小结总结:</span>
50
         <span style="font-weight:bold;">阶段小结总结:</span>
51
           <!-- {{patientList.template_summary_content}} -->
51
           <!-- {{patientList.template_summary_content}} -->
52
           <div style="line-height:24px; word-break: break-all;word-wrap: break-word" 
52
           <div style="line-height:24px; word-break: break-all;word-wrap: break-word" 

+ 13 - 13
src/xt_permission.js 파일 보기

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28
   // 线上注释
28
   // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))