Browse Source

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

XMLWAN 2 years ago
parent
commit
894c9582dd

+ 94 - 46
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -462,7 +462,10 @@
462 462
                       style="padding: 2px 0; line-height: 23px; display: flex"
463 463
                     >
464 464
                       <div class="inline_block" style="flex: 1">
465
-                        透析方式:
465
+                        <span v-if="org_id == 10138 || org_id == 9675"
466
+                          >治疗模式:</span
467
+                        >
468
+                        <span v-else>透析方式:</span>
466 469
                         <div
467 470
                           class="under_line"
468 471
                           style="
@@ -1202,8 +1205,22 @@
1202 1205
                             透析液温度(°C)
1203 1206
                           </td>
1204 1207
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
1205
-                        <td width="50" v-if="org_id != 10121 && org_id != 9675&& org_id != 0">电导度<br />(ms/cm)</td>
1206
-                        <td width="50" v-if="org_id == 10121|| org_id == 9675|| org_id == 0">SpO₂<br />(%)</td>
1208
+                          <td
1209
+                            width="50"
1210
+                            v-if="
1211
+                              org_id != 10121 && org_id != 9675 && org_id != 0
1212
+                            "
1213
+                          >
1214
+                            电导度<br />(ms/cm)
1215
+                          </td>
1216
+                          <td
1217
+                            width="50"
1218
+                            v-if="
1219
+                              org_id == 10121 || org_id == 9675 || org_id == 0
1220
+                            "
1221
+                          >
1222
+                            SpO₂<br />(%)
1223
+                          </td>
1207 1224
                           <td width="50">超滤量<br />(ml)</td>
1208 1225
                           <td
1209 1226
                             v-if="
@@ -1215,8 +1232,20 @@
1215 1232
                           >
1216 1233
                             置换量<br />(ml)
1217 1234
                           </td>
1218
-                          <td width="50" v-if="org_id == 9919 || org_id == 9538|| org_id == 9675">KT/V</td>
1219
-                          <td width="50" v-if="org_id == 9538|| org_id == 9675">血容量<br />(L)</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>
1220 1249
                           <td width="200">病情变化及处理</td>
1221 1250
                         </tr>
1222 1251
                         <tr
@@ -1288,38 +1317,48 @@
1288 1317
                                 : ""
1289 1318
                             }}
1290 1319
                           </td>
1291
-                          <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
+                          >
1292 1325
                             {{
1293 1326
                               monitor_record.conductivity
1294 1327
                                 ? monitor_record.conductivity
1295 1328
                                 : ""
1296 1329
                             }}
1297 1330
                           </td>
1298
-                          <td v-if="org_id == 10121|| org_id == 9675|| org_id == 0">
1299
-                          {{
1300
-                            monitor_record.blood_oxygen_saturation
1301
-                              ? monitor_record.blood_oxygen_saturation
1302
-                              : ""
1303
-                          }}
1304
-                        </td>
1305
-                        <td
1306
-                          v-if="
1307
-                            org_id != 9538 &&
1308
-                            org_id != 10121 &&
1309
-                            org_id != 9675 &&
1310
-                            org_id != 0
1311
-                          "
1312
-                        >
1313
-                          {{ monitor.conductivity ? monitor.conductivity : "" }}
1314
-                        </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>
1315 1354
 
1316
-                        <td v-if="org_id == 9538">
1317
-                          {{
1318
-                            monitor.sodium_concentration
1319
-                              ? monitor.sodium_concentration
1320
-                              : ""
1321
-                          }}
1322
-                        </td>
1355
+                          <td v-if="org_id == 9538">
1356
+                            {{
1357
+                              monitor_record.sodium_concentration
1358
+                                ? monitor_record.sodium_concentration
1359
+                                : ""
1360
+                            }}
1361
+                          </td>
1323 1362
 
1324 1363
                           <td>
1325 1364
                             <span v-if="monitor_record.operate_time">{{
@@ -1342,12 +1381,20 @@
1342 1381
                                 : ""
1343 1382
                             }}
1344 1383
                           </td>
1345
-                          <td width="50" v-if="org_id == 9919 || org_id == 9538|| org_id == 9675">
1346
-                          {{ monitor_record.ktv }}
1347
-                        </td>
1348
-                        <td width="50" v-if="org_id == 9538|| org_id == 9675">
1349
-                          {{ monitor_record.accumulated_blood_volume }}
1350
-                        </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>
1351 1398
                           <td style="line-height: 16px; padding: 0px">
1352 1399
                             <div
1353 1400
                               style="
@@ -1407,8 +1454,12 @@
1407 1454
                           <td></td>
1408 1455
                           <td></td>
1409 1456
                           <td></td>
1410
-                          <td v-if="org_id == 9919||org_id == 9538|| org_id == 9675"></td>
1411
-                          <td v-if="org_id == 9538|| org_id == 9675"></td>
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>
1412 1463
                           <td style="line-height: 16px; padding: 0px">
1413 1464
                             <div
1414 1465
                               style="
@@ -2622,7 +2673,6 @@ export default {
2622 2673
     };
2623 2674
   },
2624 2675
   created() {
2625
-    
2626 2676
     var bloodAccessParOpera = getDataConfig(
2627 2677
       "hemodialysis",
2628 2678
       "vascular_access_desc"
@@ -2642,15 +2692,15 @@ export default {
2642 2692
     this.modeOptions = this.$store.getters.treatment_mode;
2643 2693
     //   this.replacementWays = this.$store.getters.replacement_ways;
2644 2694
     //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
2645
-    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
2695
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
2646 2696
     // for(let i = 0 ; i < this.records.length ; i++){
2647 2697
     //   console.log(i,'jhk')
2648 2698
     //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2649 2699
     //   i.assessment_before_dislysis.blood_access_part_opera_id
2650 2700
     // );
2651 2701
     // }
2652
-    console.log(this.bloodAccessParOpera,'this.bloodAccessParOpera')
2653
-    
2702
+    console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
2703
+
2654 2704
     for (var key in bloodAccessParOpera) {
2655 2705
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2656 2706
         bloodAccessParOpera[key];
@@ -2677,7 +2727,6 @@ export default {
2677 2727
     //     this.$message.error("参数不齐");
2678 2728
     //     return false;
2679 2729
     //   }
2680
-    
2681 2730
   },
2682 2731
   mounted() {
2683 2732
     this.loading = true;
@@ -2690,7 +2739,6 @@ export default {
2690 2739
       .then((rs) => {
2691 2740
         var resp = rs.data;
2692 2741
         if (resp.state == 1) {
2693
-
2694 2742
           this.records = this.records.concat(resp.data.schedules);
2695 2743
 
2696 2744
           for (const recordIndex in this.records) {
@@ -2812,7 +2860,7 @@ export default {
2812 2860
           //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2813 2861
           //   o.assessment_before_dislysis.blood_access_part_opera_id)
2814 2862
           // })
2815
-          
2863
+
2816 2864
           this.operators = resp.data.medical_staffs;
2817 2865
           if (this.operators.length > 0) {
2818 2866
             var operatorsLen = this.operators.length;
@@ -2911,7 +2959,7 @@ export default {
2911 2959
       return "";
2912 2960
     },
2913 2961
     bloodAccessParOperaName(id) {
2914
-      console.log(tihs.records,'hhh')
2962
+      console.log(tihs.records, "hhh");
2915 2963
       if (id in this.bloodAccessParOpera) {
2916 2964
         return this.bloodAccessParOpera[id].name;
2917 2965
       }

+ 25 - 4
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -730,6 +730,20 @@
730 730
           >打印</el-button
731 731
         >
732 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>
733 747
       
734 748
     </div>
735 749
     <div class="app-container" style="min-height: 0">
@@ -1146,6 +1160,10 @@
1146 1160
             v-bind:childResponse="childResponse"
1147 1161
             v-if="org_template_info.template_id == 57">
1148 1162
           </DialysisPrintOrderFiftySeven>
1163
+          <DialysisPrintOrderFiftyEight
1164
+            v-bind:childResponse="childResponse"
1165
+            v-if="org_template_info.template_id == 58">
1166
+          </DialysisPrintOrderFiftyEight>
1149 1167
           
1150 1168
         </div>
1151 1169
       </el-container>
@@ -1219,12 +1237,14 @@ import DialysisPrintOrderFiftyOne from "./template/DialysisPrintOrderFiftyOne";
1219 1237
 import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
1220 1238
 import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
1221 1239
 import DialysisPrintOrderFiftyFour from "./template/DialysisPrintOrderFiftyFour";
1222
-import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive"
1223
-import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix"
1224
-import DialysisPrintOrderFiftySeven from "./template/DialysisPrintOrderFiftySeven"
1240
+import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive";
1241
+import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix";
1242
+import DialysisPrintOrderFiftySeven from "./template/DialysisPrintOrderFiftySeven";
1243
+import DialysisPrintOrderFiftyEight from "./template/DialysisPrintOrderFiftyEight";
1225 1244
 export default {
1226 1245
   name: "dialysisPrintOrder",
1227 1246
   components: {
1247
+    DialysisPrintOrderFiftyEight,
1228 1248
     DialysisPrintOrderFiftySeven,
1229 1249
     DialysisPrintOrderFiftySix,
1230 1250
     DialysisPrintOrderFiftyfive,
@@ -1518,7 +1538,8 @@ export default {
1518 1538
         this.org_template_info.template_id == 11 ||
1519 1539
         this.org_template_info.template_id == 49 ||
1520 1540
         this.org_template_info.template_id == 50 ||
1521
-        this.org_template_info.template_id == 51
1541
+        this.org_template_info.template_id == 51 ||
1542
+        this.org_template_info.template_id == 58
1522 1543
       ) {
1523 1544
         printJS({
1524 1545
           printable: "dialysis-print-box-1",

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


+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue View File

@@ -595,7 +595,7 @@
595 595
               {{
596 596
                 monitor.blood_oxygen_saturation
597 597
                   ? monitor.blood_oxygen_saturation
598
-                  : "0"
598
+                  : ""
599 599
               }}
600 600
             </span>
601 601
           </td>
@@ -746,7 +746,7 @@
746 746
 
747 747
           <tr v-for="(advice, advice_index) in advices" :key="advice_index">
748 748
             <td>{{ getTime(advice.start_time, "{h}:{i}") }}</td>
749
-            <td>
749
+            <td style="text-align:left;">
750 750
               <span v-if="advice.parent_id > 0">---></span>
751 751
               <span>{{ advice.advice_name }}</span>
752 752
               <span v-if="advice && advice.advice_desc"

+ 9 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue View File

@@ -292,14 +292,14 @@
292 292
               <p style="height:20px;line-height:20px">血流量</p>
293 293
               <p style="height:20px;line-height:20px">ml/min</p>
294 294
             </th>
295
-            <!-- <th style="min-width:60px">
295
+            <th style="min-width:60px" v-if="org_id!=9990||org_id!=9675">
296 296
               <p style="height:20px;line-height:20px">超滤量</p>
297 297
               <p style="height:20px;line-height:20px">L</p>
298 298
             </th>
299
-            <th style="min-width:60px">
299
+            <th style="min-width:60px" v-if="org_id!=9990||org_id!=9675">
300 300
               <p style="height:20px;line-height:20px">置换量</p>
301 301
               <p style="height:20px;line-height:20px">L</p>
302
-            </th> -->
302
+            </th>
303 303
             <th style="min-width:60px">
304 304
               <p style="height:20px;line-height:20px">静脉压</p>
305 305
               <p style="height:20px;line-height:20px">(mmHg)</p>
@@ -343,16 +343,16 @@
343 343
                 {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "0" }}
344 344
               </span>
345 345
             </td>
346
-            <!-- <td>
346
+            <td v-if="org_id!=9990||org_id!=9675">
347 347
               <span v-if="getTime(monitor.operate_time) != ''">
348 348
                 {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}
349 349
               </span>
350 350
             </td>
351
-            <td>
351
+            <td v-if="org_id!=9990||org_id!=9675">
352 352
               <span v-if="getTime(monitor.operate_time) != ''">
353 353
                 {{ monitor.displacement_quantity ? monitor.displacement_quantity : "0" }}
354 354
               </span>
355
-            </td> -->
355
+            </td>
356 356
             <td>
357 357
               <span v-if="getTime(monitor.operate_time) != ''">
358 358
                 {{ monitor.venous_pressure ? monitor.venous_pressure : "0" }}
@@ -684,7 +684,8 @@ export default {
684 684
         finish_nurse: "",
685 685
         url: ""
686 686
       },
687
-      displaceLiquiPartOptions: []
687
+      displaceLiquiPartOptions: [],
688
+      org_id: 0,
688 689
     };
689 690
   },
690 691
   methods: {
@@ -1501,7 +1502,7 @@ export default {
1501 1502
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
1502 1503
     this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
1503 1504
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1504
-
1505
+    this.org_id = this.$store.getters.xt_user.org.id;
1505 1506
     var bloodAccessParOpera = getDataConfig(
1506 1507
       "hemodialysis",
1507 1508
       "vascular_access_desc"

+ 34 - 21
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -59,7 +59,7 @@
59 59
           <div class="inline_block">
60 60
             病区:
61 61
             <div class="under_line" style="width: 50px; text-align: center">
62
-              <span v-if="org_id == 10121">{{
62
+              <span v-if="org_id == 10121||org_id == 10138">{{
63 63
                 patientInfo.DialysisSchedule.device_zone.name
64 64
                   ? patientInfo.DialysisSchedule.device_zone.name
65 65
                   : ""
@@ -1672,14 +1672,26 @@
1672 1672
             <div class="inline_block">
1673 1673
               病区:
1674 1674
               <div class="under_line" style="width: 50px; text-align: center">
1675
-                {{ "/" }}
1676
-              </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>
1677 1682
             </div>
1678 1683
             <div class="inline_block">
1679 1684
               床号:
1680 1685
               <div class="under_line" style="width: 50px; text-align: center">
1681
-                {{ "/" }}
1682
-              </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>
1683 1695
             </div>
1684 1696
             <div class="inline_block">
1685 1697
               透析号:
@@ -1688,23 +1700,23 @@
1688 1700
               </div>
1689 1701
             </div>
1690 1702
             <div class="inline_block" style="margin-left: 5px">
1691
-              住院号/门诊号:
1692
-              <div
1693
-                class="under_line"
1694
-                style="width: 70px; text-align: left"
1695
-                v-if="receiverTreatmentAccess.admission_number"
1696
-              >
1697
-                {{ receiverTreatmentAccess.admission_number }}
1698
-              </div>
1699
-              <div
1700
-                class="under_line"
1701
-                style="width: 70px; text-align: left"
1702
-                v-else
1703
-              >
1704
-                {{ "/" }}
1705
-              </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 }}
1710
+            </div>
1711
+            <div
1712
+              class="under_line"
1713
+              style="width: 70px; text-align: left"
1714
+              v-else
1715
+            >
1716
+              {{ "/" }}
1706 1717
             </div>
1707 1718
           </div>
1719
+          </div>
1708 1720
           <div class="row" style="margin-bottom: 10px">
1709 1721
             <div class="inline_block">
1710 1722
               入科方式:
@@ -2427,7 +2439,8 @@
2427 2439
                       </div>
2428 2440
                     </div>
2429 2441
                     <div class="inline_block" style="flex: 1">
2430
-                      核对人员:
2442
+                      <span v-if="org_id==10387||org_id==9675" >核对护士:</span> 
2443
+                      <span v-else >核对人员:</span> 
2431 2444
                       <div
2432 2445
                         class="under_line"
2433 2446
                         style="width: 80px; text-align: center"

+ 233 - 217
src/xt_pages/user/components/PatientDetail.vue View File

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

+ 103 - 79
src/xt_pages/user/components/PatientForm.vue View File

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