Selaa lähdekoodia

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

csx 2 vuotta sitten
vanhempi
commit
8e9f8fe55c
23 muutettua tiedostoa jossa 6421 lisäystä ja 606 poistoa
  1. 41 31
      src/xt_pages/Pharmacy/DrugDispensing.vue
  2. 7 4
      src/xt_pages/Pharmacy/PatientDispensing.vue
  3. 98 24
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  4. 1 1
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  5. 52 6
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  6. 9 2
      src/xt_pages/dialysis/schedualPatient.vue
  7. 3707 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue
  8. 2 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue
  9. 1905 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue
  10. 18 19
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue
  11. 2 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue
  12. 30 22
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue
  13. 52 37
      src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue
  14. 55 65
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  15. 3 3
      src/xt_pages/outpatientCharges/listPrint.vue
  16. 52 52
      src/xt_pages/outpatientCharges/statementTemplate/printFive.vue
  17. 41 33
      src/xt_pages/outpatientCharges/statementTemplate/printOne.vue
  18. 3 2
      src/xt_pages/stock/drugs/components/drugOutDetail.vue
  19. 1 0
      src/xt_pages/stock/drugs/drugStockInOrderEdit.vue
  20. 3 3
      src/xt_pages/stock/stockInOrderAdd.vue
  21. 3 2
      src/xt_pages/stock/stockInOrderEdit.vue
  22. 233 217
      src/xt_pages/user/components/PatientDetail.vue
  23. 103 79
      src/xt_pages/user/components/PatientForm.vue

+ 41 - 31
src/xt_pages/Pharmacy/DrugDispensing.vue Näytä tiedosto

@@ -114,7 +114,7 @@
114 114
       </div>
115 115
       <div class="mainRight">
116 116
         <div class="titlelist">
117
-          <!-- <div>
117
+          <div>
118 118
             班次:
119 119
             <el-select
120 120
               v-model="shift"
@@ -157,11 +157,11 @@
157 157
               >
158 158
               </el-option>
159 159
             </el-select>
160
-          </div> -->
160
+          </div>
161 161
           <div>
162
-            <!-- <el-button type="primary" @click="toExport" v-if="state == 2"
162
+            <el-button type="primary" @click="toExport" v-if="state == 2"
163 163
               >导出</el-button
164
-            > -->
164
+            >
165 165
             <!-- <el-button type="primary" @click="tt">调试</el-button>-->
166 166
             <el-button type="primary" @click="dispense" v-if="state == 1"
167 167
               >发药</el-button
@@ -173,8 +173,6 @@
173 173
 
174 174
         <el-divider></el-divider>
175 175
         <div class="right_table">
176
-          <!-- :summary-method="getSummaries"
177
-            show-summary -->
178 176
           <el-table
179 177
             ref="table_01"
180 178
             :height="tableHeight"
@@ -272,15 +270,12 @@
272 270
             </el-table-column>
273 271
           </el-table>
274 272
         </div>
275
-        <div>
276
-          <!-- :summary-method="getSummaries"
277
-            show-summarys -->
273
+        <div class="right_table">
278 274
           <el-table
279 275
             ref="table_01"
280
-            v-if="state == 2"
281 276
             :height="tableHeight"
282 277
             :data="tableData"
283
-            
278
+           
284 279
             border
285 280
             highlight-current-row
286 281
             style="width: 100%"
@@ -290,7 +285,7 @@
290 285
               color: '#606266',
291 286
             }"
292 287
             @selection-change="handleSelectionChange"
293
-            
288
+            v-if="state == 2"
294 289
           >
295 290
             <!-- <el-table-column type="selection" width="55"> </el-table-column>-->
296 291
             <el-table-column
@@ -502,21 +497,14 @@ export default {
502 497
   },
503 498
 
504 499
   methods: {
505
-    tt() {
506
-      console.log("this.state", this.state);
507
-      console.log("this.tableData", this.tableData);
508
-      console.log("this.deliveryway", this.deliveryway);
509
-    },
500
+    tt() {},
510 501
     async fun3() {
511
-      console.log("fun3");
512 502
       this.fun1().then((val) => {
513 503
         this.fun2();
514 504
       });
515 505
     },
516 506
     async fun4(tps) {
517
-      console.log("fun3", tps);
518 507
       this.fun1().then((val) => {
519
-        console.log("this.issued_drug", this.issued_drug);
520 508
         for (let i = 0; i < this.issued_drug.length; i++) {
521 509
           if (tps == this.issued_drug[i].id) {
522 510
             this.$refs.table02.setCurrentRow(this.issued_drug[i]);
@@ -528,7 +516,6 @@ export default {
528 516
     async fun5(tps) {
529 517
       console.log("fun3", tps);
530 518
       this.fun1().then((val) => {
531
-        console.log("this.issued_drug", this.waiting_drug);
532 519
         for (let i = 0; i < this.waiting_drug.length; i++) {
533 520
           if (tps == this.waiting_drug[i].id) {
534 521
             this.$refs.table01.setCurrentRow(this.waiting_drug[i]);
@@ -537,8 +524,7 @@ export default {
537 524
         }
538 525
       });
539 526
     },
540
-    getSummaries(param) {
541
-      console.log(param, "pram");
527
+    getSummaries_t1(param) {
542 528
       const { columns, data } = param;
543 529
       const sums = [];
544 530
       columns.forEach((column, index) => {
@@ -555,6 +541,22 @@ export default {
555 541
       return sums;
556 542
     },
557 543
 
544
+    getSummaries_t2(param) {
545
+      const { columns, data } = param;
546
+      const sums = [];
547
+      columns.forEach((column, index) => {
548
+        if (index === 0) {
549
+          sums[index] = "合计";
550
+          return;
551
+        }
552
+        if (index === 6) {
553
+          sums[index] = this.total;
554
+          return;
555
+        }
556
+      });
557
+      return sums;
558
+    },
559
+
558 560
     changeTimes() {
559 561
       // alert("aa")
560 562
       // this.getdruglist();
@@ -1031,11 +1033,15 @@ export default {
1031 1033
     this.getrouteofadministration();
1032 1034
     this.getgetpartitionlist();
1033 1035
   },
1034
-  updated() {
1035
-    this.$nextTick(() => {
1036
-      this.$refs["table_01"].doLayout();
1037
-    });
1038
-  },
1036
+  // updated() {
1037
+  //   this.$nextTick(() => {
1038
+  //     if (this.$refs["table_01"]) {
1039
+  //       this.$refs["table_01"].doLayout();
1040
+  //     } else if (this.$refs["table_02"]) {
1041
+  //       this.$refs["table_02"].doLayout();
1042
+  //     }
1043
+  //   });
1044
+  // },
1039 1045
 };
1040 1046
 </script>
1041 1047
 
@@ -1076,6 +1082,10 @@ export default {
1076 1082
     white-space: nowrap;
1077 1083
     color: #909399;
1078 1084
     font-size: 14px;
1085
+
1086
+    /deep/ .el-input__inner {
1087
+      font-size: 13px !important;
1088
+    }
1079 1089
   }
1080 1090
   .el-button {
1081 1091
     height: 34px;
@@ -1094,10 +1104,10 @@ export default {
1094 1104
   overflow-y: auto;
1095 1105
   overflow-x: hidden;
1096 1106
 }
1097
-.right_table {
1098
-  /deep/ .el-table--scrollable-x .el-table__body-wrapper {
1107
+/deep/ .right_table {
1108
+  .el-table__body-wrapper {
1099 1109
     overflow-y: auto;
1100
-    overflow-x: scroll;
1110
+    overflow-x: scroll !important;
1101 1111
   }
1102 1112
   // /deep/ .el-table__footer-wrapper {
1103 1113
   //   margin-top: -2px !important;

+ 7 - 4
src/xt_pages/Pharmacy/PatientDispensing.vue Näytä tiedosto

@@ -112,7 +112,7 @@
112 112
       </div>
113 113
       <div class="mainRight">
114 114
         <div class="titlelist">
115
-          <!-- <div>
115
+          <div>
116 116
             班次:
117 117
             <el-select
118 118
               v-model="shift"
@@ -141,12 +141,12 @@
141 141
               >
142 142
               </el-option>
143 143
             </el-select>
144
-          </div> -->
144
+          </div>
145 145
 
146 146
           <div>
147
-            <!-- <el-button type="primary" @click="toExport" v-if="state == 2"
147
+            <el-button type="primary" @click="toExport" v-if="state == 2"
148 148
               >导出</el-button
149
-            > -->
149
+            >
150 150
 
151 151
             <el-button type="primary" @click="dispense" v-if="state == 1"
152 152
               >发药</el-button
@@ -729,6 +729,9 @@ export default {
729 729
     white-space: nowrap;
730 730
     color: #909399;
731 731
     font-size: 14px;
732
+    /deep/ .el-input__inner {
733
+      font-size: 13px !important;
734
+    }
732 735
   }
733 736
   .el-table {
734 737
     margin-top: -13px;

+ 98 - 24
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Näytä tiedosto

@@ -462,7 +462,10 @@
462 462
                       style="padding: 2px 0; line-height: 23px; display: flex"
463 463
                     >
464 464
                       <div class="inline_block" style="flex: 1">
465
-                        透析方式:
465
+                        <span v-if="org_id == 10138 || org_id == 9675"
466
+                          >治疗模式:</span
467
+                        >
468
+                        <span v-else>透析方式:</span>
466 469
                         <div
467 470
                           class="under_line"
468 471
                           style="
@@ -1177,7 +1180,7 @@
1177 1180
                         <!-- <thead> -->
1178 1181
                         <tr>
1179 1182
                           <td
1180
-                            colspan="11"
1183
+                            colspan="14"
1181 1184
                             style="
1182 1185
                               letter-spacing: 5px;
1183 1186
                               text-align: center;
@@ -1202,8 +1205,22 @@
1202 1205
                             透析液温度(°C)
1203 1206
                           </td>
1204 1207
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
1205
-                        <td width="50" v-if="org_id != 10121 && org_id != 9675&& org_id != 0">电导度<br />(ms/cm)</td>
1206
-                        <td width="50" v-if="org_id == 10121|| org_id == 9675|| org_id == 0">SpO₂<br />(%)</td>
1208
+                          <td
1209
+                            width="50"
1210
+                            v-if="
1211
+                              org_id != 10121 && org_id != 9675 && org_id != 0
1212
+                            "
1213
+                          >
1214
+                            电导度<br />(ms/cm)
1215
+                          </td>
1216
+                          <td
1217
+                            width="50"
1218
+                            v-if="
1219
+                              org_id == 10121 || org_id == 9675 || org_id == 0
1220
+                            "
1221
+                          >
1222
+                            SpO₂<br />(%)
1223
+                          </td>
1207 1224
                           <td width="50">超滤量<br />(ml)</td>
1208 1225
                           <td
1209 1226
                             v-if="
@@ -1215,6 +1232,20 @@
1215 1232
                           >
1216 1233
                             置换量<br />(ml)
1217 1234
                           </td>
1235
+                          <td
1236
+                            width="50"
1237
+                            v-if="
1238
+                              org_id == 9919 || org_id == 9538 || org_id == 9675
1239
+                            "
1240
+                          >
1241
+                            KT/V
1242
+                          </td>
1243
+                          <td
1244
+                            width="50"
1245
+                            v-if="org_id == 9538 || org_id == 9675"
1246
+                          >
1247
+                            血容量<br />(L)
1248
+                          </td>
1218 1249
                           <td width="200">病情变化及处理</td>
1219 1250
                         </tr>
1220 1251
                         <tr
@@ -1286,20 +1317,49 @@
1286 1317
                                 : ""
1287 1318
                             }}
1288 1319
                           </td>
1289
-                          <td v-if="org_id != 10121 && org_id != 9675&& org_id != 0">
1320
+                          <td
1321
+                            v-if="
1322
+                              org_id != 10121 && org_id != 9675 && org_id != 0
1323
+                            "
1324
+                          >
1290 1325
                             {{
1291 1326
                               monitor_record.conductivity
1292 1327
                                 ? monitor_record.conductivity
1293 1328
                                 : ""
1294 1329
                             }}
1295 1330
                           </td>
1296
-                          <td v-if="org_id == 10121|| org_id == 9675|| org_id == 0">
1297
-                          {{
1298
-                            monitor_record.blood_oxygen_saturation
1299
-                              ? monitor_record.blood_oxygen_saturation
1300
-                              : ""
1301
-                          }}
1302
-                        </td>
1331
+                          <td
1332
+                            v-if="
1333
+                              org_id == 10121 || org_id == 9675 || org_id == 0
1334
+                            "
1335
+                          >
1336
+                            {{
1337
+                              monitor_record.blood_oxygen_saturation
1338
+                                ? monitor_record.blood_oxygen_saturation
1339
+                                : ""
1340
+                            }}
1341
+                          </td>
1342
+                          <td
1343
+                            v-if="
1344
+                              org_id != 9538 &&
1345
+                              org_id != 10121 &&
1346
+                              org_id != 9675 &&
1347
+                              org_id != 0
1348
+                            "
1349
+                          >
1350
+                            {{
1351
+                              monitor_record.conductivity ? monitor_record.conductivity : ""
1352
+                            }}
1353
+                          </td>
1354
+
1355
+                          <td v-if="org_id == 9538">
1356
+                            {{
1357
+                              monitor_record.sodium_concentration
1358
+                                ? monitor_record.sodium_concentration
1359
+                                : ""
1360
+                            }}
1361
+                          </td>
1362
+
1303 1363
                           <td>
1304 1364
                             <span v-if="monitor_record.operate_time">{{
1305 1365
                               monitor_record.ultrafiltration_volume
@@ -1311,9 +1371,7 @@
1311 1371
                             v-if="
1312 1372
                               record.prescription.mode_id == 2 ||
1313 1373
                               record.prescription.mode_id == 5 ||
1314
-                              (record.prescription.mode_id == 12 &&
1315
-                                monitor_record.operate_time >
1316
-                                  record.dialysis_order.end_time)
1374
+                              record.prescription.mode_id == 12
1317 1375
                             "
1318 1376
                             style="width: 50px"
1319 1377
                           >
@@ -1323,6 +1381,20 @@
1323 1381
                                 : ""
1324 1382
                             }}
1325 1383
                           </td>
1384
+                          <td
1385
+                            width="50"
1386
+                            v-if="
1387
+                              org_id == 9919 || org_id == 9538 || org_id == 9675
1388
+                            "
1389
+                          >
1390
+                            {{ monitor_record.ktv }}
1391
+                          </td>
1392
+                          <td
1393
+                            width="50"
1394
+                            v-if="org_id == 9538 || org_id == 9675"
1395
+                          >
1396
+                            {{ monitor_record.accumulated_blood_volume }}
1397
+                          </td>
1326 1398
                           <td style="line-height: 16px; padding: 0px">
1327 1399
                             <div
1328 1400
                               style="
@@ -1382,7 +1454,12 @@
1382 1454
                           <td></td>
1383 1455
                           <td></td>
1384 1456
                           <td></td>
1385
-
1457
+                          <td
1458
+                            v-if="
1459
+                              org_id == 9919 || org_id == 9538 || org_id == 9675
1460
+                            "
1461
+                          ></td>
1462
+                          <td v-if="org_id == 9538 || org_id == 9675"></td>
1386 1463
                           <td style="line-height: 16px; padding: 0px">
1387 1464
                             <div
1388 1465
                               style="
@@ -2596,7 +2673,6 @@ export default {
2596 2673
     };
2597 2674
   },
2598 2675
   created() {
2599
-    
2600 2676
     var bloodAccessParOpera = getDataConfig(
2601 2677
       "hemodialysis",
2602 2678
       "vascular_access_desc"
@@ -2616,15 +2692,15 @@ export default {
2616 2692
     this.modeOptions = this.$store.getters.treatment_mode;
2617 2693
     //   this.replacementWays = this.$store.getters.replacement_ways;
2618 2694
     //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
2619
-    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
2695
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
2620 2696
     // for(let i = 0 ; i < this.records.length ; i++){
2621 2697
     //   console.log(i,'jhk')
2622 2698
     //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2623 2699
     //   i.assessment_before_dislysis.blood_access_part_opera_id
2624 2700
     // );
2625 2701
     // }
2626
-    console.log(this.bloodAccessParOpera,'this.bloodAccessParOpera')
2627
-    
2702
+    console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
2703
+
2628 2704
     for (var key in bloodAccessParOpera) {
2629 2705
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2630 2706
         bloodAccessParOpera[key];
@@ -2651,7 +2727,6 @@ export default {
2651 2727
     //     this.$message.error("参数不齐");
2652 2728
     //     return false;
2653 2729
     //   }
2654
-    
2655 2730
   },
2656 2731
   mounted() {
2657 2732
     this.loading = true;
@@ -2664,7 +2739,6 @@ export default {
2664 2739
       .then((rs) => {
2665 2740
         var resp = rs.data;
2666 2741
         if (resp.state == 1) {
2667
-
2668 2742
           this.records = this.records.concat(resp.data.schedules);
2669 2743
 
2670 2744
           for (const recordIndex in this.records) {
@@ -2786,7 +2860,7 @@ export default {
2786 2860
           //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2787 2861
           //   o.assessment_before_dislysis.blood_access_part_opera_id)
2788 2862
           // })
2789
-          
2863
+
2790 2864
           this.operators = resp.data.medical_staffs;
2791 2865
           if (this.operators.length > 0) {
2792 2866
             var operatorsLen = this.operators.length;
@@ -2885,7 +2959,7 @@ export default {
2885 2959
       return "";
2886 2960
     },
2887 2961
     bloodAccessParOperaName(id) {
2888
-      console.log(tihs.records,'hhh')
2962
+      console.log(tihs.records, "hhh");
2889 2963
       if (id in this.bloodAccessParOpera) {
2890 2964
         return this.bloodAccessParOpera[id].name;
2891 2965
       }

+ 1 - 1
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Näytä tiedosto

@@ -1390,7 +1390,7 @@
1390 1390
             </el-form-item>
1391 1391
           </el-col>
1392 1392
 
1393
-          <el-col :span="8" v-if="isShow('累计血容量') && (template_id  != 41 && template_id !=9671 && template_id!=9538)">
1393
+          <el-col :span="8" v-if="isShow('累计血容量') && (template_id  != 41 && template_id !=9671 && org_id!=9538)">
1394 1394
             <el-form-item label="累计血容量(ml):">
1395 1395
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1396 1396
             </el-form-item>

+ 52 - 6
src/xt_pages/dialysis/dialysisPrintOrder.vue Näytä tiedosto

@@ -716,6 +716,35 @@
716 716
           >打印</el-button
717 717
         >
718 718
       </template>
719
+      <template
720
+        v-if="
721
+          org_template_info.template_id == 57
722
+        "
723
+      >
724
+        <el-button
725
+          :loading="loading"
726
+          size="small"
727
+          icon="el-icon-printer"
728
+          @click="printThisPage"
729
+          type="primary"
730
+          >打印</el-button
731
+        >
732
+      </template>
733
+      <template
734
+        v-if="
735
+          org_template_info.template_id == 58
736
+        "
737
+      >
738
+        <el-button
739
+          :loading="loading"
740
+          size="small"
741
+          icon="el-icon-printer"
742
+          @click="printThisPage"
743
+          type="primary"
744
+          >打印</el-button
745
+        >
746
+      </template>
747
+      
719 748
     </div>
720 749
     <div class="app-container" style="min-height: 0">
721 750
       <!--<div class="order-print-btn"-->
@@ -1127,6 +1156,14 @@
1127 1156
             v-if="org_template_info.template_id == 56"
1128 1157
           >
1129 1158
           </DialysisPrintOrderFiftySix>
1159
+          <DialysisPrintOrderFiftySeven
1160
+            v-bind:childResponse="childResponse"
1161
+            v-if="org_template_info.template_id == 57">
1162
+          </DialysisPrintOrderFiftySeven>
1163
+          <DialysisPrintOrderFiftyEight
1164
+            v-bind:childResponse="childResponse"
1165
+            v-if="org_template_info.template_id == 58">
1166
+          </DialysisPrintOrderFiftyEight>
1130 1167
           
1131 1168
         </div>
1132 1169
       </el-container>
@@ -1200,11 +1237,15 @@ import DialysisPrintOrderFiftyOne from "./template/DialysisPrintOrderFiftyOne";
1200 1237
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1201 1238
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1202 1239
 import DialysisPrintOrderFiftyFour from "./template/DialysisPrintOrderFiftyFour";
1203
-import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive"
1204
-import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix"
1240
+import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive";
1241
+import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix";
1242
+import DialysisPrintOrderFiftySeven from "./template/DialysisPrintOrderFiftySeven";
1243
+import DialysisPrintOrderFiftyEight from "./template/DialysisPrintOrderFiftyEight";
1205 1244
 export default {
1206 1245
   name: "dialysisPrintOrder",
1207 1246
   components: {
1247
+    DialysisPrintOrderFiftyEight,
1248
+    DialysisPrintOrderFiftySeven,
1208 1249
     DialysisPrintOrderFiftySix,
1209 1250
     DialysisPrintOrderFiftyfive,
1210 1251
     DialysisPrintOrderFiftyFour,
@@ -1427,7 +1468,11 @@ export default {
1427 1468
       // const style3 =
1428 1469
       //   '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
1429 1470
       //
1471
+      const style4 =
1472
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:18px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:18px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:18px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1473
+      
1430 1474
  
1475
+
1431 1476
       const style5 =
1432 1477
         '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title {  margin: auto;  font-weight: 600;  text-align: center;  font-size: 22px;  padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box {  width: 100%;  line-height: 18px;  font-size: 14px;}.dialysis-print-order .print-table {  width: 100%;  text-align: center;  border-collapse: collapse;  line-height: 28px;  font-size: 14px;}.dialysis-print-order .print-table-no {  width: 100%;  text-align: center;  border-collapse: collapse;  font-size: 14px;}.dialysis-print-order .under-line {  border-bottom: 1px solid #999;  width: 95%;  text-align: center;  margin-left: 2px;}.dialysis-print-order .title-box {  text-align: center;  font-size: 16px;}.dialysis-print-order .radio-lebel-box {  font-weight: 400;  cursor: pointer;}.dialysis-print-order .radio-no {  opacity: 0;  outline: none;  position: absolute;  margin: 0;  width: 0;  height: 0;  z-index: -1;}.dialysis-print-order .radio-inner {  white-space: nowrap;  cursor: pointer;  outline: none;  display: inline-block;  line-height: 1;  position: relative;  vertical-align: middle;}.dialysis-print-order .radio-fang {  display: inline-block;  position: relative;  border: 1px solid #000;  box-sizing: border-box;  width: 14px;  height: 14px;  background-color: #fff;  z-index: 1;  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),    background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after {  content: "√";  font-size: 15px;}.dialysis-print-order .print-table-no tr td {  padding: 8px 5px;  line-height: 25px;}.dialysis-print-order .print-table tr td {  padding: 1px 1px;  /*line-height: 25px;*/}.es-img {  height: 25px;}.advice-name {  text-align: left;}.advice-children {  display: flex;}.title-box-pro {  border: 0 #fff;  line-height: 25px;  height: 25px;  text-align: left;  padding-left: 10px !important;}.title-box-pro-tr {  border: 0 #fff;}.text-align-left {  text-align: left !important;  padding-left: 10px !important;  font-size: 14px !important;  line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
1433 1478
       const style6 =
@@ -1447,7 +1492,7 @@ export default {
1447 1492
       // 雷州惠爱样式
1448 1493
       const style12 ='@page {margin-top:10px;}@media print {.dialysis-print-order{width:960px;margin:0 auto;margin-top:30px;} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .dialysis-print-order .print-table .short_tr th p{height:20px !important; line-height:20px !important;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;} .dialysis-print-order .td_div1{display:flex;white-space: normal;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-table tr th p{height: 20px; line-height: 20px}  .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}  .dialysis-print-order tbody .print-table tr{page-break-inside:avoid;} .dialysis-print-order tbody .print-table tr td{border: 1px solid #000;} ';
1449 1494
       // 金乡宏大样式
1450
-      const style13 ='@page {margin-top:5px;}@media print {.dialysis-print-order{width:960px;margin:0 auto} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;} .dialysis-print-order .print-table-2{ width: 100%;text-align: left;border-collapse: collapse;line-height: 38px;font-size: 14px;} .dialysis-print-order .print-table-2 tbody tr{height:43px; padding-bottom:-12px;} .print-table-2 tbody tr td{padding-bottom:-12px;} .td_div1{display:flex;white-space: normal;} .print-table-3{text-align: center;width: 390px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-3 .tr_3{border-bottom: 1px solid;} .print-table-3 .td_3 {border-right: 1px solid;} .print-table-3 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-3 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-4{text-align: center;width: 300px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-4 .tr_3{border-bottom: 1px solid;}  .print-table-4 .td_3 {border-right: 1px solid;} .print-table-4 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-4 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-5{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .dialysis-print-order .print-table-5 tr td_5{width:75px;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}';
1495
+      const style13 ='@page {margin-top:5px;}@media print {.dialysis-print-order{width:960px;margin:0 auto} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr{page-break-inside:avoid} .print-table tbody tr td{border-collapse:collapse;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;} .dialysis-print-order .print-table-2{ width: 100%;text-align: left;border-collapse: collapse;line-height: 38px;font-size: 14px;} .dialysis-print-order .print-table-2 tbody tr{height:43px; padding-bottom:-12px;} .print-table-2 tbody tr td{padding-bottom:-12px;} .td_div1{display:flex;white-space: normal;} .print-table-3{text-align: center;width: 390px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-3 .tr_3{border-bottom: 1px solid;} .print-table-3 .td_3 {border-right: 1px solid;} .print-table-3 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-3 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-4{text-align: center;width: 300px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-4 .tr_3{border-bottom: 1px solid;}  .print-table-4 .td_3 {border-right: 1px solid;} .print-table-4 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-4 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-5{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .dialysis-print-order .print-table-5 tr td_5{width:75px;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}';
1451 1496
 
1452 1497
       if (this.org_template_info.template_id == 1) {
1453 1498
         printJS({
@@ -1493,7 +1538,8 @@ export default {
1493 1538
         this.org_template_info.template_id == 11 ||
1494 1539
         this.org_template_info.template_id == 49 ||
1495 1540
         this.org_template_info.template_id == 50 ||
1496
-        this.org_template_info.template_id == 51
1541
+        this.org_template_info.template_id == 51 ||
1542
+        this.org_template_info.template_id == 58
1497 1543
       ) {
1498 1544
         printJS({
1499 1545
           printable: "dialysis-print-box-1",
@@ -1505,7 +1551,7 @@ export default {
1505 1551
         printJS({
1506 1552
           printable: "dialysis-print-box",
1507 1553
           type: "html",
1508
-          style: style,
1554
+          style: style4,
1509 1555
           scanStyles: false,
1510 1556
         });
1511 1557
       } else if (this.org_template_info.template_id == 8) {
@@ -1799,7 +1845,7 @@ export default {
1799 1845
         });
1800 1846
         
1801 1847
       }else if (
1802
-        this.org_template_info.template_id == 54
1848
+        this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
1803 1849
       ) {
1804 1850
         printJS({
1805 1851
           printable: "dialysis-print-box",

+ 9 - 2
src/xt_pages/dialysis/schedualPatient.vue Näytä tiedosto

@@ -609,10 +609,17 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
609 609
           var resp = rs.data
610 610
           if (resp.state == 1) {
611 611
             var zones = resp.data.zones
612
+            var arr = []
613
+            for(let i=0;i<zones.length;i++){
614
+              if(zones[i].status == 1){
615
+                 arr.push(zones[i])
616
+              }
617
+            }
618
+            console.log("zone2w233323232wid",zones)
612 619
             var schedules = resp.data.schedules
613 620
             var zone_options = [{ id: 0, text: '全部分区' }]
614
-            for (let z_i = 0; z_i < zones.length; z_i++) {
615
-              const zone = zones[z_i]
621
+            for (let z_i = 0; z_i < arr.length; z_i++) {
622
+              const zone = arr[z_i]
616 623
               zone_options.push({ id: zone.id, text: zone.name })
617 624
             }
618 625
             this.zone_options = zone_options

File diff suppressed because it is too large
+ 3707 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue


+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue Näytä tiedosto

@@ -821,7 +821,7 @@
821 821
             <td v-if="advice_index === 1">体重增加量:</td>
822 822
             <td v-if="advice_index === 1">
823 823
               {{
824
-                (assessmentafter.weight_after == 0
824
+                (assessmentafter.weight_after == 0 || predialysis.weight_before == 0
825 825
                   ? 0
826 826
                   : (
827 827
                       predialysis.weight_before - assessmentafter.weight_after
@@ -851,7 +851,7 @@
851 851
             <td v-if="advice_index === 6">本次透析体重下降量:</td>
852 852
             <td v-if="advice_index === 6">
853 853
               {{
854
-                afterdialysis.weight_after == 0
854
+                afterdialysis.weight_after == 0 || predialysis.weight_before == 0
855 855
                   ? 0
856 856
                   : (
857 857
                       predialysis.weight_before - afterdialysis.weight_after

File diff suppressed because it is too large
+ 1905 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue


+ 18 - 19
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Näytä tiedosto

@@ -386,15 +386,16 @@
386 386
                           "
387 387
                         >
388 388
                           透析机:
389
-                         <span v-if="dialysisOrder!=null">{{
390
-                            dialysisOrder &&
391
-                            dialysisOrder.DeviceNumber &&
392
-                            dialysisOrder.DeviceNumber.number.length > 0
393
-                              ? dialysisOrder.DeviceNumber.number
394
-                              : patientInfo.DialysisSchedule.device_number
395
-                                  .number
396
-                          }}
397
-                          </span> 
389
+                          <span v-if="dialysisOrder != null"
390
+                            >{{
391
+                              dialysisOrder &&
392
+                              dialysisOrder.DeviceNumber &&
393
+                              dialysisOrder.DeviceNumber.number.length > 0
394
+                                ? dialysisOrder.DeviceNumber.number
395
+                                : patientInfo.DialysisSchedule.device_number
396
+                                    .number
397
+                            }}
398
+                          </span>
398 399
                         </div>
399 400
                         <div
400 401
                           style="
@@ -907,14 +908,13 @@
907 908
                   <td v-if="advice_index === 1" width="145">体重增加量:</td>
908 909
                   <td v-if="advice_index === 1" width="60">
909 910
                     {{
910
-                      patientInfo.total_dialysis +
911
-                        patientInfo.user_sys_before_count >
912
-                        0 && assessmentafter.weight_after != 0
913
-                        ? (
911
+                      assessmentafter.weight_after == 0 ||
912
+                      predialysis.weight_before == 0
913
+                        ? 0
914
+                        : (
914 915
                             predialysis.weight_before -
915 916
                             assessmentafter.weight_after
916 917
                           ).toFixed(2)
917
-                        : 0
918 918
                     }}kg
919 919
                   </td>
920 920
                   <td v-if="advice_index === 2" width="145">干体重(DW):</td>
@@ -964,14 +964,13 @@
964 964
                   </td>
965 965
                   <td v-if="advice_index === 6" width="60">
966 966
                     {{
967
-                      patientInfo.total_dialysis +
968
-                        patientInfo.user_sys_before_count >
969
-                        0 && afterdialysis.weight_after != 0
970
-                        ? (
967
+                      afterdialysis.weight_after == 0 ||
968
+                      predialysis.weight_before == 0
969
+                        ? 0
970
+                        : (
971 971
                             predialysis.weight_before -
972 972
                             afterdialysis.weight_after
973 973
                           ).toFixed(2)
974
-                        : 0
975 974
                     }}kg
976 975
                   </td>
977 976
                   <td v-if="advice_index > 6" width="145"></td>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue Näytä tiedosto

@@ -425,13 +425,13 @@
425 425
                     <div class="inline_block" style="flex:1;">
426 426
                       置换方式:
427 427
                       <div class="under_line" style="width: 60px;text-align: center">
428
-                        <span v-if="prescription.mode_id == 2 || prescription.mode_id ==5 || prescription.mode_id==12"> {{ getDisplaceLiquiPart(prescription.displace_liqui_part) }} </span>
428
+                        <span v-if="prescription.mode_id == 2 || prescription.mode_id ==5 || prescription.mode_id==12 || prescription.mode_id == 28"> {{ getDisplaceLiquiPart(prescription.displace_liqui_part) }} </span>
429 429
                       </div>
430 430
                     </div>
431 431
                     <div class="inline_block" style="flex:1;">
432 432
                       置换总量:
433 433
                       <div class="under_line" style="width: 50px;text-align: center">
434
-                         <span v-if="prescription.mode_id == 2 || prescription.mode_id ==5 || prescription.mode_id ==12"> {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}</span>
434
+                         <span v-if="prescription.mode_id == 2 || prescription.mode_id ==5 || prescription.mode_id ==12 || prescription.mode_id == 28"> {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}</span>
435 435
                       </div>
436 436
                       L
437 437
                     </div>

+ 30 - 22
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Näytä tiedosto

@@ -160,7 +160,7 @@
160 160
 
161 161
         <div
162 162
           class="row"
163
-          :style="this.totollength > 13 ? 'margin-bottom:400px;' : ''"
163
+          :style="this.totollength > 13 ? 'margin-bottom:250px;' : ''"
164 164
         >
165 165
           <table class="proj_table">
166 166
             <tbody>
@@ -1407,6 +1407,7 @@
1407 1407
                             font-size: 16px;
1408 1408
                             padding: 6px 8px;
1409 1409
                             line-height: 30px;
1410
+                            
1410 1411
                           "
1411 1412
                         >
1412 1413
                           医嘱内容
@@ -1680,7 +1681,6 @@
1680 1681
         </template>
1681 1682
         <div class="row" style="margin-top: -11px; position: relative">
1682 1683
           <table class="proj_table">
1683
-            <tbody>
1684 1684
               <template v-if="doctor_advices_2.length > 0">
1685 1685
                 <tr style="line-height: 35px; padding: 8px 5px">
1686 1686
                   <td
@@ -1692,6 +1692,7 @@
1692 1692
                       font-size: 16px;
1693 1693
                       padding: 6px 8px;
1694 1694
                       line-height: 30px;
1695
+                      border: 1px solid;
1695 1696
                     "
1696 1697
                   >
1697 1698
                     医嘱内容
@@ -1701,7 +1702,7 @@
1701 1702
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
1702 1703
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
1703 1704
               </tr> -->
1704
-                <tr style="line-height: 35px; padding: 8px 5px">
1705
+                <tr style="line-height: 35px; padding: 8px 5px"  class="split_table_tr" >
1705 1706
                   <td style="font-size: 16px" width="10%">时间</td>
1706 1707
                   <td style="font-size: 16px" colspan="2" width="45%">
1707 1708
                     医嘱内容
@@ -1712,7 +1713,7 @@
1712 1713
                   <td style="font-size: 16px" width="10%">时间</td>
1713 1714
                 </tr>
1714 1715
                 <!-- <template v-for="group in doctor_advices" > -->
1715
-                <tr
1716
+                <tr class="split_table_tr" 
1716 1717
                   v-for="(advice, advice_index) in doctor_advices_2"
1717 1718
                   :key="advice_index"
1718 1719
                 >
@@ -2498,7 +2499,7 @@
2498 2499
                   </div>
2499 2500
                 </td>
2500 2501
               </tr>
2501
-            </tbody>
2502
+            
2502 2503
           </table>
2503 2504
           <!-- <div  class="print-yema">1</div> -->
2504 2505
         </div>
@@ -3352,23 +3353,23 @@ export default {
3352 3353
           }
3353 3354
         }
3354 3355
 
3355
-        // this.totollength = this.doctor_advices.length + this.monitors.length;
3356
-        // if (this.totollength > 18) {
3357
-        //   var temp_advice_length = 17 - this.monitors.length;
3358
-        //   var doctor_advices_1 = [];
3359
-        //   var doctor_advices_2 = [];
3360
-        //   for (let index = 0; index < this.doctor_advices.length; index++) {
3361
-        //     const element = this.doctor_advices[index];
3362
-        //     if (temp_advice_length > index) {
3363
-        //       doctor_advices_1.push(element);
3364
-        //     } else {
3365
-        //       doctor_advices_2.push(element);
3366
-        //     }
3367
-        //   }
3368
-        //   this.doctor_advices = doctor_advices_1;
3369
-        //   this.doctor_advices_2 = doctor_advices_2;
3370
-        // }
3371
-        // console.log(this.doctor_advices,'doctor_advices');
3356
+        this.totollength = this.doctor_advices.length + this.monitors.length;
3357
+        if (this.totollength > 18) {
3358
+          var temp_advice_length = 17 - this.monitors.length;
3359
+          var doctor_advices_1 = [];
3360
+          var doctor_advices_2 = [];
3361
+          for (let index = 0; index < this.doctor_advices.length; index++) {
3362
+            const element = this.doctor_advices[index];
3363
+            if (temp_advice_length > index) {
3364
+              doctor_advices_1.push(element);
3365
+            } else {
3366
+              doctor_advices_2.push(element);
3367
+            }
3368
+          }
3369
+          this.doctor_advices = doctor_advices_1;
3370
+          this.doctor_advices_2 = doctor_advices_2;
3371
+        }
3372
+        console.log(this.doctor_advices,'doctor_advices');
3372 3373
       } else {
3373 3374
         this.loading = false;
3374 3375
         this.$message.error("请求数据失败");
@@ -3545,6 +3546,7 @@ export default {
3545 3546
   text-align: center;
3546 3547
   font-size: 20px;
3547 3548
   letter-spacing: 5px;
3549
+
3548 3550
 }
3549 3551
 
3550 3552
 .dialysis-print-order .order-title {
@@ -3651,6 +3653,12 @@ export default {
3651 3653
   line-height: 16px;
3652 3654
 }
3653 3655
 
3656
+.print_page_main_content .row .proj_table .split_table_tr td{
3657
+    border: 1px solid;
3658
+}
3659
+
3660
+
3661
+
3654 3662
 .print-table-no {
3655 3663
   width: 100%;
3656 3664
   text-align: center;

+ 52 - 37
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Näytä tiedosto

@@ -9,27 +9,27 @@
9 9
           <tbody>
10 10
             <tr>
11 11
               <td width="50">姓 名:</td>
12
-              <td width="120">
12
+              <td width="150">
13 13
                 <div class="under-line">
14 14
                   &nbsp;{{ patientInfo.name ? patientInfo.name : "/" }}
15 15
                 </div>
16 16
               </td>
17
-              <td width="100"></td>
17
+              <td width="30"></td>
18 18
 
19 19
               <td width="50">性 别:</td>
20
-              <td width="180">
20
+              <td width="150">
21 21
                 <div class="under-line">
22 22
                   {{ patientInfo.gender ? patientInfo.gender : "/" }}
23 23
                 </div>
24 24
               </td>
25
-              <td width="10"></td>
25
+              <td width="30"></td>
26 26
               <td width="50">年 龄:</td>
27
-              <td width="180">
27
+              <td width="150">
28 28
                 <div class="under-line">
29 29
                   &nbsp;{{ checkIdCardNo(patientInfo.id_card_no) }}
30 30
                 </div>
31 31
               </td>
32
-              <td width="80">岁</td>
32
+              <td width="60">岁</td>
33 33
 
34 34
               <td width="80">透析机号:</td>
35 35
               <td width="130">
@@ -44,14 +44,14 @@
44 44
         <table class="table-box" style="margin-top:10px">
45 45
           <tbody>
46 46
             <tr>
47
-              <td width="50">治疗日期:</td>
48
-              <td width="130">
47
+              <td width="80">治疗日期:</td>
48
+              <td width="150">
49 49
                 <div class="under-line">
50 50
                   {{ queryParams.xtdate ? queryParams.xtdate : "/" }}
51 51
                 </div>
52 52
               </td>
53 53
               <td width="10"></td>
54
-              <td width="50">
54
+              <td width="60">
55 55
                 住院号:
56 56
               </td>
57 57
               <td width="150">
@@ -60,7 +60,7 @@
60 60
                 </div>
61 61
               </td>
62 62
               <td width="10"></td>
63
-              <td width="50">
63
+              <td width="80">
64 64
                 身份证号:
65 65
               </td>
66 66
               <td width="150">
@@ -76,7 +76,7 @@
76 76
         <table class="table-box" style="margin-top: 10px;">
77 77
           <tbody>
78 78
             <tr>
79
-              <td width="40">诊 断:</td>
79
+              <td width="60">诊 断:</td>
80 80
               <td style="text-align:left">
81 81
                 <div class="under-line">
82 82
                   &nbsp;{{ patientInfo.diagnose ? patientInfo.diagnose : "/" }}
@@ -91,7 +91,7 @@
91 91
               <td>
92 92
                 <table class="table-box">
93 93
                   <tr>
94
-                    <td style="text-align:left;margin-left:15px">
94
+                    <td style="text-align:left;margin-left:15px;padding-top:10px;">
95 95
                       病情评估:
96 96
                       <span class="under-line">&nbsp;{{ receiverTreatmentAccess.sick_condition ? receiverTreatmentAccess.sick_condition : "/" }}</span>
97 97
                     </td>
@@ -110,7 +110,7 @@
110 110
                     </td>
111 111
                   </tr>
112 112
                   <tr>
113
-                    <td style="text-align:left;margin-left:15px">
113
+                    <td style="text-align:left;margin-left:15px;padding-top:10px;">
114 114
                       净化治疗方式:
115 115
                       <span class="under-line">&nbsp;{{ prescription.mode ? prescription.mode : "/" }}</span>
116 116
                     </td>
@@ -138,7 +138,7 @@
138 138
                     </td>
139 139
                   </tr>
140 140
                   <tr>
141
-                    <td style="text-align:left;margin-left:15px">
141
+                    <td style="text-align:left;margin-left:15px;padding-top:10px;">
142 142
                       干体重:
143 143
                       <span class="under-line">
144 144
                         &nbsp;{{ predialysis.dry_weight ? predialysis.dry_weight : "0" }}</span>kg
@@ -161,7 +161,7 @@
161 161
                     </td>
162 162
                   </tr>
163 163
                   <tr>
164
-                    <td style="text-align:left;margin-left:15px">
164
+                    <td style="text-align:left;margin-left:15px;padding-top:10px;">
165 165
                       血流量:
166 166
                       <span class="under-line">
167 167
                         &nbsp;{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "0" }}</span>ml/min
@@ -178,11 +178,11 @@
178 178
                       置换液总量:
179 179
                       <span class="under-line">
180 180
                         &nbsp;{{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "0" }}
181
-                      </span>
181
+                      </span>L
182 182
                     </td>
183 183
                   </tr>
184 184
                   <tr>
185
-                    <td style="text-align:left;margin-left:15px">
185
+                    <td style="text-align:left;margin-left:15px;padding-top:10px;">
186 186
                       抗凝剂:
187 187
                       <span class="under-line">
188 188
                         &nbsp;{{ prescription.anticoagulant ? prescription.anticoagulant : "/" }}
@@ -195,7 +195,7 @@
195 195
                       <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
196 196
                       <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
197 197
                       <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
198
-                      <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
198
+                      <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
199 199
                       <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
200 200
                       <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
201 201
                       <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>&nbsp;
@@ -208,7 +208,7 @@
208 208
                       <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
209 209
                       <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
210 210
                       <span v-if="prescription.anticoagulant == '低分子肝素'">iu/h</span>
211
-                      <span v-if="prescription.anticoagulant == '普通肝素'">iu/h</span>
211
+                      <span v-if="prescription.anticoagulant == '普通肝素'">mg/h</span>
212 212
                       <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
213 213
                       <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
214 214
                       <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu/h</span>
@@ -220,14 +220,14 @@
220 220
                       <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
221 221
                       <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
222 222
                       <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
223
-                      <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
223
+                      <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
224 224
                       <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
225 225
                       <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
226 226
                       <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
227 227
                     </td>
228 228
                   </tr>
229 229
                   <tr>
230
-                    <td style="text-align:left;margin-left:15px">
230
+                    <td style="text-align:left;margin-left:15px;padding-top:10px;">
231 231
                       透析液(mmol/L):
232 232
                       <span class="under-line" v-if="prescription.dialysate_formulation == 0">
233 233
                         &nbsp; 常规(钾:0&nbsp;,钙:0 &nbsp;,钠:0)
@@ -284,15 +284,19 @@
284 284
               <p style="height:20px;line-height:20px">呼吸</p>
285 285
               <p style="height:20px;line-height:20px">次/分</p>
286 286
             </th>
287
+            <th style="min-width:60px">
288
+              <p style="height:20px;line-height:20px">体温</p>
289
+              <p style="height:20px;line-height:20px">℃</p>
290
+            </th>
287 291
             <th style="min-width:60px">
288 292
               <p style="height:20px;line-height:20px">血流量</p>
289 293
               <p style="height:20px;line-height:20px">ml/min</p>
290 294
             </th>
291
-            <th style="min-width:60px">
295
+            <th style="min-width:60px" v-if="org_id!=9990||org_id!=9675">
292 296
               <p style="height:20px;line-height:20px">超滤量</p>
293 297
               <p style="height:20px;line-height:20px">L</p>
294 298
             </th>
295
-            <th style="min-width:60px">
299
+            <th style="min-width:60px" v-if="org_id!=9990||org_id!=9675">
296 300
               <p style="height:20px;line-height:20px">置换量</p>
297 301
               <p style="height:20px;line-height:20px">L</p>
298 302
             </th>
@@ -310,7 +314,7 @@
310 314
           </tr>
311 315
 
312 316
           <tr v-for="(monitor, monindex) in monitors" :key="monindex">
313
-            <td style="min-width:60px;height:30px">
317
+            <td style="min-width:60px;height:40px">
314 318
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
315 319
             </td>
316 320
             <td>
@@ -331,15 +335,20 @@
331 335
             </td>
332 336
             <td>
333 337
               <span v-if="getTime(monitor.operate_time) != ''">
334
-                {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "0" }}
338
+                {{ monitor.temperature ? monitor.temperature : "0" }}
335 339
               </span>
336 340
             </td>
337 341
             <td>
342
+              <span v-if="getTime(monitor.operate_time) != ''">
343
+                {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "0" }}
344
+              </span>
345
+            </td>
346
+            <td v-if="org_id!=9990||org_id!=9675">
338 347
               <span v-if="getTime(monitor.operate_time) != ''">
339 348
                 {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}
340 349
               </span>
341 350
             </td>
342
-            <td>
351
+            <td v-if="org_id!=9990||org_id!=9675">
343 352
               <span v-if="getTime(monitor.operate_time) != ''">
344 353
                 {{ monitor.displacement_quantity ? monitor.displacement_quantity : "0" }}
345 354
               </span>
@@ -372,7 +381,7 @@
372 381
               <td style="width:60px;height:40px">
373 382
                 <p style="height:20px;line-height:20px">医生签名</p>
374 383
               </td>
375
-              <td style="width:60px;height:40px">
384
+              <td style="width:70px;height:40px">
376 385
                 <p style="height:20px;line-height:20px">医嘱执行时间</p>
377 386
               </td>
378 387
               <td style="width:60px;height:40px">
@@ -381,7 +390,7 @@
381 390
               <td style="width:60px;height:60px">
382 391
                 <p style="height:20px;line-height:20px">核对</p>
383 392
               </td>
384
-              <td style="width:60px;height:40px">
393
+              <td style="width:70px;height:40px">
385 394
                 <p style="height:20px;line-height:20px">上次透后体重</p>
386 395
               </td>
387 396
               <td style="width:60px;height:40px">
@@ -389,8 +398,8 @@
389 398
               </td>
390 399
             </tr>
391 400
 
392
-            <tr v-for="(advice, advice_index) in tableAdvice">
393
-              <td>{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
401
+            <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
402
+              <td style="min-width:60px;height:40px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
394 403
               <td>
395 404
                 <span v-if="advice.parent_id > 0">---></span>
396 405
                 <span>{{ advice.advice_name }}</span>
@@ -431,8 +440,8 @@
431 440
         <table class="print-table" border="1">
432 441
           <td>
433 442
             <table class="table-box" style="table-layout:fixed">
434
-              <tr>
435
-                <td style="text-align:left;margin-left:15px;width:25%">
443
+              <tr class="ta_top">
444
+                <td style="text-align:left;margin-left:15px;width:25%;padding-top:10px;">
436 445
                   上机时间:
437 446
                   <span class="under-line">{{ getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}") ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}") : "0" }}</span>
438 447
                 </td>
@@ -456,7 +465,7 @@
456 465
                 </td>
457 466
               </tr>
458 467
 
459
-              <tr>
468
+              <tr class="ta_top">
460 469
                 <td style="text-align:left;margin-left:15px;width:25%">
461 470
                   下机护士:
462 471
                   <span class="under-line" v-if="finshForm.url === ''">&nbsp;{{ finshForm.finish_nurse ? finshForm.finish_nurse : "/" }}</span>
@@ -481,7 +490,7 @@
481 490
                     {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "0" }}&nbsp;L</span>
482 491
                 </td>
483 492
               </tr>
484
-              <tr>
493
+              <tr class="ta_top">
485 494
                 <td style="text-align:left;margin-left:15px">
486 495
                   拔针后穿刺点渗血:
487 496
                   <span class="under-line" v-if="afterdialysis.puncture_point_oozing_blood === 0">&nbsp;/</span>
@@ -504,7 +513,7 @@
504 513
                 </td>
505 514
                 <td width="10"></td>
506 515
               </tr>
507
-              <tr>
516
+              <tr class="ta_top">
508 517
                 <td style="text-align:left;margin-left:15px;" colspan="2">
509 518
                   并发症:
510 519
                   <span class="under-line">&nbsp;{{ afterdialysis.complication }}</span>
@@ -675,7 +684,8 @@ export default {
675 684
         finish_nurse: "",
676 685
         url: ""
677 686
       },
678
-      displaceLiquiPartOptions: []
687
+      displaceLiquiPartOptions: [],
688
+      org_id: 0,
679 689
     };
680 690
   },
681 691
   methods: {
@@ -1492,7 +1502,7 @@ export default {
1492 1502
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
1493 1503
     this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
1494 1504
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1495
-
1505
+    this.org_id = this.$store.getters.xt_user.org.id;
1496 1506
     var bloodAccessParOpera = getDataConfig(
1497 1507
       "hemodialysis",
1498 1508
       "vascular_access_desc"
@@ -1555,8 +1565,10 @@ export default {
1555 1565
   width: 100%;
1556 1566
   line-height: 23px;
1557 1567
   font-size: 14px;
1568
+
1558 1569
 }
1559 1570
 
1571
+
1560 1572
 .dialysis-print-order .print-table {
1561 1573
   width: 100%;
1562 1574
   text-align: center;
@@ -1636,6 +1648,9 @@ export default {
1636 1648
   padding: 1px 1px;
1637 1649
   /*line-height: 25px;*/
1638 1650
 }
1651
+.table-box .ta_top td{
1652
+  padding-top: 10px !important;
1653
+}
1639 1654
 
1640 1655
 .es-img {
1641 1656
   height: 25px;

+ 55 - 65
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Näytä tiedosto

@@ -59,7 +59,7 @@
59 59
           <div class="inline_block">
60 60
             病区:
61 61
             <div class="under_line" style="width: 50px; text-align: center">
62
-              <span v-if="org_id == 10121">{{
62
+              <span v-if="org_id == 10121||org_id == 10138">{{
63 63
                 patientInfo.DialysisSchedule.device_zone.name
64 64
                   ? patientInfo.DialysisSchedule.device_zone.name
65 65
                   : ""
@@ -429,7 +429,8 @@
429 429
                     style="padding: 2px 0; line-height: 23px; display: flex"
430 430
                   >
431 431
                     <div class="inline_block" style="flex: 1">
432
-                      透析方式:
432
+                      <span v-if="org_id==10138||org_id==9675">治疗模式:</span>
433
+                      <span v-else>透析方式:</span>
433 434
                       <div
434 435
                         class="under_line"
435 436
                         style="
@@ -1171,8 +1172,8 @@
1171 1172
                           :colspan="
1172 1173
                             prescription.mode_id == 2 ||
1173 1174
                             prescription.mode_id == 5
1174
-                              ? 12
1175
-                              : 11
1175
+                              ? 14
1176
+                              : 13
1176 1177
                           "
1177 1178
                           style="
1178 1179
                             letter-spacing: 5px;
@@ -1238,7 +1239,8 @@
1238 1239
                         >
1239 1240
                           置换量<br />(ml)
1240 1241
                         </td>
1241
-                        <td width="200" v-if="org_id == 9919">ktv</td>
1242
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538|| org_id == 9675">KT/V</td>
1243
+                        <td width="50" v-if="org_id == 9538|| org_id == 9675">血容量<br />(L)</td>
1242 1244
                         <td width="200">病情变化及处理</td>
1243 1245
 
1244 1246
                         <!-- <td width="100">时间</td>
@@ -1254,42 +1256,13 @@
1254 1256
                     <td  width="100">护士签名</td> -->
1255 1257
                       </tr>
1256 1258
 
1257
-                      <tr
1258
-                        v-for="(monitor, monindex) in monitors"
1259
-                        :key="monindex"
1260
-                      >
1259
+                      <tr v-for="(monitor, monindex) in monitors" :key="monindex">
1261 1260
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1262
-                        <td>
1263
-                          {{
1264
-                            monitor.systolic_blood_pressure
1265
-                              ? monitor.systolic_blood_pressure + "/"
1266
-                              : ""
1267
-                          }}
1268
-                          {{
1269
-                            monitor.diastolic_blood_pressure
1270
-                              ? monitor.diastolic_blood_pressure
1271
-                              : ""
1272
-                          }}
1273
-                        </td>
1274
-                        <td>
1275
-                          {{
1276
-                            monitor.pulse_frequency
1277
-                              ? monitor.pulse_frequency
1278
-                              : ""
1279
-                          }}
1280
-                        </td>
1281
-                        <td>
1282
-                          {{
1283
-                            monitor.breathing_rate ? monitor.breathing_rate : ""
1284
-                          }}
1285
-                        </td>
1286
-                        <td>
1287
-                          {{
1288
-                            monitor.blood_flow_volume
1289
-                              ? monitor.blood_flow_volume
1290
-                              : ""
1291
-                          }}
1292
-                        </td>
1261
+                        <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/": ""}}
1262
+                          {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
1263
+                        <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1264
+                        <td>{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1265
+                        <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1293 1266
                         <td>
1294 1267
                           {{
1295 1268
                             monitor.venous_pressure
@@ -1370,7 +1343,7 @@
1370 1343
                               : ""
1371 1344
                           }}
1372 1345
                         </td>
1373
-                        
1346
+
1374 1347
                         <td
1375 1348
                         >
1376 1349
                           {{
@@ -1403,9 +1376,12 @@
1403 1376
                             }}
1404 1377
                           </span>
1405 1378
                         </td>
1406
-                        <td width="200" v-if="org_id == 9919">
1379
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538|| org_id == 9675">
1407 1380
                           {{ monitor.ktv }}
1408 1381
                         </td>
1382
+                        <td width="50" v-if="org_id == 9538|| org_id == 9675">
1383
+                          {{ monitor.accumulated_blood_volume }}
1384
+                        </td>
1409 1385
                         <td style="line-height: 16px; padding: 0px">
1410 1386
                           <div
1411 1387
                             style="
@@ -1464,7 +1440,8 @@
1464 1440
                           "
1465 1441
                           width="50"
1466 1442
                         ></td>
1467
-                        <td v-if="org_id == 9919"></td>
1443
+                        <td v-if="org_id == 9919||org_id == 9538|| org_id == 9675"></td>
1444
+                        <td v-if="org_id == 9538|| org_id == 9675"></td>
1468 1445
                         <td style="line-height: 16px; padding: 0px">
1469 1446
                           <div
1470 1447
                             style="
@@ -1695,14 +1672,26 @@
1695 1672
             <div class="inline_block">
1696 1673
               病区:
1697 1674
               <div class="under_line" style="width: 50px; text-align: center">
1698
-                {{ "/" }}
1699
-              </div>
1675
+              <span v-if="org_id == 10121||org_id == 10138">{{
1676
+                patientInfo.DialysisSchedule.device_zone.name
1677
+                  ? patientInfo.DialysisSchedule.device_zone.name
1678
+                  : ""
1679
+              }}</span>
1680
+              <span v-else>{{ "/" }}</span>
1681
+            </div>
1700 1682
             </div>
1701 1683
             <div class="inline_block">
1702 1684
               床号:
1703 1685
               <div class="under_line" style="width: 50px; text-align: center">
1704
-                {{ "/" }}
1705
-              </div>
1686
+              <span v-if="org_id == 10121">{{
1687
+                dialysisOrder &&
1688
+                dialysisOrder.DeviceNumber &&
1689
+                dialysisOrder.DeviceNumber.number.length > 0
1690
+                  ? dialysisOrder.DeviceNumber.number
1691
+                  : patientInfo.DialysisSchedule.device_number.number
1692
+              }}</span>
1693
+              <span v-else>{{ "/" }}</span>
1694
+            </div>
1706 1695
             </div>
1707 1696
             <div class="inline_block">
1708 1697
               透析号:
@@ -1711,22 +1700,22 @@
1711 1700
               </div>
1712 1701
             </div>
1713 1702
             <div class="inline_block" style="margin-left: 5px">
1714
-              住院号/门诊号:
1715
-              <div
1716
-                class="under_line"
1717
-                style="width: 70px; text-align: left"
1718
-                v-if="receiverTreatmentAccess.admission_number"
1719
-              >
1720
-                {{ receiverTreatmentAccess.admission_number }}
1721
-              </div>
1722
-              <div
1723
-                class="under_line"
1724
-                style="width: 70px; text-align: left"
1725
-                v-else
1726
-              >
1727
-                {{ "/" }}
1728
-              </div>
1703
+            住院号/门诊号:
1704
+            <div
1705
+              class="under_line"
1706
+              style="width: 70px; text-align: left"
1707
+              v-if="receiverTreatmentAccess.admission_number"
1708
+            >
1709
+              {{ receiverTreatmentAccess.admission_number }}
1729 1710
             </div>
1711
+            <div
1712
+              class="under_line"
1713
+              style="width: 70px; text-align: left"
1714
+              v-else
1715
+            >
1716
+              {{ "/" }}
1717
+            </div>
1718
+          </div>
1730 1719
           </div>
1731 1720
           <div class="row" style="margin-bottom: 10px">
1732 1721
             <div class="inline_block">
@@ -2055,7 +2044,7 @@
2055 2044
                       min
2056 2045
                     </div>
2057 2046
                   </div>
2058
-                  <div
2047
+                  <!-- <div
2059 2048
                     class="row"
2060 2049
                     style="padding: 2px 0; line-height: 23px; display: flex"
2061 2050
                     v-if="org_id==9538 || org_id==9675"
@@ -2086,7 +2075,7 @@
2086 2075
                         {{ afterdialysis.accumulated_blood_volume ? afterdialysis.accumulated_blood_volume : "/" }}
2087 2076
                       </div>
2088 2077
                     </div>
2089
-                  </div>
2078
+                  </div> -->
2090 2079
                   <div
2091 2080
                     class="row"
2092 2081
                     style="padding: 2px 0; line-height: 23px; display: flex"
@@ -2450,7 +2439,8 @@
2450 2439
                       </div>
2451 2440
                     </div>
2452 2441
                     <div class="inline_block" style="flex: 1">
2453
-                      核对人员:
2442
+                      <span v-if="org_id==10387||org_id==9675" >核对护士:</span> 
2443
+                      <span v-else >核对人员:</span> 
2454 2444
                       <div
2455 2445
                         class="under_line"
2456 2446
                         style="width: 80px; text-align: center"

+ 3 - 3
src/xt_pages/outpatientCharges/listPrint.vue Näytä tiedosto

@@ -570,7 +570,7 @@
570 570
         if(this.org_id != 10106){
571 571
           if(this.org_id == 10215 || this.org_id == 0|| this.org_id == 9675){
572 572
             const style =
573
-                '@media print {.allListTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.allListInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;}  .listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 10px;}.tableBottomOne{margin-right: 40px;} .allListTable{border: none;width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;} .allListTable tr{page-break-inside:avoid;} .allListTable tr td {padding: 0 5px;border: 1px solid #000;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}'
573
+              '@media print {.allListTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.allListInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;}  .listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 10px;}.tableBottomOne{margin-right: 40px;} .allListTable{border: none;width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;} .allListTable tr{page-break-inside:avoid;} .allListTable tr td {padding: 0 5px;border: 1px solid #000;}.tableBottom{font-size: 16px;display: flex;margin-top: 20px;}.tableBottomOne{margin-right: 40px;}}'
574 574
             printJS({
575 575
               printable: 'allList-print',
576 576
               type: 'html',
@@ -581,7 +581,7 @@
581 581
 
582 582
           }else {
583 583
             const style =
584
-                '@media print {.listTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 10px;}.tableBottomOne{margin-right: 40px;}}'
584
+              '@media print {.listTitle{font-size: 24px;text-align: center;font-weight: bold;margin-bottom: 10px;}.listInfo{display: flex;font-size: 16px;justify-content: space-between;margin: 10px 0;} .listTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 20px;font-size: 14px;border-color: #000;text-align:left;}.listTable tr td {padding: 0 5px;}.tableBottom{font-size: 16px;display: flex;margin-top: 10px;}.tableBottomOne{margin-right: 40px;}}'
585 585
             printJS({
586 586
               printable: 'list-print',
587 587
               type: 'html',
@@ -591,7 +591,7 @@
591 591
           }
592 592
         }else{
593 593
           const style =
594
-          '@media print {#statement-print{font-size:12px;width:800px;margin:0 auto;}.statementTitle{font-size: 22px;text-align: center;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
594
+            '@media print {#statement-print{font-size:12px;width:800px;margin:0 auto;}.statementTitle{font-size: 22px;text-align: center;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
595 595
           printJS({
596 596
             printable: "statement-print",
597 597
             type: "html",

+ 52 - 52
src/xt_pages/outpatientCharges/statementTemplate/printFive.vue Näytä tiedosto

@@ -2,25 +2,25 @@
2 2
   <div id="statement-print" class="statement-print">
3 3
     <table class="statementTable" border="0">
4 4
       <thead>
5
-        <tr>
6
-          <td colspan="10">石狮圣誉血液透析中心结算单</td>
7
-        </tr>
5
+      <tr>
6
+        <td colspan="10">石狮圣誉血液透析中心结算单</td>
7
+      </tr>
8 8
       </thead>
9 9
 
10 10
       <tbody>
11
-        <tr>
12
-          <td colspan="10">日期:{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
13
-        </tr>
14
-        <tr class="view_tr">
15
-          <td colspan="2">姓名:{{info.patient.name}}</td>
16
-          <td colspan="2">性别:{{info.patient.gender == 1 ? '男': '女'}}</td>
17
-          <td colspan="2">医保类型:{{info.insutype == '390'?'城乡居民基本医疗保险':'职工基本医疗保险'}}</td>
18
-          <td colspan="2">社会保障号码:{{info.certno}}</td>
19
-          <td colspan="2">账号余额:{{info.blac}}</td>
20
-        </tr>
21
-        <tr class="view_tr">
22
-          <td colspan="10">明细信息</td>
23
-        </tr>
11
+      <tr>
12
+        <td colspan="10">日期:{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
13
+      </tr>
14
+      <tr class="view_tr">
15
+        <td colspan="2">姓名:{{info.patient.name}}</td>
16
+        <td colspan="2">性别:{{info.patient.gender == 1 ? '男': '女'}}</td>
17
+        <td colspan="2">医保类型:{{info.insutype == '390'?'城乡居民基本医疗保险':'职工基本医疗保险'}}</td>
18
+        <td colspan="2">社会保障号码:{{info.certno}}</td>
19
+        <td colspan="2">账号余额:{{info.blac}}</td>
20
+      </tr>
21
+      <tr class="view_tr">
22
+        <td colspan="10">明细信息</td>
23
+      </tr>
24 24
 
25 25
         <!-- 帐单列表分为左右两列,需要对数据进行x/2分别放进list_L,list_R两个数组进行循环 -->
26 26
         <tr>
@@ -162,53 +162,53 @@ export default {
162 162
 
163 163
 
164 164
 <style lang="scss" scoped>
165
-.statement-print {
166
-  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
165
+  .statement-print {
166
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
167 167
     0 0 60px rgba(0, 0, 0, 0.06) inset;
168
-  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
168
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
169 169
     0 0 40px rgba(0, 0, 0, 0.06) inset;
170
-  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
171
-  margin-bottom: 20px;
172
-  padding: 20px 10px;
173
-}
170
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
171
+    margin-bottom: 20px;
172
+    padding: 20px 10px;
173
+  }
174 174
 
175
-.statementTitle {
176
-  font-size: 28px;
177
-  text-align: center;
178
-  font-weight: bold;
179
-  margin-bottom: 10px;
180
-}
175
+  .statementTitle {
176
+    font-size: 28px;
177
+    text-align: center;
178
+    font-weight: bold;
179
+    margin-bottom: 10px;
180
+  }
181 181
 
182
-.statementTable {
183
-  width: 100%;
184
-  text-align: center;
185
-  border-collapse: collapse;
186
-  line-height: 40px;
187
-  font-size: 14px;
188
-}
189
-.statementTable thead{
190
-  font-size: 28px;
191
-  text-align: center;
192
-  font-weight: bold;
193
-  margin-bottom: 10px;
194
-}
182
+  .statementTable {
183
+    width: 100%;
184
+    text-align: center;
185
+    border-collapse: collapse;
186
+    line-height: 40px;
187
+    font-size: 14px;
188
+  }
189
+  .statementTable thead{
190
+    font-size: 28px;
191
+    text-align: center;
192
+    font-weight: bold;
193
+    margin-bottom: 10px;
194
+  }
195 195
 
196
-.statementTable tbody{
196
+  .statementTable tbody{
197 197
     text-align: left;
198
-}
199
-tbody .view_tr{
198
+  }
199
+  tbody .view_tr{
200 200
     border: 1px solid;
201 201
     text-align: center;
202
-}
203
-.list_table{
202
+  }
203
+  .list_table{
204 204
     width: 100%;
205 205
     margin-bottom: 100px;
206
-}
207
-tbody .dashed_tr{
206
+  }
207
+  tbody .dashed_tr{
208 208
     border: 1px dashed;
209 209
     text-align: center;
210
-}
211
-tbody tr td div{
210
+  }
211
+  tbody tr td div{
212 212
     height: 25px;
213
-}
213
+  }
214 214
 </style>

+ 41 - 33
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue Näytä tiedosto

@@ -13,16 +13,16 @@
13 13
         <td colspan="4">{{info.fixmedins_code}}</td>
14 14
         <td width="100">医保结算级别</td>
15 15
         <td width="100" v-if="info.hosp_lv == '1'">三级特等</td>
16
-        <td width="100" v-if="info.hosp_lv == '2'">三级甲等</td>
17
-        <td width="100" v-if="info.hosp_lv == '3'">三级乙等</td>
18
-        <td width="100" v-if="info.hosp_lv == '4'">三级丙等</td>
19
-        <td width="100" v-if="info.hosp_lv == '5'">二级甲等</td>
20
-        <td width="100" v-if="info.hosp_lv == '6'">二级乙等</td>
21
-        <td width="100" v-if="info.hosp_lv == '7'">二级丙等</td>
22
-        <td width="100" v-if="info.hosp_lv == '8'">一级甲等</td>
23
-        <td width="100" v-if="info.hosp_lv == '9'">一级乙等</td>
24
-        <td width="100" v-if="info.hosp_lv == '10'">一级丙等</td>
25
-        <td width="100" v-if="info.hosp_lv == '11'">无等级</td>
16
+        <td width="100" v-else-if="info.hosp_lv == '2'">三级甲等</td>
17
+        <td width="100" v-else-if="info.hosp_lv == '3'">三级乙等</td>
18
+        <td width="100" v-else-if="info.hosp_lv == '4'">三级丙等</td>
19
+        <td width="100" v-else-if="info.hosp_lv == '5'">二级甲等</td>
20
+        <td width="100" v-else-if="info.hosp_lv == '6'">二级乙等</td>
21
+        <td width="100" v-else-if="info.hosp_lv == '7'">二级丙等</td>
22
+        <td width="100" v-else-if="info.hosp_lv == '8'">一级甲等</td>
23
+        <td width="100" v-else-if="info.hosp_lv == '9'">一级乙等</td>
24
+        <td width="100" v-else-if="info.hosp_lv == '10'">一级丙等</td>
25
+        <td width="100" v-else-if="info.hosp_lv == '11'">无等级</td>
26 26
         <td width="100" v-else></td>
27 27
 
28 28
       </tr>
@@ -43,30 +43,38 @@
43 43
         <td width="110"></td>
44 44
         <td width="80">人员类别</td>
45 45
         <td colspan="3" v-if="info.psn_type == '11'">在职</td>
46
-        <td colspan="3" v-if="info.psn_type == '1101'">职工在职</td>
47
-        <td colspan="3" v-if="info.psn_type == '1102'">公务员在职</td>
48
-        <td colspan="3" v-if="info.psn_type == '1103'">灵活就业人员在职</td>
49
-        <td colspan="3" v-if="info.psn_type == '1160'">地方其他扩展人员</td>
50
-        <td colspan="3" v-if="info.psn_type == '12'">退休人员</td>
51
-        <td colspan="3" v-if="info.psn_type == '1201'">职工退休</td>
52
-        <td colspan="3" v-if="info.psn_type == '1202'">公务员退休</td>
53
-        <td colspan="3" v-if="info.psn_type == '1203'">灵活就业人员退休</td>
54
-        <td colspan="3" v-if="info.psn_type == '1260'">地方其他扩展人员</td>
55
-        <td colspan="3" v-if="info.psn_type == '13'">离休</td>
56
-        <td colspan="3" v-if="info.psn_type == '1300'">离休人员</td>
57
-        <td colspan="3" v-if="info.psn_type == '1360'">地方其他扩展人员</td>
58
-        <td colspan="3" v-if="info.psn_type == '14'">居民(未成年)</td>
59
-        <td colspan="3" v-if="info.psn_type == '1401'">新生儿</td>
60
-        <td colspan="3" v-if="info.psn_type == '1402'">学龄前儿童</td>
61
-        <td colspan="3" v-if="info.psn_type == '1403'">中小学生</td>
62
-        <td colspan="3" v-if="info.psn_type == '1404'">大学生</td>
63
-        <td colspan="3" v-if="info.psn_type == '1405'">未成年(未入学)</td>
64
-        <td colspan="3" v-if="info.psn_type == '15'">居民(成年)</td>
65
-        <td colspan="3" v-if="info.psn_type == '1501'">普通居民(成年)</td>
66
-        <td colspan="3" v-if="info.psn_type == '1560'">地方其他扩展身份</td>
67
-        <td colspan="3" v-if="info.psn_type == '16'">居民(老年)</td>
46
+        <td colspan="3" v-else-if="info.psn_type == '1101'">职工在职</td>
47
+        <td colspan="3" v-else-if="info.psn_type == '1102'">公务员在职</td>
48
+        <td colspan="3" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
49
+        <td colspan="3" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
68 50
 
69 51
 
52
+        <td colspan="3" v-else-if="info.psn_type == '12'">退休人员</td>
53
+        <td colspan="3" v-else-if="info.psn_type == '1201'">职工退休</td>
54
+        <td colspan="3" v-else-if="info.psn_type == '1202'">公务员退休</td>
55
+        <td colspan="3" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
56
+        <td colspan="3" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
57
+
58
+
59
+        <td colspan="3" v-else-if="info.psn_type == '13'">离休</td>
60
+        <td colspan="3" v-else-if="info.psn_type == '1300'">离休人员</td>
61
+        <td colspan="3" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
62
+
63
+        <td colspan="3" v-else-if="info.psn_type == '14'">居民(未成年)</td>
64
+        <td colspan="3" v-else-if="info.psn_type == '1401'">新生儿</td>
65
+        <td colspan="3" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
66
+        <td colspan="3" v-else-if="info.psn_type == '1403'">中小学生</td>
67
+        <td colspan="3" v-else-if="info.psn_type == '1404'">大学生</td>
68
+        <td colspan="3" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
69
+
70
+
71
+        <td colspan="3" v-else-if="info.psn_type == '15'">居民(成年)</td>
72
+        <td colspan="3" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
73
+        <td colspan="3" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
74
+
75
+        <td colspan="3" v-else-if="info.psn_type == '16'">居民(老年)</td>
76
+        <td colspan="4" v-else></td>
77
+
70 78
 
71 79
       </tr>
72 80
       <tr>
@@ -106,7 +114,7 @@
106 114
         <td>入院第一诊断</td>
107 115
         <td colspan="3">{{info.dise_name}}</td>
108 116
         <td>出院第一诊断</td>
109
-        <td colspan="4">{{info.dise_name}}</td>
117
+        <td colspan="6">{{info.dise_name}}</td>
110 118
       </tr>
111 119
       <tr>
112 120
         <td>业务类别</td>

+ 3 - 2
src/xt_pages/stock/drugs/components/drugOutDetail.vue Näytä tiedosto

@@ -162,8 +162,7 @@
162 162
             <span v-if="scope.row.is_total !=1">
163 163
               <span v-if="org_id == 9919">{{(scope.row.last_price * scope.row.count).toFixed(2)}} </span>
164 164
               <span v-if="org_id == 10210 ">{{(scope.row.price * scope.row.count).toFixed(2)}} </span>
165
-              <span v-if="org_id == 9671 ">{{(scope.row.price * scope.row.count).toFixed(2)}} </span>
166
-              <span v-if ="org_id!=9919 && org_id!=10210 && org_id!=9671">
165
+              <span v-if ="org_id!=9919 && org_id!=10210">
167 166
                  {{scope.row.total_price}}
168 167
                </span>
169 168
             </span>
@@ -431,6 +430,7 @@ export default {
431 430
                console.log("555555555555",order[i])
432 431
                if(order[i].price > 0){
433 432
                 console.log("近来33232323322323")
433
+                  order[i].total_price = 0
434 434
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
435 435
                    order[i].total_price = order[i].count * order[i].price
436 436
                  }
@@ -438,6 +438,7 @@ export default {
438 438
                    if(order[i].is_sys == 0){
439 439
                      order[i].total_price += order[i].count * order[i].price
440 440
                    }else{
441
+                    
441 442
                      order[i].total_price += order[i].count * order[i].price * order[i].min_number
442 443
                    }
443 444
                  }

+ 1 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue Näytä tiedosto

@@ -18,6 +18,7 @@
18 18
           size="small"
19 19
           type="primary"
20 20
           @click="submit()"
21
+          v-loading="loading"
21 22
           v-if="is_check == 2"
22 23
           class="filter-item"
23 24
           >保 存</el-button

+ 3 - 3
src/xt_pages/stock/stockInOrderAdd.vue Näytä tiedosto

@@ -7,7 +7,7 @@
7 7
 
8 8
       <div style="float:right;">
9 9
         <el-button size="small" @click="back()" class="filter-item">取 消</el-button>
10
-        <el-button size="small" type="primary" @click="submit()" class="filter-item">保 存</el-button>
10
+        <el-button size="small" type="primary" @click="submit()" class="filter-item" v-loading="loading">保 存</el-button>
11 11
         <el-button size="small" type="primary" v-show="showCheck" @click="toCheck()" class="filter-item">审 核</el-button>
12 12
         <!-- <el-button size="small" type="primary" v-show="showReturnCheck" @click="toReturnCheck()" class="filter-item">反 审 核</el-button> -->
13 13
       </div>
@@ -765,8 +765,8 @@
765 765
                 this.warehousing_info_id  = info.id
766 766
                 for(let i=0;i<list.length;i++){
767 767
                   for(let j=0;j<dealerList.length;j++){
768
-                     if(list[i].dealer == dealerList[i].id){
769
-                        list[i].dealer = dealerList[i].dealer_name
768
+                     if(list[i].dealer == dealerList[j].id){
769
+                        list[i].dealer = dealerList[j].dealer_name
770 770
                      }
771 771
                   }
772 772
                   for(let s=0;s<manufacturerList.length;s++){

+ 3 - 2
src/xt_pages/stock/stockInOrderEdit.vue Näytä tiedosto

@@ -19,6 +19,7 @@
19 19
           type="primary"
20 20
           @click="submit()"
21 21
           v-if="is_check == 2"
22
+          v-loading="loading"
22 23
           class="filter-item"
23 24
           >保 存</el-button
24 25
         >
@@ -759,8 +760,8 @@ export default {
759 760
               var dealerList = response.data.data.dealerList
760 761
               for(let i=0;i<list.length;i++){
761 762
                 for(let j=0;j<dealerList.length;j++){
762
-                 if(list[i].dealer == dealerList[i].id){
763
-                    list[i].dealer = dealerList[i].dealer_name
763
+                 if(list[i].dealer == dealerList[j].id){
764
+                    list[i].dealer = dealerList[j].dealer_name
764 765
                   }
765 766
                 }
766 767
                 for(let s=0;s<manufacturerList.length;s++){

+ 233 - 217
src/xt_pages/user/components/PatientDetail.vue Näytä tiedosto

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div class="app-container ">
2
+  <div class="app-container">
3 3
     <el-dialog
4 4
       title="查看传染病检查结果"
5 5
       :visible.sync="dialogFormVisible"
@@ -21,7 +21,7 @@
21 21
                 <el-input
22 22
                   placeholder="请填入"
23 23
                   v-model="item.value"
24
-                  style="width:95%"
24
+                  style="width: 95%"
25 25
                   type="number"
26 26
                   disabled
27 27
                 >
@@ -37,7 +37,7 @@
37 37
                 <el-select
38 38
                   v-model="item.value"
39 39
                   placeholder="请选择"
40
-                  style="width:95%"
40
+                  style="width: 95%"
41 41
                   disabled
42 42
                 >
43 43
                   <el-option
@@ -67,12 +67,12 @@
67 67
       class="clearfix"
68 68
       id="patient-info"
69 69
     >
70
-      <div style="float:right;z-index:8;position: absolute;right: 16px;">
70
+      <div style="float: right; z-index: 8; position: absolute; right: 16px">
71 71
         <el-button
72 72
           size="small"
73 73
           type="primary"
74 74
           @click="printCard()"
75
-          style="margin:0 6px 6px 0;z-index:1;"
75
+          style="margin: 0 6px 6px 0; z-index: 1"
76 76
           >打印签到卡</el-button
77 77
         >
78 78
         <el-button
@@ -80,14 +80,14 @@
80 80
           :disabled="$store.getters.xt_user.subscibe.state == 3 ? true : false"
81 81
           type="primary"
82 82
           @click="$router.push('/patients/patient/' + patientID + '/edit')"
83
-          style="margin:0 0 6px 0;z-index:1;"
83
+          style="margin: 0 0 6px 0; z-index: 1"
84 84
           >修改</el-button
85 85
         >
86 86
         <el-button
87 87
           size="small"
88 88
           type="primary"
89 89
           @click="printThisInfo()"
90
-          style="margin:0 6px 6px 0;z-index:1;"
90
+          style="margin: 0 6px 6px 0; z-index: 1"
91 91
           >打印</el-button
92 92
         >
93 93
       </div>
@@ -100,7 +100,7 @@
100 100
                 <el-input v-model="form.name" disabled></el-input>
101 101
               </el-form-item>
102 102
             </el-col>
103
-            <el-col :span="8" style="height:59px;">
103
+            <el-col :span="8" style="height: 59px">
104 104
               <el-form-item label="性别 : " class="is-required" prop="gender">
105 105
                 <el-radio-group v-model="form.gender">
106 106
                   <el-radio
@@ -124,7 +124,7 @@
124 124
                 <el-input v-model="form.idCardNo" disabled></el-input>
125 125
               </el-form-item>
126 126
             </el-col>
127
-            <el-col :span="8" style="height:59px;">
127
+            <el-col :span="8" style="height: 59px">
128 128
               <el-form-item label="年龄 : " class="is-required" prop="age">
129 129
                 <el-input v-model="form.age" disabled></el-input>
130 130
               </el-form-item>
@@ -136,7 +136,7 @@
136 136
                   disabled
137 137
                   v-model="form.dialysisNo"
138 138
                   placeholder="填写或自动生成"
139
-                  style="width:110px;float:left;margin-right: 1%;"
139
+                  style="width: 110px; float: left; margin-right: 1%"
140 140
                 ></el-input>
141 141
                 <el-button disabled type="primary">自动生成</el-button>
142 142
               </el-form-item>
@@ -205,7 +205,7 @@
205 205
                 ></el-input>
206 206
               </el-form-item>
207 207
             </el-col>
208
-            <el-col :span="8" style="height:59px;">
208
+            <el-col :span="8" style="height: 59px">
209 209
               <el-form-item
210 210
                 label="患者来源 : "
211 211
                 class="is-required"
@@ -223,7 +223,7 @@
223 223
                 </el-radio-group>
224 224
               </el-form-item>
225 225
             </el-col>
226
-            <el-col :span="8" style="height:59px;">
226
+            <el-col :span="8" style="height: 59px">
227 227
               <el-form-item
228 228
                 label="治疗状态(转归) : "
229 229
                 class="is-required"
@@ -244,7 +244,7 @@
244 244
 
245 245
             <el-col :span="24">
246 246
               <el-form-item label="传染病 : " required prop="is_infectious">
247
-                <el-radio-group v-model="form.is_infectious" disabled >
247
+                <el-radio-group v-model="form.is_infectious" disabled>
248 248
                   <el-radio :label="1">阴性</el-radio>
249 249
                   <el-radio :label="2">阳性</el-radio>
250 250
                 </el-radio-group>
@@ -266,7 +266,6 @@
266 266
               </el-form-item>
267 267
 
268 268
               <el-form-item label="疑难内瘘:">
269
-
270 269
                 <el-radio-group v-model="form.troble_shoot" disabled>
271 270
                   <el-radio :label="1">是</el-radio>
272 271
                   <el-radio :label="2">否</el-radio>m
@@ -274,9 +273,7 @@
274 273
               </el-form-item>
275 274
 
276 275
               <el-form-item label="人员编码: ">
277
-                <el-input
278
-                    v-model="form.zb_patient_id"
279
-                ></el-input>
276
+                <el-input v-model="form.zb_patient_id"></el-input>
280 277
               </el-form-item>
281 278
             </el-col>
282 279
 
@@ -307,7 +304,7 @@
307 304
                   :suffix-icon="'el-icon-menu'"
308 305
                   format="yyyy-MM-dd"
309 306
                   disabled
310
-                  style="width: 200px;"
307
+                  style="width: 200px"
311 308
                   value-format="yyyy-MM-dd"
312 309
                 ></el-date-picker>
313 310
                 <el-button type="primary" @click="showInspectDialog()"
@@ -347,17 +344,17 @@
347 344
             </el-col>
348 345
 
349 346
             <el-col :span="24">
350
-                <el-form-item label="诊疗计划 : " prop="diagnose">
351
-                  <el-input
352
-                    type="textarea"
353
-                    :rows="3"
354
-                    v-model="form.treatment_plan"
355
-                    resize="none"
356
-                    placeholder
357
-                    readonly
358
-                  ></el-input>
359
-                </el-form-item>
360
-             </el-col>
347
+              <el-form-item label="诊疗计划 : " prop="diagnose">
348
+                <el-input
349
+                  type="textarea"
350
+                  :rows="3"
351
+                  v-model="form.treatment_plan"
352
+                  resize="none"
353
+                  placeholder
354
+                  readonly
355
+                ></el-input>
356
+              </el-form-item>
357
+            </el-col>
361 358
 
362 359
             <el-col :span="8">
363 360
               <el-form-item label="民族 : " prop="nation">
@@ -561,91 +558,97 @@
561 558
       </el-row>
562 559
 
563 560
       <div class="dataTitle">治疗信息</div>
561
+      <div style="display: flex">
562
+        <div style="flex: 1 1 9%;">
563
+          <el-row :gutter="24">
564
+            <el-col :span="24">
565
+              <el-form-item label="主诉 : " prop="patient_complains">
566
+                <el-input
567
+                  type="textarea"
568
+                  :rows="3"
569
+                  v-model="form.patient_complains"
570
+                  resize="none"
571
+                  placeholder=""
572
+                  readonly
573
+                ></el-input>
574
+              </el-form-item>
575
+            </el-col>
576
+          </el-row>
577
+          <el-row :gutter="24">
578
+            <el-col :span="24">
579
+              <el-form-item label="既往史 : " prop="past_history">
580
+                <el-input
581
+                  type="textarea"
582
+                  :rows="3"
583
+                  v-model="form.past_history"
584
+                  resize="none"
585
+                  placeholder=""
586
+                  readonly
587
+                ></el-input>
588
+              </el-form-item>
589
+            </el-col>
590
+          </el-row>
591
+          <el-row :gutter="24">
592
+            <el-col :span="24">
593
+              <el-form-item label="体格检查">
594
+                <el-input
595
+                  v-model="form.temperature"
596
+                  style="width: 200px"
597
+                  disabled
598
+                >
599
+                  <template slot="prepend">体温:</template>
600
+                  <template slot="append">℃</template>
601
+                </el-input>
602
+                <el-input v-model="form.pulse" style="width: 220px" disabled>
603
+                  <template slot="prepend">脉搏: </template>
604
+                  <template slot="append">次/分</template>
605
+                </el-input>
606
+                <el-input
607
+                  v-model="form.respiratory"
608
+                  style="width: 220px"
609
+                  disabled
610
+                >
611
+                  <template slot="prepend">呼吸: </template>
612
+                  <template slot="append">次/分</template>
613
+                </el-input>
614
+              </el-form-item>
615
+            </el-col>
616
+          </el-row>
617
+          <el-row :gutter="24">
618
+            <el-col>
619
+              <el-form-item>
620
+                <el-input v-model="form.sbp" style="width: 240px" disabled>
621
+                  <template slot="prepend">收缩压:</template>
622
+                  <template slot="append">mmHg</template>
623
+                </el-input>
624
+                <el-input v-model="form.dbp" style="width: 240px" disabled>
625
+                  <template slot="prepend">舒张压:</template>
626
+                  <template slot="append">mmHg</template>
627
+                </el-input>
628
+              </el-form-item>
629
+            </el-col>
630
+          </el-row>
631
+        </div>
632
+
633
+        <div style="flex: 1;" class="now_his">
634
+          <el-row :gutter="24" style="height:100%;">
635
+            <el-col :span="24" style="height:100%;">
636
+              <el-form-item label="现病史 : " prop="present_history" style="height:100%;">
637
+                <el-input
638
+                  style="height:100%;"
639
+                  type="textarea"
640
+                  :rows="3"
641
+                  v-model="form.present_history"
642
+                  resize="none"
643
+                  placeholder=""
644
+                  readonly
645
+                ></el-input>
646
+              </el-form-item>
647
+            </el-col>
648
+          </el-row>
649
+        </div>
650
+      </div>
564 651
       <el-row :gutter="24">
565
-        <el-col :span="12">
566
-          <el-form-item label="主诉 : " prop="patient_complains">
567
-            <el-input
568
-              type="textarea"
569
-              :rows="3"
570
-              v-model="form.patient_complains"
571
-              resize="none"
572
-              placeholder=""
573
-              readonly
574
-            ></el-input>
575
-          </el-form-item>
576
-        </el-col>
577
-        <el-col :span="12">
578
-          <el-form-item label="现病史 : " prop="present_history">
579
-            <el-input
580
-              type="textarea"
581
-              :rows="3"
582
-              v-model="form.present_history"
583
-              resize="none"
584
-              placeholder=""
585
-              readonly
586
-            ></el-input>
587
-          </el-form-item>
588
-        </el-col>
589
-        <el-col :span="12">
590
-          <el-form-item label="既往史 : " prop="past_history">
591
-            <el-input
592
-              type="textarea"
593
-              :rows="3"
594
-              v-model="form.past_history"
595
-              resize="none"
596
-              placeholder=""
597
-              readonly
598
-            ></el-input>
599
-          </el-form-item>
600
-        </el-col>
601
-        <el-col>
602
-          <el-form-item label="体格检查">
603
-            <el-input v-model="form.temperature" style="width: 200px;" disabled>
604
-              <template slot="prepend"
605
-                >体温:</template
606
-              >
607
-              <template slot="append"
608
-                >℃</template
609
-              >
610
-            </el-input>
611
-            <el-input v-model="form.pulse" style="width: 220px;" disabled>
612
-              <template slot="prepend"
613
-                >脉搏:
614
-              </template>
615
-              <template slot="append"
616
-                >次/分</template
617
-              >
618
-            </el-input>
619
-            <el-input v-model="form.respiratory" style="width: 220px;" disabled>
620
-              <template slot="prepend"
621
-                >呼吸:
622
-              </template>
623
-              <template slot="append"
624
-                >次/分</template
625
-              >
626
-            </el-input>
627
-          </el-form-item>
628
-        </el-col>
629
-        <el-col>
630
-          <el-form-item>
631
-            <el-input v-model="form.sbp" style="width: 240px;" disabled>
632
-              <template slot="prepend"
633
-                >收缩压:</template
634
-              >
635
-              <template slot="append"
636
-                >mmHg</template
637
-              >
638
-            </el-input>
639
-            <el-input v-model="form.dbp" style="width: 240px;" disabled>
640
-              <template slot="prepend"
641
-                >舒张压:</template
642
-              >
643
-              <template slot="append"
644
-                >mmHg</template
645
-              >
646
-            </el-input>
647
-          </el-form-item>
648
-        </el-col>
649 652
         <el-col :span="24">
650 653
           <el-form-item label="" prop="remark">
651 654
             <!-- <textarea v-model="form.remark" class="textarea" disabled></textarea> -->
@@ -800,7 +803,8 @@
800 803
         </el-form-item>
801 804
       </el-col>
802 805
     </el-form>
803
-    <div style="display:none;">
806
+
807
+    <div style="display: none">
804 808
       <div id="print-info-box">
805 809
         <div class="print_main_content">
806 810
           <div class="order_title">{{ orgname }} 血液透析门诊病历</div>
@@ -916,7 +920,7 @@
916 920
                     ></div>
917 921
                   </td>
918 922
                 </tr>
919
-                
923
+
920 924
                 <tr>
921 925
                   <td>
922 926
                     <div class="td_proj_title">既<br />往<br />史</div>
@@ -938,7 +942,7 @@
938 942
                     </div>
939 943
                   </td>
940 944
                 </tr>
941
-              
945
+
942 946
                 <tr>
943 947
                   <td colspan="8"><div class="td_proj_title">体格检查</div></td>
944 948
                 </tr>
@@ -967,7 +971,7 @@
967 971
                     ></div>
968 972
                   </td>
969 973
                 </tr>
970
-             
974
+
971 975
                 <tr>
972 976
                   <td>
973 977
                     <div class="td_proj_title">诊<br />断</div>
@@ -996,8 +1000,10 @@
996 1000
               <div class="proj">
997 1001
                 <span class="proj_title">日期:</span>
998 1002
                 <!-- {{ getTime(patientPrint.created_time) }} -->
999
-                <span v-if="org_id ==3907 || org_id == 9671">{{ getTime(patientPrint.created_time) }}</span>
1000
-                <span v-else>{{printDate}}</span>
1003
+                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 10138|| org_id == 9675">{{
1004
+                  getTime(patientPrint.created_time)
1005
+                }}</span>
1006
+                <span v-else>{{ printDate }}</span>
1001 1007
               </div>
1002 1008
               <div class="proj"><span class="proj_title">医生签名:</span></div>
1003 1009
             </div>
@@ -1010,7 +1016,7 @@
1010 1016
         <div
1011 1017
           class="order_title"
1012 1018
           align="center"
1013
-          style="margin-bottom:20px;font-size:35px"
1019
+          style="margin-bottom: 20px; font-size: 35px"
1014 1020
           v-if="org_id != 10223"
1015 1021
         >
1016 1022
           签到卡
@@ -1018,14 +1024,16 @@
1018 1024
         <div
1019 1025
           class="order_title"
1020 1026
           align="center"
1021
-          style="margin-bottom:20px;font-size:25px"
1027
+          style="margin-bottom: 20px; font-size: 25px"
1022 1028
           v-if="org_id == 10223"
1023
-        >三优血液透析中心</div>
1024
-        <div align="center" style="margin-bottom:4px;font-size:25px">
1029
+        >
1030
+          三优血液透析中心
1031
+        </div>
1032
+        <div align="center" style="margin-bottom: 4px; font-size: 25px">
1025 1033
           姓名:<span>&nbsp;&nbsp;{{ patientPrint.name }}</span
1026 1034
           ><br />
1027 1035
         </div>
1028
-        <div align="center" style="margin-bottom:20px;font-size:25px">
1036
+        <div align="center" style="margin-bottom: 20px; font-size: 25px">
1029 1037
           透析号:<span>&nbsp;&nbsp;{{ patientPrint.dialysis_no }}</span>
1030 1038
         </div>
1031 1039
         <div>
@@ -1045,13 +1053,13 @@ import {
1045 1053
   jsGetAge,
1046 1054
   isPositiveInteger,
1047 1055
   dialysisAge,
1048
-  uParseTime
1056
+  uParseTime,
1049 1057
 } from "@/utils/tools";
1050 1058
 import {
1051 1059
   generateDialysisNo,
1052 1060
   createPatient,
1053 1061
   editPatient,
1054
-  fetchPatient
1062
+  fetchPatient,
1055 1063
 } from "@/api/patient";
1056 1064
 import { fetchAllDoctorAndNurse, fetchAllAdminUsers } from "@/api/doctor";
1057 1065
 import { getZones } from "@/api/device/device";
@@ -1120,11 +1128,11 @@ const defaultForm = {
1120 1128
   dialysis_age: "",
1121 1129
   expense_kind: "",
1122 1130
   contact_name: "",
1123
-  sch_remark:"",
1124
-  org_id:0,
1125
-  troble_shoot:"",
1126
-  zb_patient_id:"",
1127
-  treatment_plan:"",
1131
+  sch_remark: "",
1132
+  org_id: 0,
1133
+  troble_shoot: "",
1134
+  zb_patient_id: "",
1135
+  treatment_plan: "",
1128 1136
 };
1129 1137
 
1130 1138
 export default {
@@ -1140,7 +1148,7 @@ export default {
1140 1148
         { id: 4, name: "公费医疗" },
1141 1149
         { id: 5, name: "商业保险" },
1142 1150
         { id: 6, name: "军队医疗" },
1143
-        { id: 7, name: "其他" }
1151
+        { id: 7, name: "其他" },
1144 1152
       ],
1145 1153
 
1146 1154
       generic_info_fold: true,
@@ -1157,20 +1165,26 @@ export default {
1157 1165
       dialogVisible: false,
1158 1166
       typeOptions: null,
1159 1167
       styleOptions: null,
1160
-      sourceOptions: [{ value: 1, label: "门诊" }, { value: 2, label: "住院" }],
1168
+      sourceOptions: [
1169
+        { value: 1, label: "门诊" },
1170
+        { value: 2, label: "住院" },
1171
+      ],
1161 1172
       lapsetoOptions: [
1162 1173
         { value: 1, label: "留治" },
1163
-        { value: 2, label: "转出" }
1174
+        { value: 2, label: "转出" },
1164 1175
       ],
1165 1176
       partitionOptions: [],
1166
-      sexOptions: [{ value: 1, label: "男" }, { value: 2, label: "女" }],
1177
+      sexOptions: [
1178
+        { value: 1, label: "男" },
1179
+        { value: 2, label: "女" },
1180
+      ],
1167 1181
       isHospitalFirstDialysisOptions: [
1168 1182
         { value: 1, label: "是" },
1169
-        { value: 2, label: "否" }
1183
+        { value: 2, label: "否" },
1170 1184
       ],
1171 1185
       predialysisConditionOptions: [
1172 1186
         { value: 1, label: "腹膜透析" },
1173
-        { value: 2, label: "肾移植" }
1187
+        { value: 2, label: "肾移植" },
1174 1188
       ],
1175 1189
       maritalOptions: null,
1176 1190
       wayOptions: null,
@@ -1188,48 +1202,48 @@ export default {
1188 1202
       patientID: 0,
1189 1203
       patientPrint: {},
1190 1204
       print_time: "",
1191
-      printDate:"",
1205
+      printDate: "",
1192 1206
       rules: {
1193 1207
         contagions: [{ type: "array", required: false, trigger: "change" }],
1194 1208
         avatar: [{ required: true, message: "请上传头像", trigger: "blur" }],
1195 1209
         patientType: [
1196
-          { required: true, message: "请选择患者类型", trigger: "blur" }
1210
+          { required: true, message: "请选择患者类型", trigger: "blur" },
1197 1211
         ],
1198 1212
         dialysisNo: [
1199
-          { required: true, message: "请填写透析号", trigger: "blur" }
1213
+          { required: true, message: "请填写透析号", trigger: "blur" },
1200 1214
         ],
1201 1215
         admissionNumber: [
1202
-          { required: true, message: "请填写住院(门诊)号", trigger: "blur" }
1216
+          { required: true, message: "请填写住院(门诊)号", trigger: "blur" },
1203 1217
         ],
1204 1218
         source: [
1205
-          { required: true, message: "请选择患者来源", trigger: "blur" }
1219
+          { required: true, message: "请选择患者来源", trigger: "blur" },
1206 1220
         ],
1207 1221
         lapseto: [
1208
-          { required: true, message: "请选择治疗状态", trigger: "blur" }
1222
+          { required: true, message: "请选择治疗状态", trigger: "blur" },
1209 1223
         ],
1210 1224
         name: [{ required: true, message: "请填写姓名", trigger: "blur" }],
1211 1225
         gender: [{ required: true, message: "请选择性别", trigger: "blur" }],
1212 1226
         idCardNo: [
1213
-          { required: true, message: "请填写身份证号", trigger: "blur" }
1227
+          { required: true, message: "请填写身份证号", trigger: "blur" },
1214 1228
         ],
1215
-        birth: [{ required: true, message: "请填写生日", trigger: "blur" }]
1229
+        birth: [{ required: true, message: "请填写生日", trigger: "blur" }],
1216 1230
       },
1217
-      shootList:[
1218
-       {id:1,name:"是"},
1219
-       {id:2,name:"否"}
1220
-      ]
1231
+      shootList: [
1232
+        { id: 1, name: "是" },
1233
+        { id: 2, name: "否" },
1234
+      ],
1221 1235
     };
1222 1236
   },
1223 1237
   computed: {
1224
-    generic_fold_icon: function() {
1238
+    generic_fold_icon: function () {
1225 1239
       return this.generic_info_fold ? "el-icon-arrow-down" : "el-icon-arrow-up";
1226 1240
     },
1227
-    treat_fold_icon: function() {
1241
+    treat_fold_icon: function () {
1228 1242
       return this.treat_info_fold ? "el-icon-arrow-down" : "el-icon-arrow-up";
1229
-    }
1243
+    },
1230 1244
   },
1231 1245
   created() {
1232
-    this.org_id = this.$store.getters.xt_user.org.id
1246
+    this.org_id = this.$store.getters.xt_user.org.id;
1233 1247
     this.styleOptions = this.$store.getters.patient_types;
1234 1248
     // this.partitionOptions = this.$store.getters.partitions;
1235 1249
     this.maritalOptions = getDataConfig("patient", "marital_options");
@@ -1254,7 +1268,7 @@ export default {
1254 1268
       console.log("patient detail not had id");
1255 1269
       this.$notify.error({
1256 1270
         title: "错误",
1257
-        message: "无效的id"
1271
+        message: "无效的id",
1258 1272
       });
1259 1273
       this.$router.push("/patients/patients");
1260 1274
     }
@@ -1264,7 +1278,8 @@ export default {
1264 1278
     // this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}');
1265 1279
 
1266 1280
     var data = new Date();
1267
-    var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
1281
+    var month =
1282
+      data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
1268 1283
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
1269 1284
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
1270 1285
   },
@@ -1277,19 +1292,19 @@ export default {
1277 1292
       this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
1278 1293
 
1279 1294
       const style =
1280
-        "@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .print_main_content table { width: 100%; border-collapse: collapse; padding: 2px;border:none; }  .print_main_content table tbody tr{page-break-inside:avoid;} .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 18px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 18px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 17px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} }";
1295
+        "@page {margin-top:10px;}@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .print_main_content table { width: 100%; border-collapse: collapse; padding: 2px; }  .print_main_content table tbody tr{page-break-inside:avoid;} .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 18px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 18px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 17px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} }";
1281 1296
 
1282 1297
       setTimeout(() => {
1283 1298
         printJS({
1284 1299
           printable: "print-info-box",
1285 1300
           type: "html",
1286 1301
           style: style,
1287
-          scanStyles: false
1302
+          scanStyles: false,
1288 1303
         });
1289 1304
       }, 1);
1290 1305
     },
1291 1306
     getZones() {
1292
-      getZones().then(response => {
1307
+      getZones().then((response) => {
1293 1308
         if (response.data.state === 1) {
1294 1309
           this.partitionOptions = response.data.data.zones;
1295 1310
         }
@@ -1297,12 +1312,12 @@ export default {
1297 1312
     },
1298 1313
     fetchPatient(id) {
1299 1314
       fetchPatient(id)
1300
-        .then(response => {
1315
+        .then((response) => {
1301 1316
           console.log(response.data.data);
1302 1317
           if (response.data.state === 1) {
1303 1318
             this.$emit("tran-patient-info", response.data.data.patient);
1304 1319
             var patietInfo = response.data.data.patient;
1305
-            console.log("触发了吗无222222",patietInfo)
1320
+            console.log("触发了吗无222222", patietInfo);
1306 1321
             this.form.avatar = patietInfo.avatar;
1307 1322
             this.form.name = patietInfo.name;
1308 1323
             this.form.alias = patietInfo.alias;
@@ -1311,17 +1326,16 @@ export default {
1311 1326
             this.form.dialysisNo = patietInfo.dialysis_no;
1312 1327
             this.form.gender = patietInfo.gender;
1313 1328
             this.form.is_infectious = patietInfo.is_infectious;
1314
-            this.form.troble_shoot = patietInfo.troble_shoot
1315
-            this.form.zb_patient_id = patietInfo.zb_patient_id
1329
+            this.form.troble_shoot = patietInfo.troble_shoot;
1330
+            this.form.zb_patient_id = patietInfo.zb_patient_id;
1316 1331
             // this.form.record_date = patietInfo.is_infectious
1317 1332
             this.form.response_result = patietInfo.response_result;
1318 1333
             this.form.remind_cycle = patietInfo.remind_cycle;
1319
-            this.form.treatment_plan = patietInfo.treatment_plan
1320
-            if(patietInfo.is_infectious == 1){
1321
-               this.form.remind_cycle = 0
1322
-
1334
+            this.form.treatment_plan = patietInfo.treatment_plan;
1335
+            if (patietInfo.is_infectious == 1) {
1336
+              this.form.remind_cycle = 0;
1323 1337
             }
1324
-            console.log("222222",this.form.remind_cycle)
1338
+            console.log("222222", this.form.remind_cycle);
1325 1339
             this.form.user_sys_before_count = patietInfo.user_sys_before_count;
1326 1340
 
1327 1341
             this.infections = response.data.data.infections;
@@ -1335,9 +1349,8 @@ export default {
1335 1349
                 const select_options = ["阴性", "阳性", "弱阳性"];
1336 1350
                 for (let i = 0; i < this.infections.length; i++) {
1337 1351
                   this.infections[i]["select_options"] = select_options;
1338
-                  this.infections[i]["value"] = this.infections[
1339
-                    i
1340
-                  ].inspect_value;
1352
+                  this.infections[i]["value"] =
1353
+                    this.infections[i].inspect_value;
1341 1354
                 }
1342 1355
               }
1343 1356
             }
@@ -1405,9 +1418,8 @@ export default {
1405 1418
             this.form.first_dialysis_hospital =
1406 1419
               patietInfo.first_dialysis_hospital;
1407 1420
             if (patietInfo.predialysis_condition.length > 0) {
1408
-              this.form.predialysis_condition = patietInfo.predialysis_condition.split(
1409
-                ","
1410
-              );
1421
+              this.form.predialysis_condition =
1422
+                patietInfo.predialysis_condition.split(",");
1411 1423
             }
1412 1424
             this.form.pre_hospital_dialysis_frequency =
1413 1425
               patietInfo.pre_hospital_dialysis_frequency;
@@ -1518,9 +1530,8 @@ export default {
1518 1530
             var partitionLen = this.partitionOptions.length;
1519 1531
             for (let index = 0; index < partitionLen; index++) {
1520 1532
               if (this.partitionOptions[index].id === patietInfo.partition_id) {
1521
-                this.patientPrint.partition_id = this.partitionOptions[
1522
-                  index
1523
-                ].name;
1533
+                this.patientPrint.partition_id =
1534
+                  this.partitionOptions[index].name;
1524 1535
                 break;
1525 1536
               }
1526 1537
             }
@@ -1540,9 +1551,8 @@ export default {
1540 1551
                 this.maritalOptions[index].id ==
1541 1552
                 response.data.data.patient.marital_status
1542 1553
               ) {
1543
-                this.patientPrint.marital_status = this.maritalOptions[
1544
-                  index
1545
-                ].name;
1554
+                this.patientPrint.marital_status =
1555
+                  this.maritalOptions[index].name;
1546 1556
               }
1547 1557
             }
1548 1558
 
@@ -1552,14 +1562,10 @@ export default {
1552 1562
             );
1553 1563
             this.patientPrint.age = jsGetAge(this.patientPrint.birthday, "-");
1554 1564
 
1555
-            this.patientPrint.patient_complains = patietInfo.patient_complains.replace(
1556
-              /\n/g,
1557
-              "<br/>"
1558
-            );
1559
-            this.patientPrint.present_history = patietInfo.present_history.replace(
1560
-              /\n/g,
1561
-              "<br/>"
1562
-            );
1565
+            this.patientPrint.patient_complains =
1566
+              patietInfo.patient_complains.replace(/\n/g, "<br/>");
1567
+            this.patientPrint.present_history =
1568
+              patietInfo.present_history.replace(/\n/g, "<br/>");
1563 1569
             this.patientPrint.past_history = patietInfo.past_history.replace(
1564 1570
               /\n/g,
1565 1571
               "<br/>"
@@ -1586,9 +1592,8 @@ export default {
1586 1592
                 if (
1587 1593
                   this.wayOptions[index].id === patietInfo.reimbursement_way_id
1588 1594
                 ) {
1589
-                  this.patientPrint.reimbursement_way_id = this.wayOptions[
1590
-                    index
1591
-                  ].name;
1595
+                  this.patientPrint.reimbursement_way_id =
1596
+                    this.wayOptions[index].name;
1592 1597
                   break;
1593 1598
                 }
1594 1599
               }
@@ -1639,9 +1644,8 @@ export default {
1639 1644
                 if (
1640 1645
                   this.educationOptions[index].id === patietInfo.education_level
1641 1646
                 ) {
1642
-                  this.patientPrint.education_level = this.educationOptions[
1643
-                    index
1644
-                  ].name;
1647
+                  this.patientPrint.education_level =
1648
+                    this.educationOptions[index].name;
1645 1649
                   break;
1646 1650
                 }
1647 1651
               }
@@ -1654,9 +1658,8 @@ export default {
1654 1658
                 if (
1655 1659
                   this.professionOptions[index].id === patietInfo.profession
1656 1660
                 ) {
1657
-                  this.patientPrint.profession = this.professionOptions[
1658
-                    index
1659
-                  ].name;
1661
+                  this.patientPrint.profession =
1662
+                    this.professionOptions[index].name;
1660 1663
                   break;
1661 1664
                 }
1662 1665
               }
@@ -1690,9 +1693,8 @@ export default {
1690 1693
                   this.inductionOptions[index].id ===
1691 1694
                   patietInfo.induction_period
1692 1695
                 ) {
1693
-                  this.patientPrint.induction_period = this.inductionOptions[
1694
-                    index
1695
-                  ].name;
1696
+                  this.patientPrint.induction_period =
1697
+                    this.inductionOptions[index].name;
1696 1698
                   break;
1697 1699
                 }
1698 1700
               }
@@ -1706,9 +1708,8 @@ export default {
1706 1708
                   this.adminUserOptions[index].id ===
1707 1709
                   patietInfo.attending_doctor_id
1708 1710
                 ) {
1709
-                  this.patientPrint.attending_doctor_id = this.adminUserOptions[
1710
-                    index
1711
-                  ].name;
1711
+                  this.patientPrint.attending_doctor_id =
1712
+                    this.adminUserOptions[index].name;
1712 1713
                   break;
1713 1714
                 }
1714 1715
               }
@@ -1721,9 +1722,8 @@ export default {
1721 1722
                 if (
1722 1723
                   this.adminUserOptions[index].id === patietInfo.head_nurse_id
1723 1724
                 ) {
1724
-                  this.patientPrint.head_nurse_id = this.adminUserOptions[
1725
-                    index
1726
-                  ].name;
1725
+                  this.patientPrint.head_nurse_id =
1726
+                    this.adminUserOptions[index].name;
1727 1727
                   break;
1728 1728
                 }
1729 1729
               }
@@ -1773,9 +1773,8 @@ export default {
1773 1773
                 if (
1774 1774
                   this.adminUserOptions[index].id === patietInfo.registrars_id
1775 1775
                 ) {
1776
-                  this.patientPrint.registrars = this.adminUserOptions[
1777
-                    index
1778
-                  ].name;
1776
+                  this.patientPrint.registrars =
1777
+                    this.adminUserOptions[index].name;
1779 1778
                   this.form.registrars = this.adminUserOptions[index].name;
1780 1779
                   break;
1781 1780
                 }
@@ -1798,7 +1797,7 @@ export default {
1798 1797
             console.log("patient get err state");
1799 1798
             this.$notify.error({
1800 1799
               title: "错误",
1801
-              message: "网络异常"
1800
+              message: "网络异常",
1802 1801
             });
1803 1802
             this.$router.push("/patients/patients");
1804 1803
           }
@@ -1808,17 +1807,17 @@ export default {
1808 1807
           // this.postForm.title += `   Article Id:${this.postForm.id}`
1809 1808
           // this.postForm.content_short += `   Article Id:${this.postForm.id}`
1810 1809
         })
1811
-        .catch(err => {
1810
+        .catch((err) => {
1812 1811
           console.log("patient get err", err);
1813 1812
           this.$notify.error({
1814 1813
             title: "错误",
1815
-            message: "网络异常"
1814
+            message: "网络异常",
1816 1815
           });
1817 1816
           this.$router.push("/patients/patients");
1818 1817
         });
1819 1818
     },
1820 1819
     fetchAllDoctorAndNurse() {
1821
-      fetchAllDoctorAndNurse().then(response => {
1820
+      fetchAllDoctorAndNurse().then((response) => {
1822 1821
         if (response.data.state === 1) {
1823 1822
           this.doctorOptions = response.data.data.doctors;
1824 1823
           this.nurseOptions = response.data.data.nursers;
@@ -1826,7 +1825,7 @@ export default {
1826 1825
       });
1827 1826
     },
1828 1827
     fetchAllAdminUsers() {
1829
-      fetchAllAdminUsers().then(response => {
1828
+      fetchAllAdminUsers().then((response) => {
1830 1829
         if (response.data.state === 1) {
1831 1830
           this.adminUserOptions = response.data.data.users;
1832 1831
         }
@@ -1845,7 +1844,7 @@ export default {
1845 1844
           printable: "print-card-info",
1846 1845
           type: "html",
1847 1846
           style: style,
1848
-          scanStyles: false
1847
+          scanStyles: false,
1849 1848
         });
1850 1849
       }, 1);
1851 1850
 
@@ -1924,7 +1923,7 @@ export default {
1924 1923
           phone +
1925 1924
           "," +
1926 1925
           "healthcare_no:" +
1927
-          healthCareNo
1926
+          healthCareNo,
1928 1927
       });
1929 1928
     },
1930 1929
     checkIdCardNo() {
@@ -1948,7 +1947,7 @@ export default {
1948 1947
         birth.substr(6, 2);
1949 1948
 
1950 1949
       this.form.age = jsGetAge(this.form.birth, "-");
1951
-    }
1950
+    },
1952 1951
 
1953 1952
     // qrcode(params){
1954 1953
     //    new QRCode('qrcode',{
@@ -1957,7 +1956,7 @@ export default {
1957 1956
     //        text:params,
1958 1957
     //    })
1959 1958
     // }
1960
-  }
1959
+  },
1961 1960
 };
1962 1961
 </script>
1963 1962
 
@@ -1992,6 +1991,23 @@ export default {
1992 1991
   }
1993 1992
 }
1994 1993
 
1994
+/deep/ .now_his{
1995
+  .el-row{
1996
+    .el-col-24{
1997
+      .el-form-item{
1998
+        .el-form-item__content{
1999
+          height: 100%;
2000
+          .el-textarea{
2001
+            .el-textarea__inner{
2002
+              height: 93%;
2003
+            }
2004
+          }
2005
+        }
2006
+      }
2007
+    }
2008
+  }
2009
+}
2010
+
1995 2011
 // #print-info-box .info_print {
1996 2012
 //     width: 920px;
1997 2013
 //     margin: 0 auto !important;

+ 103 - 79
src/xt_pages/user/components/PatientForm.vue Näytä tiedosto

@@ -672,87 +672,94 @@
672 672
         </el-row>
673 673
 
674 674
         <div class="dataTitle">治疗信息</div>
675
-        <el-row :span="24">
676
-          <el-col :span="12">
677
-            <el-form-item label="主诉 : " prop="patient_complains">
678
-              <el-input
679
-                type="textarea"
680
-                :rows="3"
681
-                v-model="form.patient_complains"
682
-                resize="none"
683
-                placeholder
684
-              ></el-input>
685
-            </el-form-item>
686
-          </el-col>
687
-          <el-col :span="12">
688
-            <el-form-item label="现病史 : " prop="present_history">
689
-              <el-input
690
-                type="textarea"
691
-                :rows="3"
692
-                v-model="form.present_history"
693
-                resize="none"
694
-                placeholder
695
-              ></el-input>
696
-            </el-form-item>
697
-          </el-col>
698
-          <el-col :span="12">
699
-            <el-form-item label="既往史 : " prop="past_history">
700
-              <el-input
701
-                type="textarea"
702
-                :rows="3"
703
-                v-model="form.past_history"
704
-                resize="none"
705
-                placeholder
706
-              ></el-input>
707
-            </el-form-item>
708
-          </el-col>
709
-        </el-row>
710
-        <el-row :span="24">
711
-          <el-col>
712
-            <el-form-item label="体格检查">
713
-              <el-input v-model="form.temperature" style="width: 200px;">
714
-                <template slot="prepend"
715
-                  >体温:</template
716
-                >
717
-                <template slot="append"
718
-                  >℃</template
719
-                >
720
-              </el-input>
721
-              <el-input v-model="form.pulse" style="width: 220px;">
722
-                <template slot="prepend"
723
-                  >脉搏:</template
724
-                >
725
-                <template slot="append"
726
-                  >次/分</template
727
-                >
728
-              </el-input>
729
-              <el-input v-model="form.respiratory" style="width: 220px;">
730
-                <template slot="prepend"
731
-                  >呼吸:</template
732
-                >
733
-                <template slot="append"
734
-                  >次/分</template
735
-                >
736
-              </el-input>
737
-              <!-- </el-form-item>
738
-              <el-form-item>-->
739
-              <el-input v-model="form.sbp" style="width: 240px;">
740
-                <template slot="prepend"
741
-                  >收缩压:</template
742
-                >
743
-                <template slot="append"
744
-                  >mmHg</template
745
-                >
746
-              </el-input>
747
-              <el-input v-model="form.dbp" style="width: 240px;">
748
-                <template slot="prepend"
749
-                  >舒张压:</template
675
+        <div style="display: flex">
676
+        <div style="flex: 1 1 9%;">
677
+          <el-row :gutter="24">
678
+            <el-col :span="24">
679
+              <el-form-item label="主诉 : " prop="patient_complains">
680
+                <el-input
681
+                  type="textarea"
682
+                  :rows="3"
683
+                  v-model="form.patient_complains"
684
+                  resize="none"
685
+                  placeholder=""
686
+                ></el-input>
687
+              </el-form-item>
688
+            </el-col>
689
+          </el-row>
690
+          <el-row :gutter="24">
691
+            <el-col :span="24">
692
+              <el-form-item label="既往史 : " prop="past_history">
693
+                <el-input
694
+                  type="textarea"
695
+                  :rows="3"
696
+                  v-model="form.past_history"
697
+                  resize="none"
698
+                  placeholder=""
699
+                ></el-input>
700
+              </el-form-item>
701
+            </el-col>
702
+          </el-row>
703
+          <el-row :gutter="24">
704
+            <el-col :span="24">
705
+              <el-form-item label="体格检查">
706
+                <el-input
707
+                  v-model="form.temperature"
708
+                  style="width: 200px"
750 709
                 >
751
-                <template slot="append"
752
-                  >mmHg</template
710
+                  <template slot="prepend">体温:</template>
711
+                  <template slot="append">℃</template>
712
+                </el-input>
713
+                <el-input v-model="form.pulse" style="width: 220px" >
714
+                  <template slot="prepend">脉搏: </template>
715
+                  <template slot="append">次/分</template>
716
+                </el-input>
717
+                <el-input
718
+                  v-model="form.respiratory"
719
+                  style="width: 220px"
720
+                  
753 721
                 >
754
-              </el-input>
755
-            </el-form-item>
722
+                  <template slot="prepend">呼吸: </template>
723
+                  <template slot="append">次/分</template>
724
+                </el-input>
725
+              </el-form-item>
726
+            </el-col>
727
+          </el-row>
728
+          <el-row :gutter="24">
729
+            <el-col>
730
+              <el-form-item>
731
+                <el-input v-model="form.sbp" style="width: 240px" >
732
+                  <template slot="prepend">收缩压:</template>
733
+                  <template slot="append">mmHg</template>
734
+                </el-input>
735
+                <el-input v-model="form.dbp" style="width: 240px" >
736
+                  <template slot="prepend">舒张压:</template>
737
+                  <template slot="append">mmHg</template>
738
+                </el-input>
739
+              </el-form-item>
740
+            </el-col>
741
+          </el-row>
742
+        </div>
743
+
744
+        <div style="flex: 1;" class="now_his">
745
+          <el-row :gutter="24" style="height:100%;">
746
+            <el-col :span="24" style="height:100%;">
747
+              <el-form-item label="现病史 : " prop="present_history" style="height:100%;">
748
+                <el-input
749
+                  style="height:100%;"
750
+                  type="textarea"
751
+                  :rows="3"
752
+                  v-model="form.present_history"
753
+                  resize="none"
754
+                  placeholder=""
755
+                ></el-input>
756
+              </el-form-item>
757
+            </el-col>
758
+          </el-row>
759
+        </div>
760
+      </div>
761
+        <el-row :span="24">
762
+          <el-col>
756 763
           </el-col>
757 764
           <el-col></el-col>
758 765
           <el-col :span="24">
@@ -1907,4 +1914,21 @@ export default {
1907 1914
   bottom: 0;
1908 1915
   right: 50px;
1909 1916
 }
1917
+
1918
+/deep/ .now_his{
1919
+  .el-row{
1920
+    .el-col-24{
1921
+      .el-form-item{
1922
+        .el-form-item__content{
1923
+          height: 100%;
1924
+          .el-textarea{
1925
+            .el-textarea__inner{
1926
+              height: 93%;
1927
+            }
1928
+          }
1929
+        }
1930
+      }
1931
+    }
1932
+  }
1933
+}
1910 1934
 </style>