Browse Source

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

陈少旭 1 year ago
parent
commit
8f90d8b008

+ 15 - 0
src/store/modules/globalConfig.js View File

924
         zongliang_unit: 'mg',
924
         zongliang_unit: 'mg',
925
         gaimingcheng_unit: '',
925
         gaimingcheng_unit: '',
926
         gaijiliang_unit: ''
926
         gaijiliang_unit: ''
927
+      },
928
+      16: {
929
+        id: 16,
930
+        name: '低分子量肝素钙',
931
+        type: 1,
932
+        shouji: 1,
933
+        weichi: 1,
934
+        zongliang: 1,
935
+        gaimingcheng: -1,
936
+        gaijiliang: -1,
937
+        shouji_unit: 'iu',
938
+        weichi_unit: 'iu/h',
939
+        zongliang_unit: 'iu',
940
+        gaimingcheng_unit: '',
941
+        gaijiliang_unit: ''
927
       }
942
       }
928
     },
943
     },
929
     anticoagulants_set: {
944
     anticoagulants_set: {

+ 11 - 8
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

1123
                           <span v-if="record.prescription.anticoagulant == 5"
1123
                           <span v-if="record.prescription.anticoagulant == 5"
1124
                             >&nbsp;枸橼酸钠</span
1124
                             >&nbsp;枸橼酸钠</span
1125
                           >
1125
                           >
1126
-                          <span v-if="record.prescription.anticoagulant == 6"
1126
+                          <span v-if="record.prescription.anticoagulant == 6 && org_id!=0 && org_id!=10206"
1127
                             >&nbsp;低分子肝素钙</span
1127
                             >&nbsp;低分子肝素钙</span
1128
                           >
1128
                           >
1129
+                          <span v-if="record.prescription.anticoagulant == 6 || org_id ==0 || org_id ==10206"
1130
+                            >&nbsp;低分子量肝素钙</span
1131
+                          >
1129
                           <span v-if="record.prescription.anticoagulant == 7"
1132
                           <span v-if="record.prescription.anticoagulant == 7"
1130
                             >&nbsp;低分子肝素钠</span
1133
                             >&nbsp;低分子肝素钠</span
1131
                           >
1134
                           >
1400
                             v-if="
1403
                             v-if="
1401
                              (record.prescription.mode_id == 2 ||
1404
                              (record.prescription.mode_id == 2 ||
1402
                               record.prescription.mode_id == 5 ||
1405
                               record.prescription.mode_id == 5 ||
1403
-                              record.prescription.mode_id == 12 || org_id == 0)&&org_id!=10478
1406
+                              record.prescription.mode_id == 12 || org_id == 0)&&org_id!=10478 && org_id!=10206
1404
                             "
1407
                             "
1405
                             width="50"
1408
                             width="50"
1406
                           >
1409
                           >
1613
                               (record.prescription.mode_id == 2 ||
1616
                               (record.prescription.mode_id == 2 ||
1614
                               record.prescription.mode_id == 5 ||
1617
                               record.prescription.mode_id == 5 ||
1615
                               record.prescription.mode_id == 12 || org_id == 0)
1618
                               record.prescription.mode_id == 12 || org_id == 0)
1616
-                              && org_id!=10478
1619
+                              && org_id!=10478 && org_id!=10206
1617
                             "
1620
                             "
1618
                             style="width: 50px"
1621
                             style="width: 50px"
1619
                           >
1622
                           >
1620
                             {{
1623
                             {{
1621
-                              monitor_record.displacement_quantity
1622
-                                ? monitor_record.displacement_quantity
1624
+                              monitor_record.replacement_total
1625
+                                ? monitor_record.replacement_total
1623
                                 : ""
1626
                                 : ""
1624
                             }}
1627
                             }}
1625
                           </td>
1628
                           </td>
1794
                             执行人签名
1797
                             执行人签名
1795
                           </td>
1798
                           </td>
1796
                           <td style="font-size: 16px" width="10%">时间</td>
1799
                           <td style="font-size: 16px" width="10%">时间</td>
1797
-                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375">核对护士</td>
1800
+                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375 || org_id == 0 || org_id ==10206">核对护士</td>
1798
                         </tr>
1801
                         </tr>
1799
                         <!-- <template v-for="group in doctor_advices" > -->
1802
                         <!-- <template v-for="group in doctor_advices" > -->
1800
 
1803
 
1902
                                 getTime(advice[0].execution_time, " {h}:{i}")
1905
                                 getTime(advice[0].execution_time, " {h}:{i}")
1903
                               }}</span>
1906
                               }}</span>
1904
                             </td>
1907
                             </td>
1905
-                            <td height="35px" v-if="org_id == 10375">
1908
+                            <td height="35px" v-if="org_id == 10375 || org_id ==0||org_id ==10206">
1906
                               <span
1909
                               <span
1907
                                 v-if="
1910
                                 v-if="
1908
                                   setAdminUserES(
1911
                                   setAdminUserES(
2799
                           />
2802
                           />
2800
                         </div>
2803
                         </div>
2801
                       </div>
2804
                       </div>
2802
-                      <div class="inline_block" style="flex: 1">
2805
+                      <div class="inline_block" style="flex: 1" v-if="org_id!=0&&org_id!=10206">
2803
                         治疗护士:
2806
                         治疗护士:
2804
                         <div
2807
                         <div
2805
                           class="under_line"
2808
                           class="under_line"

+ 93 - 88
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

2
   <div>
2
   <div>
3
     <el-button type="primary" @click="checkData">一键核对</el-button>
3
     <el-button type="primary" @click="checkData">一键核对</el-button>
4
     <el-button type="primary" @click="toUpload">一键上传</el-button>
4
     <el-button type="primary" @click="toUpload">一键上传</el-button>
5
-
5
+    
6
     <div id="dialysis-print-box-1"  ref="pdfContent">
6
     <div id="dialysis-print-box-1"  ref="pdfContent">
7
       <div
7
       <div
8
         id="dialysis-print-box-1-1"
8
         id="dialysis-print-box-1-1"
753
                       </div>
753
                       </div>
754
                     </div>
754
                     </div>
755
                     <div
755
                     <div
756
-
756
+                     
757
                       class="inline_block"
757
                       class="inline_block"
758
                       style="margin-left: 10px; flex: 1"
758
                       style="margin-left: 10px; flex: 1"
759
                     >
759
                     >
763
                         style="width: 70px; text-align: center"
763
                         style="width: 70px; text-align: center"
764
                       >
764
                       >
765
                         {{
765
                         {{
766
-                          prescription.displace_liqui_value
767
-                            ? prescription.displace_liqui_value
766
+                          prescription.replacement_total
767
+                            ? prescription.replacement_total
768
                             : "/"
768
                             : "/"
769
                         }}
769
                         }}
770
                       </div>
770
                       </div>
993
                       kg
993
                       kg
994
                     </div>
994
                     </div>
995
                     <div class="inline_block" style="flex: 1" v-if="org_id!=10469 && org_id!=0">
995
                     <div class="inline_block" style="flex: 1" v-if="org_id!=10469 && org_id!=0">
996
-                      计划超滤量:
996
+                      计划超滤量: 
997
                       <div
997
                       <div
998
                         class="under_line"
998
                         class="under_line"
999
                         style="width: 100px; text-align: center"
999
                         style="width: 100px; text-align: center"
1004
                             : "/"
1004
                             : "/"
1005
                         }}
1005
                         }}
1006
                       </div>
1006
                       </div>
1007
-                      <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span>
1007
+                      <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span> 
1008
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">L</span>
1008
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">L</span>
1009
                     </div>
1009
                     </div>
1010
 
1010
 
1011
 
1011
 
1012
                     <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 0">
1012
                     <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 0">
1013
-                      处方脱水量:
1013
+                      处方脱水量: 
1014
                       <div
1014
                       <div
1015
                         class="under_line"
1015
                         class="under_line"
1016
                         style="width: 100px; text-align: center"
1016
                         style="width: 100px; text-align: center"
1104
                         class="under_line"
1104
                         class="under_line"
1105
                         style="width: 150px; text-align: center"
1105
                         style="width: 150px; text-align: center"
1106
                       >
1106
                       >
1107
-                        {{
1107
+                       <span v-if="org_id != 0 && org_id !=10206"> {{
1108
                           prescription.anticoagulant_name
1108
                           prescription.anticoagulant_name
1109
                             ? prescription.anticoagulant_name
1109
                             ? prescription.anticoagulant_name
1110
                             : "/"
1110
                             : "/"
1111
                         }}
1111
                         }}
1112
+                        </span>
1113
+                        <span v-if="org_id == 0 || org_id == 10206">
1114
+                           <span v-if="prescription.anticoagulant_name== '低分子肝素钙'">低分子量肝素钙</span>
1115
+                           <span v-if="prescription.anticoagulant_name!= '低分子肝素钙'">{{prescription.anticoagulant_name}}</span>
1116
+                        </span>
1112
                       </div>
1117
                       </div>
1113
                     </div>
1118
                     </div>
1114
                     <div
1119
                     <div
1127
                             : "/"
1132
                             : "/"
1128
                         }}
1133
                         }}
1129
                       </div>
1134
                       </div>
1130
-
1135
+                     
1131
                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">
1136
                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">
1132
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1137
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1133
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1138
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1147
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1152
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1148
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1153
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1149
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1154
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1150
-
1155
+                    
1151
                     </span>
1156
                     </span>
1152
                     </div>
1157
                     </div>
1153
                     <div class="inline_block" style="margin-left: 20px">
1158
                     <div class="inline_block" style="margin-left: 20px">
1303
                         }}
1308
                         }}
1304
                       </div>
1309
                       </div>
1305
                       <span>ml/h</span>
1310
                       <span>ml/h</span>
1306
-
1307
-
1311
+                   
1312
+                  
1308
                     </div>
1313
                     </div>
1309
                     <div
1314
                     <div
1310
                       class="inline_block"
1315
                       class="inline_block"
1323
                         }}
1328
                         }}
1324
                       </div>
1329
                       </div>
1325
                       <span>ml/h</span>
1330
                       <span>ml/h</span>
1326
-
1327
-
1331
+                   
1332
+                  
1328
                     </div>
1333
                     </div>
1329
                     <div class="inline_block" style="margin-left: 20px">
1334
                     <div class="inline_block" style="margin-left: 20px">
1330
                       碳酸氢钠流速:
1335
                       碳酸氢钠流速:
1338
                             : ""
1343
                             : ""
1339
                         }}
1344
                         }}
1340
                       </div>
1345
                       </div>
1341
-
1342
-
1346
+                     
1347
+                     
1343
                     </div>
1348
                     </div>
1344
                     <span>ml/h</span>
1349
                     <span>ml/h</span>
1345
-
1346
-
1347
-
1350
+                   
1351
+              
1352
+                  
1348
                   </div>
1353
                   </div>
1349
 
1354
 
1350
                    <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==10469 || org_id == 9671">
1355
                    <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==10469 || org_id == 9671">
1359
                       >
1364
                       >
1360
                        {{predialysis.machine_type ? predialysis.machine_type : ""}}
1365
                        {{predialysis.machine_type ? predialysis.machine_type : ""}}
1361
                       </div>
1366
                       </div>
1362
-
1367
+                    
1363
                     </div>
1368
                     </div>
1364
                     <div
1369
                     <div
1365
                       class="inline_block"
1370
                       class="inline_block"
1458
                               : "mmHg"
1463
                               : "mmHg"
1459
                           }})
1464
                           }})
1460
                         </td>
1465
                         </td>
1461
-
1466
+                        
1462
                         <td width="60" v-if="org_id == 9836">体温(°C)</td>
1467
                         <td width="60" v-if="org_id == 9836">体温(°C)</td>
1463
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1468
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1464
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1469
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1465
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1470
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1466
                         <td width="50" v-if="org_id != 10121">
1471
                         <td width="50" v-if="org_id != 10121">
1467
-                          <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490"> 电导度<br />(ms/cm)</span>
1468
-                          <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
1469
-                          <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1472
+                          <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490"> 电导度<br />(ms/cm)</span> 
1473
+                          <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span> 
1474
+                          <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span> 
1470
                         </td>
1475
                         </td>
1471
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1476
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1472
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
1477
                         <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
1473
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1478
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1474
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1479
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1475
-                        <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0" width="50">
1480
+                        <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0 && org_id!=10206" width="50">
1476
                           置换量<br />(ml)
1481
                           置换量<br />(ml)
1477
                         </td>
1482
                         </td>
1478
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1483
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1479
                         <td width="50" v-if="org_id == 9538">KT/V</td>
1484
                         <td width="50" v-if="org_id == 9538">KT/V</td>
1480
-                        <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1481
-                        <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1485
+                        <td width="50" v-if="org_id == 9919">在线尿素监测</td>  
1486
+                        <td width="50" v-if="org_id == 9671">在线尿素监测</td>  
1482
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1487
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1483
                         <td width="50" v-if="org_id == 10490 || org_id == 0">碳酸氢钠<br />(ml)</td>
1488
                         <td width="50" v-if="org_id == 10490 || org_id == 0">碳酸氢钠<br />(ml)</td>
1484
                         <td width="200">病情变化及处理</td>
1489
                         <td width="200">病情变化及处理</td>
1513
                               : ""
1518
                               : ""
1514
                             }}
1519
                             }}
1515
                           </span>
1520
                           </span>
1516
-
1521
+                          
1517
                         </td>
1522
                         </td>
1518
                         <td>
1523
                         <td>
1519
                           <span
1524
                           <span
1577
                           <span v-if="org_id==0||org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
1582
                           <span v-if="org_id==0||org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
1578
                         </td>
1583
                         </td>
1579
 
1584
 
1580
-
1585
+                      
1581
                         <td v-if="org_id == 10375 || org_id == 0"><br />
1586
                         <td v-if="org_id == 10375 || org_id == 0"><br />
1582
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1587
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1583
                         </td>
1588
                         </td>
1598
                             (prescription.mode_id == 2 ||
1603
                             (prescription.mode_id == 2 ||
1599
                             prescription.mode_id == 5 ||
1604
                             prescription.mode_id == 5 ||
1600
                             prescription.mode_id == 12)
1605
                             prescription.mode_id == 12)
1601
-                            && org_id!=0 && org_id!=10478
1606
+                            && org_id!=0 && org_id!=10478 && org_id!=10206
1602
                           "
1607
                           "
1603
                           style="width: 50px"
1608
                           style="width: 50px"
1604
                         >
1609
                         >
1648
                                 "
1653
                                 "
1649
                                 >【开始透析】
1654
                                 >【开始透析】
1650
                                 </template>
1655
                                 </template>
1651
-
1656
+                              
1652
                               {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
1657
                               {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
1653
                                 monitor.dispose
1658
                                 monitor.dispose
1654
                               }}
1659
                               }}
1888
               <span v-if="prescription.mode_id!=13">血液净化治疗记录单</span>
1893
               <span v-if="prescription.mode_id!=13">血液净化治疗记录单</span>
1889
               <span v-if="prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
1894
               <span v-if="prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
1890
              </span>
1895
              </span>
1891
-
1896
+            
1892
             </div>
1897
             </div>
1893
           </div>
1898
           </div>
1894
           <div class="row">
1899
           <div class="row">
2410
                             : "未称重"
2415
                             : "未称重"
2411
                         }}
2416
                         }}
2412
                       </span>
2417
                       </span>
2413
-
2418
+                       
2414
                       </div>
2419
                       </div>
2415
                       kg
2420
                       kg
2416
                     </div>
2421
                     </div>
2723
                       >
2728
                       >
2724
                         {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
2729
                         {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
2725
                       </div>ml
2730
                       </div>ml
2726
-
2731
+                      
2727
                     </div>
2732
                     </div>
2728
                   </div>
2733
                   </div>
2729
                 </td>
2734
                 </td>
2735
                     style="padding: 2px 0; line-height: 23px; display: flex"
2740
                     style="padding: 2px 0; line-height: 23px; display: flex"
2736
                   >
2741
                   >
2737
                    <div v-if="org_id == 0 || org_id == 10440">
2742
                    <div v-if="org_id == 0 || org_id == 10440">
2738
-
2739
-
2743
+                    
2744
+                  
2740
 
2745
 
2741
                     <div class="inline_block" style="flex: 1">
2746
                     <div class="inline_block" style="flex: 1">
2742
                       上机护士:
2747
                       上机护士:
2777
                         />
2782
                         />
2778
                       </div>
2783
                       </div>
2779
                     </div>
2784
                     </div>
2780
-
2781
-
2785
+                  
2786
+                  
2782
                   </div>
2787
                   </div>
2783
                   <div v-if="org_id!=0 && org_id!=10440">
2788
                   <div v-if="org_id!=0 && org_id!=10440">
2784
                     <div class="inline_block" style="flex: 1">
2789
                     <div class="inline_block" style="flex: 1">
2821
                       </div>
2826
                       </div>
2822
                     </div>
2827
                     </div>
2823
                   </div>
2828
                   </div>
2824
-
2829
+                   
2825
                   <div v-if="org_id==0||org_id==10440">
2830
                   <div v-if="org_id==0||org_id==10440">
2826
-
2827
-                    <div class="inline_block" style="flex: 1">
2831
+                    
2832
+                    <div class="inline_block" style="flex: 1">                 
2828
                      <div>
2833
                      <div>
2829
-                      <span>责任护士:</span>
2834
+                      <span>责任护士:</span> 
2830
                       <div
2835
                       <div
2831
                         class="under_line"
2836
                         class="under_line"
2832
                         style="width: 80px; text-align: center"
2837
                         style="width: 80px; text-align: center"
2833
-
2838
+                       
2834
                       >
2839
                       >
2835
-
2840
+                    
2836
                         <span
2841
                         <span
2837
                           style="height: 35px; display: inline-block"
2842
                           style="height: 35px; display: inline-block"
2838
                           v-if="
2843
                           v-if="
2871
 
2876
 
2872
                   </div>
2877
                   </div>
2873
 
2878
 
2874
-                  <div v-if="org_id!=0&&org_id!=10440">
2879
+                  <div v-if="org_id!=0&&org_id!=10440&&org_id!= 10206">
2875
                     <div class="inline_block" style="flex: 1">
2880
                     <div class="inline_block" style="flex: 1">
2876
-                      <span v-if="org_id==10414">责任护士:</span>
2877
-                      <span v-else>治疗护士:</span>
2878
-
2881
+                      <span v-if="org_id==10414">责任护士:</span> 
2882
+                      <span v-else>治疗护士:</span> 
2883
+                      
2879
                       <div
2884
                       <div
2880
                         class="under_line"
2885
                         class="under_line"
2881
                         style="width: 80px; text-align: center"
2886
                         style="width: 80px; text-align: center"
2914
                       </div>
2919
                       </div>
2915
                     </div>
2920
                     </div>
2916
                   </div>
2921
                   </div>
2917
-
2922
+                  
2918
 
2923
 
2919
 
2924
 
2920
                     <div class="inline_block" style="flex: 1">
2925
                     <div class="inline_block" style="flex: 1">
2921
-                      <span v-if="org_id==10387" >核对护士:</span>
2922
-                      <span v-else >核对人员:</span>
2926
+                      <span v-if="org_id==10387 || org_id ==10206 || org_id == 0" >核对护士:</span> 
2927
+                      <span v-else >核对人员:</span> 
2923
                       <div
2928
                       <div
2924
                         class="under_line"
2929
                         class="under_line"
2925
                         style="width: 80px; text-align: center"
2930
                         style="width: 80px; text-align: center"
3198
                           核对护士
3203
                           核对护士
3199
                         </td>
3204
                         </td>
3200
                       </tr>
3205
                       </tr>
3201
-
3206
+                     
3202
 
3207
 
3203
                       <tr
3208
                       <tr
3204
                         v-for="(advice, advice_index) in doctor_advices"
3209
                         v-for="(advice, advice_index) in doctor_advices"
3208
                           <span v-if="advice.start_time">
3213
                           <span v-if="advice.start_time">
3209
                             {{ getTime(advice.start_time, "{h}:{i}") }}
3214
                             {{ getTime(advice.start_time, "{h}:{i}") }}
3210
                           </span>
3215
                           </span>
3211
-
3216
+                          
3212
                         </td>
3217
                         </td>
3213
                         <td
3218
                         <td
3214
                           height="32px"
3219
                           height="32px"
3243
                             >({{ advice.remark }})</span
3248
                             >({{ advice.remark }})</span
3244
                           >
3249
                           >
3245
                         </td>
3250
                         </td>
3246
-
3251
+                    
3247
                         <td height="32px">
3252
                         <td height="32px">
3248
                           <span
3253
                           <span
3249
                             v-if="setAdminUserES(advice.advice_doctor) == ''"
3254
                             v-if="setAdminUserES(advice.advice_doctor) == ''"
3257
                             v-else
3262
                             v-else
3258
                           />
3263
                           />
3259
                         </td>
3264
                         </td>
3260
-
3265
+                      
3261
                         <td height="32px">
3266
                         <td height="32px">
3262
                           <span
3267
                           <span
3263
                             v-if="setAdminUserES(advice.execution_staff) == ''"
3268
                             v-if="setAdminUserES(advice.execution_staff) == ''"
3289
                           />
3294
                           />
3290
                         </td>
3295
                         </td>
3291
                       </tr>
3296
                       </tr>
3292
-
3297
+                     
3293
                     </tbody>
3298
                     </tbody>
3294
      </table>
3299
      </table>
3295
 
3300
 
3296
 
3301
 
3302
+    
3303
+     
3297
 
3304
 
3298
-
3299
-
3300
-
3305
+     
3301
     </div>
3306
     </div>
3302
   </div>
3307
   </div>
3303
 </template>
3308
 </template>
3444
   },
3449
   },
3445
   methods: {
3450
   methods: {
3446
     toUpload() {
3451
     toUpload() {
3447
-
3452
+         
3448
          let dom = document.getElementById("dialysis-print-box-1")
3453
          let dom = document.getElementById("dialysis-print-box-1")
3449
          //调用方法下载
3454
          //调用方法下载
3450
          html2canvas(dom, {
3455
          html2canvas(dom, {
3458
          }).then((canvas) => {
3463
          }).then((canvas) => {
3459
            //返回图片dataURL,参数:图片格式和清晰度(0-1)
3464
            //返回图片dataURL,参数:图片格式和清晰度(0-1)
3460
            var pageData = canvas.toDataURL('image/jpeg', 1.0);
3465
            var pageData = canvas.toDataURL('image/jpeg', 1.0);
3461
-
3466
+ 
3462
            //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
3467
            //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
3463
            var pdf = new jsPDF('', 'pt', 'a4');
3468
            var pdf = new jsPDF('', 'pt', 'a4');
3464
-
3469
+ 
3465
            //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
3470
            //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
3466
            //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
3471
            //  pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
3467
            pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
3472
            pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
3468
-
3473
+           
3469
            console.log("pdf222222222222222222",pdf)
3474
            console.log("pdf222222222222222222",pdf)
3470
 
3475
 
3471
            var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
3476
            var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
3473
            const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
3478
            const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
3474
            console.log("blobwoowowowwo",blob)
3479
            console.log("blobwoowowowwo",blob)
3475
            this.openPdf(blob);
3480
            this.openPdf(blob);
3476
-
3481
+           
3477
            // var data = {
3482
            // var data = {
3478
            //   name:newBase64Data,
3483
            //   name:newBase64Data,
3479
            // }
3484
            // }
3488
            //     this.openPdf(blob);
3493
            //     this.openPdf(blob);
3489
            //   }
3494
            //   }
3490
            // })
3495
            // })
3491
-
3496
+           
3492
            // this.viewPdf(newBase64Data)
3497
            // this.viewPdf(newBase64Data)
3493
            //保存到pdf,名字是stone
3498
            //保存到pdf,名字是stone
3494
            // pdf.save('stone.pdf');
3499
            // pdf.save('stone.pdf');
3495
-
3500
+          
3496
          });
3501
          });
3497
        },
3502
        },
3498
-
3503
+    
3499
      viewPdf(content) {
3504
      viewPdf(content) {
3500
        console.log("content",content);
3505
        console.log("content",content);
3501
        const blob = this.base64ToBlob(content);
3506
        const blob = this.base64ToBlob(content);
3514
            return value1 - value2
3519
            return value1 - value2
3515
        }
3520
        }
3516
      },
3521
      },
3517
-
3522
+ 
3518
      openPdf(blob) {
3523
      openPdf(blob) {
3519
        const objectUrl = URL.createObjectURL(blob);
3524
        const objectUrl = URL.createObjectURL(blob);
3520
        const a = document.createElement('a');
3525
        const a = document.createElement('a');
3530
        const bytesLength = byteCharacters.length;
3535
        const bytesLength = byteCharacters.length;
3531
        const slicesCount = Math.ceil(bytesLength / sliceSize);
3536
        const slicesCount = Math.ceil(bytesLength / sliceSize);
3532
        const byteArrays = new Array(slicesCount);
3537
        const byteArrays = new Array(slicesCount);
3533
-
3538
+ 
3534
        for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
3539
        for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
3535
          const begin = sliceIndex * sliceSize;
3540
          const begin = sliceIndex * sliceSize;
3536
          const end = Math.min(begin + sliceSize, bytesLength);
3541
          const end = Math.min(begin + sliceSize, bytesLength);
3537
-
3542
+ 
3538
          const bytes = new Array(end - begin);
3543
          const bytes = new Array(end - begin);
3539
          for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
3544
          for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
3540
            bytes[i] = byteCharacters[offset].charCodeAt(0);
3545
            bytes[i] = byteCharacters[offset].charCodeAt(0);
3541
          }
3546
          }
3542
          byteArrays[sliceIndex] = new Uint8Array(bytes);
3547
          byteArrays[sliceIndex] = new Uint8Array(bytes);
3543
        }
3548
        }
3544
-
3549
+ 
3545
        return new Blob(byteArrays, {
3550
        return new Blob(byteArrays, {
3546
          type: contentType
3551
          type: contentType
3547
        });
3552
        });
3548
      },
3553
      },
3549
-
3554
+    
3550
      UploadPdf(res) {
3555
      UploadPdf(res) {
3551
        let pdfBase64Str = res;
3556
        let pdfBase64Str = res;
3552
        let title = "上传给后端的个人报告";
3557
        let title = "上传给后端的个人报告";
4184
         for (let index = 0; index < this.doctor_advices.length; index++) {
4189
         for (let index = 0; index < this.doctor_advices.length; index++) {
4185
           this.doctor_advices[index]["isShow"] = 2;
4190
           this.doctor_advices[index]["isShow"] = 2;
4186
         }
4191
         }
4187
-
4192
+   
4188
         // if (this.doctor_advices.length > 0) {
4193
         // if (this.doctor_advices.length > 0) {
4189
         //   var group = this.newAdviceGroupObject()
4194
         //   var group = this.newAdviceGroupObject()
4190
         //   var initGroupBlock = function(group, advice) {
4195
         //   var initGroupBlock = function(group, advice) {
4265
         // }
4270
         // }
4266
 
4271
 
4267
 
4272
 
4268
-
4273
+        
4269
 
4274
 
4270
         console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4275
         console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4271
         if(this.org_id ==10515 || this.org_id == 0){
4276
         if(this.org_id ==10515 || this.org_id == 0){
4285
         });
4290
         });
4286
         this.projects = projects;
4291
         this.projects = projects;
4287
 
4292
 
4288
-
4293
+      
4289
         console.log("this.projects", this.projects);
4294
         console.log("this.projects", this.projects);
4290
 
4295
 
4291
         // var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
4296
         // var objProject = {advice_name:"",start_time:"",single_dose:"",single_dose_unit:"",}
4292
-
4297
+      
4293
         if(this.projects!=null && this.projects.length >0){
4298
         if(this.projects!=null && this.projects.length >0){
4294
            for(let i=0;i<this.projects.length;i++){
4299
            for(let i=0;i<this.projects.length;i++){
4295
              if(this.projects[i].type== 2){
4300
              if(this.projects[i].type== 2){
4296
-
4301
+            
4297
               this.projects[i].project_team_name = ""
4302
               this.projects[i].project_team_name = ""
4298
               this.projects[i].project_team_id = 0
4303
               this.projects[i].project_team_id = 0
4299
               console.log("this.projects[i].project.team",this.projects[i].project.team)
4304
               console.log("this.projects[i].project.team",this.projects[i].project.team)
4304
                 this.projects[i].single_dose = this.projects[i].single_dose
4309
                 this.projects[i].single_dose = this.projects[i].single_dose
4305
                 this.projects[i].single_dose_unit = this.projects[i].unit
4310
                 this.projects[i].single_dose_unit = this.projects[i].unit
4306
                 this.projects[i].execution_time = this.projects[i].execution_time
4311
                 this.projects[i].execution_time = this.projects[i].execution_time
4307
-                this.projects[i].execution_staff= this.projects[i].execution_staff
4312
+                this.projects[i].execution_staff= this.projects[i].execution_staff 
4308
                 this.projects[i].advice_name =  this.projects[i].team.project_team
4313
                 this.projects[i].advice_name =  this.projects[i].team.project_team
4309
                 this.projects[i].advice_doctor = this.projects[i].doctor
4314
                 this.projects[i].advice_doctor = this.projects[i].doctor
4310
-
4311
-
4315
+              
4316
+               
4312
                 this.doctor_advices.push(this.projects[i])
4317
                 this.doctor_advices.push(this.projects[i])
4313
                 // this.doctor_advices_2.push(this.project[i])
4318
                 // this.doctor_advices_2.push(this.project[i])
4314
               }else{
4319
               }else{
4318
                 this.projects[i].single_dose = this.projects[i].single_dose
4323
                 this.projects[i].single_dose = this.projects[i].single_dose
4319
                 this.projects[i].single_dose_unit = this.projects[i].unit
4324
                 this.projects[i].single_dose_unit = this.projects[i].unit
4320
                 this.projects[i].execution_time = this.projects[i].execution_time
4325
                 this.projects[i].execution_time = this.projects[i].execution_time
4321
-                this.projects[i].execution_staff= this.projects[i].execution_staff
4326
+                this.projects[i].execution_staff= this.projects[i].execution_staff 
4322
                 this.projects[i].advice_doctor = this.projects[i].doctor
4327
                 this.projects[i].advice_doctor = this.projects[i].doctor
4323
                 this.doctor_advices.push(this.projects[i])
4328
                 this.doctor_advices.push(this.projects[i])
4324
                 // this.doctor_advices_2.push(this.projects[i])
4329
                 // this.doctor_advices_2.push(this.projects[i])
4325
               }
4330
               }
4326
-
4331
+             
4327
              }
4332
              }
4328
-
4333
+             
4329
            }
4334
            }
4330
         }
4335
         }
4331
-
4336
+         
4332
         }
4337
         }
4333
-
4338
+      
4334
         console.log("时间我我我哦我我",this.doctor_advices)
4339
         console.log("时间我我我哦我我",this.doctor_advices)
4335
         if (this.doctor_advices.length <= 6) {
4340
         if (this.doctor_advices.length <= 6) {
4336
           var nl = 6;
4341
           var nl = 6;
4367
         }
4372
         }
4368
         // console.log(this.advice_groups);
4373
         // console.log(this.advice_groups);
4369
 
4374
 
4370
-
4375
+       
4371
       } else {
4376
       } else {
4372
         this.loading = false;
4377
         this.loading = false;
4373
         this.$message.error("请求数据失败");
4378
         this.$message.error("请求数据失败");
4403
     //   }
4408
     //   }
4404
     // },
4409
     // },
4405
     getAge: function(val) {
4410
     getAge: function(val) {
4406
-
4411
+     
4407
       if (val.id_card_no) {
4412
       if (val.id_card_no) {
4408
         var thisLen = val.id_card_no.length
4413
         var thisLen = val.id_card_no.length
4409
 
4414
 
4513
       "vascular_access_desc"
4518
       "vascular_access_desc"
4514
     );
4519
     );
4515
     this.org_id = this.$store.getters.xt_user.org.id;
4520
     this.org_id = this.$store.getters.xt_user.org.id;
4516
-
4521
+   
4517
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
4522
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
4518
 
4523
 
4519
     var bloodAccessParOpera = getDataConfig(
4524
     var bloodAccessParOpera = getDataConfig(

+ 2 - 2
src/xt_pages/outpatientCharges/invoicePrint.vue View File

18
           </div>
18
           </div>
19
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
19
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
20
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
20
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
21
-          <printFive v-if="org_id == 10188 " :paramsObj="invoiceParams"></printFive>
21
+          <printFive v-if="org_id == 10188 || org_id == 0" :paramsObj="invoiceParams"></printFive>
22
           <!-- <printthirteen v-if="org_id == 10188 || org_id == 0 " :paramsObj="invoiceParams"></printthirteen> -->
22
           <!-- <printthirteen v-if="org_id == 10188 || org_id == 0 " :paramsObj="invoiceParams"></printthirteen> -->
23
 <!--         <printEight v-if="org_id == 10387 || org_id == 0" :paramsObj="invoiceParams"></printEight>-->
23
 <!--         <printEight v-if="org_id == 10387 || org_id == 0" :paramsObj="invoiceParams"></printEight>-->
24
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
24
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
137
           });
137
           });
138
         }else{
138
         }else{
139
           const style =
139
           const style =
140
-            '@media print {#invoice-print{font-size:12px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar div{width:150px;}}';
140
+            '@media print {#invoice-print{font-size:15px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar div{width:150px;}}';
141
           printJS({
141
           printJS({
142
             printable: "invoice-print",
142
             printable: "invoice-print",
143
             type: "html",
143
             type: "html",

+ 13 - 13
src/xt_pages/outpatientCharges/invoiceTemplate/printFive.vue View File

2
     <div id='invoice-print'>
2
     <div id='invoice-print'>
3
         <div v-for='(i,index) in pageArr.length' :key="index">
3
         <div v-for='(i,index) in pageArr.length' :key="index">
4
             <div :style="{position: 'absolute',top:(10 + (index * 400))  + 'px',left:70+ 'px',}">{{ list.order_number }}</div>
4
             <div :style="{position: 'absolute',top:(10 + (index * 400))  + 'px',left:70+ 'px',}">{{ list.order_number }}</div>
5
+            <div :style="{position: 'absolute',top:(10 + (index * 400))  + 'px',left:400+ 'px',}">{{list.order.fa_piao_number}}</div>
5
             <div style="display:flex;justify-content: space-between;">
6
             <div style="display:flex;justify-content: space-between;">
6
                 <div :style="{position: 'absolute',top:(40 + (index * 400))  + 'px',left:80+ 'px',}"> {{ paramsObj.name }}</div>
7
                 <div :style="{position: 'absolute',top:(40 + (index * 400))  + 'px',left:80+ 'px',}"> {{ paramsObj.name }}</div>
7
             </div>
8
             </div>
44
             <div :style="{position: 'absolute',top:(315 + (index * 400))  + 'px',left:460+ 'px'}">{{ list.medfee_sumamt }}</div>
45
             <div :style="{position: 'absolute',top:(315 + (index * 400))  + 'px',left:460+ 'px'}">{{ list.medfee_sumamt }}</div>
45
             <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(330 + (index * 400))  + 'px',left:110+ 'px',width:100 + '%'}">
46
             <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(330 + (index * 400))  + 'px',left:110+ 'px',width:100 + '%'}">
46
                 <div style="display:flex;">
47
                 <div style="display:flex;">
47
-                  <div style="width:150px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
48
-                  <div style="width:150px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
48
+                  <div style="width:160px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
49
+                  <div style="width:170px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
49
                   <div style="width:150px">统筹支出:{{ list.order.hifp_pay }}</div>
50
                   <div style="width:150px">统筹支出:{{ list.order.hifp_pay }}</div>
50
-                  <div style="width:150px">大病支出:{{list.order.hifmi_pay}}</div>
51
+                  <div style="width:160px">大病支出:{{list.order.hifmi_pay}}</div>
51
 
52
 
52
                 </div>
53
                 </div>
53
                 <div style="display:flex;">
54
                 <div style="display:flex;">
54
-                  <div style="width:150px">个人账户支付:{{ list.order.acct_pay }}</div>
55
-                  <div style="width:150px">现金支出:{{ list.order.psn_cash_pay }}</div>
55
+                  <div style="width:170px">个人账户支付:{{ list.order.acct_pay }}</div>
56
+                  <div style="width:160px">现金支出:{{ list.order.psn_cash_pay }}</div>
56
                   <div style="width:150px">本次账户:0</div>
57
                   <div style="width:150px">本次账户:0</div>
57
                   <div style="width:150px">上次账户:0</div>
58
                   <div style="width:150px">上次账户:0</div>
58
                 </div>
59
                 </div>
59
               <div style="display:flex;">
60
               <div style="display:flex;">
60
-                <div style="width:150px">账户余额:{{ list.order.balc }}</div>
61
-                <div style="width:150px">其他支出:{{ list.order.oth_pay }}</div>
62
-                <div style="width:150px">大病补充保险支出:0</div>
61
+                <div style="width:170px">账户余额:{{ list.order.balc }}</div>
62
+                <div style="width:170px">其他支出:{{ list.order.oth_pay }}</div>
63
                 <div style="width:150px">民政支出:0</div>
63
                 <div style="width:150px">民政支出:0</div>
64
               </div>
64
               </div>
65
               <div style="display:flex;">
65
               <div style="display:flex;">
69
 
69
 
70
             </div>
70
             </div>
71
             <div>
71
             <div>
72
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:100+ 'px'}">{{ org_name }}</div>
73
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:360+ 'px'}">{{ paramsObj.chargeName }}</div>
74
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:520+ 'px'}">
72
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:100+ 'px'}">{{ org_name }}</div>
73
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:360+ 'px'}">{{ paramsObj.chargeName }}</div>
74
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:520+ 'px'}">
75
                     <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
75
                     <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
76
                 </div>
76
                 </div>
77
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:560+ 'px'}">
77
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:560+ 'px'}">
78
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
78
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
79
                 </div>
79
                 </div>
80
-                <div :style="{position: 'absolute',top:(390 + (index * 400))  + 'px',left:600+ 'px'}">
80
+                <div :style="{position: 'absolute',top:(405 + (index * 400))  + 'px',left:600+ 'px'}">
81
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
81
                     <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
82
                 </div>
82
                 </div>
83
             </div>
83
             </div>

+ 24 - 64
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

433
                                             <span v-else> {{ scope.row.total }}</span> -->
433
                                             <span v-else> {{ scope.row.total }}</span> -->
434
                                             <span v-if="org_id != 10206 && scope.row.type == 3 && scope.row.good_info.sum_count > 0">{{scope.row.good_info.sum_count}}</span>
434
                                             <span v-if="org_id != 10206 && scope.row.type == 3 && scope.row.good_info.sum_count > 0">{{scope.row.good_info.sum_count}}</span>
435
 <!--                                            //针对坐标系统的库存数据-->
435
 <!--                                            //针对坐标系统的库存数据-->
436
-                                            <span v-if="org_id == 10206 && scope.row.type == 3">{{scope.row.zuobiao_stock_num}}</span>
436
+                                            <span v-if="org_id == 10206 && scope.row.type == 3">{{scope.row.good_info.zuobiao_stock_num}}</span>
437
 
437
 
438
                                           </template>
438
                                           </template>
439
                                       </el-table-column>
439
                                       </el-table-column>
531
 import NextOrLastPrescription from './nextOrLastPrescription'
531
 import NextOrLastPrescription from './nextOrLastPrescription'
532
 import CallPrescription from './callPrescription'
532
 import CallPrescription from './callPrescription'
533
 import DayPrescriptionTable from '../../outpatientCharges/components/dayPrescriptionTable'
533
 import DayPrescriptionTable from '../../outpatientCharges/components/dayPrescriptionTable'
534
-import axios from 'axios'
535
 
534
 
536
 const moment = require('moment')
535
 const moment = require('moment')
537
 
536
 
538
 export default {
537
 export default {
539
   props: {
538
   props: {
540
     zuobiao_drug:Array,
539
     zuobiao_drug:Array,
540
+    zuobiao_project:Array,
541
     drugs:Array,
541
     drugs:Array,
542
     allDrugs:Array,
542
     allDrugs:Array,
543
     advices_template:Array,
543
     advices_template:Array,
574
     additionalCharges
574
     additionalCharges
575
   },
575
   },
576
   data() {
576
   data() {
577
-
578
     return {
577
     return {
579
-      zuobiao_project:[],
580
       start_time: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
578
       start_time: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
581
       end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
579
       end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
582
       register10206: [
580
       register10206: [
1624
       this.$refs.additionalCharges.hide()
1622
       this.$refs.additionalCharges.hide()
1625
 
1623
 
1626
     }, searchProjectAction() {
1624
     }, searchProjectAction() {
1625
+      console.log('~~~~',this.search_project_keyword)
1626
+      console.log('5555',this.tabProject)
1627
+      console.log('6666',this.allProject)
1627
       // console.log('4444',this.tabProject[1].first_letter.indexOf(this.search_project_keyword) != -1)
1628
       // console.log('4444',this.tabProject[1].first_letter.indexOf(this.search_project_keyword) != -1)
1628
       if (this.search_project_keyword.length == 0) {
1629
       if (this.search_project_keyword.length == 0) {
1629
         this.tabProject = this.allProject
1630
         this.tabProject = this.allProject
1630
       } else {
1631
       } else {
1631
         let arr = []
1632
         let arr = []
1632
         for (let i = 0; i < this.allProject.length; i++) {
1633
         for (let i = 0; i < this.allProject.length; i++) {
1633
-
1634
-
1635
-            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1) {
1634
+            // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1635
+            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1636
+            this.allProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1636
               arr = arr.concat(this.allProject[i])
1637
               arr = arr.concat(this.allProject[i])
1637
             }
1638
             }
1638
 
1639
 
1639
         }
1640
         }
1640
         this.tabProject = arr
1641
         this.tabProject = arr
1642
+        console.log('kkkk',this.tabProject);
1641
       }
1643
       }
1642
 
1644
 
1643
     }, searchProjectTeamAction() {
1645
     }, searchProjectTeamAction() {
1886
     },
1888
     },
1887
 
1889
 
1888
     tabclickEvent(val) {
1890
     tabclickEvent(val) {
1891
+      console.log("li3333333333333li")
1889
       for (let i = 0; i < this.prescriptions.length; i++) {
1892
       for (let i = 0; i < this.prescriptions.length; i++) {
1890
         if (this.prescriptions[i].name == val.name) {
1893
         if (this.prescriptions[i].name == val.name) {
1891
           this.prescription_id = this.prescriptions[i].id
1894
           this.prescription_id = this.prescriptions[i].id
1953
 
1956
 
1954
     },
1957
     },
1955
     setData(data, info, admin_info, doctors, department, hisPatientInfo, month_data, last_info,sick,diagnoses,patient_diagnose) {
1958
     setData(data, info, admin_info, doctors, department, hisPatientInfo, month_data, last_info,sick,diagnoses,patient_diagnose) {
1959
+      console.log("诊断23333333333333",this.diagnose)
1956
       this.sick = sick
1960
       this.sick = sick
1957
       this.diagnoses = diagnoses
1961
       this.diagnoses = diagnoses
1958
       this.department = department
1962
       this.department = department
2068
 
2072
 
2069
 
2073
 
2070
       this.diagnose = []
2074
       this.diagnose = []
2075
+      console.log("处方----------------------------------------------",info.id)
2071
       if (info.id == 0) {
2076
       if (info.id == 0) {
2072
         if (last_info.diagnosis.length == 0) {
2077
         if (last_info.diagnosis.length == 0) {
2073
           this.diagnose = []
2078
           this.diagnose = []
2119
 
2124
 
2120
       }
2125
       }
2121
 
2126
 
2127
+      // console.log("info233333333333333333333",info.id)
2128
+      // console.log("LAST_INFO2323232323WO",last_info.patient_diagnosis)
2122
       this.patient_diagnose = []
2129
       this.patient_diagnose = []
2123
       if(info.id == 0){
2130
       if(info.id == 0){
2124
         if (last_info.patient_diagnosis.length == 0) {
2131
         if (last_info.patient_diagnosis.length == 0) {
2147
           }
2154
           }
2148
 
2155
 
2149
         }
2156
         }
2157
+        console.log("hhahahahah",this.patient_diagnose)
2150
       }
2158
       }
2151
 
2159
 
2152
       this.state1 = info.sick_type
2160
       this.state1 = info.sick_type
2278
     },
2286
     },
2279
 
2287
 
2280
     moreState(tab, event) {
2288
     moreState(tab, event) {
2289
+      console.log("li222222222")
2281
       if (tab == 'more') {
2290
       if (tab == 'more') {
2282
         return false
2291
         return false
2283
       }
2292
       }
2385
           //   }
2394
           //   }
2386
           // }
2395
           // }
2387
           if (index == 1) {
2396
           if (index == 1) {
2397
+            console.log(this.prescriptions)
2388
 
2398
 
2389
             if (this.org_id != 10206 && this.org_id != 0) {
2399
             if (this.org_id != 10206 && this.org_id != 0) {
2390
               for (let i = 0; i < this.prescriptions.length; i++) {
2400
               for (let i = 0; i < this.prescriptions.length; i++) {
2464
                   this.$emit('editKeepLoad', false)
2474
                   this.$emit('editKeepLoad', false)
2465
                   return
2475
                   return
2466
                 }
2476
                 }
2477
+                console.log("2o23o23o23o2o23",this.prescriptions[i].advices[b])
2467
                 if(this.prescriptions[i].advices[b].day == NaN){
2478
                 if(this.prescriptions[i].advices[b].day == NaN){
2468
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}天数未填写`)
2479
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}天数未填写`)
2469
                   this.$emit('editKeepLoad', false)
2480
                   this.$emit('editKeepLoad', false)
2537
               'prescriptions': this.prescriptions
2548
               'prescriptions': this.prescriptions
2538
             }
2549
             }
2539
             isLoading = true
2550
             isLoading = true
2551
+            console.log('this.prescriptionsthis.prescriptions', this.prescriptions)
2552
+            console.log('this.prescriptionsthis.prescriptions', params)
2540
             let num = 0
2553
             let num = 0
2541
             // this.prescriptions.map(item => {
2554
             // this.prescriptions.map(item => {
2542
             //   if (item.advices.length > 0) {
2555
             //   if (item.advices.length > 0) {
2555
               var arr_one = []
2568
               var arr_one = []
2556
               var arr_Two = []
2569
               var arr_Two = []
2557
 
2570
 
2571
+              console.log("ooo233323233232323232",this.prescriptions)
2558
 
2572
 
2559
              //药品
2573
              //药品
2560
               for(let i=0;i<this.prescriptions.length;i++){
2574
               for(let i=0;i<this.prescriptions.length;i++){
3610
               }
3624
               }
3611
             }
3625
             }
3612
 
3626
 
3613
-
3614
             let obj = {
3627
             let obj = {
3615
               id: good_info[i].id,
3628
               id: good_info[i].id,
3616
               project_name: good_info[i].good_name,
3629
               project_name: good_info[i].good_name,
3635
             }
3648
             }
3636
             this.tabProject.push(obj)
3649
             this.tabProject.push(obj)
3637
           }
3650
           }
3638
-
3639
-
3640
           //跟坐标数据进行匹配,如果bbx01相等的话则,替换库存数量
3651
           //跟坐标数据进行匹配,如果bbx01相等的话则,替换库存数量
3641
-          if(this.org_id == 10206) {
3652
+          if(this.org_id == 10206 ) {
3642
             for (let i = 0; i < this.zuobiao_project.length; i++) {
3653
             for (let i = 0; i < this.zuobiao_project.length; i++) {
3643
               for (let b = 0; b < this.tabProject.length; b++) {
3654
               for (let b = 0; b < this.tabProject.length; b++) {
3644
                 if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01){
3655
                 if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01){
3810
     },
3821
     },
3811
     clearSelection() {
3822
     clearSelection() {
3812
       this.$refs.tabProjectTeam.clearSelection()
3823
       this.$refs.tabProjectTeam.clearSelection()
3813
-    },getstock(){
3814
-      if(this.org_id == 10206){
3815
-        var that = this
3816
-        axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/querystock', {
3817
-
3818
-        })
3819
-          .then(function(response) {
3820
-            if (response.data.state == 0) {
3821
-              that.$message.error(response.data.msg)
3822
-              that.loadingtwo = false
3823
-              return false
3824
-            } else {
3825
-              if (response.data.data.failed_code == -10) {
3826
-                that.$confirm(response.data.data.msg, '医保错误信息', {
3827
-                  confirmButtonText: '确 定',
3828
-                  type: 'warning'
3829
-                }).then(() => {
3830
-
3831
-                }).catch(() => {
3832
-                })
3833
-
3834
-              } else {
3835
-                that.zuobiao_project  = response.data.data.project
3836
-              }
3837
-            }
3838
-          })
3839
-          .catch(function(error) {
3840
-          })
3841
-      }
3842
-
3843
-
3844
-    },
3824
+    }
3845
   }, mounted() {
3825
   }, mounted() {
3846
     this.request_record_date = this.record_date
3826
     this.request_record_date = this.record_date
3847
     // this.getInitData()
3827
     // this.getInitData()
3848
-    this.getstock()
3849
     //获取所有项目
3828
     //获取所有项目
3850
     this.getlist()
3829
     this.getlist()
3851
-
3852
     //获取所以项目组套
3830
     //获取所以项目组套
3853
     this.getAllProjectTeam()
3831
     this.getAllProjectTeam()
3854
 
3832
 
3859
 
3837
 
3860
   },
3838
   },
3861
   watch: {
3839
   watch: {
3862
-    // tabProject:{//深度监听,可监听到对象、数组的变化
3863
-    //   handler(val, oldVal) {
3864
-    //     if(this.org_id == 10206 ) {
3865
-    //       console.log("~~~~~~~")
3866
-    //       console.log(this.zuobiao_project)
3867
-    //       console.log(this.tabProject)
3868
-    //       for (let i = 0; i < this.zuobiao_project.length; i++) {
3869
-    //         for (let b = 0; b < this.tabProject.length; b++) {
3870
-    //           if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01){
3871
-    //             this.tabProject[b].zuobiao_stock_num = this.zuobiao_project[i].lsqty
3872
-    //           }
3873
-    //         }
3874
-    //       }
3875
-    //       console.log(this.tabProject)
3876
-    //
3877
-    //     }
3878
-    //   },
3879
-    //   deep: true
3880
-    // },
3840
+
3881
     fullHeight(val) {
3841
     fullHeight(val) {
3882
       if (!this.timer) {
3842
       if (!this.timer) {
3883
         this.fullHeight = val
3843
         this.fullHeight = val

+ 2 - 2
src/xt_pages/workforce/components/nextTableWeeks.vue View File

683
             path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
683
             path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
684
           })
684
           })
685
           }
685
           }
686
-        if(this.org_id!=9671 && this.org_id!=9675 && this.org_id!=10340 && this.org_id !=10375 && this.org_id !=10469  && this.org_id !=0 ){
686
+        if(this.org_id!=9671 && this.org_id!=9675 && this.org_id!=10340 && this.org_id !=10375 && this.org_id !=10469){
687
           var zone = this.zone
687
           var zone = this.zone
688
         var newArr = []
688
         var newArr = []
689
         for(let i=0;i<this.zoneList.length;i++){
689
         for(let i=0;i<this.zoneList.length;i++){
701
           path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
701
           path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
702
         })
702
         })
703
         }
703
         }
704
-        else if(this.org_id==10469 || this.org_id==0){
704
+        else if(this.org_id==10469){
705
           var zone = this.zone
705
           var zone = this.zone
706
           console.log("zone23232",zone)
706
           console.log("zone23232",zone)
707
           var newArr = []
707
           var newArr = []

+ 2 - 2
src/xt_pages/workforce/components/tableWeeks.vue View File

905
             path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
905
             path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
906
           })
906
           })
907
         }
907
         }
908
-        if(this.org_id != 9671 && this.org_id != 9675 && this.org_id != 10340 && this.org_id != 0 && this.org_id!=10375 && this.org_id!=10469){
908
+        if(this.org_id != 9671 && this.org_id != 9675 && this.org_id != 10340  && this.org_id!=10375 && this.org_id!=10469){
909
           var zone = this.zone
909
           var zone = this.zone
910
           console.log("zone23232",zone)
910
           console.log("zone23232",zone)
911
           var newArr = []
911
           var newArr = []
923
           this.$router.push({
923
           this.$router.push({
924
             path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
924
             path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
925
           })
925
           })
926
-        }else if(this.org_id==10469 || this.org_id==0){
926
+        }else if(this.org_id==10469){
927
           var zone = this.zone
927
           var zone = this.zone
928
           console.log("zone23232",zone)
928
           console.log("zone23232",zone)
929
           var newArr = []
929
           var newArr = []

+ 7 - 0
src/xt_pages/workforce/remind_print_setting.vue View File

118
                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
118
                     {{main_collection.dialysissolution.anticoagulant_zongliang}}iu
119
                    </span>
119
                    </span>
120
                 </div>
120
                 </div>
121
+
122
+                <div v-if="org_id==0 || org_id ==10460">
123
+                  目标超滤量:
124
+                  <span>
125
+                   {{main_collection.prescription.target_ultrafiltration}}ml
126
+                  </span>
127
+                </div>
121
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">干体重:{{main_collection.assessmentbefor.dry_weight}}</div>
128
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">干体重:{{main_collection.assessmentbefor.dry_weight}}</div>
122
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">透前体重:{{main_collection.assessmentbefor.weight_before}}</div>
129
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">透前体重:{{main_collection.assessmentbefor.weight_before}}</div>
123
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">体重增加:{{(main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.dry_weight).toFixed(2)}}</div>
130
                 <div v-if="org_id == 10188 || org_id == 10217 || org_id == 10340 || org_id == 9671 || org_id == 9675">体重增加:{{(main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.dry_weight).toFixed(2)}}</div>