浏览代码

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

csx 2 年前
父节点
当前提交
8e9f8fe55c
共有 23 个文件被更改,包括 6421 次插入606 次删除
  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 查看文件

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

+ 7 - 4
src/xt_pages/Pharmacy/PatientDispensing.vue 查看文件

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

+ 98 - 24
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

462
                       style="padding: 2px 0; line-height: 23px; display: flex"
462
                       style="padding: 2px 0; line-height: 23px; display: flex"
463
                     >
463
                     >
464
                       <div class="inline_block" style="flex: 1">
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
                         <div
469
                         <div
467
                           class="under_line"
470
                           class="under_line"
468
                           style="
471
                           style="
1177
                         <!-- <thead> -->
1180
                         <!-- <thead> -->
1178
                         <tr>
1181
                         <tr>
1179
                           <td
1182
                           <td
1180
-                            colspan="11"
1183
+                            colspan="14"
1181
                             style="
1184
                             style="
1182
                               letter-spacing: 5px;
1185
                               letter-spacing: 5px;
1183
                               text-align: center;
1186
                               text-align: center;
1202
                             透析液温度(°C)
1205
                             透析液温度(°C)
1203
                           </td>
1206
                           </td>
1204
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
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
                           <td width="50">超滤量<br />(ml)</td>
1224
                           <td width="50">超滤量<br />(ml)</td>
1208
                           <td
1225
                           <td
1209
                             v-if="
1226
                             v-if="
1215
                           >
1232
                           >
1216
                             置换量<br />(ml)
1233
                             置换量<br />(ml)
1217
                           </td>
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
                           <td width="200">病情变化及处理</td>
1249
                           <td width="200">病情变化及处理</td>
1219
                         </tr>
1250
                         </tr>
1220
                         <tr
1251
                         <tr
1286
                                 : ""
1317
                                 : ""
1287
                             }}
1318
                             }}
1288
                           </td>
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
                               monitor_record.conductivity
1326
                               monitor_record.conductivity
1292
                                 ? monitor_record.conductivity
1327
                                 ? monitor_record.conductivity
1293
                                 : ""
1328
                                 : ""
1294
                             }}
1329
                             }}
1295
                           </td>
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
                           <td>
1363
                           <td>
1304
                             <span v-if="monitor_record.operate_time">{{
1364
                             <span v-if="monitor_record.operate_time">{{
1305
                               monitor_record.ultrafiltration_volume
1365
                               monitor_record.ultrafiltration_volume
1311
                             v-if="
1371
                             v-if="
1312
                               record.prescription.mode_id == 2 ||
1372
                               record.prescription.mode_id == 2 ||
1313
                               record.prescription.mode_id == 5 ||
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
                             style="width: 50px"
1376
                             style="width: 50px"
1319
                           >
1377
                           >
1323
                                 : ""
1381
                                 : ""
1324
                             }}
1382
                             }}
1325
                           </td>
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
                           <td style="line-height: 16px; padding: 0px">
1398
                           <td style="line-height: 16px; padding: 0px">
1327
                             <div
1399
                             <div
1328
                               style="
1400
                               style="
1382
                           <td></td>
1454
                           <td></td>
1383
                           <td></td>
1455
                           <td></td>
1384
                           <td></td>
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
                           <td style="line-height: 16px; padding: 0px">
1463
                           <td style="line-height: 16px; padding: 0px">
1387
                             <div
1464
                             <div
1388
                               style="
1465
                               style="
2596
     };
2673
     };
2597
   },
2674
   },
2598
   created() {
2675
   created() {
2599
-    
2600
     var bloodAccessParOpera = getDataConfig(
2676
     var bloodAccessParOpera = getDataConfig(
2601
       "hemodialysis",
2677
       "hemodialysis",
2602
       "vascular_access_desc"
2678
       "vascular_access_desc"
2616
     this.modeOptions = this.$store.getters.treatment_mode;
2692
     this.modeOptions = this.$store.getters.treatment_mode;
2617
     //   this.replacementWays = this.$store.getters.replacement_ways;
2693
     //   this.replacementWays = this.$store.getters.replacement_ways;
2618
     //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
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
     // for(let i = 0 ; i < this.records.length ; i++){
2696
     // for(let i = 0 ; i < this.records.length ; i++){
2621
     //   console.log(i,'jhk')
2697
     //   console.log(i,'jhk')
2622
     //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2698
     //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2623
     //   i.assessment_before_dislysis.blood_access_part_opera_id
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
     for (var key in bloodAccessParOpera) {
2704
     for (var key in bloodAccessParOpera) {
2629
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2705
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2630
         bloodAccessParOpera[key];
2706
         bloodAccessParOpera[key];
2651
     //     this.$message.error("参数不齐");
2727
     //     this.$message.error("参数不齐");
2652
     //     return false;
2728
     //     return false;
2653
     //   }
2729
     //   }
2654
-    
2655
   },
2730
   },
2656
   mounted() {
2731
   mounted() {
2657
     this.loading = true;
2732
     this.loading = true;
2664
       .then((rs) => {
2739
       .then((rs) => {
2665
         var resp = rs.data;
2740
         var resp = rs.data;
2666
         if (resp.state == 1) {
2741
         if (resp.state == 1) {
2667
-
2668
           this.records = this.records.concat(resp.data.schedules);
2742
           this.records = this.records.concat(resp.data.schedules);
2669
 
2743
 
2670
           for (const recordIndex in this.records) {
2744
           for (const recordIndex in this.records) {
2786
           //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2860
           //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2787
           //   o.assessment_before_dislysis.blood_access_part_opera_id)
2861
           //   o.assessment_before_dislysis.blood_access_part_opera_id)
2788
           // })
2862
           // })
2789
-          
2863
+
2790
           this.operators = resp.data.medical_staffs;
2864
           this.operators = resp.data.medical_staffs;
2791
           if (this.operators.length > 0) {
2865
           if (this.operators.length > 0) {
2792
             var operatorsLen = this.operators.length;
2866
             var operatorsLen = this.operators.length;
2885
       return "";
2959
       return "";
2886
     },
2960
     },
2887
     bloodAccessParOperaName(id) {
2961
     bloodAccessParOperaName(id) {
2888
-      console.log(tihs.records,'hhh')
2962
+      console.log(tihs.records, "hhh");
2889
       if (id in this.bloodAccessParOpera) {
2963
       if (id in this.bloodAccessParOpera) {
2890
         return this.bloodAccessParOpera[id].name;
2964
         return this.bloodAccessParOpera[id].name;
2891
       }
2965
       }

+ 1 - 1
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

1390
             </el-form-item>
1390
             </el-form-item>
1391
           </el-col>
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
             <el-form-item label="累计血容量(ml):">
1394
             <el-form-item label="累计血容量(ml):">
1395
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1395
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1396
             </el-form-item>
1396
             </el-form-item>

+ 52 - 6
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

716
           >打印</el-button
716
           >打印</el-button
717
         >
717
         >
718
       </template>
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
     </div>
748
     </div>
720
     <div class="app-container" style="min-height: 0">
749
     <div class="app-container" style="min-height: 0">
721
       <!--<div class="order-print-btn"-->
750
       <!--<div class="order-print-btn"-->
1127
             v-if="org_template_info.template_id == 56"
1156
             v-if="org_template_info.template_id == 56"
1128
           >
1157
           >
1129
           </DialysisPrintOrderFiftySix>
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
         </div>
1168
         </div>
1132
       </el-container>
1169
       </el-container>
1200
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1237
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1201
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1238
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1202
 import DialysisPrintOrderFiftyFour from "./template/DialysisPrintOrderFiftyFour";
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
 export default {
1244
 export default {
1206
   name: "dialysisPrintOrder",
1245
   name: "dialysisPrintOrder",
1207
   components: {
1246
   components: {
1247
+    DialysisPrintOrderFiftyEight,
1248
+    DialysisPrintOrderFiftySeven,
1208
     DialysisPrintOrderFiftySix,
1249
     DialysisPrintOrderFiftySix,
1209
     DialysisPrintOrderFiftyfive,
1250
     DialysisPrintOrderFiftyfive,
1210
     DialysisPrintOrderFiftyFour,
1251
     DialysisPrintOrderFiftyFour,
1427
       // const style3 =
1468
       // const style3 =
1428
       //   '@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;}';
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
       const style5 =
1476
       const style5 =
1432
         '@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;}}';
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
       const style6 =
1478
       const style6 =
1447
       // 雷州惠爱样式
1492
       // 雷州惠爱样式
1448
       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;} ';
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
       if (this.org_template_info.template_id == 1) {
1497
       if (this.org_template_info.template_id == 1) {
1453
         printJS({
1498
         printJS({
1493
         this.org_template_info.template_id == 11 ||
1538
         this.org_template_info.template_id == 11 ||
1494
         this.org_template_info.template_id == 49 ||
1539
         this.org_template_info.template_id == 49 ||
1495
         this.org_template_info.template_id == 50 ||
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
         printJS({
1544
         printJS({
1499
           printable: "dialysis-print-box-1",
1545
           printable: "dialysis-print-box-1",
1505
         printJS({
1551
         printJS({
1506
           printable: "dialysis-print-box",
1552
           printable: "dialysis-print-box",
1507
           type: "html",
1553
           type: "html",
1508
-          style: style,
1554
+          style: style4,
1509
           scanStyles: false,
1555
           scanStyles: false,
1510
         });
1556
         });
1511
       } else if (this.org_template_info.template_id == 8) {
1557
       } else if (this.org_template_info.template_id == 8) {
1799
         });
1845
         });
1800
         
1846
         
1801
       }else if (
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
         printJS({
1850
         printJS({
1805
           printable: "dialysis-print-box",
1851
           printable: "dialysis-print-box",

+ 9 - 2
src/xt_pages/dialysis/schedualPatient.vue 查看文件

609
           var resp = rs.data
609
           var resp = rs.data
610
           if (resp.state == 1) {
610
           if (resp.state == 1) {
611
             var zones = resp.data.zones
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
             var schedules = resp.data.schedules
619
             var schedules = resp.data.schedules
613
             var zone_options = [{ id: 0, text: '全部分区' }]
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
               zone_options.push({ id: zone.id, text: zone.name })
623
               zone_options.push({ id: zone.id, text: zone.name })
617
             }
624
             }
618
             this.zone_options = zone_options
625
             this.zone_options = zone_options

文件差异内容过多而无法显示
+ 3707 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue


+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue 查看文件

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

文件差异内容过多而无法显示
+ 1905 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue


+ 18 - 19
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue 查看文件

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
                         </div>
399
                         </div>
399
                         <div
400
                         <div
400
                           style="
401
                           style="
907
                   <td v-if="advice_index === 1" width="145">体重增加量:</td>
908
                   <td v-if="advice_index === 1" width="145">体重增加量:</td>
908
                   <td v-if="advice_index === 1" width="60">
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
                             predialysis.weight_before -
915
                             predialysis.weight_before -
915
                             assessmentafter.weight_after
916
                             assessmentafter.weight_after
916
                           ).toFixed(2)
917
                           ).toFixed(2)
917
-                        : 0
918
                     }}kg
918
                     }}kg
919
                   </td>
919
                   </td>
920
                   <td v-if="advice_index === 2" width="145">干体重(DW):</td>
920
                   <td v-if="advice_index === 2" width="145">干体重(DW):</td>
964
                   </td>
964
                   </td>
965
                   <td v-if="advice_index === 6" width="60">
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
                             predialysis.weight_before -
971
                             predialysis.weight_before -
972
                             afterdialysis.weight_after
972
                             afterdialysis.weight_after
973
                           ).toFixed(2)
973
                           ).toFixed(2)
974
-                        : 0
975
                     }}kg
974
                     }}kg
976
                   </td>
975
                   </td>
977
                   <td v-if="advice_index > 6" width="145"></td>
976
                   <td v-if="advice_index > 6" width="145"></td>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue 查看文件

425
                     <div class="inline_block" style="flex:1;">
425
                     <div class="inline_block" style="flex:1;">
426
                       置换方式:
426
                       置换方式:
427
                       <div class="under_line" style="width: 60px;text-align: center">
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
                       </div>
429
                       </div>
430
                     </div>
430
                     </div>
431
                     <div class="inline_block" style="flex:1;">
431
                     <div class="inline_block" style="flex:1;">
432
                       置换总量:
432
                       置换总量:
433
                       <div class="under_line" style="width: 50px;text-align: center">
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
                       </div>
435
                       </div>
436
                       L
436
                       L
437
                     </div>
437
                     </div>

+ 30 - 22
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue 查看文件

160
 
160
 
161
         <div
161
         <div
162
           class="row"
162
           class="row"
163
-          :style="this.totollength > 13 ? 'margin-bottom:400px;' : ''"
163
+          :style="this.totollength > 13 ? 'margin-bottom:250px;' : ''"
164
         >
164
         >
165
           <table class="proj_table">
165
           <table class="proj_table">
166
             <tbody>
166
             <tbody>
1407
                             font-size: 16px;
1407
                             font-size: 16px;
1408
                             padding: 6px 8px;
1408
                             padding: 6px 8px;
1409
                             line-height: 30px;
1409
                             line-height: 30px;
1410
+                            
1410
                           "
1411
                           "
1411
                         >
1412
                         >
1412
                           医嘱内容
1413
                           医嘱内容
1680
         </template>
1681
         </template>
1681
         <div class="row" style="margin-top: -11px; position: relative">
1682
         <div class="row" style="margin-top: -11px; position: relative">
1682
           <table class="proj_table">
1683
           <table class="proj_table">
1683
-            <tbody>
1684
               <template v-if="doctor_advices_2.length > 0">
1684
               <template v-if="doctor_advices_2.length > 0">
1685
                 <tr style="line-height: 35px; padding: 8px 5px">
1685
                 <tr style="line-height: 35px; padding: 8px 5px">
1686
                   <td
1686
                   <td
1692
                       font-size: 16px;
1692
                       font-size: 16px;
1693
                       padding: 6px 8px;
1693
                       padding: 6px 8px;
1694
                       line-height: 30px;
1694
                       line-height: 30px;
1695
+                      border: 1px solid;
1695
                     "
1696
                     "
1696
                   >
1697
                   >
1697
                     医嘱内容
1698
                     医嘱内容
1701
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
1702
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
1702
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
1703
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
1703
               </tr> -->
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
                   <td style="font-size: 16px" width="10%">时间</td>
1706
                   <td style="font-size: 16px" width="10%">时间</td>
1706
                   <td style="font-size: 16px" colspan="2" width="45%">
1707
                   <td style="font-size: 16px" colspan="2" width="45%">
1707
                     医嘱内容
1708
                     医嘱内容
1712
                   <td style="font-size: 16px" width="10%">时间</td>
1713
                   <td style="font-size: 16px" width="10%">时间</td>
1713
                 </tr>
1714
                 </tr>
1714
                 <!-- <template v-for="group in doctor_advices" > -->
1715
                 <!-- <template v-for="group in doctor_advices" > -->
1715
-                <tr
1716
+                <tr class="split_table_tr" 
1716
                   v-for="(advice, advice_index) in doctor_advices_2"
1717
                   v-for="(advice, advice_index) in doctor_advices_2"
1717
                   :key="advice_index"
1718
                   :key="advice_index"
1718
                 >
1719
                 >
2498
                   </div>
2499
                   </div>
2499
                 </td>
2500
                 </td>
2500
               </tr>
2501
               </tr>
2501
-            </tbody>
2502
+            
2502
           </table>
2503
           </table>
2503
           <!-- <div  class="print-yema">1</div> -->
2504
           <!-- <div  class="print-yema">1</div> -->
2504
         </div>
2505
         </div>
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
       } else {
3373
       } else {
3373
         this.loading = false;
3374
         this.loading = false;
3374
         this.$message.error("请求数据失败");
3375
         this.$message.error("请求数据失败");
3545
   text-align: center;
3546
   text-align: center;
3546
   font-size: 20px;
3547
   font-size: 20px;
3547
   letter-spacing: 5px;
3548
   letter-spacing: 5px;
3549
+
3548
 }
3550
 }
3549
 
3551
 
3550
 .dialysis-print-order .order-title {
3552
 .dialysis-print-order .order-title {
3651
   line-height: 16px;
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
 .print-table-no {
3662
 .print-table-no {
3655
   width: 100%;
3663
   width: 100%;
3656
   text-align: center;
3664
   text-align: center;

+ 52 - 37
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue 查看文件

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

+ 55 - 65
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

59
           <div class="inline_block">
59
           <div class="inline_block">
60
             病区:
60
             病区:
61
             <div class="under_line" style="width: 50px; text-align: center">
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
                 patientInfo.DialysisSchedule.device_zone.name
63
                 patientInfo.DialysisSchedule.device_zone.name
64
                   ? patientInfo.DialysisSchedule.device_zone.name
64
                   ? patientInfo.DialysisSchedule.device_zone.name
65
                   : ""
65
                   : ""
429
                     style="padding: 2px 0; line-height: 23px; display: flex"
429
                     style="padding: 2px 0; line-height: 23px; display: flex"
430
                   >
430
                   >
431
                     <div class="inline_block" style="flex: 1">
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
                       <div
434
                       <div
434
                         class="under_line"
435
                         class="under_line"
435
                         style="
436
                         style="
1171
                           :colspan="
1172
                           :colspan="
1172
                             prescription.mode_id == 2 ||
1173
                             prescription.mode_id == 2 ||
1173
                             prescription.mode_id == 5
1174
                             prescription.mode_id == 5
1174
-                              ? 12
1175
-                              : 11
1175
+                              ? 14
1176
+                              : 13
1176
                           "
1177
                           "
1177
                           style="
1178
                           style="
1178
                             letter-spacing: 5px;
1179
                             letter-spacing: 5px;
1238
                         >
1239
                         >
1239
                           置换量<br />(ml)
1240
                           置换量<br />(ml)
1240
                         </td>
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
                         <td width="200">病情变化及处理</td>
1244
                         <td width="200">病情变化及处理</td>
1243
 
1245
 
1244
                         <!-- <td width="100">时间</td>
1246
                         <!-- <td width="100">时间</td>
1254
                     <td  width="100">护士签名</td> -->
1256
                     <td  width="100">护士签名</td> -->
1255
                       </tr>
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
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
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
                         <td>
1266
                         <td>
1294
                           {{
1267
                           {{
1295
                             monitor.venous_pressure
1268
                             monitor.venous_pressure
1370
                               : ""
1343
                               : ""
1371
                           }}
1344
                           }}
1372
                         </td>
1345
                         </td>
1373
-                        
1346
+
1374
                         <td
1347
                         <td
1375
                         >
1348
                         >
1376
                           {{
1349
                           {{
1403
                             }}
1376
                             }}
1404
                           </span>
1377
                           </span>
1405
                         </td>
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
                           {{ monitor.ktv }}
1380
                           {{ monitor.ktv }}
1408
                         </td>
1381
                         </td>
1382
+                        <td width="50" v-if="org_id == 9538|| org_id == 9675">
1383
+                          {{ monitor.accumulated_blood_volume }}
1384
+                        </td>
1409
                         <td style="line-height: 16px; padding: 0px">
1385
                         <td style="line-height: 16px; padding: 0px">
1410
                           <div
1386
                           <div
1411
                             style="
1387
                             style="
1464
                           "
1440
                           "
1465
                           width="50"
1441
                           width="50"
1466
                         ></td>
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
                         <td style="line-height: 16px; padding: 0px">
1445
                         <td style="line-height: 16px; padding: 0px">
1469
                           <div
1446
                           <div
1470
                             style="
1447
                             style="
1695
             <div class="inline_block">
1672
             <div class="inline_block">
1696
               病区:
1673
               病区:
1697
               <div class="under_line" style="width: 50px; text-align: center">
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
             </div>
1682
             </div>
1701
             <div class="inline_block">
1683
             <div class="inline_block">
1702
               床号:
1684
               床号:
1703
               <div class="under_line" style="width: 50px; text-align: center">
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
             </div>
1695
             </div>
1707
             <div class="inline_block">
1696
             <div class="inline_block">
1708
               透析号:
1697
               透析号:
1711
               </div>
1700
               </div>
1712
             </div>
1701
             </div>
1713
             <div class="inline_block" style="margin-left: 5px">
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
             </div>
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
           </div>
1719
           </div>
1731
           <div class="row" style="margin-bottom: 10px">
1720
           <div class="row" style="margin-bottom: 10px">
1732
             <div class="inline_block">
1721
             <div class="inline_block">
2055
                       min
2044
                       min
2056
                     </div>
2045
                     </div>
2057
                   </div>
2046
                   </div>
2058
-                  <div
2047
+                  <!-- <div
2059
                     class="row"
2048
                     class="row"
2060
                     style="padding: 2px 0; line-height: 23px; display: flex"
2049
                     style="padding: 2px 0; line-height: 23px; display: flex"
2061
                     v-if="org_id==9538 || org_id==9675"
2050
                     v-if="org_id==9538 || org_id==9675"
2086
                         {{ afterdialysis.accumulated_blood_volume ? afterdialysis.accumulated_blood_volume : "/" }}
2075
                         {{ afterdialysis.accumulated_blood_volume ? afterdialysis.accumulated_blood_volume : "/" }}
2087
                       </div>
2076
                       </div>
2088
                     </div>
2077
                     </div>
2089
-                  </div>
2078
+                  </div> -->
2090
                   <div
2079
                   <div
2091
                     class="row"
2080
                     class="row"
2092
                     style="padding: 2px 0; line-height: 23px; display: flex"
2081
                     style="padding: 2px 0; line-height: 23px; display: flex"
2450
                       </div>
2439
                       </div>
2451
                     </div>
2440
                     </div>
2452
                     <div class="inline_block" style="flex: 1">
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
                       <div
2444
                       <div
2455
                         class="under_line"
2445
                         class="under_line"
2456
                         style="width: 80px; text-align: center"
2446
                         style="width: 80px; text-align: center"

+ 3 - 3
src/xt_pages/outpatientCharges/listPrint.vue 查看文件

570
         if(this.org_id != 10106){
570
         if(this.org_id != 10106){
571
           if(this.org_id == 10215 || this.org_id == 0|| this.org_id == 9675){
571
           if(this.org_id == 10215 || this.org_id == 0|| this.org_id == 9675){
572
             const style =
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
             printJS({
574
             printJS({
575
               printable: 'allList-print',
575
               printable: 'allList-print',
576
               type: 'html',
576
               type: 'html',
581
 
581
 
582
           }else {
582
           }else {
583
             const style =
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
             printJS({
585
             printJS({
586
               printable: 'list-print',
586
               printable: 'list-print',
587
               type: 'html',
587
               type: 'html',
591
           }
591
           }
592
         }else{
592
         }else{
593
           const style =
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
           printJS({
595
           printJS({
596
             printable: "statement-print",
596
             printable: "statement-print",
597
             type: "html",
597
             type: "html",

+ 52 - 52
src/xt_pages/outpatientCharges/statementTemplate/printFive.vue 查看文件

2
   <div id="statement-print" class="statement-print">
2
   <div id="statement-print" class="statement-print">
3
     <table class="statementTable" border="0">
3
     <table class="statementTable" border="0">
4
       <thead>
4
       <thead>
5
-        <tr>
6
-          <td colspan="10">石狮圣誉血液透析中心结算单</td>
7
-        </tr>
5
+      <tr>
6
+        <td colspan="10">石狮圣誉血液透析中心结算单</td>
7
+      </tr>
8
       </thead>
8
       </thead>
9
 
9
 
10
       <tbody>
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
         <!-- 帐单列表分为左右两列,需要对数据进行x/2分别放进list_L,list_R两个数组进行循环 -->
25
         <!-- 帐单列表分为左右两列,需要对数据进行x/2分别放进list_L,list_R两个数组进行循环 -->
26
         <tr>
26
         <tr>
162
 
162
 
163
 
163
 
164
 <style lang="scss" scoped>
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
     0 0 60px rgba(0, 0, 0, 0.06) inset;
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
     0 0 40px rgba(0, 0, 0, 0.06) inset;
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
     text-align: left;
197
     text-align: left;
198
-}
199
-tbody .view_tr{
198
+  }
199
+  tbody .view_tr{
200
     border: 1px solid;
200
     border: 1px solid;
201
     text-align: center;
201
     text-align: center;
202
-}
203
-.list_table{
202
+  }
203
+  .list_table{
204
     width: 100%;
204
     width: 100%;
205
     margin-bottom: 100px;
205
     margin-bottom: 100px;
206
-}
207
-tbody .dashed_tr{
206
+  }
207
+  tbody .dashed_tr{
208
     border: 1px dashed;
208
     border: 1px dashed;
209
     text-align: center;
209
     text-align: center;
210
-}
211
-tbody tr td div{
210
+  }
211
+  tbody tr td div{
212
     height: 25px;
212
     height: 25px;
213
-}
213
+  }
214
 </style>
214
 </style>

+ 41 - 33
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue 查看文件

13
         <td colspan="4">{{info.fixmedins_code}}</td>
13
         <td colspan="4">{{info.fixmedins_code}}</td>
14
         <td width="100">医保结算级别</td>
14
         <td width="100">医保结算级别</td>
15
         <td width="100" v-if="info.hosp_lv == '1'">三级特等</td>
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
         <td width="100" v-else></td>
26
         <td width="100" v-else></td>
27
 
27
 
28
       </tr>
28
       </tr>
43
         <td width="110"></td>
43
         <td width="110"></td>
44
         <td width="80">人员类别</td>
44
         <td width="80">人员类别</td>
45
         <td colspan="3" v-if="info.psn_type == '11'">在职</td>
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
       </tr>
79
       </tr>
72
       <tr>
80
       <tr>
106
         <td>入院第一诊断</td>
114
         <td>入院第一诊断</td>
107
         <td colspan="3">{{info.dise_name}}</td>
115
         <td colspan="3">{{info.dise_name}}</td>
108
         <td>出院第一诊断</td>
116
         <td>出院第一诊断</td>
109
-        <td colspan="4">{{info.dise_name}}</td>
117
+        <td colspan="6">{{info.dise_name}}</td>
110
       </tr>
118
       </tr>
111
       <tr>
119
       <tr>
112
         <td>业务类别</td>
120
         <td>业务类别</td>

+ 3 - 2
src/xt_pages/stock/drugs/components/drugOutDetail.vue 查看文件

162
             <span v-if="scope.row.is_total !=1">
162
             <span v-if="scope.row.is_total !=1">
163
               <span v-if="org_id == 9919">{{(scope.row.last_price * scope.row.count).toFixed(2)}} </span>
163
               <span v-if="org_id == 9919">{{(scope.row.last_price * scope.row.count).toFixed(2)}} </span>
164
               <span v-if="org_id == 10210 ">{{(scope.row.price * scope.row.count).toFixed(2)}} </span>
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
                  {{scope.row.total_price}}
166
                  {{scope.row.total_price}}
168
                </span>
167
                </span>
169
             </span>
168
             </span>
431
                console.log("555555555555",order[i])
430
                console.log("555555555555",order[i])
432
                if(order[i].price > 0){
431
                if(order[i].price > 0){
433
                 console.log("近来33232323322323")
432
                 console.log("近来33232323322323")
433
+                  order[i].total_price = 0
434
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
434
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
435
                    order[i].total_price = order[i].count * order[i].price
435
                    order[i].total_price = order[i].count * order[i].price
436
                  }
436
                  }
438
                    if(order[i].is_sys == 0){
438
                    if(order[i].is_sys == 0){
439
                      order[i].total_price += order[i].count * order[i].price
439
                      order[i].total_price += order[i].count * order[i].price
440
                    }else{
440
                    }else{
441
+                    
441
                      order[i].total_price += order[i].count * order[i].price * order[i].min_number
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 查看文件

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

+ 3 - 3
src/xt_pages/stock/stockInOrderAdd.vue 查看文件

7
 
7
 
8
       <div style="float:right;">
8
       <div style="float:right;">
9
         <el-button size="small" @click="back()" class="filter-item">取 消</el-button>
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
         <el-button size="small" type="primary" v-show="showCheck" @click="toCheck()" class="filter-item">审 核</el-button>
11
         <el-button size="small" type="primary" v-show="showCheck" @click="toCheck()" class="filter-item">审 核</el-button>
12
         <!-- <el-button size="small" type="primary" v-show="showReturnCheck" @click="toReturnCheck()" class="filter-item">反 审 核</el-button> -->
12
         <!-- <el-button size="small" type="primary" v-show="showReturnCheck" @click="toReturnCheck()" class="filter-item">反 审 核</el-button> -->
13
       </div>
13
       </div>
765
                 this.warehousing_info_id  = info.id
765
                 this.warehousing_info_id  = info.id
766
                 for(let i=0;i<list.length;i++){
766
                 for(let i=0;i<list.length;i++){
767
                   for(let j=0;j<dealerList.length;j++){
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
                   for(let s=0;s<manufacturerList.length;s++){
772
                   for(let s=0;s<manufacturerList.length;s++){

+ 3 - 2
src/xt_pages/stock/stockInOrderEdit.vue 查看文件

19
           type="primary"
19
           type="primary"
20
           @click="submit()"
20
           @click="submit()"
21
           v-if="is_check == 2"
21
           v-if="is_check == 2"
22
+          v-loading="loading"
22
           class="filter-item"
23
           class="filter-item"
23
           >保 存</el-button
24
           >保 存</el-button
24
         >
25
         >
759
               var dealerList = response.data.data.dealerList
760
               var dealerList = response.data.data.dealerList
760
               for(let i=0;i<list.length;i++){
761
               for(let i=0;i<list.length;i++){
761
                 for(let j=0;j<dealerList.length;j++){
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
                 for(let s=0;s<manufacturerList.length;s++){
767
                 for(let s=0;s<manufacturerList.length;s++){

+ 233 - 217
src/xt_pages/user/components/PatientDetail.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="app-container ">
2
+  <div class="app-container">
3
     <el-dialog
3
     <el-dialog
4
       title="查看传染病检查结果"
4
       title="查看传染病检查结果"
5
       :visible.sync="dialogFormVisible"
5
       :visible.sync="dialogFormVisible"
21
                 <el-input
21
                 <el-input
22
                   placeholder="请填入"
22
                   placeholder="请填入"
23
                   v-model="item.value"
23
                   v-model="item.value"
24
-                  style="width:95%"
24
+                  style="width: 95%"
25
                   type="number"
25
                   type="number"
26
                   disabled
26
                   disabled
27
                 >
27
                 >
37
                 <el-select
37
                 <el-select
38
                   v-model="item.value"
38
                   v-model="item.value"
39
                   placeholder="请选择"
39
                   placeholder="请选择"
40
-                  style="width:95%"
40
+                  style="width: 95%"
41
                   disabled
41
                   disabled
42
                 >
42
                 >
43
                   <el-option
43
                   <el-option
67
       class="clearfix"
67
       class="clearfix"
68
       id="patient-info"
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
         <el-button
71
         <el-button
72
           size="small"
72
           size="small"
73
           type="primary"
73
           type="primary"
74
           @click="printCard()"
74
           @click="printCard()"
75
-          style="margin:0 6px 6px 0;z-index:1;"
75
+          style="margin: 0 6px 6px 0; z-index: 1"
76
           >打印签到卡</el-button
76
           >打印签到卡</el-button
77
         >
77
         >
78
         <el-button
78
         <el-button
80
           :disabled="$store.getters.xt_user.subscibe.state == 3 ? true : false"
80
           :disabled="$store.getters.xt_user.subscibe.state == 3 ? true : false"
81
           type="primary"
81
           type="primary"
82
           @click="$router.push('/patients/patient/' + patientID + '/edit')"
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
           >修改</el-button
84
           >修改</el-button
85
         >
85
         >
86
         <el-button
86
         <el-button
87
           size="small"
87
           size="small"
88
           type="primary"
88
           type="primary"
89
           @click="printThisInfo()"
89
           @click="printThisInfo()"
90
-          style="margin:0 6px 6px 0;z-index:1;"
90
+          style="margin: 0 6px 6px 0; z-index: 1"
91
           >打印</el-button
91
           >打印</el-button
92
         >
92
         >
93
       </div>
93
       </div>
100
                 <el-input v-model="form.name" disabled></el-input>
100
                 <el-input v-model="form.name" disabled></el-input>
101
               </el-form-item>
101
               </el-form-item>
102
             </el-col>
102
             </el-col>
103
-            <el-col :span="8" style="height:59px;">
103
+            <el-col :span="8" style="height: 59px">
104
               <el-form-item label="性别 : " class="is-required" prop="gender">
104
               <el-form-item label="性别 : " class="is-required" prop="gender">
105
                 <el-radio-group v-model="form.gender">
105
                 <el-radio-group v-model="form.gender">
106
                   <el-radio
106
                   <el-radio
124
                 <el-input v-model="form.idCardNo" disabled></el-input>
124
                 <el-input v-model="form.idCardNo" disabled></el-input>
125
               </el-form-item>
125
               </el-form-item>
126
             </el-col>
126
             </el-col>
127
-            <el-col :span="8" style="height:59px;">
127
+            <el-col :span="8" style="height: 59px">
128
               <el-form-item label="年龄 : " class="is-required" prop="age">
128
               <el-form-item label="年龄 : " class="is-required" prop="age">
129
                 <el-input v-model="form.age" disabled></el-input>
129
                 <el-input v-model="form.age" disabled></el-input>
130
               </el-form-item>
130
               </el-form-item>
136
                   disabled
136
                   disabled
137
                   v-model="form.dialysisNo"
137
                   v-model="form.dialysisNo"
138
                   placeholder="填写或自动生成"
138
                   placeholder="填写或自动生成"
139
-                  style="width:110px;float:left;margin-right: 1%;"
139
+                  style="width: 110px; float: left; margin-right: 1%"
140
                 ></el-input>
140
                 ></el-input>
141
                 <el-button disabled type="primary">自动生成</el-button>
141
                 <el-button disabled type="primary">自动生成</el-button>
142
               </el-form-item>
142
               </el-form-item>
205
                 ></el-input>
205
                 ></el-input>
206
               </el-form-item>
206
               </el-form-item>
207
             </el-col>
207
             </el-col>
208
-            <el-col :span="8" style="height:59px;">
208
+            <el-col :span="8" style="height: 59px">
209
               <el-form-item
209
               <el-form-item
210
                 label="患者来源 : "
210
                 label="患者来源 : "
211
                 class="is-required"
211
                 class="is-required"
223
                 </el-radio-group>
223
                 </el-radio-group>
224
               </el-form-item>
224
               </el-form-item>
225
             </el-col>
225
             </el-col>
226
-            <el-col :span="8" style="height:59px;">
226
+            <el-col :span="8" style="height: 59px">
227
               <el-form-item
227
               <el-form-item
228
                 label="治疗状态(转归) : "
228
                 label="治疗状态(转归) : "
229
                 class="is-required"
229
                 class="is-required"
244
 
244
 
245
             <el-col :span="24">
245
             <el-col :span="24">
246
               <el-form-item label="传染病 : " required prop="is_infectious">
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
                   <el-radio :label="1">阴性</el-radio>
248
                   <el-radio :label="1">阴性</el-radio>
249
                   <el-radio :label="2">阳性</el-radio>
249
                   <el-radio :label="2">阳性</el-radio>
250
                 </el-radio-group>
250
                 </el-radio-group>
266
               </el-form-item>
266
               </el-form-item>
267
 
267
 
268
               <el-form-item label="疑难内瘘:">
268
               <el-form-item label="疑难内瘘:">
269
-
270
                 <el-radio-group v-model="form.troble_shoot" disabled>
269
                 <el-radio-group v-model="form.troble_shoot" disabled>
271
                   <el-radio :label="1">是</el-radio>
270
                   <el-radio :label="1">是</el-radio>
272
                   <el-radio :label="2">否</el-radio>m
271
                   <el-radio :label="2">否</el-radio>m
274
               </el-form-item>
273
               </el-form-item>
275
 
274
 
276
               <el-form-item label="人员编码: ">
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
               </el-form-item>
277
               </el-form-item>
281
             </el-col>
278
             </el-col>
282
 
279
 
307
                   :suffix-icon="'el-icon-menu'"
304
                   :suffix-icon="'el-icon-menu'"
308
                   format="yyyy-MM-dd"
305
                   format="yyyy-MM-dd"
309
                   disabled
306
                   disabled
310
-                  style="width: 200px;"
307
+                  style="width: 200px"
311
                   value-format="yyyy-MM-dd"
308
                   value-format="yyyy-MM-dd"
312
                 ></el-date-picker>
309
                 ></el-date-picker>
313
                 <el-button type="primary" @click="showInspectDialog()"
310
                 <el-button type="primary" @click="showInspectDialog()"
347
             </el-col>
344
             </el-col>
348
 
345
 
349
             <el-col :span="24">
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
             <el-col :span="8">
359
             <el-col :span="8">
363
               <el-form-item label="民族 : " prop="nation">
360
               <el-form-item label="民族 : " prop="nation">
561
       </el-row>
558
       </el-row>
562
 
559
 
563
       <div class="dataTitle">治疗信息</div>
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
       <el-row :gutter="24">
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
         <el-col :span="24">
652
         <el-col :span="24">
650
           <el-form-item label="" prop="remark">
653
           <el-form-item label="" prop="remark">
651
             <!-- <textarea v-model="form.remark" class="textarea" disabled></textarea> -->
654
             <!-- <textarea v-model="form.remark" class="textarea" disabled></textarea> -->
800
         </el-form-item>
803
         </el-form-item>
801
       </el-col>
804
       </el-col>
802
     </el-form>
805
     </el-form>
803
-    <div style="display:none;">
806
+
807
+    <div style="display: none">
804
       <div id="print-info-box">
808
       <div id="print-info-box">
805
         <div class="print_main_content">
809
         <div class="print_main_content">
806
           <div class="order_title">{{ orgname }} 血液透析门诊病历</div>
810
           <div class="order_title">{{ orgname }} 血液透析门诊病历</div>
916
                     ></div>
920
                     ></div>
917
                   </td>
921
                   </td>
918
                 </tr>
922
                 </tr>
919
-                
923
+
920
                 <tr>
924
                 <tr>
921
                   <td>
925
                   <td>
922
                     <div class="td_proj_title">既<br />往<br />史</div>
926
                     <div class="td_proj_title">既<br />往<br />史</div>
938
                     </div>
942
                     </div>
939
                   </td>
943
                   </td>
940
                 </tr>
944
                 </tr>
941
-              
945
+
942
                 <tr>
946
                 <tr>
943
                   <td colspan="8"><div class="td_proj_title">体格检查</div></td>
947
                   <td colspan="8"><div class="td_proj_title">体格检查</div></td>
944
                 </tr>
948
                 </tr>
967
                     ></div>
971
                     ></div>
968
                   </td>
972
                   </td>
969
                 </tr>
973
                 </tr>
970
-             
974
+
971
                 <tr>
975
                 <tr>
972
                   <td>
976
                   <td>
973
                     <div class="td_proj_title">诊<br />断</div>
977
                     <div class="td_proj_title">诊<br />断</div>
996
               <div class="proj">
1000
               <div class="proj">
997
                 <span class="proj_title">日期:</span>
1001
                 <span class="proj_title">日期:</span>
998
                 <!-- {{ getTime(patientPrint.created_time) }} -->
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
               </div>
1007
               </div>
1002
               <div class="proj"><span class="proj_title">医生签名:</span></div>
1008
               <div class="proj"><span class="proj_title">医生签名:</span></div>
1003
             </div>
1009
             </div>
1010
         <div
1016
         <div
1011
           class="order_title"
1017
           class="order_title"
1012
           align="center"
1018
           align="center"
1013
-          style="margin-bottom:20px;font-size:35px"
1019
+          style="margin-bottom: 20px; font-size: 35px"
1014
           v-if="org_id != 10223"
1020
           v-if="org_id != 10223"
1015
         >
1021
         >
1016
           签到卡
1022
           签到卡
1018
         <div
1024
         <div
1019
           class="order_title"
1025
           class="order_title"
1020
           align="center"
1026
           align="center"
1021
-          style="margin-bottom:20px;font-size:25px"
1027
+          style="margin-bottom: 20px; font-size: 25px"
1022
           v-if="org_id == 10223"
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
           姓名:<span>&nbsp;&nbsp;{{ patientPrint.name }}</span
1033
           姓名:<span>&nbsp;&nbsp;{{ patientPrint.name }}</span
1026
           ><br />
1034
           ><br />
1027
         </div>
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
           透析号:<span>&nbsp;&nbsp;{{ patientPrint.dialysis_no }}</span>
1037
           透析号:<span>&nbsp;&nbsp;{{ patientPrint.dialysis_no }}</span>
1030
         </div>
1038
         </div>
1031
         <div>
1039
         <div>
1045
   jsGetAge,
1053
   jsGetAge,
1046
   isPositiveInteger,
1054
   isPositiveInteger,
1047
   dialysisAge,
1055
   dialysisAge,
1048
-  uParseTime
1056
+  uParseTime,
1049
 } from "@/utils/tools";
1057
 } from "@/utils/tools";
1050
 import {
1058
 import {
1051
   generateDialysisNo,
1059
   generateDialysisNo,
1052
   createPatient,
1060
   createPatient,
1053
   editPatient,
1061
   editPatient,
1054
-  fetchPatient
1062
+  fetchPatient,
1055
 } from "@/api/patient";
1063
 } from "@/api/patient";
1056
 import { fetchAllDoctorAndNurse, fetchAllAdminUsers } from "@/api/doctor";
1064
 import { fetchAllDoctorAndNurse, fetchAllAdminUsers } from "@/api/doctor";
1057
 import { getZones } from "@/api/device/device";
1065
 import { getZones } from "@/api/device/device";
1120
   dialysis_age: "",
1128
   dialysis_age: "",
1121
   expense_kind: "",
1129
   expense_kind: "",
1122
   contact_name: "",
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
 export default {
1138
 export default {
1140
         { id: 4, name: "公费医疗" },
1148
         { id: 4, name: "公费医疗" },
1141
         { id: 5, name: "商业保险" },
1149
         { id: 5, name: "商业保险" },
1142
         { id: 6, name: "军队医疗" },
1150
         { id: 6, name: "军队医疗" },
1143
-        { id: 7, name: "其他" }
1151
+        { id: 7, name: "其他" },
1144
       ],
1152
       ],
1145
 
1153
 
1146
       generic_info_fold: true,
1154
       generic_info_fold: true,
1157
       dialogVisible: false,
1165
       dialogVisible: false,
1158
       typeOptions: null,
1166
       typeOptions: null,
1159
       styleOptions: null,
1167
       styleOptions: null,
1160
-      sourceOptions: [{ value: 1, label: "门诊" }, { value: 2, label: "住院" }],
1168
+      sourceOptions: [
1169
+        { value: 1, label: "门诊" },
1170
+        { value: 2, label: "住院" },
1171
+      ],
1161
       lapsetoOptions: [
1172
       lapsetoOptions: [
1162
         { value: 1, label: "留治" },
1173
         { value: 1, label: "留治" },
1163
-        { value: 2, label: "转出" }
1174
+        { value: 2, label: "转出" },
1164
       ],
1175
       ],
1165
       partitionOptions: [],
1176
       partitionOptions: [],
1166
-      sexOptions: [{ value: 1, label: "男" }, { value: 2, label: "女" }],
1177
+      sexOptions: [
1178
+        { value: 1, label: "男" },
1179
+        { value: 2, label: "女" },
1180
+      ],
1167
       isHospitalFirstDialysisOptions: [
1181
       isHospitalFirstDialysisOptions: [
1168
         { value: 1, label: "是" },
1182
         { value: 1, label: "是" },
1169
-        { value: 2, label: "否" }
1183
+        { value: 2, label: "否" },
1170
       ],
1184
       ],
1171
       predialysisConditionOptions: [
1185
       predialysisConditionOptions: [
1172
         { value: 1, label: "腹膜透析" },
1186
         { value: 1, label: "腹膜透析" },
1173
-        { value: 2, label: "肾移植" }
1187
+        { value: 2, label: "肾移植" },
1174
       ],
1188
       ],
1175
       maritalOptions: null,
1189
       maritalOptions: null,
1176
       wayOptions: null,
1190
       wayOptions: null,
1188
       patientID: 0,
1202
       patientID: 0,
1189
       patientPrint: {},
1203
       patientPrint: {},
1190
       print_time: "",
1204
       print_time: "",
1191
-      printDate:"",
1205
+      printDate: "",
1192
       rules: {
1206
       rules: {
1193
         contagions: [{ type: "array", required: false, trigger: "change" }],
1207
         contagions: [{ type: "array", required: false, trigger: "change" }],
1194
         avatar: [{ required: true, message: "请上传头像", trigger: "blur" }],
1208
         avatar: [{ required: true, message: "请上传头像", trigger: "blur" }],
1195
         patientType: [
1209
         patientType: [
1196
-          { required: true, message: "请选择患者类型", trigger: "blur" }
1210
+          { required: true, message: "请选择患者类型", trigger: "blur" },
1197
         ],
1211
         ],
1198
         dialysisNo: [
1212
         dialysisNo: [
1199
-          { required: true, message: "请填写透析号", trigger: "blur" }
1213
+          { required: true, message: "请填写透析号", trigger: "blur" },
1200
         ],
1214
         ],
1201
         admissionNumber: [
1215
         admissionNumber: [
1202
-          { required: true, message: "请填写住院(门诊)号", trigger: "blur" }
1216
+          { required: true, message: "请填写住院(门诊)号", trigger: "blur" },
1203
         ],
1217
         ],
1204
         source: [
1218
         source: [
1205
-          { required: true, message: "请选择患者来源", trigger: "blur" }
1219
+          { required: true, message: "请选择患者来源", trigger: "blur" },
1206
         ],
1220
         ],
1207
         lapseto: [
1221
         lapseto: [
1208
-          { required: true, message: "请选择治疗状态", trigger: "blur" }
1222
+          { required: true, message: "请选择治疗状态", trigger: "blur" },
1209
         ],
1223
         ],
1210
         name: [{ required: true, message: "请填写姓名", trigger: "blur" }],
1224
         name: [{ required: true, message: "请填写姓名", trigger: "blur" }],
1211
         gender: [{ required: true, message: "请选择性别", trigger: "blur" }],
1225
         gender: [{ required: true, message: "请选择性别", trigger: "blur" }],
1212
         idCardNo: [
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
   computed: {
1237
   computed: {
1224
-    generic_fold_icon: function() {
1238
+    generic_fold_icon: function () {
1225
       return this.generic_info_fold ? "el-icon-arrow-down" : "el-icon-arrow-up";
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
       return this.treat_info_fold ? "el-icon-arrow-down" : "el-icon-arrow-up";
1242
       return this.treat_info_fold ? "el-icon-arrow-down" : "el-icon-arrow-up";
1229
-    }
1243
+    },
1230
   },
1244
   },
1231
   created() {
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
     this.styleOptions = this.$store.getters.patient_types;
1247
     this.styleOptions = this.$store.getters.patient_types;
1234
     // this.partitionOptions = this.$store.getters.partitions;
1248
     // this.partitionOptions = this.$store.getters.partitions;
1235
     this.maritalOptions = getDataConfig("patient", "marital_options");
1249
     this.maritalOptions = getDataConfig("patient", "marital_options");
1254
       console.log("patient detail not had id");
1268
       console.log("patient detail not had id");
1255
       this.$notify.error({
1269
       this.$notify.error({
1256
         title: "错误",
1270
         title: "错误",
1257
-        message: "无效的id"
1271
+        message: "无效的id",
1258
       });
1272
       });
1259
       this.$router.push("/patients/patients");
1273
       this.$router.push("/patients/patients");
1260
     }
1274
     }
1264
     // this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}');
1278
     // this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}');
1265
 
1279
 
1266
     var data = new Date();
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
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
1283
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
1269
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
1284
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
1270
   },
1285
   },
1277
       this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
1292
       this.print_time = uParseTime(ptime, "{y}年{m}月{d}日");
1278
 
1293
 
1279
       const style =
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
       setTimeout(() => {
1297
       setTimeout(() => {
1283
         printJS({
1298
         printJS({
1284
           printable: "print-info-box",
1299
           printable: "print-info-box",
1285
           type: "html",
1300
           type: "html",
1286
           style: style,
1301
           style: style,
1287
-          scanStyles: false
1302
+          scanStyles: false,
1288
         });
1303
         });
1289
       }, 1);
1304
       }, 1);
1290
     },
1305
     },
1291
     getZones() {
1306
     getZones() {
1292
-      getZones().then(response => {
1307
+      getZones().then((response) => {
1293
         if (response.data.state === 1) {
1308
         if (response.data.state === 1) {
1294
           this.partitionOptions = response.data.data.zones;
1309
           this.partitionOptions = response.data.data.zones;
1295
         }
1310
         }
1297
     },
1312
     },
1298
     fetchPatient(id) {
1313
     fetchPatient(id) {
1299
       fetchPatient(id)
1314
       fetchPatient(id)
1300
-        .then(response => {
1315
+        .then((response) => {
1301
           console.log(response.data.data);
1316
           console.log(response.data.data);
1302
           if (response.data.state === 1) {
1317
           if (response.data.state === 1) {
1303
             this.$emit("tran-patient-info", response.data.data.patient);
1318
             this.$emit("tran-patient-info", response.data.data.patient);
1304
             var patietInfo = response.data.data.patient;
1319
             var patietInfo = response.data.data.patient;
1305
-            console.log("触发了吗无222222",patietInfo)
1320
+            console.log("触发了吗无222222", patietInfo);
1306
             this.form.avatar = patietInfo.avatar;
1321
             this.form.avatar = patietInfo.avatar;
1307
             this.form.name = patietInfo.name;
1322
             this.form.name = patietInfo.name;
1308
             this.form.alias = patietInfo.alias;
1323
             this.form.alias = patietInfo.alias;
1311
             this.form.dialysisNo = patietInfo.dialysis_no;
1326
             this.form.dialysisNo = patietInfo.dialysis_no;
1312
             this.form.gender = patietInfo.gender;
1327
             this.form.gender = patietInfo.gender;
1313
             this.form.is_infectious = patietInfo.is_infectious;
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
             // this.form.record_date = patietInfo.is_infectious
1331
             // this.form.record_date = patietInfo.is_infectious
1317
             this.form.response_result = patietInfo.response_result;
1332
             this.form.response_result = patietInfo.response_result;
1318
             this.form.remind_cycle = patietInfo.remind_cycle;
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
             this.form.user_sys_before_count = patietInfo.user_sys_before_count;
1339
             this.form.user_sys_before_count = patietInfo.user_sys_before_count;
1326
 
1340
 
1327
             this.infections = response.data.data.infections;
1341
             this.infections = response.data.data.infections;
1335
                 const select_options = ["阴性", "阳性", "弱阳性"];
1349
                 const select_options = ["阴性", "阳性", "弱阳性"];
1336
                 for (let i = 0; i < this.infections.length; i++) {
1350
                 for (let i = 0; i < this.infections.length; i++) {
1337
                   this.infections[i]["select_options"] = select_options;
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
             this.form.first_dialysis_hospital =
1418
             this.form.first_dialysis_hospital =
1406
               patietInfo.first_dialysis_hospital;
1419
               patietInfo.first_dialysis_hospital;
1407
             if (patietInfo.predialysis_condition.length > 0) {
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
             this.form.pre_hospital_dialysis_frequency =
1424
             this.form.pre_hospital_dialysis_frequency =
1413
               patietInfo.pre_hospital_dialysis_frequency;
1425
               patietInfo.pre_hospital_dialysis_frequency;
1518
             var partitionLen = this.partitionOptions.length;
1530
             var partitionLen = this.partitionOptions.length;
1519
             for (let index = 0; index < partitionLen; index++) {
1531
             for (let index = 0; index < partitionLen; index++) {
1520
               if (this.partitionOptions[index].id === patietInfo.partition_id) {
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
                 break;
1535
                 break;
1525
               }
1536
               }
1526
             }
1537
             }
1540
                 this.maritalOptions[index].id ==
1551
                 this.maritalOptions[index].id ==
1541
                 response.data.data.patient.marital_status
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
             );
1562
             );
1553
             this.patientPrint.age = jsGetAge(this.patientPrint.birthday, "-");
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
             this.patientPrint.past_history = patietInfo.past_history.replace(
1569
             this.patientPrint.past_history = patietInfo.past_history.replace(
1564
               /\n/g,
1570
               /\n/g,
1565
               "<br/>"
1571
               "<br/>"
1586
                 if (
1592
                 if (
1587
                   this.wayOptions[index].id === patietInfo.reimbursement_way_id
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
                   break;
1597
                   break;
1593
                 }
1598
                 }
1594
               }
1599
               }
1639
                 if (
1644
                 if (
1640
                   this.educationOptions[index].id === patietInfo.education_level
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
                   break;
1649
                   break;
1646
                 }
1650
                 }
1647
               }
1651
               }
1654
                 if (
1658
                 if (
1655
                   this.professionOptions[index].id === patietInfo.profession
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
                   break;
1663
                   break;
1661
                 }
1664
                 }
1662
               }
1665
               }
1690
                   this.inductionOptions[index].id ===
1693
                   this.inductionOptions[index].id ===
1691
                   patietInfo.induction_period
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
                   break;
1698
                   break;
1697
                 }
1699
                 }
1698
               }
1700
               }
1706
                   this.adminUserOptions[index].id ===
1708
                   this.adminUserOptions[index].id ===
1707
                   patietInfo.attending_doctor_id
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
                   break;
1713
                   break;
1713
                 }
1714
                 }
1714
               }
1715
               }
1721
                 if (
1722
                 if (
1722
                   this.adminUserOptions[index].id === patietInfo.head_nurse_id
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
                   break;
1727
                   break;
1728
                 }
1728
                 }
1729
               }
1729
               }
1773
                 if (
1773
                 if (
1774
                   this.adminUserOptions[index].id === patietInfo.registrars_id
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
                   this.form.registrars = this.adminUserOptions[index].name;
1778
                   this.form.registrars = this.adminUserOptions[index].name;
1780
                   break;
1779
                   break;
1781
                 }
1780
                 }
1798
             console.log("patient get err state");
1797
             console.log("patient get err state");
1799
             this.$notify.error({
1798
             this.$notify.error({
1800
               title: "错误",
1799
               title: "错误",
1801
-              message: "网络异常"
1800
+              message: "网络异常",
1802
             });
1801
             });
1803
             this.$router.push("/patients/patients");
1802
             this.$router.push("/patients/patients");
1804
           }
1803
           }
1808
           // this.postForm.title += `   Article Id:${this.postForm.id}`
1807
           // this.postForm.title += `   Article Id:${this.postForm.id}`
1809
           // this.postForm.content_short += `   Article Id:${this.postForm.id}`
1808
           // this.postForm.content_short += `   Article Id:${this.postForm.id}`
1810
         })
1809
         })
1811
-        .catch(err => {
1810
+        .catch((err) => {
1812
           console.log("patient get err", err);
1811
           console.log("patient get err", err);
1813
           this.$notify.error({
1812
           this.$notify.error({
1814
             title: "错误",
1813
             title: "错误",
1815
-            message: "网络异常"
1814
+            message: "网络异常",
1816
           });
1815
           });
1817
           this.$router.push("/patients/patients");
1816
           this.$router.push("/patients/patients");
1818
         });
1817
         });
1819
     },
1818
     },
1820
     fetchAllDoctorAndNurse() {
1819
     fetchAllDoctorAndNurse() {
1821
-      fetchAllDoctorAndNurse().then(response => {
1820
+      fetchAllDoctorAndNurse().then((response) => {
1822
         if (response.data.state === 1) {
1821
         if (response.data.state === 1) {
1823
           this.doctorOptions = response.data.data.doctors;
1822
           this.doctorOptions = response.data.data.doctors;
1824
           this.nurseOptions = response.data.data.nursers;
1823
           this.nurseOptions = response.data.data.nursers;
1826
       });
1825
       });
1827
     },
1826
     },
1828
     fetchAllAdminUsers() {
1827
     fetchAllAdminUsers() {
1829
-      fetchAllAdminUsers().then(response => {
1828
+      fetchAllAdminUsers().then((response) => {
1830
         if (response.data.state === 1) {
1829
         if (response.data.state === 1) {
1831
           this.adminUserOptions = response.data.data.users;
1830
           this.adminUserOptions = response.data.data.users;
1832
         }
1831
         }
1845
           printable: "print-card-info",
1844
           printable: "print-card-info",
1846
           type: "html",
1845
           type: "html",
1847
           style: style,
1846
           style: style,
1848
-          scanStyles: false
1847
+          scanStyles: false,
1849
         });
1848
         });
1850
       }, 1);
1849
       }, 1);
1851
 
1850
 
1924
           phone +
1923
           phone +
1925
           "," +
1924
           "," +
1926
           "healthcare_no:" +
1925
           "healthcare_no:" +
1927
-          healthCareNo
1926
+          healthCareNo,
1928
       });
1927
       });
1929
     },
1928
     },
1930
     checkIdCardNo() {
1929
     checkIdCardNo() {
1948
         birth.substr(6, 2);
1947
         birth.substr(6, 2);
1949
 
1948
 
1950
       this.form.age = jsGetAge(this.form.birth, "-");
1949
       this.form.age = jsGetAge(this.form.birth, "-");
1951
-    }
1950
+    },
1952
 
1951
 
1953
     // qrcode(params){
1952
     // qrcode(params){
1954
     //    new QRCode('qrcode',{
1953
     //    new QRCode('qrcode',{
1957
     //        text:params,
1956
     //        text:params,
1958
     //    })
1957
     //    })
1959
     // }
1958
     // }
1960
-  }
1959
+  },
1961
 };
1960
 };
1962
 </script>
1961
 </script>
1963
 
1962
 
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
 // #print-info-box .info_print {
2011
 // #print-info-box .info_print {
1996
 //     width: 920px;
2012
 //     width: 920px;
1997
 //     margin: 0 auto !important;
2013
 //     margin: 0 auto !important;

+ 103 - 79
src/xt_pages/user/components/PatientForm.vue 查看文件

672
         </el-row>
672
         </el-row>
673
 
673
 
674
         <div class="dataTitle">治疗信息</div>
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
           </el-col>
763
           </el-col>
757
           <el-col></el-col>
764
           <el-col></el-col>
758
           <el-col :span="24">
765
           <el-col :span="24">
1907
   bottom: 0;
1914
   bottom: 0;
1908
   right: 50px;
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
 </style>
1934
 </style>