Procházet zdrojové kódy

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

csx před 3 roky
rodič
revize
775a5da37f

+ 167 - 192
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Zobrazit soubor

111
               诊断:
111
               诊断:
112
               <div
112
               <div
113
                 class="under_line"
113
                 class="under_line"
114
-                style="width: 740px;text-align: left;word-break: break-all;word-wrap: break-word;display: inline-block;white-space: unset;"
114
+                style="width: 640px;text-align: left;word-break: break-all;word-wrap: break-word;display: inline-block;white-space: unset;"
115
               >
115
               >
116
                 {{ record.patient.diagnose }}
116
                 {{ record.patient.diagnose }}
117
               </div>
117
               </div>
258
                         </div>
258
                         </div>
259
                         mmHg
259
                         mmHg
260
                       </div>
260
                       </div>
261
-                      <div class="inline_block" style="margin-left:10px;">
262
-                        血管通路:
263
-                        <div
264
-                          class="under_line"
265
-                          style="width: 200px;text-align: center;"
266
-                        >
267
-                          {{
268
-                              record.assessment_before_dislysis &&
269
-                                record.assessment_before_dislysis
270
-                                  .blood_access_part_id
271
-                                ? record.assessment_before_dislysis
272
-                                    .blood_access_part_id
273
-                                : 0  
274
-                          }}
275
-                          {{
276
-                            record.assessment_before_dislysis &&
277
-                            record.assessment_before_dislysis
278
-                              .blood_access_part_opera_name
279
-                              ? record.assessment_before_dislysis
280
-                                  .blood_access_part_opera_name
281
-                              : ""
282
-                          }}
283
-                        </div>
284
-                      </div>
285
-                    </div>
286
-                    <div
287
-                      class="row"
288
-                      style="padding: 2px 0;line-height:23px;display:flex;"
289
-                    >
290
-                      <div class="inline_block" style="flex:1;">
291
-                        内瘘:
292
-                        <div
293
-                          class="under_line"
294
-                          style="width: 120px;text-align: center"
295
-                        >
296
-                          {{
297
-                            record.assessment_before_dislysis &&
298
-                            record.assessment_before_dislysis.internal_fistula
299
-                              ? record.assessment_before_dislysis
300
-                                  .internal_fistula
301
-                              : "/"
302
-                          }}
303
-                        </div>
304
-                      </div>
305
-
306
-                      <div
307
-                        class="inline_block"
308
-                        style="margin-left:10px;flex:1;"
309
-                      >
310
-                        导管:
311
-                        <div
312
-                          class="under_line"
313
-                          style="width: 120px;text-align: center"
314
-                        >
315
-                          {{
316
-                            record.assessment_before_dislysis &&
317
-                            record.assessment_before_dislysis.catheter
318
-                              ? record.assessment_before_dislysis.catheter
319
-                              : "/"
320
-                          }}
321
-                        </div>
322
-                      </div>
323
                       <div
261
                       <div
324
                         class="inline_block"
262
                         class="inline_block"
325
                         style="margin-left:10px;flex:1;"
263
                         style="margin-left:10px;flex:1;"
334
                           v-if="record.assessment_before_dislysis"
272
                           v-if="record.assessment_before_dislysis"
335
                           style="display: inline-block;"
273
                           style="display: inline-block;"
336
                         >
274
                         >
337
-                          <!-- <div
338
-                            class="under_line"
339
-                            style="width: 100px;text-align: center"
340
-                            v-if="
341
-                              record.assessment_before_dislysis.puncture_way ==
342
-                                0
343
-                            "
344
-                          ></div>
345
-                          <div
346
-                            class="under_line"
347
-                            style="width: 100px;text-align: center"
348
-                            v-if="
349
-                              record.assessment_before_dislysis.puncture_way ==
350
-                                1
351
-                            "
352
-                          >
353
-                            绳梯
354
-                          </div>
355
-                          <div
356
-                            class="under_line"
357
-                            style="width: 100px;text-align: center"
358
-                            v-if="
359
-                              record.assessment_before_dislysis.puncture_way ==
360
-                                2
361
-                            "
362
-                          >
363
-                            扣眼
364
-                          </div>
365
-                          <div
366
-                            class="under_line"
367
-                            style="width: 100px;text-align: center"
368
-                            v-if="
369
-                              record.assessment_before_dislysis.puncture_way ==
370
-                                3
371
-                            "
372
-                          >
373
-                            区域
374
-                          </div> -->
375
-
376
                           <div
275
                           <div
377
                             class="under_line"
276
                             class="under_line"
378
                             style="width: 100px;text-align: center"
277
                             style="width: 100px;text-align: center"
430
                           }}
329
                           }}
431
                         </div>
330
                         </div>
432
                       </div>
331
                       </div>
332
+                      
333
+                    </div>
334
+                    <div
335
+                      class="row"
336
+                      style="padding: 2px 0;line-height:23px;display:flex;"
337
+                    >
338
+                      <div class="inline_block">
339
+                        血管通路:
340
+                        <div
341
+                          class="under_line"
342
+                          style="width: 200px;text-align: center;"
343
+                        >
344
+                          {{
345
+                              record.assessment_before_dislysis &&
346
+                                record.assessment_before_dislysis
347
+                                  .blood_access_part_id
348
+                                ? record.assessment_before_dislysis
349
+                                    .blood_access_part_id
350
+                                : 0  
351
+                          }}
352
+                          {{
353
+                            record.assessment_before_dislysis &&
354
+                            record.assessment_before_dislysis
355
+                              .blood_access_part_opera_name
356
+                              ? record.assessment_before_dislysis
357
+                                  .blood_access_part_opera_name
358
+                              : ""
359
+                          }}
360
+                        </div>
361
+                      </div>
362
+                      <div class="inline_block" style="flex:1;">
363
+                        内瘘:
364
+                        <div
365
+                          class="under_line"
366
+                          style="width: 120px;text-align: center"
367
+                        >
368
+                          {{
369
+                            record.assessment_before_dislysis &&
370
+                            record.assessment_before_dislysis.internal_fistula
371
+                              ? record.assessment_before_dislysis
372
+                                  .internal_fistula
373
+                              : "/"
374
+                          }}
375
+                        </div>
376
+                      </div>
377
+
378
+                      <div
379
+                        class="inline_block"
380
+                        style="margin-left:10px;flex:1;"
381
+                      >
382
+                        导管:
383
+                        <div
384
+                          class="under_line"
385
+                          style="width: 120px;text-align: center"
386
+                        >
387
+                          {{
388
+                            record.assessment_before_dislysis &&
389
+                            record.assessment_before_dislysis.catheter
390
+                              ? record.assessment_before_dislysis.catheter
391
+                              : "/"
392
+                          }}
393
+                        </div>
394
+                      </div>
395
+                      <div class="inline_block" style="margin-left:10px;flex:1;" v-if="org_id == 10223">
396
+                        导管打折:
397
+                        <div class="under_line" style="width: 50px;text-align: center;white-space: normal;">
398
+                          <span v-if="record.assessment_before_dislysis.catheter_bend == 0">/</span>
399
+                          <span v-if="record.assessment_before_dislysis.catheter_bend == 1">有</span>
400
+                          <span v-if="record.assessment_before_dislysis.catheter_bend == 2">无</span>
401
+                        </div>
402
+                      </div>
433
                     </div>
403
                     </div>
434
                     <div
404
                     <div
435
                       class="row"
405
                       class="row"
1058
                             {{monitor_record.temperature? monitor_record.temperature: ""}}
1028
                             {{monitor_record.temperature? monitor_record.temperature: ""}}
1059
                           </td>
1029
                           </td>
1060
                           <td>
1030
                           <td>
1061
-                            {{monitor_record.sodium_concentration? monitor_record.sodium_concentration: ""}}
1031
+                            {{monitor_record.conductivity? monitor_record.conductivity: ""}}
1062
                           </td>
1032
                           </td>
1063
                           <td>
1033
                           <td>
1064
-                            {{
1065
-                              monitor_record.ultrafiltration_volume? monitor_record.ultrafiltration_volume: "0"}}
1034
+                            <span v-if="monitor_record.operate_time">{{monitor_record.ultrafiltration_volume? monitor_record.ultrafiltration_volume: ""}}</span>
1066
                           </td>
1035
                           </td>
1067
                           <td v-if=" record.prescription.mode_id == 2 || record.prescription.mode_id == 5 ||(record.prescription.mode_id == 12 &&monitor_record.operate_time >record.dialysis_order.end_time) " style="width:50px">
1036
                           <td v-if=" record.prescription.mode_id == 2 || record.prescription.mode_id == 5 ||(record.prescription.mode_id == 12 &&monitor_record.operate_time >record.dialysis_order.end_time) " style="width:50px">
1068
                             {{
1037
                             {{
1073
                           </td>
1042
                           </td>
1074
                           <td style="line-height:16px;padding:0px;">
1043
                           <td style="line-height:16px;padding:0px;">
1075
                             <div
1044
                             <div
1076
-                              style="min-height:40px;line-height:20px; overflow:hidden;"
1045
+                              style="min-height:35px;line-height:35px; overflow:hidden;"
1077
                             >
1046
                             >
1078
                               <span
1047
                               <span
1079
                                 style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"
1048
                                 style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"
1080
                               >
1049
                               >
1081
-                                <template v-if="index == 0"
1082
-                                  >【开始透析】</template
1083
-                                >
1050
+                                <template v-if="(record.dialysis_order && monitor_record.operate_time == record.dialysis_order.start_time)">【开始透析】</template>
1051
+                                <template v-if="(record.dialysis_order && monitor_record.operate_time == record.dialysis_order.end_time)">【结束透析】</template>
1084
                                 {{ monitor_record.end }}
1052
                                 {{ monitor_record.end }}
1085
                                 {{ monitor_record.symptom }} &nbsp;{{
1053
                                 {{ monitor_record.symptom }} &nbsp;{{
1086
                                   monitor_record.dispose
1054
                                   monitor_record.dispose
1427
                       </div>
1395
                       </div>
1428
                       <div
1396
                       <div
1429
                         class="inline_block"
1397
                         class="inline_block"
1430
-                        style="margin-left:10px;flex:1;"
1398
+                        style="margin-left:10px;flex:1.5;"
1431
                       >
1399
                       >
1432
                         BP:
1400
                         BP:
1433
                         <div
1401
                         <div
1459
                         </div>
1427
                         </div>
1460
                         mmHg
1428
                         mmHg
1461
                       </div>
1429
                       </div>
1462
-                    </div>
1463
-                    <div
1464
-                      class="row"
1465
-                      style="padding: 2px 0;line-height:23px;display:flex;"
1466
-                    >
1467
-                      <!-- <div class="inline_block" style="flex:1;">
1468
-                        透析器凝血:
1469
-                        <div
1470
-                          class="under_line"
1471
-                          style="width: 70px;text-align: center"
1472
-                        >
1473
-                          {{
1474
-                            record.assessment_after_dislysis &&
1475
-                            record.assessment_after_dislysis.cruor
1476
-                              ? record.assessment_after_dislysis.cruor
1477
-                              : "/"
1478
-                          }}
1479
-                        </div>
1480
-                      </div> -->
1481
-                      <div class="inline_block" style="flex:1;">
1482
-                        内瘘:
1483
-                        <div
1484
-                          class="under_line"
1485
-                          style="width: 70px;text-align: center"
1486
-                        >
1487
-                          {{
1488
-                            record.assessment_after_dislysis &&
1489
-                            record.assessment_after_dislysis.internal_fistula
1490
-                              ? record.assessment_after_dislysis
1491
-                                  .internal_fistula
1492
-                              : "/"
1493
-                          }}
1494
-                        </div>
1495
-                      </div>
1496
-                      <div class="inline_block" style="flex:1;">
1497
-                        导管:
1498
-                        <div
1499
-                          class="under_line"
1500
-                          style="width: 150px;text-align: center"
1501
-                        >
1502
-                          {{
1503
-                            record.assessment_after_dislysis &&
1504
-                            record.assessment_after_dislysis.catheter
1505
-                              ? record.assessment_after_dislysis.catheter
1506
-                              : "/"
1507
-                          }}
1508
-                        </div>
1509
-                      </div>
1510
-                      <div class="inline_block" style="flex:1;">
1430
+                      <div class="inline_block" style="flex:1.5;">
1511
                         实际治疗时间:
1431
                         实际治疗时间:
1512
                         <div
1432
                         <div
1513
                           class="under_line"
1433
                           class="under_line"
1538
                         </div>
1458
                         </div>
1539
                         min
1459
                         min
1540
                       </div>
1460
                       </div>
1541
-                      <!-- 只是占位 -->
1542
-                      <div
1543
-                        class="inline_block"
1544
-                        style="flex:1;visibility: hidden;"
1545
-                      >
1461
+                    </div>
1462
+                    <div
1463
+                      class="row"
1464
+                      style="padding: 2px 0;line-height:23px;display:flex;"
1465
+                    >
1466
+                      <div class="inline_block" style="flex:2.5;">
1546
                         透析器凝血:
1467
                         透析器凝血:
1547
-                        <div
1548
-                          class="under_line"
1549
-                          style="width: 70px;text-align: center"
1550
-                        >
1468
+                        <div class="under_line" style="width:170px;text-align:center;white-space: normal;">
1551
                           {{
1469
                           {{
1552
                             record.assessment_after_dislysis &&
1470
                             record.assessment_after_dislysis &&
1553
                             record.assessment_after_dislysis.cruor
1471
                             record.assessment_after_dislysis.cruor
1556
                           }}
1474
                           }}
1557
                         </div>
1475
                         </div>
1558
                       </div>
1476
                       </div>
1477
+                      <div class="inline_block" style="flex:2;">
1478
+                        内瘘:
1479
+                        <div class="under_line" style="width: 170px;text-align: center;white-space: normal;">
1480
+                          {{
1481
+                            record.assessment_after_dislysis &&
1482
+                            record.assessment_after_dislysis.internal_fistula
1483
+                              ? record.assessment_after_dislysis
1484
+                                  .internal_fistula
1485
+                              : "/"
1486
+                          }}
1487
+                        </div>
1488
+                      </div>
1489
+                      <div class="inline_block" style="flex:4;">
1490
+                        导管:
1491
+                        <div class="under_line" style="min-width: 120px;text-align: center">
1492
+                          {{
1493
+                            record.assessment_after_dislysis &&
1494
+                            record.assessment_after_dislysis.catheter
1495
+                              ? record.assessment_after_dislysis.catheter
1496
+                              : "/"
1497
+                          }}
1498
+                        </div>
1499
+                      </div>
1500
+                      
1501
+                      
1559
                     </div>
1502
                     </div>
1560
 
1503
 
1561
                     <div
1504
                     <div
1599
                         kg
1542
                         kg
1600
                       </div>
1543
                       </div>
1601
 
1544
 
1602
-                      <div class="inline_block" style="flex:1;">
1545
+                      <div class="inline_block" style="flex:1;" v-if="org_id != 10223">
1603
                         透析中入量:
1546
                         透析中入量:
1604
                         <div
1547
                         <div
1605
                           class="under_line"
1548
                           class="under_line"
1634
                         ml
1577
                         ml
1635
                       </div>
1578
                       </div>
1636
                     </div>
1579
                     </div>
1637
-                    <div
1638
-                      class="row"
1639
-                      style="padding: 2px 0;line-height:23px;display:flex;"
1640
-                    >
1641
-                      <div class="inline_block" style="flex:1;">
1642
-                        透析器凝血:
1643
-                        <span
1644
-                          style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;"
1645
-                        >
1646
-                          {{
1647
-                            record.assessment_after_dislysis &&
1648
-                            record.assessment_after_dislysis.cruor
1649
-                              ? record.assessment_after_dislysis.cruor
1650
-                              : "/"
1651
-                          }}
1652
-                        </span>
1580
+                    <div class="row" style="padding: 2px 0;line-height:23px;display:flex;" v-if="org_id == 10223">
1581
+                    <div class="inline_block" style="flex:1;">
1582
+                      动脉管道:
1583
+                      <div class="under_line" style="width: 100px;text-align: center">
1584
+                        <span v-if="record.assessment_after_dislysis.arterial_tube == 0">/</span>
1585
+                        <span v-if="record.assessment_after_dislysis.arterial_tube == 1">动脉管道0</span>
1586
+                        <span v-if="record.assessment_after_dislysis.arterial_tube == 2">动脉管道+</span>
1587
+                        <span v-if="record.assessment_after_dislysis.arterial_tube == 3">动脉管道++</span>
1588
+                        <span v-if="record.assessment_after_dislysis.arterial_tube == 4">动脉管道+++</span>
1589
+                      </div>
1590
+                    </div>
1591
+                    <div class="inline_block" style="flex:1;">
1592
+                      静脉管道:
1593
+                      <div class="under_line" style="width: 100px;text-align: center">
1594
+                        <span v-if="record.assessment_after_dislysis.intravenous_tube == 0">/</span>
1595
+                        <span v-if="record.assessment_after_dislysis.intravenous_tube == 1">静脉管道0</span>
1596
+                        <span v-if="record.assessment_after_dislysis.intravenous_tube == 2">静脉管道+</span>
1597
+                        <span v-if="record.assessment_after_dislysis.intravenous_tube == 3">静脉管道++</span>
1598
+                        <span v-if="record.assessment_after_dislysis.intravenous_tube == 4">静脉管道+++</span>
1599
+                      </div>
1600
+                    </div>
1601
+                    <div class="inline_block" style="flex:1;">
1602
+                      并发症:
1603
+                      <div class="under_line" style="width: 170px;text-align: center">
1604
+                        {{ record.assessment_after_dislysis.complication ? record.assessment_after_dislysis.complication : "/" }}
1653
                       </div>
1605
                       </div>
1654
                     </div>
1606
                     </div>
1607
+                  </div>
1608
+                  <div class="row" style="padding: 2px 0;line-height:23px;display:flex;" v-if="org_id == 10223">
1609
+                    <div class="inline_block" style="flex:1;">
1610
+                      穿刺处血肿:
1611
+                      <div class="under_line" style="width: 50px;text-align: center">
1612
+                        <span v-if="record.assessment_after_dislysis.puncture_point_haematoma == 0">/</span>
1613
+                        <span v-if="record.assessment_after_dislysis.puncture_point_haematoma == 1">有</span>
1614
+                        <span v-if="record.assessment_after_dislysis.puncture_point_haematoma == 2">无</span>
1615
+                      </div>
1616
+                    </div>
1617
+                    <div class="inline_block" style="flex:1;">
1618
+                      中心静脉封管(肝素-A端):
1619
+                      <div class="under_line" style="width: 70px;text-align: center">
1620
+                        {{ record.assessment_after_dislysis.cvc_a ? record.assessment_after_dislysis.cvc_a : "/" }}
1621
+                      </div>
1622
+                    </div>
1623
+                    <div class="inline_block" style="flex:1;">
1624
+                      中心静脉封管(肝素-V端):
1625
+                      <div class="under_line" style="width: 70px;text-align: center">
1626
+                        {{ record.assessment_after_dislysis.cvc_v ? record.assessment_after_dislysis.cvc_v : "/" }}
1627
+                      </div>
1628
+                    </div>
1629
+                  </div>
1655
                     <div
1630
                     <div
1656
                       class="row"
1631
                       class="row"
1657
                       style="padding: 2px 0;line-height:23px;display:flex;"
1632
                       style="padding: 2px 0;line-height:23px;display:flex;"
1658
                     >
1633
                     >
1659
-                      <div class="inline_block" style="flex:1;">
1634
+                      <div class="inline_block" style="flex:1; display:inline-block;">
1660
                         治疗小结:
1635
                         治疗小结:
1661
-                        <div
1662
-                          style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;"
1636
+                        <div class="under_line"
1637
+                          style="width: 840px;line-height: 25px;text-align: left;margin-left: 2px;display: inline-block;white-space: normal;"
1663
                         >
1638
                         >
1664
                           {{
1639
                           {{
1665
                             record.summer && record.summer.dialysis_summary
1640
                             record.summer && record.summer.dialysis_summary
2077
             var dlegh = 0;
2052
             var dlegh = 0;
2078
             if (
2053
             if (
2079
               this.records[recordIndex].monitor_records &&
2054
               this.records[recordIndex].monitor_records &&
2080
-              this.records[recordIndex].monitor_records.length < 8
2055
+              this.records[recordIndex].monitor_records.length < 6
2081
             ) {
2056
             ) {
2082
-              dlegh = 8 - this.records[recordIndex].monitor_records.length;
2057
+              dlegh = 6 - this.records[recordIndex].monitor_records.length;
2083
             } else {
2058
             } else {
2084
               dlegh = 0;
2059
               dlegh = 0;
2085
             }
2060
             }
2104
             var delghTwo = 0;
2079
             var delghTwo = 0;
2105
             if (
2080
             if (
2106
               this.records[recordIndex].advices &&
2081
               this.records[recordIndex].advices &&
2107
-              this.records[recordIndex].advices.length < 7
2082
+              this.records[recordIndex].advices.length < 12
2108
             ) {
2083
             ) {
2109
-              delghTwo = 7 - this.records[recordIndex].advices.length;
2084
+              delghTwo = 12 - this.records[recordIndex].advices.length;
2110
             } else {
2085
             } else {
2111
               delghTwo = 0;
2086
               delghTwo = 0;
2112
             }
2087
             }

+ 2 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Zobrazit soubor

1392
             })
1392
             })
1393
           }
1393
           }
1394
         })
1394
         })
1395
+      }else{
1396
+        this.$message.success('核对完成')
1395
       }
1397
       }
1396
     },
1398
     },
1397
     getCruor(cruor){
1399
     getCruor(cruor){

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue Zobrazit soubor

1227
         this.check = response.data.data.check
1227
         this.check = response.data.data.check
1228
         this.xtdate = response.data.data.xtdate
1228
         this.xtdate = response.data.data.xtdate
1229
         this.predialysis = response.data.data.PredialysisEvaluation
1229
         this.predialysis = response.data.data.PredialysisEvaluation
1230
-         console.log("透前评估",this.predialysis)
1230
+        // console.log("透前评估",this.predialysis)
1231
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1231
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1232
           this.predialysis.blood_access_part_opera_id
1232
           this.predialysis.blood_access_part_opera_id
1233
         )
1233
         )

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue Zobrazit soubor

340
             <td>{{ monitor.venous_pressure }}</td>
340
             <td>{{ monitor.venous_pressure }}</td>
341
             <td>{{ monitor.transmembrane_pressure }}</td>
341
             <td>{{ monitor.transmembrane_pressure }}</td>
342
             <td>{{ monitor.conductivity }}</td>
342
             <td>{{ monitor.conductivity }}</td>
343
-            <td>{{ monitor.ultrafiltration_volume }}</td>
344
-            <td>{{ monitor.ultrafiltration_rate }}</td>
343
+            <td><span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '0' }}</span></td>
344
+            <td><span v-if="monitor.operate_time">{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '0' }}</span></td>
345
             <td>{{ monitor.dialysate_temperature }}</td>
345
             <td>{{ monitor.dialysate_temperature }}</td>
346
             <td style="text-align:left;padding-left:10px;">
346
             <td style="text-align:left;padding-left:10px;">
347
               <div style="line-height:20px;text-align: left;display: inline-block;">
347
               <div style="line-height:20px;text-align: left;display: inline-block;">

+ 23 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue Zobrazit soubor

1856
           this.$message.error('核对护士未填')
1856
           this.$message.error('核对护士未填')
1857
         }else if(this.doctor_advices.length > 0 && (this.doctor_advices[0].execution_staff != this.check.creater) && this.check.creater == 0 ){
1857
         }else if(this.doctor_advices.length > 0 && (this.doctor_advices[0].execution_staff != this.check.creater) && this.check.creater == 0 ){
1858
           this.$message.error('核对护士未填')
1858
           this.$message.error('核对护士未填')
1859
+        }else if(this.tableAdvice.length > 0){
1860
+          this.tableAdvice.map(item => {
1861
+            if(item.id > 0 && item.created_time){
1862
+              this.users.map(it => {
1863
+                if(it.id == item.advice_doctor){
1864
+                  if(it.type != 2){
1865
+                    this.$message.error('存在不是医生保存的医嘱')
1866
+                  }
1867
+                }else if(it.id == item.execution_staff && item.execution_staff > 0){
1868
+                  if(it.type != 3){
1869
+                    this.$message.error('存在不是护士执行的医嘱')
1870
+                  }
1871
+                }else if(it.id == item.checker && item.checker > 0){
1872
+                  if(it.type != 3){
1873
+                    this.$message.error('存在不是护士核对的医嘱')
1874
+                  }
1875
+                }
1876
+              })
1877
+            }
1878
+          })
1879
+        }else{
1880
+          this.$message.success('核对完成')
1859
         }
1881
         }
1860
       },
1882
       },
1861
       getComplication(complication){
1883
       getComplication(complication){
2123
             }
2145
             }
2124
 
2146
 
2125
             this.advices = response.data.data.advices
2147
             this.advices = response.data.data.advices
2148
+            this.tableAdvice = response.data.data.advices;
2126
             // console.log('hhhhhhhhhhhh', this.advices)
2149
             // console.log('hhhhhhhhhhhh', this.advices)
2127
             this.monitors = response.data.data.monitors
2150
             this.monitors = response.data.data.monitors
2128
             // console.log('哈哈哈哈哈哈哈', this.monitors)
2151
             // console.log('哈哈哈哈哈哈哈', this.monitors)

+ 5 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Zobrazit soubor

515
                               <span>{{prescription.dialysis_dialyszers}}</span>
515
                               <span>{{prescription.dialysis_dialyszers}}</span>
516
                               <span v-if="prescription.dialysis_irrigation!=''">/{{prescription.dialysis_irrigation}}</span>
516
                               <span v-if="prescription.dialysis_irrigation!=''">/{{prescription.dialysis_irrigation}}</span>
517
                             </span>
517
                             </span>
518
-                          &nbsp;<span else>{{ prescription.dialyzer_perfusion_apparatus }}</span>
518
+                            <span v-else>{{ prescription.dialyzer_perfusion_apparatus }}</span>
519
                         </div>
519
                         </div>
520
                       </td>
520
                       </td>
521
                     </tr>
521
                     </tr>
1216
         this.$message.error('并发症未填')
1216
         this.$message.error('并发症未填')
1217
       }else if(this.summary.dialysis_summary == ""){
1217
       }else if(this.summary.dialysis_summary == ""){
1218
         this.$message.error('透析小结未填')
1218
         this.$message.error('透析小结未填')
1219
-      }else if(this.afterdialysis.patient_gose == ""){
1219
+      }else if(this.afterdialysis.patient_gose == 0){
1220
         this.$message.error('患者去向未填')
1220
         this.$message.error('患者去向未填')
1221
       }else if(this.afterdialysis.creater == 0){
1221
       }else if(this.afterdialysis.creater == 0){
1222
         this.$message.error('当班责任(核对)护士未填')
1222
         this.$message.error('当班责任(核对)护士未填')
1223
-      }else if(this.dialysisOrder.finish_nurse == 0){
1223
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
1224
         this.$message.error('下机护士未填')
1224
         this.$message.error('下机护士未填')
1225
       }else if(this.tableAdvice.length > 0){
1225
       }else if(this.tableAdvice.length > 0){
1226
         this.tableAdvice.map(item => {
1226
         this.tableAdvice.map(item => {
1242
             })
1242
             })
1243
           }
1243
           }
1244
         })
1244
         })
1245
+      }else{
1246
+        this.$message.success('核对完成')
1245
       }
1247
       }
1246
     },
1248
     },
1247
     getAdminUser(id) {
1249
     getAdminUser(id) {

+ 2 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Zobrazit soubor

760
             })
760
             })
761
           }
761
           }
762
         })
762
         })
763
+      }else{
764
+        this.$message.success('核对完成')
763
       }
765
       }
764
     },
766
     },
765
     getDisplaceLiquiPart: function(val) {
767
     getDisplaceLiquiPart: function(val) {

+ 97 - 66
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
-    <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
3
+    <el-button type="primary" @click="checkData">一键核对</el-button>
4
     <div id="dialysis-print-box-1">
4
     <div id="dialysis-print-box-1">
5
       <div
5
       <div
6
         id="dialysis-print-box-1-1"
6
         id="dialysis-print-box-1-1"
219
                   </div>
219
                   </div>
220
 
220
 
221
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
221
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
222
-                    <div class="inline_block" style="flex:1.4">
222
+                    <div class="inline_block">
223
                       血管通路:
223
                       血管通路:
224
-                      <div class="under_line" style="width: 200px;text-align: center;">
224
+                      <div class="under_line" style="width: 220px;text-align: center;">
225
                         <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
225
                         <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
226
                         {{predialysis.blood_access_part_id}}
226
                         {{predialysis.blood_access_part_id}}
227
                         {{ predialysis.blood_access_part_opera_name }}
227
                         {{ predialysis.blood_access_part_opera_name }}
228
                       </div>
228
                       </div>
229
                     </div>
229
                     </div>
230
-                    <div class="inline_block" style="margin-left:10px;flex:1;">
230
+                    <div class="inline_block" style="margin-left:10px;">
231
                       内瘘:
231
                       内瘘:
232
-                      <div class="under_line" style="width: 170px;text-align: center;white-space: normal;">
232
+                      <div class="under_line" style="width: 180px;text-align: center;white-space: normal;">
233
                         {{ predialysis.internal_fistula ? predialysis.internal_fistula : "/" }}
233
                         {{ predialysis.internal_fistula ? predialysis.internal_fistula : "/" }}
234
                       </div>
234
                       </div>
235
                     </div>
235
                     </div>
236
 
236
 
237
-                    <div class="inline_block" style="margin-left:10px;flex:1.8;">
237
+                    <div class="inline_block" style="margin-left:10px;flex:1.4;">
238
                       导管:
238
                       导管:
239
                       <div class="under_line" style="width: 150px;text-align: center">
239
                       <div class="under_line" style="width: 150px;text-align: center">
240
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
240
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
241
                       </div>
241
                       </div>
242
                     </div>
242
                     </div>
243
+                    <div class="inline_block" style="margin-left:10px;flex:1;" v-if="org_id == 10223">
244
+                      导管打折:
245
+                      <div class="under_line" style="width: 50px;text-align: center;white-space: normal;">
246
+                        <span v-if="predialysis.catheter_bend == 0">/</span>
247
+                        <span v-if="predialysis.catheter_bend == 1">有</span>
248
+                        <span v-if="predialysis.catheter_bend == 2">无</span>
249
+                      </div>
250
+                    </div>
243
                   </div>
251
                   </div>
244
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
252
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
245
                     <div class="inline_block" style="flex:1;">
253
                     <div class="inline_block" style="flex:1;">
576
                         </td>
584
                         </td>
577
                         <td v-if="org_id != 9836">{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
585
                         <td v-if="org_id != 9836">{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
578
                         <td v-if="org_id == 9836">{{ monitor.temperature ? monitor.temperature : "" }}</td>
586
                         <td v-if="org_id == 9836">{{ monitor.temperature ? monitor.temperature : "" }}</td>
579
-                        <td>{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}
580
-                        </td>
587
+                        <td v-if="org_id != 9538">{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
588
+                        <td v-if="org_id == 9538">{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</td>
581
                         <td v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
589
                         <td v-if="(dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time)">
582
                           {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
590
                           {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
583
                         </td>
591
                         </td>
1258
         gaimingcheng_unit: '',
1266
         gaimingcheng_unit: '',
1259
         gaijiliang_unit: ''
1267
         gaijiliang_unit: ''
1260
       },
1268
       },
1261
-      org_id:0,
1269
+      org_id: 0
1262
     }
1270
     }
1263
   },
1271
   },
1264
   methods: {
1272
   methods: {
1265
-    checkData(){
1266
-      if(this.receiverTreatmentAccess.way == 0){
1273
+    checkData() {
1274
+      if (this.receiverTreatmentAccess.way == 0) {
1267
         this.$message.error('入科方式未填')
1275
         this.$message.error('入科方式未填')
1268
-      }else if(this.predialysis.symptom_before_dialysis == ""){
1276
+      } else if (this.predialysis.symptom_before_dialysis == '') {
1269
         this.$message.error('透前症状未填')
1277
         this.$message.error('透前症状未填')
1270
-      }else if(this.predialysis.temperature == ""){
1278
+      } else if (this.predialysis.temperature == '') {
1271
         this.$message.error('透前体温未填')
1279
         this.$message.error('透前体温未填')
1272
-      }else if(this.predialysis.pulse_frequency == ""){
1280
+      } else if (this.predialysis.pulse_frequency == '') {
1273
         this.$message.error('透前脉搏未填')
1281
         this.$message.error('透前脉搏未填')
1274
-      }else if(this.predialysis.breathing_rate == ""){
1282
+      } else if (this.predialysis.breathing_rate == '') {
1275
         this.$message.error('透前呼吸频率未填')
1283
         this.$message.error('透前呼吸频率未填')
1276
-      }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
1284
+      } else if (this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0) {
1277
         this.$message.error('透前血压未填完整')
1285
         this.$message.error('透前血压未填完整')
1278
-      }else if(this.predialysis.puncture_way == ''){
1286
+      } else if (this.predialysis.puncture_way == '') {
1279
         this.$message.error('穿刺方式未填')
1287
         this.$message.error('穿刺方式未填')
1280
-      }else if(this.predialysis.puncture_needle == ''){
1288
+      } else if (this.predialysis.puncture_needle == '') {
1281
         this.$message.error('穿刺针未填')
1289
         this.$message.error('穿刺针未填')
1282
-      }else if(this.predialysis.blood_access_part_id == '' && this.predialysis.blood_access_part_opera_name == ''){
1290
+      } else if (this.predialysis.blood_access_part_id == '' && this.predialysis.blood_access_part_opera_name == '') {
1283
         this.$message.error('血管通路未填')
1291
         this.$message.error('血管通路未填')
1284
-      }else if(this.predialysis.internal_fistula == ''){
1292
+      } else if (this.predialysis.internal_fistula == '') {
1285
         this.$message.error('透前内瘘未填')
1293
         this.$message.error('透前内瘘未填')
1286
-      }else if(this.predialysis.catheter == ''){
1294
+      } else if (this.predialysis.catheter == '') {
1287
         this.$message.error('透前导管未填')
1295
         this.$message.error('透前导管未填')
1288
-      }else if(this.prescription.mode_id == ""){
1296
+      } else if (this.prescription.mode_id == '') {
1289
         this.$message.error('透析方式未填')
1297
         this.$message.error('透析方式未填')
1290
-      }else if(this.prescription.displace_liqui_part == 0){
1298
+      } else if (this.prescription.displace_liqui_part == 0) {
1291
         this.$message.error('置换方式未填')
1299
         this.$message.error('置换方式未填')
1292
-      }else if(this.prescription.displace_liqui_value == 0){
1300
+      } else if (this.prescription.displace_liqui_value == 0) {
1293
         this.$message.error('置换量未填')
1301
         this.$message.error('置换量未填')
1294
-      }else if(this.prescription.blood_flow_volume == 0){
1302
+      } else if (this.prescription.blood_flow_volume == 0) {
1295
         this.$message.error('血流量未填')
1303
         this.$message.error('血流量未填')
1296
-      }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
1304
+      } else if (this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0) {
1297
         this.$message.error('透析时间未填')
1305
         this.$message.error('透析时间未填')
1298
-      }else if(this.prescription.dialyzer_perfusion_apparatus == "" && this.prescription.dialysis_dialyszers == ""){
1306
+      } else if (this.prescription.dialyzer_perfusion_apparatus == '' && this.prescription.dialysis_dialyszers == '') {
1299
         this.$message.error('透析器未填')
1307
         this.$message.error('透析器未填')
1300
-      }else if(this.prescription.dialysis_irrigation == ""){
1308
+      } else if (this.prescription.dialysis_irrigation == '') {
1301
         this.$message.error('灌流器未填')
1309
         this.$message.error('灌流器未填')
1302
-      }else if(this.prescription.plasma_separator == ""){
1310
+      } else if (this.prescription.plasma_separator == '') {
1303
         this.$message.error('血浆分离器未填')
1311
         this.$message.error('血浆分离器未填')
1304
-      }else if(this.prescription.bilirubin_adsorption_column == ""){
1312
+      } else if (this.prescription.bilirubin_adsorption_column == '') {
1305
         this.$message.error('胆红素吸附柱未填')
1313
         this.$message.error('胆红素吸附柱未填')
1306
-      }else if(this.predialysis.weight_before == 0){
1314
+      } else if (this.predialysis.weight_before == 0) {
1307
         this.$message.error('透前体重未填')
1315
         this.$message.error('透前体重未填')
1308
-      }else if(this.predialysis.dry_weight == 0){
1316
+      } else if (this.predialysis.dry_weight == 0) {
1309
         this.$message.error('干体重未填')
1317
         this.$message.error('干体重未填')
1310
-      }else if(this.prescription.target_ultrafiltration == 0){
1318
+      } else if (this.prescription.target_ultrafiltration == 0) {
1311
         this.$message.error('计划超滤量未填')
1319
         this.$message.error('计划超滤量未填')
1312
-      }else if(this.prescription.calcium == 0){
1320
+      } else if (this.prescription.calcium == 0) {
1313
         this.$message.error('钙未填')
1321
         this.$message.error('钙未填')
1314
-      }else if(this.prescription.sodium == 0){
1322
+      } else if (this.prescription.sodium == 0) {
1315
         this.$message.error('钠未填')
1323
         this.$message.error('钠未填')
1316
-      }else if(this.prescription.kalium == 0){
1324
+      } else if (this.prescription.kalium == 0) {
1317
         this.$message.error('钾未填')
1325
         this.$message.error('钾未填')
1318
-      }else if(this.prescription.bicarbonate == 0){
1326
+      } else if (this.prescription.bicarbonate == 0) {
1319
         this.$message.error('碳酸氢根未填')
1327
         this.$message.error('碳酸氢根未填')
1320
-      }else if(this.prescription.dialysate_flow == 0){
1328
+      } else if (this.prescription.dialysate_flow == 0) {
1321
         this.$message.error('透析液流量未填')
1329
         this.$message.error('透析液流量未填')
1322
-      }else if(this.prescription.anticoagulant == 0){
1330
+      } else if (this.prescription.anticoagulant == 0) {
1323
         this.$message.error('抗凝剂未填')
1331
         this.$message.error('抗凝剂未填')
1324
-      }else if(this.prescription.anticoagulant_gaimingcheng == "" && this.prescription.anticoagulant == 5){
1332
+      } else if (this.prescription.anticoagulant_gaimingcheng == '' && this.prescription.anticoagulant == 5) {
1325
         this.$message.error('钙名称未填')
1333
         this.$message.error('钙名称未填')
1326
-      }else if(this.prescription.anticoagulant_gaijiliang == "" && this.prescription.anticoagulant == 5){
1334
+      } else if (this.prescription.anticoagulant_gaijiliang == '' && this.prescription.anticoagulant == 5) {
1327
         this.$message.error('钙剂量未填')
1335
         this.$message.error('钙剂量未填')
1328
-      }else if(this.afterdialysis.temperature == 0){
1336
+      } else if (this.afterdialysis.temperature == 0) {
1329
         this.$message.error('透后体温未填')
1337
         this.$message.error('透后体温未填')
1330
-      }else if(this.afterdialysis.pulse_frequency == 0){
1338
+      } else if (this.afterdialysis.pulse_frequency == 0) {
1331
         this.$message.error('透后脉搏未填')
1339
         this.$message.error('透后脉搏未填')
1332
-      }else if(this.afterdialysis.breathing_rate == 0){
1340
+      } else if (this.afterdialysis.breathing_rate == 0) {
1333
         this.$message.error('透后呼吸频率未填')
1341
         this.$message.error('透后呼吸频率未填')
1334
-      }else if(this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0){
1342
+      } else if (this.afterdialysis.systolic_blood_pressure == 0 || this.afterdialysis.diastolic_blood_pressure == 0) {
1335
         this.$message.error('透后血压未填完整')
1343
         this.$message.error('透后血压未填完整')
1336
-      }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
1344
+      } else if (this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0) {
1337
         this.$message.error('实际治疗时间未填')
1345
         this.$message.error('实际治疗时间未填')
1338
-      }else if(this.afterdialysis.cruor == ""){
1346
+      } else if (this.afterdialysis.cruor == '') {
1339
         this.$message.error('透析器凝血未填')
1347
         this.$message.error('透析器凝血未填')
1340
-      }else if(this.afterdialysis.internal_fistula == ''){
1348
+      } else if (this.afterdialysis.internal_fistula == '') {
1341
         this.$message.error('透后内瘘未填')
1349
         this.$message.error('透后内瘘未填')
1342
-      }else if(this.afterdialysis.catheter == ''){
1350
+      } else if (this.afterdialysis.catheter == '') {
1343
         this.$message.error('透后导管未填')
1351
         this.$message.error('透后导管未填')
1344
-      }else if(this.afterdialysis.weight_after == 0){
1352
+      } else if (this.afterdialysis.weight_after == 0) {
1345
         this.$message.error('透后体重未填')
1353
         this.$message.error('透后体重未填')
1346
-      }else if(this.afterdialysis.weight_loss == 0){
1354
+      } else if (this.afterdialysis.weight_loss == 0) {
1347
         this.$message.error('透后体重减少未填')
1355
         this.$message.error('透后体重减少未填')
1348
-      }else if(this.afterdialysis.dialysis_intakes == 0){
1356
+      } else if (this.afterdialysis.dialysis_intakes == 0) {
1349
         this.$message.error('透析中入量未填')
1357
         this.$message.error('透析中入量未填')
1350
-      }else if(this.afterdialysis.actual_ultrafiltration == 0){
1358
+      } else if (this.afterdialysis.actual_ultrafiltration == 0) {
1351
         this.$message.error('实际超滤量未填')
1359
         this.$message.error('实际超滤量未填')
1352
-      }else if(this.summary.dialysis_summary == ""){
1360
+      } else if (this.summary.dialysis_summary == '') {
1353
         this.$message.error('透析小结未填')
1361
         this.$message.error('透析小结未填')
1354
-      }else if(this.dialysisOrder.puncture_nurse == 0){
1362
+      } else if (this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0) {
1355
         this.$message.error('穿刺护士未填')
1363
         this.$message.error('穿刺护士未填')
1356
-      }else if(this.dialysisOrder.start_nurse == 0){
1364
+      } else if (this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0) {
1357
         this.$message.error('治疗护士未填')
1365
         this.$message.error('治疗护士未填')
1358
-      }else if(this.dialysisOrder == null && this.check.creater == 0){
1366
+      } else if (this.dialysisOrder == null && this.check.creater == 0) {
1359
         this.$message.error('核对人员未填')
1367
         this.$message.error('核对人员未填')
1360
-      }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
1368
+      } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0) {
1361
         this.$message.error('核对人员未填')
1369
         this.$message.error('核对人员未填')
1362
-      }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
1370
+      } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0) {
1363
         this.$message.error('核对人员未填')
1371
         this.$message.error('核对人员未填')
1364
-      }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
1372
+      } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0) {
1365
         this.$message.error('核对人员未填')
1373
         this.$message.error('核对人员未填')
1366
-      }else if(this.dialysisOrder.finish_nurse == 0){
1374
+      } else if (this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0) {
1367
         this.$message.error('下机护士未填')
1375
         this.$message.error('下机护士未填')
1368
-      }else if(this.prescription.creater == 0){
1376
+      } else if (this.prescription.creater == 0) {
1369
         this.$message.error('医生签名未填')
1377
         this.$message.error('医生签名未填')
1378
+      }else if(this.tableAdvice.length > 0){
1379
+        this.tableAdvice.map(item => {
1380
+          if(item.id > 0 && item.created_time){
1381
+            this.users.map(it => {
1382
+              if(it.id == item.advice_doctor){
1383
+                if(it.type != 2){
1384
+                  this.$message.error('存在不是医生保存的医嘱')
1385
+                }
1386
+              }else if(it.id == item.execution_staff && item.execution_staff > 0){
1387
+                if(it.type != 3){
1388
+                  this.$message.error('存在不是护士执行的医嘱')
1389
+                }
1390
+              }else if(it.id == item.checker && item.checker > 0){
1391
+                if(it.type != 3){
1392
+                  this.$message.error('存在不是护士核对的医嘱')
1393
+                }
1394
+              }
1395
+            })
1396
+          }
1397
+        })
1398
+      }else{
1399
+        this.$message.success('核对完成')
1370
       }
1400
       }
1371
     },
1401
     },
1372
     getDisplaceLiquiPart: function(val) {
1402
     getDisplaceLiquiPart: function(val) {
1536
         this.check = response.data.data.check
1566
         this.check = response.data.data.check
1537
         this.xtdate = response.data.data.xtdate
1567
         this.xtdate = response.data.data.xtdate
1538
         this.predialysis = response.data.data.PredialysisEvaluation
1568
         this.predialysis = response.data.data.PredialysisEvaluation
1539
-        console.log("透前评估",this.predialysis)
1569
+        console.log('透前评估', this.predialysis)
1540
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1570
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1541
           this.predialysis.blood_access_part_opera_id
1571
           this.predialysis.blood_access_part_opera_id
1542
         )
1572
         )
1656
         }
1686
         }
1657
 
1687
 
1658
         this.advices = response.data.data.advices
1688
         this.advices = response.data.data.advices
1659
-        console.log("医嘱数据2222222222",this.advices)
1689
+        this.tableAdvice = response.data.data.advices;
1690
+        console.log('医嘱数据2222222222', this.advices)
1660
         this.monitors = response.data.data.monitors
1691
         this.monitors = response.data.data.monitors
1661
         this.summary = response.data.data.summary
1692
         this.summary = response.data.data.summary
1662
         this.org_template_info = response.data.data.org_template_info
1693
         this.org_template_info = response.data.data.org_template_info
1985
       'hemodialysis',
2016
       'hemodialysis',
1986
       'vascular_access_desc'
2017
       'vascular_access_desc'
1987
     )
2018
     )
1988
-     this.org_id = this.$store.getters.xt_user.org.id
1989
-     console.log("=====",this.org_id)
2019
+    this.org_id = this.$store.getters.xt_user.org.id
2020
+    console.log('=====', this.org_id)
1990
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
2021
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1991
 
2022
 
1992
     var bloodAccessParOpera = getDataConfig(
2023
     var bloodAccessParOpera = getDataConfig(

+ 5 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Zobrazit soubor

1260
         this.$message.error('实际超滤量未填')
1260
         this.$message.error('实际超滤量未填')
1261
       }else if(this.summary.dialysis_summary == ""){
1261
       }else if(this.summary.dialysis_summary == ""){
1262
         this.$message.error('透析小结未填')
1262
         this.$message.error('透析小结未填')
1263
-      }else if(this.dialysisOrder.puncture_nurse == 0){
1263
+      }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1264
         this.$message.error('穿刺护士未填')
1264
         this.$message.error('穿刺护士未填')
1265
-      }else if(this.dialysisOrder.start_nurse == 0){
1265
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1266
         this.$message.error('治疗护士未填')
1266
         this.$message.error('治疗护士未填')
1267
       }else if(this.dialysisOrder == null && this.check.creater == 0){
1267
       }else if(this.dialysisOrder == null && this.check.creater == 0){
1268
         this.$message.error('核对人员未填')
1268
         this.$message.error('核对人员未填')
1272
         this.$message.error('核对人员未填')
1272
         this.$message.error('核对人员未填')
1273
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
1273
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
1274
         this.$message.error('核对人员未填')
1274
         this.$message.error('核对人员未填')
1275
-      }else if(this.dialysisOrder.finish_nurse == 0){
1275
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
1276
         this.$message.error('下机护士未填')
1276
         this.$message.error('下机护士未填')
1277
       }else if(this.prescription.prescription_doctor == 0){
1277
       }else if(this.prescription.prescription_doctor == 0){
1278
         this.$message.error('治疗医生未填')
1278
         this.$message.error('治疗医生未填')
1308
             })
1308
             })
1309
           }
1309
           }
1310
         })
1310
         })
1311
+      }else{
1312
+        this.$message.success('核对完成')
1311
       }
1313
       }
1312
     },
1314
     },
1313
     getDisplaceLiquiPart: function(val) {
1315
     getDisplaceLiquiPart: function(val) {

+ 6 - 4
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Zobrazit soubor

1388
         this.$message.error('透析器凝血未填')
1388
         this.$message.error('透析器凝血未填')
1389
       }else if(this.afterdialysis.patient_gose == 0){
1389
       }else if(this.afterdialysis.patient_gose == 0){
1390
         this.$message.error('患者去向未填')
1390
         this.$message.error('患者去向未填')
1391
-      }else if(this.dialysisOrder.start_nurse == 0){
1391
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1392
         this.$message.error('责任护士未填')
1392
         this.$message.error('责任护士未填')
1393
-      }else if(this.dialysisOrder.puncture_nurse == 0){
1393
+      }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
1394
         this.$message.error('穿刺者未填')
1394
         this.$message.error('穿刺者未填')
1395
       }else if(this.dialysisOrder == null && this.check.creater == 0){
1395
       }else if(this.dialysisOrder == null && this.check.creater == 0){
1396
         this.$message.error('核对人未填')
1396
         this.$message.error('核对人未填')
1400
         this.$message.error('核对人未填')
1400
         this.$message.error('核对人未填')
1401
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
1401
       }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse != this.check.creater && this.dialysisOrder.start_nurse != this.check.modifier && this.check.creater == 0){
1402
         this.$message.error('核对人未填')
1402
         this.$message.error('核对人未填')
1403
-      }else if(this.dialysisOrder.finish_nurse == 0){
1403
+      }else if(this.dialysisOrder == null || this.dialysisOrder.finish_nurse == 0){
1404
         this.$message.error('收针者未填')
1404
         this.$message.error('收针者未填')
1405
-      }else if(this.dialysisOrder.start_nurse == 0){
1405
+      }else if(this.dialysisOrder == null || this.dialysisOrder.start_nurse == 0){
1406
         this.$message.error('血透室护士签名未填')
1406
         this.$message.error('血透室护士签名未填')
1407
       }else if(this.prescription.mode_id == ""){
1407
       }else if(this.prescription.mode_id == ""){
1408
         this.$message.error('治疗方式未填')
1408
         this.$message.error('治疗方式未填')
1468
             })
1468
             })
1469
           }
1469
           }
1470
         })
1470
         })
1471
+      }else{
1472
+        this.$message.success('核对完成')
1471
       }
1473
       }
1472
     },
1474
     },
1473
     getIsCheckDataConfig(pName, cName, targetName) {
1475
     getIsCheckDataConfig(pName, cName, targetName) {

+ 85 - 0
src/xt_pages/outpatientTool/signPrint.vue Zobrazit soubor

1
+<template>
2
+    <div class="main-contain">
3
+        <div class="position">
4
+        <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+        <el-row style="float:right;">
6
+            <el-col :span="24">
7
+            <el-button size="small" icon="el-icon-printer" type="primary" @click="printAction">打印</el-button>
8
+            </el-col>
9
+        </el-row>
10
+        </div>
11
+        <div class="app-container" style="background-color: white;" v-show="show">
12
+            <div id="sign" class="signPrint">
13
+                <div style="display:flex;margin-bottom:10px;">
14
+                    <div style="margin-left:15px;">
15
+                        <div>C</div>
16
+                        <div>09-15</div>
17
+                        <div>09-15</div>
18
+                    </div>
19
+                    <div style="width:100px;">
20
+                        <img src="" alt="">
21
+                    </div>
22
+                </div>
23
+                <div>6821737912312983</div>
24
+                <div style="display:flex;">
25
+                    <div style="padding-left:20px;">哈顺利到家啦收到了空间</div>
26
+                    <div style="font-size:24px;">哈顺</div>
27
+                </div>
28
+            </div>
29
+        </div>
30
+    </div>
31
+</template>
32
+<script>
33
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
34
+import { getSchedualDoctors } from '@/api/advice'
35
+import { parseTime } from '@/utils'
36
+import print from 'print-js'
37
+const moment = require('moment')
38
+export default {
39
+    components:{
40
+        BreadCrumb
41
+    },
42
+    data(){
43
+        return{
44
+            crumbs: [
45
+                { path: false, name: '标签打印' },
46
+                { path: false, name: '打印' }
47
+            ],
48
+        }
49
+    },
50
+    methods:{
51
+        printAction: function() {
52
+            const style = '@media print { .sign{width:960px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 10px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 12px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 15px 5px !important;} }'
53
+
54
+            printJS({
55
+            printable: 'sign',
56
+            type: 'html',
57
+            documentTitle: '  ',
58
+            style: style,
59
+            scanStyles: false
60
+            })
61
+        },
62
+    
63
+    },
64
+    created(){
65
+    }
66
+}
67
+</script>
68
+
69
+
70
+<style rel="stylesheet/scss" lang="scss" scoped>
71
+.signPrint{
72
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
73
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
74
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
75
+    margin-bottom: 20px;
76
+    padding: 20px 10px;
77
+}
78
+.sign{
79
+    width:960px;
80
+    margin: 0 auto;
81
+    text-align: center;
82
+    border-collapse: collapse;
83
+}
84
+</style>
85
+

+ 9 - 0
src/xt_pages/user/components/PatientDetail.vue Zobrazit soubor

969
           class="order_title"
969
           class="order_title"
970
           align="center"
970
           align="center"
971
           style="margin-bottom:20px;font-size:35px"
971
           style="margin-bottom:20px;font-size:35px"
972
+          v-if="org_id != 10223"
972
         >
973
         >
973
           签到卡
974
           签到卡
974
         </div>
975
         </div>
976
+        <div
977
+          class="order_title"
978
+          align="center"
979
+          style="margin-bottom:20px;font-size:25px"
980
+          v-if="org_id == 10223"
981
+        >三优血液透析中心</div>
975
         <div align="center" style="margin-bottom:4px;font-size:25px">
982
         <div align="center" style="margin-bottom:4px;font-size:25px">
976
           姓名:<span>&nbsp;&nbsp;{{ patientPrint.name }}</span
983
           姓名:<span>&nbsp;&nbsp;{{ patientPrint.name }}</span
977
           ><br />
984
           ><br />
1072
   expense_kind: "",
1079
   expense_kind: "",
1073
   contact_name: "",
1080
   contact_name: "",
1074
   sch_remark:"",
1081
   sch_remark:"",
1082
+  org_id:0
1075
 };
1083
 };
1076
 
1084
 
1077
 export default {
1085
 export default {
1172
     }
1180
     }
1173
   },
1181
   },
1174
   created() {
1182
   created() {
1183
+    this.org_id = this.$store.getters.xt_user.org.id
1175
     this.styleOptions = this.$store.getters.patient_types;
1184
     this.styleOptions = this.$store.getters.patient_types;
1176
     // this.partitionOptions = this.$store.getters.partitions;
1185
     // this.partitionOptions = this.$store.getters.partitions;
1177
     this.maritalOptions = getDataConfig("patient", "marital_options");
1186
     this.maritalOptions = getDataConfig("patient", "marital_options");

+ 7 - 8
src/xt_pages/user/templateSummary.vue Zobrazit soubor

900
           start_time:"",
900
           start_time:"",
901
           end_time:"",
901
           end_time:"",
902
           template_plan_content:"",
902
           template_plan_content:"",
903
+          inspect_date:"",
903
         },
904
         },
904
         timeType:[
905
         timeType:[
905
           {id:1,name:"第一季度"},
906
           {id:1,name:"第一季度"},
1451
            if(response.data.state == 1){
1452
            if(response.data.state == 1){
1452
               var list = response.data.data.list
1453
               var list = response.data.data.list
1453
               var inspectlist = response.data.data.inspectlist
1454
               var inspectlist = response.data.data.inspectlist
1454
-              console.log("inspectlist2322332",list)
1455
+
1456
+              console.log("列表数据",list)
1455
               let arr = this.unique(inspectlist,'project_name')
1457
               let arr = this.unique(inspectlist,'project_name')
1456
-              console.log("hhh23h2323223223232323",arr)
1458
+              console.log("内容233323232323223",arr)
1457
               list.template_inspection_content = arr
1459
               list.template_inspection_content = arr
1458
               this.editObj = list
1460
               this.editObj = list
1459
 
1461
 
1530
               this.form.anticoagulant = list.anticoagulant
1532
               this.form.anticoagulant = list.anticoagulant
1531
               this.form.autunite = list.autunite
1533
               this.form.autunite = list.autunite
1532
               this.form.befor_pressure = list.befor_pressure
1534
               this.form.befor_pressure = list.befor_pressure
1535
+              this.projectIndate = list.inspect_date
1533
               if( list.befor_weight == 0){
1536
               if( list.befor_weight == 0){
1534
                  this.form.befor_weight = ""
1537
                  this.form.befor_weight = ""
1535
               }else{
1538
               }else{
1552
                this.form.natrium =list.natrium
1555
                this.form.natrium =list.natrium
1553
                this.form.perfusion_apparatus= list.perfusion_apparatus
1556
                this.form.perfusion_apparatus= list.perfusion_apparatus
1554
                this.form.other_count = list.other_count
1557
                this.form.other_count = list.other_count
1555
-              //  this.form.record_time = this.getTimeTwo(list.record_time)
1556
                console.log("时间232233232",list.record_time)
1558
                console.log("时间232233232",list.record_time)
1557
                if(list.template_inspection_id == 0){
1559
                if(list.template_inspection_id == 0){
1558
                   list.template_inspection_id = ""
1560
                   list.template_inspection_id = ""
1573
                }else{
1575
                }else{
1574
                  this.form.template_summary_id = list.template_summary_id
1576
                  this.form.template_summary_id = list.template_summary_id
1575
                }
1577
                }
1576
-
1577
-              //  this.projectIndate = list.inspect_date
1578
                this.projectStr = list.project_id
1578
                this.projectStr = list.project_id
1579
            }
1579
            }
1580
         })
1580
         })
1633
             befor_weight:this.form.befor_weight.toString(),
1633
             befor_weight:this.form.befor_weight.toString(),
1634
             after_weight:this.form.after_weight.toString(),
1634
             after_weight:this.form.after_weight.toString(),
1635
             befor_pressure:this.form.befor_pressure,
1635
             befor_pressure:this.form.befor_pressure,
1636
-            // template_summary_content:this.form.template_summary_content,
1637
-            // template_plan_content:this.form.template_plan_content,
1638
             template_plan_content:"",
1636
             template_plan_content:"",
1639
             template_summary_content:this.$refs.edit_neditor.content,
1637
             template_summary_content:this.$refs.edit_neditor.content,
1640
             admin_user_id:this.form.admin_user_id,
1638
             admin_user_id:this.form.admin_user_id,
1648
             inspect_date:this.projectIndate,
1646
             inspect_date:this.projectIndate,
1649
          }
1647
          }
1650
          console.log("parawm232323223",params)
1648
          console.log("parawm232323223",params)
1651
-
1649
+        
1650
+       
1652
         UpdateTemplateSummary(params).then(response=>{
1651
         UpdateTemplateSummary(params).then(response=>{
1653
           if(response.data.state == 1){
1652
           if(response.data.state == 1){
1654
             var list = response.data.data.list
1653
             var list = response.data.data.list

+ 20 - 4
src/xt_pages/workforce/appointment.vue Zobrazit soubor

227
       UploadExcel
227
       UploadExcel
228
     },
228
     },
229
     methods: {
229
     methods: {
230
+      compare(p){ //这是比较函数
231
+        return function(m,n){
232
+            var a = m[p];
233
+            var b = n[p];
234
+            return a - b; //升序
235
+        }
236
+      },
230
       // printTable(){
237
       // printTable(){
231
       //   this.$router.push({path: '/scheduleTablePrint?partition_id='+this.partition_id+"&weekTime="+this.activeName})
238
       //   this.$router.push({path: '/scheduleTablePrint?partition_id='+this.partition_id+"&weekTime="+this.activeName})
232
       // },
239
       // },
302
           })
309
           })
303
 
310
 
304
           var that = this
311
           var that = this
312
+
305
           if (partitions.length > 0) {
313
           if (partitions.length > 0) {
314
+            let arrSort = []
315
+            partitions.forEach((item) => {
316
+              let num = Math.max.apply(Math, item.jihaos.map(function(o) {return o.sort}))
317
+              item.sort = num
318
+              arrSort.push(item)
319
+            })
320
+            arrSort.sort(this.compare('sort'))
321
+            partitions = arrSort
306
             partitions.forEach(function(partition) {
322
             partitions.forEach(function(partition) {
307
               if (partition.jihaos.length == 0) {
323
               if (partition.jihaos.length == 0) {
308
                 return false
324
                 return false
466
                   total: 0
482
                   total: 0
467
                 }
483
                 }
468
                 that.scheduleZone.push(thisPa)
484
                 that.scheduleZone.push(thisPa)
469
-
470
               })
485
               })
471
             })
486
             })
472
           }
487
           }
566
               data.push(Object.values(item))
581
               data.push(Object.values(item))
567
 
582
 
568
             })
583
             })
569
-            // console.log("data",data)
584
+            console.log("data",this.$refs.tableData)
570
             
585
             
571
             const filename = '排班模版'
586
             const filename = '排班模版'
572
            
587
            
573
-            excel.export_json_to_excel({
588
+            excel.export_json_to_excel1({
574
               multiHeader,
589
               multiHeader,
575
               header,
590
               header,
576
               merges,
591
               merges,
577
               data,
592
               data,
578
-              filename
593
+              filename,
594
+              ref: this.$refs['tableData'].$refs['table'].$el
579
             })
595
             })
580
             this.downloadLoading = false
596
             this.downloadLoading = false
581
           }
597
           }

+ 36 - 3
src/xt_pages/workforce/components/tableData.vue Zobrazit soubor

122
       :data="scheduleZone"
122
       :data="scheduleZone"
123
       :span-method="objectSpanMethod"
123
       :span-method="objectSpanMethod"
124
       @cell-click="clickThis"
124
       @cell-click="clickThis"
125
+      @cell-mouse-enter="hoverMouse"
125
       :summary-method="getSummaries"
126
       :summary-method="getSummaries"
126
       show-summary
127
       show-summary
127
       :row-class-name="tableRowClassName"
128
       :row-class-name="tableRowClassName"
771
         nextTwoWeek: 0
772
         nextTwoWeek: 0
772
       },
773
       },
773
       zoneIdList:[],
774
       zoneIdList:[],
774
-      strArr:""
775
+      strArr:"",
776
+      patient_id_hover:0
775
     };
777
     };
776
   },
778
   },
777
 
779
 
1014
         return "";
1016
         return "";
1015
       } else {
1017
       } else {
1016
         if (this.weekTime == "lastWeek") {
1018
         if (this.weekTime == "lastWeek") {
1017
-          return "schedule-table-cell-disable";
1019
+          if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1020
+            return 'hover-td schedule-table-cell-disable'
1021
+          }else {
1022
+            return 'schedule-table-cell-disable'
1023
+          }
1024
+          // return "schedule-table-cell-disable";
1018
         } else if (this.weekTime == "thisWeek") {
1025
         } else if (this.weekTime == "thisWeek") {
1019
           var weekday = Math.floor((columnIndex - 2) / 3 + 1);
1026
           var weekday = Math.floor((columnIndex - 2) / 3 + 1);
1020
           if (weekday < this.weekday) {
1027
           if (weekday < this.weekday) {
1021
-            return "schedule-table-cell-disable";
1028
+            if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1029
+              return 'hover-td schedule-table-cell-disable'
1030
+            }else {
1031
+              return 'schedule-table-cell-disable'
1032
+            }
1033
+            // return "schedule-table-cell-disable";
1034
+          }else {
1035
+            if(row[column.property].patient_id > 0 && row[column.property].patient_id == this.patient_id_hover){
1036
+              return 'hover-td'
1037
+            }else {
1038
+              return ''
1039
+            }
1022
           }
1040
           }
1023
         }
1041
         }
1024
       }
1042
       }
1498
           this.creating_schedule = false;
1516
           this.creating_schedule = false;
1499
         });
1517
         });
1500
     },
1518
     },
1519
+    hoverMouse(row, column, cell, event){
1520
+      if (row[column.property].schedule_id > 0) {
1521
+        let patient_id = row[column.property].patient_id
1522
+        this.patient_id_hover = patient_id
1523
+      } else {
1524
+        this.patient_id_hover = -1
1525
+      }
1526
+    },
1501
     clickThis(row, column, cell, event) {
1527
     clickThis(row, column, cell, event) {
1502
       // debugger
1528
       // debugger
1503
       var week = this.weekDay(column.property);
1529
       var week = this.weekDay(column.property);
2363
 .el-table td {
2389
 .el-table td {
2364
   border-color: #d0d3da;
2390
   border-color: #d0d3da;
2365
 }
2391
 }
2392
+// .hover-td{
2393
+//   color: red;
2394
+// }
2366
 
2395
 
2367
 // .el-table__body tr.current-row > td {
2396
 // .el-table__body tr.current-row > td {
2368
 //   background-color: #409eff !important;
2397
 //   background-color: #409eff !important;
2380
     background-color: #409eff !important;
2409
     background-color: #409eff !important;
2381
     color: #fff;
2410
     color: #fff;
2382
   }
2411
   }
2412
+  .el-table__body tr .hover-td {
2413
+    background-color: #409eff !important;
2414
+    color: #fff;
2415
+  }
2383
 }
2416
 }
2384
 .backPurple{
2417
 .backPurple{
2385
   color: #08c3df !important;
2418
   color: #08c3df !important;

+ 0 - 1
src/xt_pages/workforce/components/template_table.vue Zobrazit soubor

370
             }
370
             }
371
           }
371
           }
372
         })
372
         })
373
-
374
         // this.$refs.table.doLayout()
373
         // this.$refs.table.doLayout()
375
       },
374
       },
376
       tableHeight(val) {
375
       tableHeight(val) {