소스 검색

新分支

28169 1 년 전
부모
커밋
be33182eaa

+ 1 - 1
src/api/dialysis.js 파일 보기

537
     method:"get",
537
     method:"get",
538
     params:params,
538
     params:params,
539
   })
539
   })
540
-}
540
+}

+ 221 - 236
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue 파일 보기

80
             <div class="inline_block" v-if="org_id!=10510">
80
             <div class="inline_block" v-if="org_id!=10510">
81
               病区:
81
               病区:
82
               <div class="under_line" style="width: 70px; text-align: left">
82
               <div class="under_line" style="width: 70px; text-align: left">
83
-                {{ record.device_zone.name}}
83
+                {{record.device_zone&&record.device_zone.name}}
84
               </div>
84
               </div>
85
             </div>
85
             </div>
86
             <div class="inline_block" v-if="org_id!=10510 && org_id!=10460" style="margin-left: 10px;">
86
             <div class="inline_block" v-if="org_id!=10510 && org_id!=10460" style="margin-left: 10px;">
87
               床号:
87
               床号:
88
               <div class="under_line" style="width: 50px; text-align: center">
88
               <div class="under_line" style="width: 50px; text-align: center">
89
-                {{ record.device_number.number }}
89
+                {{ record.device_number&&record.device_number.number }}
90
               </div>
90
               </div>
91
             </div>
91
             </div>
92
             <div class="inline_block">
92
             <div class="inline_block">
93
               透析号:
93
               透析号:
94
               <div class="under_line" style="width: 70px; text-align: center">
94
               <div class="under_line" style="width: 70px; text-align: center">
95
-                {{ record.patient.dialysis_no }}
95
+                {{record.patient&& record.patient.dialysis_no }}
96
               </div>
96
               </div>
97
             </div>
97
             </div>
98
           </div>
98
           </div>
111
                   white-space: unset;
111
                   white-space: unset;
112
                 "
112
                 "
113
               >
113
               >
114
-                {{ record.patient.diagnose }}
114
+                {{record.patient&& record.patient.diagnose }}
115
               </div>
115
               </div>
116
             </div>
116
             </div>
117
             <div class="inline_block" style="flex: 1.5">
117
             <div class="inline_block" style="flex: 1.5">
407
                       <span>
407
                       <span>
408
                         {{
408
                         {{
409
                           
409
                           
410
+                            record.assessment_before_dislysis &&
411
+                            record.assessment_before_dislysis.puncture_needle_direction
412
+                              ? record.assessment_before_dislysis
413
+                                  .puncture_needle_direction
414
+                              : "/"
415
+                       
410
                         }}
416
                         }}
411
                       </span>
417
                       </span>
412
                        
418
                        
775
                           class="under_line"
781
                           class="under_line"
776
                           style="width: 100px; text-align: center"
782
                           style="width: 100px; text-align: center"
777
                         >
783
                         >
778
-                          {{
779
-                            record.prescription &&
780
-                            record.prescription.dialyzer_perfusion_apparatus
781
-                              ? record.prescription.dialyzer_perfusion_apparatus
782
-                              : ""
783
-                          }}
784
+                         
784
                           {{
785
                           {{
785
                             record.prescription &&
786
                             record.prescription &&
786
                             record.prescription.dialysis_dialyszers
787
                             record.prescription.dialysis_dialyszers
787
                               ? record.prescription.dialysis_dialyszers
788
                               ? record.prescription.dialysis_dialyszers
788
-                              : "/"
789
+                              : ""
789
                           }}
790
                           }}
791
+                         
792
+                           
793
+                        
790
                         </div>
794
                         </div>
791
                       </div>
795
                       </div>
792
                       <div class="inline_block" style="flex:1">
796
                       <div class="inline_block" style="flex:1">
804
                         </div>
808
                         </div>
805
                       </div>
809
                       </div>
806
 
810
 
807
-                      <div class="inline_block" style="flex: 1">
808
-                        透析机号
811
+                      <div class="inline_block" style="flex:1">
812
+                        滤过器
809
                         <div
813
                         <div
810
                           class="under_line"
814
                           class="under_line"
811
-                          style="width: 50px; text-align: center"
815
+                          style="width: 70px; text-align: center"
812
                         >
816
                         >
813
-                          {{
814
-                            record.dialysis_order &&
815
-                            record.dialysis_order.device_number &&
816
-                            record.dialysis_order.device_number.number.length >
817
-                              0
818
-                              ? record.dialysis_order.device_number.number
819
-                              : record.device_number.number
820
-                          }}
817
+                         {{ 
818
+                             record.prescription.dialysis_strainer?record.prescription.dialysis_strainer:"/"
819
+                           }}
821
                         </div>
820
                         </div>
822
                       </div>
821
                       </div>
823
 
822
 
823
+                    
824
+
824
                       <!-- <div class="inline_block" style="flex: 1">
825
                       <!-- <div class="inline_block" style="flex: 1">
825
                         透析机型:
826
                         透析机型:
826
                         <div
827
                         <div
936
                           </div>
937
                           </div>
937
                           kg
938
                           kg
938
                       </div>
939
                       </div>
939
-                      <div class="inline_block" style="flex: 1" >
940
-                        目标超滤量:
940
+                      <div class="inline_block" style="flex: 1" v-if="org_id ==10597">
941
+                        处方超滤量:
942
+                        <div
943
+                          class="under_line"
944
+                          style="width: 60px; text-align: center"
945
+                        >
946
+                          {{
947
+                            record.prescription &&
948
+                            record.prescription.prescription_water
949
+                              ? record.prescription.prescription_water
950
+                              : "/"
951
+                          }}
952
+                        </div>
953
+                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460">ml</span> 
954
+                         <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460">L</span>
955
+                      </div>
956
+
957
+                      <div class="inline_block" style="flex: 1" v-if="org_id ==10599">
958
+                         目标超滤量:
941
                         <div
959
                         <div
942
                           class="under_line"
960
                           class="under_line"
943
                           style="width: 60px; text-align: center"
961
                           style="width: 60px; text-align: center"
1189
                         <span v-if="record.prescription.anticoagulant == 1"
1207
                         <span v-if="record.prescription.anticoagulant == 1"
1190
                           >mg</span
1208
                           >mg</span
1191
                         >
1209
                         >
1192
-                      </div>                      
1210
+                      </div>    
1211
+                      
1212
+                      <div class="inline_block" style="flex: 1">
1213
+                        透析机号:
1214
+                        <div
1215
+                          class="under_line"
1216
+                          style="width: 50px; text-align: center"
1217
+                        >
1218
+                          {{
1219
+                            record.dialysis_order &&
1220
+                            record.dialysis_order.device_number &&
1221
+                            record.dialysis_order.device_number.number.length >
1222
+                              0
1223
+                              ? record.dialysis_order.device_number.number
1224
+                              : record.device_number.number
1225
+                          }}
1226
+                        </div>
1227
+                      </div>
1193
                     </div>
1228
                     </div>
1194
                   </td>
1229
                   </td>
1195
                 </tr>
1230
                 </tr>
1352
                                   "
1387
                                   "
1353
                                   >【开始透析】</template
1388
                                   >【开始透析】</template
1354
                                 >
1389
                                 >
1355
-                                <!-- <template
1356
-                                  v-if="
1357
-                                    record.dialysis_order &&
1358
-                                    monitor_record.operate_time ==
1359
-                                      record.dialysis_order.end_time
1360
-                                  "
1361
-                                  >【结束透析】</template
1362
-                                > -->
1363
                                 {{ monitor_record.end }}
1390
                                 {{ monitor_record.end }}
1364
                                 {{ monitor_record.symptom }} &nbsp;{{
1391
                                 {{ monitor_record.symptom }} &nbsp;{{
1365
                                   monitor_record.dispose
1392
                                   monitor_record.dispose
1412
                     </table>
1439
                     </table>
1413
                   </td>
1440
                   </td>
1414
                 </tr>
1441
                 </tr>
1415
-                <tr >
1442
+                 
1443
+                <tr>
1416
                   <td style="padding: 0; position: relative" colspan="2">
1444
                   <td style="padding: 0; position: relative" colspan="2">
1417
                     <table class="inside_table">
1445
                     <table class="inside_table">
1418
                       <tbody>
1446
                       <tbody>
1431
                             医嘱内容
1459
                             医嘱内容
1432
                           </td>
1460
                           </td>
1433
                         </tr>
1461
                         </tr>
1434
-                       
1462
+                     
1435
                         <tr style="line-height: 35px; padding: 8px 5px">
1463
                         <tr style="line-height: 35px; padding: 8px 5px">
1436
                           <td style="font-size: 16px" width="10%">时间</td>
1464
                           <td style="font-size: 16px" width="10%">时间</td>
1437
                           <td style="font-size: 16px" colspan="2" width="45%">
1465
                           <td style="font-size: 16px" colspan="2" width="45%">
1438
                             医嘱内容
1466
                             医嘱内容
1439
                           </td>
1467
                           </td>
1440
                           <td style="font-size: 16px" width="10%">医生签名</td>
1468
                           <td style="font-size: 16px" width="10%">医生签名</td>
1441
-                          <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
1442
-                          <td style="font-size: 16px" width="10%">时间</td>
1469
+                        
1443
                           <td style="font-size: 16px" width="10%">
1470
                           <td style="font-size: 16px" width="10%">
1444
                             执行人签名
1471
                             执行人签名
1445
                           </td>
1472
                           </td>
1446
-                         
1447
-                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375 || org_id == 0 || org_id ==10206">核对护士</td>
1473
+                          <td style="font-size: 16px" width="10%">时间</td>
1474
+                           <td style="font-size: 16px" width="10%">核对护士</td>
1448
                         </tr>
1475
                         </tr>
1449
-                        <!-- <template v-for="group in doctor_advices" > -->
1476
+                      
1477
+
1450
                         <template v-if="record.advices">
1478
                         <template v-if="record.advices">
1451
                           <tr
1479
                           <tr
1452
                             v-for="(advice, advice_index) in record.advices"
1480
                             v-for="(advice, advice_index) in record.advices"
1453
                             :key="advice_index"
1481
                             :key="advice_index"
1454
                           >
1482
                           >
1455
                             <td height="35px">
1483
                             <td height="35px">
1456
-                              <span v-if="advice[0].start_time">
1457
-                                {{ getTime(advice[0].start_time, "{h}:{i}") }}
1484
+                              <span v-if="advice.start_time">
1485
+                                {{ getTime(advice.start_time, "{h}:{i}") }}
1458
                               </span>
1486
                               </span>
1459
                             </td>
1487
                             </td>
1488
+
1460
                             <td
1489
                             <td
1461
                               height="35px"
1490
                               height="35px"
1462
                               colspan="2"
1491
                               colspan="2"
1463
                               class="advice-name"
1492
                               class="advice-name"
1464
                               style="padding-left: 7px"
1493
                               style="padding-left: 7px"
1465
                             >
1494
                             >
1466
-                              <span v-if="advice[0].parent_id > 0">---></span>
1467
-                              <span>{{ advice[0].advice_name }}</span>
1495
+                              <span v-if="advice.parent_id > 0">---></span>
1496
+                              <span>{{ advice.advice_name }}</span>
1497
+
1468
                               <span
1498
                               <span
1469
                                 v-if="
1499
                                 v-if="
1470
-                                  advice[0] &&
1471
-                                  advice[0].advice_desc != undefined
1500
+                                  advice &&
1501
+                                  advice.advice_desc != undefined
1472
                                 "
1502
                                 "
1473
                               >
1503
                               >
1504
+                             
1474
                               </span>
1505
                               </span>
1475
 
1506
 
1476
-                              <span v-if="advice[0].prescribing_number"
1477
-                                >&nbsp;&nbsp; {{ advice[0].prescribing_number
1478
-                                }}{{ advice[0].prescribing_number_unit }}</span
1507
+                              <span v-if="advice.prescribing_number"
1508
+                                >&nbsp;&nbsp; {{ advice.prescribing_number
1509
+                                }}{{ advice.prescribing_number_unit }}</span
1479
                               >
1510
                               >
1480
-                              <span v-if="advice[0].single_dose != 0">
1481
-                                {{ advice[0].single_dose
1482
-                                }}{{ advice[0].single_dose_unit }}</span
1511
+                              <span v-if="advice.single_dose != 0">
1512
+                                {{ advice.single_dose
1513
+                                }}{{ advice.single_dose_unit }}</span
1483
                               >
1514
                               >
1484
 
1515
 
1485
-                              <span v-if="advice[0].parent_id == 0">{{
1486
-                                advice[0].delivery_way
1516
+                              <span v-if="advice.parent_id == 0">{{
1517
+                                advice.delivery_way
1487
                               }}</span>
1518
                               }}</span>
1488
-                              <span v-if="advice[0].parent_id == 0">{{
1489
-                                advice[0].execution_frequency
1519
+                              <span v-if="advice.parent_id == 0">{{
1520
+                                advice.execution_frequency
1490
                               }}</span>
1521
                               }}</span>
1491
                               <span
1522
                               <span
1492
                                 v-if="
1523
                                 v-if="
1493
-                                  advice[0].parent_id == 0 &&
1494
-                                  advice[0].remark.length > 0
1524
+                                  advice.parent_id == 0 &&
1525
+                                  advice.remark.length > 0
1495
                                 "
1526
                                 "
1496
-                                >({{ advice[0].remark }})</span
1497
-                              ><br/>
1498
-                              <template v-if="advice[0].children.length>0">
1499
-                                <span v-if="advice[0].children.length>0">{{ advice[0].children[0].advice_name }}</span>
1500
-                                <span v-if="advice[0].children[0].prescribing_number"
1501
-                                >&nbsp;&nbsp; {{ advice[0].children[0].prescribing_number
1502
-                                }}{{ advice[0].children[0].prescribing_number_unit }}</span
1503
-                              >
1504
-                              <span v-if="advice[0].children[0].single_dose != 0">
1505
-                                {{ advice[0].children[0].single_dose
1506
-                                }}{{ advice[0].children[0].single_dose_unit }}</span
1527
+                                >({{ advice.remark }})</span
1507
                               >
1528
                               >
1508
-                              </template>
1509
                             </td>
1529
                             </td>
1510
 
1530
 
1511
                             <td height="35px">
1531
                             <td height="35px">
1512
                               <span
1532
                               <span
1513
                                 v-if="
1533
                                 v-if="
1514
-                                  setAdminUserES(advice[0], 'advice_doctor') ==
1534
+                                  setAdminUserES(advice, 'advice_doctor') ==
1515
                                   ''
1535
                                   ''
1516
                                 "
1536
                                 "
1517
                                 >{{
1537
                                 >{{
1518
-                                  getAdminUser(advice[0], "advice_doctor")
1538
+                                  getAdminUser(advice, "advice_doctor")
1519
                                 }}</span
1539
                                 }}</span
1520
                               >
1540
                               >
1521
                               <img
1541
                               <img
1522
                                 class="es-img"
1542
                                 class="es-img"
1523
                                 :src="
1543
                                 :src="
1524
-                                  setAdminUserES(advice[0], 'advice_doctor')
1544
+                                  setAdminUserES(advice, 'advice_doctor')
1525
                                 "
1545
                                 "
1526
                                 alt=""
1546
                                 alt=""
1527
                                 srcset=""
1547
                                 srcset=""
1530
                               />
1550
                               />
1531
                             </td>
1551
                             </td>
1532
 
1552
 
1533
-                            <td height="35px">
1534
-                              <span v-if="advice[0].execution_time">{{
1535
-                                getTime(advice[0].execution_time, " {h}:{i}")
1536
-                              }}</span>
1537
-                            </td>
1538
-
1539
                             <td height="35px">
1553
                             <td height="35px">
1540
                               <span
1554
                               <span
1541
                                 v-if="
1555
                                 v-if="
1542
                                   setAdminUserES(
1556
                                   setAdminUserES(
1543
-                                    advice[0],
1544
-                                    'execution_staff'
1557
+                                    advice,'execution_staff'
1545
                                   ) == ''
1558
                                   ) == ''
1546
                                 "
1559
                                 "
1547
                                 >{{
1560
                                 >{{
1548
-                                  getAdminUser(advice[0], "execution_staff")
1561
+                                  getAdminUser(advice, "execution_staff")
1549
                                 }}</span
1562
                                 }}</span
1550
                               >
1563
                               >
1551
                               <img
1564
                               <img
1552
                                 class="es-img"
1565
                                 class="es-img"
1553
                                 :src="
1566
                                 :src="
1554
-                                  setAdminUserES(advice[0], 'execution_staff')
1567
+                                  setAdminUserES(advice, 'execution_staff')
1555
                                 "
1568
                                 "
1556
                                 alt=""
1569
                                 alt=""
1557
                                 srcset=""
1570
                                 srcset=""
1559
                                 style="height: 40px"
1572
                                 style="height: 40px"
1560
                               />
1573
                               />
1561
                             </td>
1574
                             </td>
1562
-                           
1563
-                            <td height="35px" v-if="org_id == 10375 || org_id ==0||org_id ==10206">
1575
+                            <td height="35px">
1576
+                              <span v-if="advice.execution_time">{{
1577
+                                getTime(advice.execution_time, " {h}:{i}")
1578
+                              }}</span>
1579
+                            </td>
1580
+                            <td height="35px">
1564
                               <span
1581
                               <span
1565
                                 v-if="
1582
                                 v-if="
1566
                                   setAdminUserES(
1583
                                   setAdminUserES(
1567
-                                    advice[0],
1584
+                                    advice,
1568
                                     'checker'
1585
                                     'checker'
1569
                                   ) == ''
1586
                                   ) == ''
1570
                                 "
1587
                                 "
1571
                                 >{{
1588
                                 >{{
1572
-                                  getAdminUser(advice[0], "checker")
1589
+                                  getAdminUser(advice, "checker")
1573
                                 }}</span
1590
                                 }}</span
1574
                               >
1591
                               >
1575
                               <img
1592
                               <img
1576
                                 class="es-img"
1593
                                 class="es-img"
1577
                                 :src="
1594
                                 :src="
1578
-                                  setAdminUserES(advice[0], 'checker')
1595
+                                  setAdminUserES(advice, 'checker')
1579
                                 "
1596
                                 "
1580
                                 alt=""
1597
                                 alt=""
1581
                                 srcset=""
1598
                                 srcset=""
1589
                     </table>
1606
                     </table>
1590
                   </td>
1607
                   </td>
1591
                 </tr>
1608
                 </tr>
1609
+
1610
+           
1592
               </tbody>
1611
               </tbody>
1593
             </table>
1612
             </table>
1594
           </div>
1613
           </div>
1999
                       >
2018
                       >
2000
   
2019
   
2001
                         <span v-if="org_id!=10460">
2020
                         <span v-if="org_id!=10460">
2002
-                          透析中入量  (L)
2021
+                          透析中入量:
2003
                         </span>
2022
                         </span>
2004
                         <div
2023
                         <div
2005
                           class="under_line"
2024
                           class="under_line"
2611
             
2630
             
2612
             }
2631
             }
2613
           }
2632
           }
2614
-          for (const recordIndex in this.records) {
2615
-            var dlegh = 0;
2616
-            if (
2617
-              this.records[recordIndex].monitor_records &&
2618
-              this.records[recordIndex].monitor_records.length < 6
2619
-            ) {
2620
-              dlegh = 6 - this.records[recordIndex].monitor_records.length;
2621
-            } else {
2622
-              dlegh = 0;
2623
-            }
2624
-            if (dlegh > 0) {
2625
-              if (
2626
-                typeof this.records[recordIndex].monitor_records ===
2627
-                  "undefined" ||
2628
-                this.records[recordIndex].monitor_records == null
2629
-              ) {
2630
-                this.records[recordIndex].monitor_records = [];
2631
-              }
2632
-              for (let index = 0; index < dlegh; index++) {
2633
-                this.records[recordIndex].monitor_records.push([]);
2634
-              }
2635
-            }
2636
-
2637
-            this.records[recordIndex].isShowZero = false;
2638
-            if (this.records[recordIndex].patient.user_org_id == 9535) {
2639
-              this.records[recordIndex].isShowZero = true;
2640
-            }
2641
-
2642
-            var delghTwo = 0;
2643
-            if (
2644
-              this.records[recordIndex].advices &&
2645
-              this.records[recordIndex].advices.length < 12
2646
-            ) {
2647
-              delghTwo = 12 - this.records[recordIndex].advices.length;
2648
-            } else {
2649
-              delghTwo = 0;
2650
-            }
2651
-
2652
-            if (delghTwo > 0) {
2653
-              if (
2654
-                typeof this.records[recordIndex].advices === "undefined" ||
2655
-                this.records[recordIndex].advices == null
2656
-              ) {
2657
-                this.records[recordIndex].advices = [];
2658
-              }
2659
-              for (let index = 0; index < delghTwo; index++) {
2660
-                this.records[recordIndex].advices.push([]);
2661
-              }
2662
-            }
2633
+          // for (const recordIndex in this.records) {
2634
+          //   var dlegh = 0;
2635
+          //   if (
2636
+          //     this.records[recordIndex].monitor_records &&
2637
+          //     this.records[recordIndex].monitor_records.length < 6
2638
+          //   ) {
2639
+          //     dlegh = 6 - this.records[recordIndex].monitor_records.length;
2640
+          //   } else {
2641
+          //     dlegh = 0;
2642
+          //   }
2643
+          //   if (dlegh > 0) {
2644
+          //     if (
2645
+          //       typeof this.records[recordIndex].monitor_records ===
2646
+          //         "undefined" ||
2647
+          //       this.records[recordIndex].monitor_records == null
2648
+          //     ) {
2649
+          //       this.records[recordIndex].monitor_records = [];
2650
+          //     }
2651
+          //     for (let index = 0; index < dlegh; index++) {
2652
+          //       this.records[recordIndex].monitor_records.push([]);
2653
+          //     }
2654
+          //   }
2655
+
2656
+          //   this.records[recordIndex].isShowZero = false;
2657
+          //   if (this.records[recordIndex].patient.user_org_id == 9535) {
2658
+          //     this.records[recordIndex].isShowZero = true;
2659
+          //   }
2660
+
2661
+          //   // var delghTwo = 0;
2662
+          //   // if (
2663
+          //   //   this.records[recordIndex].advices &&
2664
+          //   //   this.records[recordIndex].advices.length < 12
2665
+          //   // ) {
2666
+          //   //   delghTwo = 12 - this.records[recordIndex].advices.length;
2667
+          //   // } else {
2668
+          //   //   delghTwo = 0;
2669
+          //   // }
2670
+
2671
+          //   // if (delghTwo > 0) {
2672
+          //   //   if (
2673
+          //   //     typeof this.records[recordIndex].advices === "undefined" ||
2674
+          //   //     this.records[recordIndex].advices == null
2675
+          //   //   ) {
2676
+          //   //     this.records[recordIndex].advices = [];
2677
+          //   //   }
2678
+          //   //   for (let index = 0; index < delghTwo; index++) {
2679
+          //   //     this.records[recordIndex].advices.push([]);
2680
+          //   //   }
2681
+          //   // }
2663
 
2682
 
2664
 
2683
 
2665
           
2684
           
2666
-            if(this.org_id == 10206){
2667
-              console.log("this.records[recordIndex].his_project", this.records[recordIndex].his_project)
2668
-              var delghThree = 0 
2669
-             let his_project = []
2670
-              this.records[recordIndex].his_project.map(item => {
2671
-                // if(item.type == 2){
2672
-                //   his_project.push(item)
2673
-                // }
2674
-                his_project.push(item)
2675
-              
2676
-              })
2677
-            this.records[recordIndex].his_project = his_project
2678
-              var delghThree = 0
2679
-              if (
2680
-                this.records[recordIndex].his_advices &&
2681
-                this.records[recordIndex].his_advices.length + this.records[recordIndex].his_project.length < 6
2682
-              ) {
2683
-                delghThree = 6 - (this.records[recordIndex].his_advices.length + this.records[recordIndex].his_project.length)
2684
-              } else {
2685
-                delghThree = 0
2686
-              }
2687
-
2688
-              if (delghThree > 0) {
2689
-                if (
2690
-                  typeof this.records[recordIndex].his_project === 'undefined' ||
2691
-                  this.records[recordIndex].his_project == null
2692
-                ) {
2693
-                  this.records[recordIndex].his_project = []
2694
-                }
2695
-                for (let index = 0; index < delghThree; index++) {
2696
-                  this.records[recordIndex].his_project.push([])
2697
-                }
2698
-              }
2699
-            }
2700
-
2701
-
2702
-            var childMap = {};
2703
-            for (const index in this.records[recordIndex].advices) {
2704
-              if (this.records[recordIndex].advices[index].parent_id == 0) {
2705
-                continue;
2706
-              }
2707
-              if (
2708
-                !(
2709
-                  this.records[recordIndex].advices[index].parent_id in childMap
2710
-                )
2711
-              ) {
2712
-                childMap[this.records[recordIndex].advices[index].parent_id] =
2713
-                  [];
2714
-              }
2715
-              childMap[this.records[recordIndex].advices[index].parent_id].push(
2716
-                this.records[recordIndex].advices[index]
2717
-              );
2718
-            }
2719
-
2720
-            var advices = [];
2721
-            for (const index in this.records[recordIndex].advices) {
2722
-              if (this.records[recordIndex].advices[index].parent_id > 0) {
2723
-                continue;
2724
-              }
2725
-              var item = this.records[recordIndex].advices[index];
2726
-              if (item.id in childMap) {
2727
-                item.children = childMap[item.id];
2728
-              } else {
2729
-                item.children = [];
2730
-              }
2731
-              advices.push(item);
2732
-            }
2733
-
2734
-            var leftAdvice = [];
2735
-            var rightAdvice = [];
2736
-            var adlen = advices.length;
2737
-
2738
-            var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
2739
-            for (var i = 0; i < halfLen; i++) {
2740
-              leftAdvice.push(advices[i]);
2741
-              var rightIndex = i + halfLen;
2742
-              rightAdvice.push(
2743
-                rightIndex in advices ? advices[i + halfLen] : []
2744
-              );
2745
-            }
2746
-            if (halfLen < 6) {
2747
-              var nl = 6 - leftAdvice.length;
2748
-              for (let index = 0; index < nl; index++) {
2749
-                leftAdvice.push([]);
2750
-              }
2751
-              var nl = 6 - rightAdvice.length;
2752
-              for (let index = 0; index < nl; index++) {
2753
-                rightAdvice.push([]);
2754
-              }
2755
-            }
2685
+          
2756
 
2686
 
2757
-            this.records[recordIndex].advices = [];
2758
-            for (var i = 0; i < halfLen; i++) {
2759
-              var item = [];
2760
-              item.push(leftAdvice[i]);
2761
-              item.push(rightAdvice[i]);
2762
-              this.records[recordIndex].advices.push(item);
2763
-            }
2764
-          }
2687
+          //   var childMap = {};
2688
+          //   for (const index in this.records[recordIndex].advices) {
2689
+          //     if (this.records[recordIndex].advices[index].parent_id == 0) {
2690
+          //       continue;
2691
+          //     }
2692
+          //     if (
2693
+          //       !(
2694
+          //         this.records[recordIndex].advices[index].parent_id in childMap
2695
+          //       )
2696
+          //     ) {
2697
+          //       childMap[this.records[recordIndex].advices[index].parent_id] =
2698
+          //         [];
2699
+          //     }
2700
+          //     childMap[this.records[recordIndex].advices[index].parent_id].push(
2701
+          //       this.records[recordIndex].advices[index]
2702
+          //     );
2703
+          //   }
2704
+
2705
+          //   var advices = [];
2706
+          //   for (const index in this.records[recordIndex].advices) {
2707
+          //     if (this.records[recordIndex].advices[index].parent_id > 0) {
2708
+          //       continue;
2709
+          //     }
2710
+          //     var item = this.records[recordIndex].advices[index];
2711
+          //     if (item.id in childMap) {
2712
+          //       item.children = childMap[item.id];
2713
+          //     } else {
2714
+          //       item.children = [];
2715
+          //     }
2716
+          //     advices.push(item);
2717
+          //   }
2718
+
2719
+          //   var leftAdvice = [];
2720
+          //   var rightAdvice = [];
2721
+          //   var adlen = advices.length;
2722
+
2723
+          //   var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
2724
+          //   for (var i = 0; i < halfLen; i++) {
2725
+          //     leftAdvice.push(advices[i]);
2726
+          //     var rightIndex = i + halfLen;
2727
+          //     rightAdvice.push(
2728
+          //       rightIndex in advices ? advices[i + halfLen] : []
2729
+          //     );
2730
+          //   }
2731
+          //   if (halfLen < 6) {
2732
+          //     var nl = 6 - leftAdvice.length;
2733
+          //     for (let index = 0; index < nl; index++) {
2734
+          //       leftAdvice.push([]);
2735
+          //     }
2736
+          //     var nl = 6 - rightAdvice.length;
2737
+          //     for (let index = 0; index < nl; index++) {
2738
+          //       rightAdvice.push([]);
2739
+          //     }
2740
+          //   }
2741
+
2742
+          //   this.records[recordIndex].advices = [];
2743
+          //   for (var i = 0; i < halfLen; i++) {
2744
+          //     var item = [];
2745
+          //     item.push(leftAdvice[i]);
2746
+          //     item.push(rightAdvice[i]);
2747
+          //     this.records[recordIndex].advices.push(item);
2748
+          //   }
2749
+          // }
2765
           console.log("数据我哦我我", this.records);
2750
           console.log("数据我哦我我", this.records);
2766
           // this.records.forEach(o => {
2751
           // this.records.forEach(o => {
2767
           //   console.log(o,'jj')
2752
           //   console.log(o,'jj')

+ 7 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue 파일 보기

170
         </li> -->
170
         </li> -->
171
 
171
 
172
 
172
 
173
-        <li v-if="isShow('处方脱水量')">
173
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597">
174
           <label>处方脱水量 : </label>
174
           <label>处方脱水量 : </label>
175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
177
         </li>
177
         </li>
178
 
178
 
179
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597">
180
+          <label>处方脱水量 : </label>
181
+          <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
182
+          <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>
183
+        </li>
184
+
179
        
185
        
180
         <li v-if="isShow('钾')">
186
         <li v-if="isShow('钾')">
181
           <label>钾 : </label>
187
           <label>钾 : </label>

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

17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18
             actual_ultrafiltration
18
             actual_ultrafiltration
19
           }}</span>
19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445 ||  this.$store.getters.xt_user.template_info.org_id == 10495  ) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445  &&  this.$store.getters.xt_user.template_info.org_id!= 10495"  >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445 ||  this.$store.getters.xt_user.template_info.org_id == 10495 ||  this.$store.getters.xt_user.template_info.org_id == 10597  ||  this.$store.getters.xt_user.template_info.org_id == 10599 ) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445  &&  this.$store.getters.xt_user.template_info.org_id!= 10495 &&  this.$store.getters.xt_user.template_info.org_id!= 10597  &&  this.$store.getters.xt_user.template_info.org_id!= 10599"  >L</span>
22
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

+ 6 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue 파일 보기

66
           <span class="content">{{ this.record.puncture_needle }}</span>
66
           <span class="content">{{ this.record.puncture_needle }}</span>
67
         </li>
67
         </li>
68
 
68
 
69
+        <li v-if="isShow('穿刺方向')">
70
+          <label>穿刺方向 : </label>
71
+          <span class="content">{{ this.record.puncture_needle_direction }}</span>
72
+        </li>
73
+
74
+
69
         <li v-if="isShow('穿刺点')">
75
         <li v-if="isShow('穿刺点')">
70
           <label>穿刺点 : </label>
76
           <label>穿刺点 : </label>
71
           <span class="content">{{ this.record.point_puncture }}</span>
77
           <span class="content">{{ this.record.point_puncture }}</span>

+ 27 - 4
src/xt_pages/dialysis/details/consumable/dialysisGather.vue 파일 보기

122
              
122
              
123
           <el-table-column align="center" label="透析器"  v-if="gatherSetting.dialysis_dialyszers == 1">
123
           <el-table-column align="center" label="透析器"  v-if="gatherSetting.dialysis_dialyszers == 1">
124
              <template slot-scope="scope">
124
              <template slot-scope="scope">
125
-               <span>{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
125
+               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
126
+
127
+               <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
128
+
129
+               <span v-if="scope.row.schedule_date > timenow">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
126
              </template>
130
              </template>
127
           </el-table-column>
131
           </el-table-column>
128
   
132
   
129
            <el-table-column align="center" label="灌流器"  v-if="gatherSetting.dialysis_irrigation ==1">
133
            <el-table-column align="center" label="灌流器"  v-if="gatherSetting.dialysis_irrigation ==1">
130
              <template slot-scope="scope">
134
              <template slot-scope="scope">
131
-               <span>{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
135
+
136
+               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
137
+               <span v-if="scope.row.schedule_date < timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
138
+               <span v-if="scope.row.schedule_date > timenow">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
139
+
132
              </template>
140
              </template>
133
           </el-table-column>
141
           </el-table-column>
134
   
142
   
135
           <el-table-column align="center" label="滤过器"  v-if="gatherSetting.dialysis_strainer ==1">
143
           <el-table-column align="center" label="滤过器"  v-if="gatherSetting.dialysis_strainer ==1">
136
              <template slot-scope="scope">
144
              <template slot-scope="scope">
137
-               <span>{{scope.row.dialysis_prescription.dialysis_strainer}}</span>
145
+              
146
+               <span v-if="scope.row.schedule_date == timenow">{{scope.row.dialysis_prescription.dialysis_strainer}}</span>
147
+               <span v-if="scope.row.schedule_date<timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
148
+               <span v-if="scope.row.schedule_date>timenow">{{ scope.row.dialysis_solution.dialysis_strainer }}</span>
138
              </template>
149
              </template>
139
           </el-table-column>
150
           </el-table-column>
140
 
151
 
141
 
152
 
142
           <el-table-column align="center" label="换药包/穿刺针"  v-if="gatherSetting.change_nurse ==1">
153
           <el-table-column align="center" label="换药包/穿刺针"  v-if="gatherSetting.change_nurse ==1">
143
              <template slot-scope="scope">
154
              <template slot-scope="scope">
155
+              
144
                <span v-if="(getBloodAccessOption(scope.row.dialysis_prescription.blood_access)).indexOf('导管')!=-1">1</span>
156
                <span v-if="(getBloodAccessOption(scope.row.dialysis_prescription.blood_access)).indexOf('导管')!=-1">1</span>
145
                <span v-if="(getBloodAccessOption(scope.row.dialysis_prescription.blood_access)).indexOf('导管')==-1">0</span>
157
                <span v-if="(getBloodAccessOption(scope.row.dialysis_prescription.blood_access)).indexOf('导管')==-1">0</span>
146
                 /
158
                 /
349
     import { uParseTime } from "@/utils/tools";
361
     import { uParseTime } from "@/utils/tools";
350
     import {getRemindPrintList,saveRemindPrint} from '@/api/schedule'
362
     import {getRemindPrintList,saveRemindPrint} from '@/api/schedule'
351
     import { getDataConfig } from '@/utils/data'
363
     import { getDataConfig } from '@/utils/data'
364
+    const moment = require('moment')
352
     import store from "@/store";
365
     import store from "@/store";
353
     export default {
366
     export default {
354
       components: {
367
       components: {
480
           partition_id:0,
493
           partition_id:0,
481
           zoneList:[],
494
           zoneList:[],
482
           gatherSetting:{},
495
           gatherSetting:{},
496
+          timenow:0,
483
         }
497
         }
484
       },
498
       },
485
       open(){
499
       open(){
518
         this.query.partition_id = 0
532
         this.query.partition_id = 0
519
         this.query.page = 1
533
         this.query.page = 1
520
         this.getAllZone()
534
         this.getAllZone()
521
-       
535
+        
536
+        let dateone =  moment().format('YYYY-MM-DD')//获取标准时间 //Tue Aug 16 2022 15:06:24 GMT+0800 (中国标准时间)
537
+        //方式一
538
+        let timeStampOne = Date.parse(dateone)
539
+        
540
+        var arrDateTwo = (timeStampOne/1000)-28800
541
+
542
+        console.log("时间搓2222",arrDateTwo)
543
+
544
+        this.timenow = arrDateTwo
522
        
545
        
523
        
546
        
524
       },
547
       },

+ 26 - 5
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue 파일 보기

92
                     <span v-if="item.mode_id == 35">HDF1000</span>
92
                     <span v-if="item.mode_id == 35">HDF1000</span>
93
                  </td>
93
                  </td>
94
                   <td width="100" v-if="gatherSetting.dialysis_dialyszers == 1">
94
                   <td width="100" v-if="gatherSetting.dialysis_dialyszers == 1">
95
-                    {{item.dialysis_prescription.dialysis_dialyszers}}
95
+                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_dialyszers}}</span> 
96
+                    <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
97
+                    <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_dialyszers}}</span> 
96
                   </td>
98
                   </td>
97
                   <td width="100"  v-if="gatherSetting.dialysis_irrigation ==1">
99
                   <td width="100"  v-if="gatherSetting.dialysis_irrigation ==1">
98
-                    <span>{{item.dialysis_prescription.dialysis_irrigation}}</span>
100
+                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_irrigation}}</span>
101
+
102
+                    <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
103
+
104
+                    <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_irrigation}}</span>
99
                   </td>
105
                   </td>
100
-                  <td width="100"  v-if="gatherSetting.dialysis_irrigation ==1">
101
-                    <span>{{item.dialysis_prescription.dialysis_strainer}}</span>
106
+                  <td width="100"  v-if="gatherSetting.dialysis_strainer ==1">
107
+                    <span v-if="item.schedule_date == timenow">{{item.dialysis_prescription.dialysis_strainer}}</span>
108
+
109
+                    <span v-if="item.schedule_date < timenow">{{item.dialysis_solution.dialysis_strainer}}</span>
110
+
111
+                    <span v-if="item.schedule_date > timenow">{{item.dialysis_solution.dialysis_strainer}}</span>
102
                   </td>
112
                   </td>
103
                   <td width="100"  v-if="gatherSetting.change_nurse ==1"> 
113
                   <td width="100"  v-if="gatherSetting.change_nurse ==1"> 
104
                     <span v-if="(getBloodAccessOption(item.dialysis_prescription.blood_access)).indexOf('导管')!=-1">1</span>
114
                     <span v-if="(getBloodAccessOption(item.dialysis_prescription.blood_access)).indexOf('导管')!=-1">1</span>
153
     import BreadCrumb from '@/xt_pages/components/bread-crumb'
163
     import BreadCrumb from '@/xt_pages/components/bread-crumb'
154
     import print from 'print-js'
164
     import print from 'print-js'
155
     import { getDataConfig } from '@/utils/data'
165
     import { getDataConfig } from '@/utils/data'
166
+    const moment = require('moment')
156
     export default {
167
     export default {
157
       name: 'SchedulePrint',
168
       name: 'SchedulePrint',
158
       data() {
169
       data() {
192
           total_two:0,
203
           total_two:0,
193
           total_three:0,
204
           total_three:0,
194
           org_id:'',
205
           org_id:'',
195
-          gatherSetting:{}
206
+          gatherSetting:{},
207
+          timenow:0,
196
         }
208
         }
197
       },
209
       },
198
       components: {
210
       components: {
199
         BreadCrumb
211
         BreadCrumb
200
       },
212
       },
201
       created() {
213
       created() {
214
+        let dateone =  moment().format('YYYY-MM-DD')//获取标准时间 //Tue Aug 16 2022 15:06:24 GMT+0800 (中国标准时间)
215
+        //方式一
216
+        let timeStampOne = Date.parse(dateone)
217
+        
218
+        var arrDateTwo = (timeStampOne/1000)-28800
219
+
220
+        console.log("时间搓2222",arrDateTwo)
221
+
222
+        this.timenow = arrDateTwo
202
         this.org_id = this.$store.getters.xt_user.org.id
223
         this.org_id = this.$store.getters.xt_user.org.id
203
         this.displace_liqui_part_option = this.$store.getters.displace_liqui
224
         this.displace_liqui_part_option = this.$store.getters.displace_liqui
204
         this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
225
         this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')

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

30
           <el-col :span="8" v-if="isShow('实际超滤量')">
30
           <el-col :span="8" v-if="isShow('实际超滤量')">
31
             <el-form-item
31
             <el-form-item
32
               label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
32
               label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
33
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10495 || this.$store.getters.xt_user.template_info.org_id == 10558"  >
33
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10495 || this.$store.getters.xt_user.template_info.org_id == 10558 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599"  >
34
               <el-input v-model="form.actual_ultrafiltration"></el-input>
34
               <el-input v-model="form.actual_ultrafiltration"></el-input>
35
             </el-form-item>
35
             </el-form-item>
36
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
36
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
351
         </el-col>
351
         </el-col>
352
 
352
 
353
         <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485 && org_id!=10460  && org_id!=10551">
353
         <el-col :span="8" v-if="isShow('透析中入量') && org_id!=10485 && org_id!=10460  && org_id!=10551">
354
-          <el-form-item label="透析中入量(L): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
354
+          <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
355
             <el-input v-model="form.dialysis_intakes"></el-input>
355
             <el-input v-model="form.dialysis_intakes"></el-input>
356
           </el-form-item>
356
           </el-form-item>
357
         </el-col>
357
         </el-col>
358
 
358
 
359
         <el-col :span="8" v-if="isShow('透析中入量') && (org_id==10485 || org_id ==10460)">
359
         <el-col :span="8" v-if="isShow('透析中入量') && (org_id==10485 || org_id ==10460)">
360
-          <el-form-item label="透析中入量(g): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
360
+          <el-form-item label="透析中入量: " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
361
             <el-input v-model="form.dialysis_intakes"></el-input>
361
             <el-input v-model="form.dialysis_intakes"></el-input>
362
           </el-form-item>
362
           </el-form-item>
363
         </el-col>
363
         </el-col>

+ 5 - 33
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue 파일 보기

240
           <template slot-scope="scope">
240
           <template slot-scope="scope">
241
             <el-dropdown trigger="click" v-if="scope.row.parent_id == 0">
241
             <el-dropdown trigger="click" v-if="scope.row.parent_id == 0">
242
               <span class="el-dropdown-link">
242
               <span class="el-dropdown-link">
243
-                <!-- {{ getAdviceContent(scope.row, 1)}} -->
244
-                {{ scope.row.advice_name }}
243
+                {{ getAdviceContent(scope.row, 1)}}
244
+              
245
                 <i class="el-icon-arrow-down el-icon--right"></i>
245
                 <i class="el-icon-arrow-down el-icon--right"></i>
246
               </span>
246
               </span>
247
               <el-dropdown-menu slot="dropdown">
247
               <el-dropdown-menu slot="dropdown">
254
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
254
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
255
               <span class="el-dropdown-link">
255
               <span class="el-dropdown-link">
256
                 &emsp;
256
                 &emsp;
257
-                {{ scope.row.advice_name }}
258
-                <!-- {{ getAdviceContent(scope.row, 2)}} -->
257
+              
258
+                {{ getAdviceContent(scope.row, 2)}}
259
 
259
 
260
                 <i class="el-icon-arrow-down el-icon--right"></i>
260
                 <i class="el-icon-arrow-down el-icon--right"></i>
261
               </span>
261
               </span>
2292
         }
2292
         }
2293
       },
2293
       },
2294
 
2294
 
2295
-      getAdviceContentOne(row, isChild) {
2296
-        // alert("来")
2297
-        console.log("row",row)
2298
-        let tempSingleDoseDesc = ''
2299
-        let tempDrugSpecDesc = ''
2300
-        let tempPrescribingNumberDesc = ''
2301
-
2302
-        if (row.prescribing_number) {
2303
-           tempPrescribingNumberDesc = row.prescribing_number + '' + row.prescribing_number_unit
2304
-        }
2305
-
2306
-        if(this.org_id == 10188 ){
2307
-            tempPrescribingNumberDesc = ""
2308
-        }
2309
-
2310
-        if (row.single_dose) {
2311
-          if (this.template_id != 6) {
2312
-            tempSingleDoseDesc =' 单次用量 ' + '  ' + row.single_dose + '' + row.single_dose_unit
2313
-          } else {
2314
-            tempSingleDoseDesc = row.single_dose + '' + row.single_dose_unit
2315
-          }
2316
-        }
2317
-
2318
-        if (row.advice_desc) {
2319
-          tempDrugSpecDesc = '(' + row.advice_desc + row.drug_spec_unit + ')' + " " + row.remark
2320
-        }
2321
- 
2322
-        return row.advice_name +tempDrugSpecDesc +' ' +tempPrescribingNumberDesc + tempSingleDoseDesc
2323
-      },
2295
+    
2324
       getPermission() {
2296
       getPermission() {
2325
         request
2297
         request
2326
           .get('/api/func_per/get', {
2298
           .get('/api/func_per/get', {

+ 2 - 2
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue 파일 보기

1600
         }
1600
         }
1601
       }
1601
       }
1602
 
1602
 
1603
-      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517  || this.$store.getters.xt_user.org.id == 10579){
1603
+      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517){
1604
          var date = new Date()
1604
          var date = new Date()
1605
           var year = date.getFullYear()
1605
           var year = date.getFullYear()
1606
           var month = date.getMonth() + 1
1606
           var month = date.getMonth() + 1
1749
           }
1749
           }
1750
       }
1750
       }
1751
 
1751
 
1752
-      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587){
1752
+      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597){
1753
         var date = new Date()
1753
         var date = new Date()
1754
           var year = date.getFullYear()
1754
           var year = date.getFullYear()
1755
           var month = date.getMonth() + 1
1755
           var month = date.getMonth() + 1

+ 17 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 파일 보기

301
             </el-form-item>
301
             </el-form-item>
302
           </el-col>
302
           </el-col>
303
 
303
 
304
+          <el-col :span="8" v-if="isShow('穿刺方向')">
305
+            <el-form-item label="穿刺方向: " :prop="isName('穿刺方向')">
306
+              <el-select v-model="assessmentBeforeDislysis.puncture_needle_direction">
307
+                <el-option :key="0" label="请选择" :value="0"></el-option>
308
+
309
+                <el-option v-for="item in punctureNeedleDireciton" :label="item.name" :value="item.name"
310
+                           :key="item.id"></el-option>
311
+              </el-select>
312
+            </el-form-item>
313
+          </el-col>
314
+
304
 
315
 
305
           <el-col :span="8">
316
           <el-col :span="8">
306
             <el-form-item label="针眼: " :prop="isName('针眼')"
317
             <el-form-item label="针眼: " :prop="isName('针眼')"
976
           befor_symptoms:"",
987
           befor_symptoms:"",
977
           washing_time:"",
988
           washing_time:"",
978
           warsh_count:"",
989
           warsh_count:"",
990
+          puncture_needle_direction:"",
979
         },
991
         },
980
 
992
 
981
         InnerDialogProps: {
993
         InnerDialogProps: {
1000
         catheter_evaluation_program_list:[],
1012
         catheter_evaluation_program_list:[],
1001
         skin_site_catheterization_list:[],
1013
         skin_site_catheterization_list:[],
1002
         summary:[],
1014
         summary:[],
1003
-        value2:""
1015
+        value2:"",
1016
+        punctureNeedleDireciton:[]
1004
       }
1017
       }
1005
     },
1018
     },
1006
     props: {
1019
     props: {
1845
 
1858
 
1846
       this.skin_site_catheterization_list = getDataConfig('hemodialysis','skin_site_catheterization')
1859
       this.skin_site_catheterization_list = getDataConfig('hemodialysis','skin_site_catheterization')
1847
 
1860
 
1861
+      this.punctureNeedleDireciton = getDataConfig('hemodialysis','puncture_needle_direction')
1862
+      console.log("穿刺方向",this.punctureNeedleDireciton)
1863
+
1848
       console.log("predialysis_evaluation2332323323222323",this.predialysis_evaluation)
1864
       console.log("predialysis_evaluation2332323323222323",this.predialysis_evaluation)
1849
 
1865
 
1850
       this.point_punctures = getDataConfig('hemodialysis','point_puncture')
1866
       this.point_punctures = getDataConfig('hemodialysis','point_puncture')

+ 22 - 8
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 파일 보기

2626
             } else if (schedual.schedule_type == 3) {
2626
             } else if (schedual.schedule_type == 3) {
2627
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2627
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2628
             }
2628
             }
2629
-           }else if(this.$store.getters.xt_user.org.id == 10579){
2630
-              if (schedual.schedule_type == 1) {
2631
-              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2632
-            } else if (schedual.schedule_type == 2) {
2633
-              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2634
-            } else if (schedual.schedule_type == 3) {
2635
-              this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2636
-            }
2637
            }else if(this.$store.getters.xt_user.org.id == 10440){
2629
            }else if(this.$store.getters.xt_user.org.id == 10440){
2638
               if (schedual.schedule_type == 1) {
2630
               if (schedual.schedule_type == 1) {
2639
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2631
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2699
             var hours = date.getHours()
2691
             var hours = date.getHours()
2700
             var minites = date.getMinutes()
2692
             var minites = date.getMinutes()
2701
 
2693
 
2694
+            if (month < 10) {
2695
+              month = '0' + month
2696
+            }
2697
+            if (day < 10) {
2698
+              day = '0' + day
2699
+            }
2700
+            if (hours < 10) {
2701
+              hours = '0' + hours
2702
+            }
2703
+            if (minites < 10) {
2704
+              minites = '0' + minites
2705
+            }
2706
+            this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
2707
+           }else if (this.$store.getters.xt_user.org.id == 10597){
2708
+            var date = new Date()
2709
+            var year = date.getFullYear()
2710
+            var month = date.getMonth() + 1
2711
+            var day = date.getDate()
2712
+
2713
+            var hours = date.getHours()
2714
+            var minites = date.getMinutes()
2715
+
2702
             if (month < 10) {
2716
             if (month < 10) {
2703
               month = '0' + month
2717
               month = '0' + month
2704
             }
2718
             }

+ 6 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 파일 보기

1284
                 org_id == 10395 ||
1284
                 org_id == 10395 ||
1285
                 org_id == 10375 ||
1285
                 org_id == 10375 ||
1286
                 org_id == 10480 ||
1286
                 org_id == 10480 ||
1287
-                org_id == 10551)
1287
+                org_id == 10551 ||
1288
+                org_id == 10597||
1289
+                org_id == 10599)
1288
                 && org_id!=10387
1290
                 && org_id!=10387
1289
             "
1291
             "
1290
           >
1292
           >
1345
               org_id!=10395 &&
1347
               org_id!=10395 &&
1346
               org_id!=10375 &&
1348
               org_id!=10375 &&
1347
               org_id!=10480 &&
1349
               org_id!=10480 &&
1348
-              org_id!=10551
1350
+              org_id!=10551 &&
1351
+              org_id!=10597 &&
1352
+              org_id!=10599
1349
               )
1353
               )
1350
               || org_id == 10387
1354
               || org_id == 10387
1351
             "
1355
             "

+ 53 - 19
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue 파일 보기

459
                       >
459
                       >
460
                       <span>
460
                       <span>
461
                         {{
461
                         {{
462
-
462
+                          predialysis.puncture_needle_direction
463
+                            ? predialysis.puncture_needle_direction
464
+                            : "/"
463
                         }}
465
                         }}
464
                       </span>
466
                       </span>
465
 
467
 
863
                         class="under_line"
865
                         class="under_line"
864
                         style="width: 100px; text-align: center"
866
                         style="width: 100px; text-align: center"
865
                       >
867
                       >
866
-                        {{
868
+                        <!-- {{
867
                           prescription.dialyzer_perfusion_apparatus
869
                           prescription.dialyzer_perfusion_apparatus
868
                             ? prescription.dialyzer_perfusion_apparatus
870
                             ? prescription.dialyzer_perfusion_apparatus
869
                             : ""
871
                             : ""
870
-                        }}
871
-                        <span v-if="prescription.dialyzer_perfusion_apparatus&&prescription.dialyzer_perfusion_apparatus!=''">/</span>
872
+                        }} -->
873
+                        <!-- <span v-if="prescription.dialyzer_perfusion_apparatus&&prescription.dialyzer_perfusion_apparatus!=''">/</span> -->
872
                         {{
874
                         {{
873
                           prescription.dialysis_dialyszers
875
                           prescription.dialysis_dialyszers
874
                             ? prescription.dialysis_dialyszers
876
                             ? prescription.dialysis_dialyszers
875
                             : ""
877
                             : ""
876
                         }}
878
                         }}
879
+                      
880
+                         <span v-if="prescription&&prescription.dialysis_strainer!=''"></span>
881
+                       
877
                       </div>
882
                       </div>
878
                     </div>
883
                     </div>
879
 
884
 
891
                       </div>
896
                       </div>
892
                     </div>
897
                     </div>
893
 
898
 
894
-                    <div
895
-                      class="inline_block"
896
-                      style="flex: 1"
897
-                    >
898
-                      透析机号:
899
+                    <div class="inline_block" style="flex: 1" >
900
+                      滤过器:
899
                       <div
901
                       <div
900
                         class="under_line"
902
                         class="under_line"
901
-                        style="width: 50px; text-align: center"
903
+                        style="width: 70px; text-align: center"
902
                       >
904
                       >
903
-                        {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0
904
-                        ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
905
+                      {{ 
906
+                           prescription.dialysis_strainer?
907
+                           prescription.dialysis_strainer:"/"
908
+                         }}
905
                       </div>
909
                       </div>
906
-
907
                     </div>
910
                     </div>
908
 
911
 
912
+                   
913
+
909
                   </div>
914
                   </div>
910
 
915
 
911
                   <div
916
                   <div
989
                         class="under_line"
994
                         class="under_line"
990
                         style="width: 50px; text-align: center"
995
                         style="width: 50px; text-align: center"
991
                       >
996
                       >
992
-                      {{ predialysis.weight_before > 0 && lastafterdialysis.weight_after > 0
993
-                        ? parseFloat(predialysis.weight_before - lastafterdialysis.weight_after).toFixed(2): "/"
997
+                      {{ predialysis.weight_before > 0 && predialysis.weight_after > 0
998
+                        ? parseFloat(predialysis.weight_before - predialysis.weight_after).toFixed(2): "/"
994
                       }}
999
                       }}
995
                       </div>
1000
                       </div>
996
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span>
1001
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span>
1002
+                      <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">kg</span>
1003
+                    </div>
1004
+                    <div class="inline_block" style="flex: 1" v-if="org_id == 10597">
1005
+                      处方超滤量:
1006
+                      <div
1007
+                        class="under_line"
1008
+                        style="width: 60px; text-align: center"
1009
+                      >
1010
+                        {{
1011
+                          prescription.prescription_water
1012
+                            ? prescription.prescription_water
1013
+                            : "/"
1014
+                        }}
1015
+                      </div>
1016
+                      <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span>
997
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">L</span>
1017
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">L</span>
998
                     </div>
1018
                     </div>
999
-                    <div class="inline_block" style="flex: 1">
1000
-                      目标超滤量:
1019
+                    <div class="inline_block" style="flex: 1" v-if="org_id == 10599">
1020
+                      目标超滤量:
1001
                       <div
1021
                       <div
1002
                         class="under_line"
1022
                         class="under_line"
1003
                         style="width: 60px; text-align: center"
1023
                         style="width: 60px; text-align: center"
1248
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1268
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1249
                     </span>
1269
                     </span>
1250
                     </div>
1270
                     </div>
1271
+                    <div
1272
+                      class="inline_block"
1273
+                      style="flex: 1"
1274
+                    >
1275
+                      透析机号:
1276
+                      <div
1277
+                        class="under_line"
1278
+                        style="width: 50px; text-align: center"
1279
+                      >
1280
+                        {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0
1281
+                        ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
1282
+                      </div>
1283
+
1284
+                    </div>
1251
                   </div>
1285
                   </div>
1252
 
1286
 
1253
                 </td>
1287
                 </td>
2251
                       v-if="org_id != 10223 || org_id!=10375"
2285
                       v-if="org_id != 10223 || org_id!=10375"
2252
                     >
2286
                     >
2253
                        <span v-if="org_id!=10460">
2287
                        <span v-if="org_id!=10460">
2254
-                          透析中入量(L)
2288
+                          透析中入量:
2255
                         </span>
2289
                         </span>
2256
                         <span v-if="org_id==10460">
2290
                         <span v-if="org_id==10460">
2257
-                          透析中入量(ml)
2291
+                          透析中入量:
2258
                         </span>
2292
                         </span>
2259
                       <div
2293
                       <div
2260
                         class="under_line"
2294
                         class="under_line"

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

24
   } else {
24
   } else {
25
     next()
25
     next()
26
   }
26
   }
27
-   return
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))