huangyw 2 年之前
父節點
當前提交
227440d50a

+ 14 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

730
           >打印</el-button
730
           >打印</el-button
731
         >
731
         >
732
       </template>
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
     </div>
748
     </div>
735
     <div class="app-container" style="min-height: 0">
749
     <div class="app-container" style="min-height: 0">

+ 13 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue 查看文件

84
               {{ patientInfo.dialysis_no }}
84
               {{ patientInfo.dialysis_no }}
85
             </div>
85
             </div>
86
           </div>
86
           </div>
87
-          <div class="inline_block" style="margin-left: 5px">
87
+          <div class="inline_block" style="margin-left: 5px;">
88
             住院号/门诊号:
88
             住院号/门诊号:
89
-            <div
90
-              class="under_line"
91
-              style="width: 70px; text-align: left"
92
-              v-if="receiverTreatmentAccess.admission_number"
93
-            >
89
+            <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
94
               {{ receiverTreatmentAccess.admission_number }}
90
               {{ receiverTreatmentAccess.admission_number }}
95
             </div>
91
             </div>
96
-            <div
97
-              class="under_line"
98
-              style="width: 70px; text-align: left"
99
-              v-else
100
-            >
92
+            <div class="under_line" style="width: 70px;text-align: left" v-else-if="patientInfo.admission_number">
93
+              {{ patientInfo.admission_number }}
94
+            </div>
95
+            <div class="under_line" style="width: 70px;text-align: left" v-else>
101
               {{ "/" }}
96
               {{ "/" }}
102
             </div>
97
             </div>
103
           </div>
98
           </div>
904
                       <span v-if="prescription.anticoagulant == 3">iu</span>
899
                       <span v-if="prescription.anticoagulant == 3">iu</span>
905
                       <span v-if="prescription.anticoagulant == 2">mg</span>
900
                       <span v-if="prescription.anticoagulant == 2">mg</span>
906
                       <span v-if="prescription.anticoagulant == 1">mg</span>
901
                       <span v-if="prescription.anticoagulant == 1">mg</span>
902
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
903
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
907
                     </div>
904
                     </div>
908
                     <div class="inline_block" style="margin-left: 20px">
905
                     <div class="inline_block" style="margin-left: 20px">
909
                       维持:
906
                       维持:
934
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
931
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
935
                       <span v-if="prescription.anticoagulant == 2">mg/h</span>
932
                       <span v-if="prescription.anticoagulant == 2">mg/h</span>
936
                       <span v-if="prescription.anticoagulant == 1">mg/h</span>
933
                       <span v-if="prescription.anticoagulant == 1">mg/h</span>
934
+                      <span v-if="prescription.anticoagulant == 7">iu/h</span>
935
+                      <span v-if="prescription.anticoagulant == 6">iu/h</span>
937
                     </div>
936
                     </div>
938
                     <div
937
                     <div
939
                       class="inline_block"
938
                       class="inline_block"
990
                       <span v-if="prescription.anticoagulant == 3">iu</span>
989
                       <span v-if="prescription.anticoagulant == 3">iu</span>
991
                       <span v-if="prescription.anticoagulant == 2">mg</span>
990
                       <span v-if="prescription.anticoagulant == 2">mg</span>
992
                       <span v-if="prescription.anticoagulant == 1">mg</span>
991
                       <span v-if="prescription.anticoagulant == 1">mg</span>
992
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
993
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
993
                     </div>
994
                     </div>
994
                     <div class="inline_block" style="margin-left: 20px">
995
                     <div class="inline_block" style="margin-left: 20px">
995
                       透析机号:
996
                       透析机号:
1060
                       </tr>
1061
                       </tr>
1061
                       <tr>
1062
                       <tr>
1062
                         <td width="60">时间</td>
1063
                         <td width="60">时间</td>
1063
-                        <td width="60">血压<br />(mmHg)</td>
1064
+                        <td width="70">血压<br />(mmHg)</td>
1064
                         <td width="50">脉搏<br />(次/分)</td>
1065
                         <td width="50">脉搏<br />(次/分)</td>
1065
                         <td width="50">呼吸<br />(次/分)</td>
1066
                         <td width="50">呼吸<br />(次/分)</td>
1066
                         <td width="50">血流量<br />(ml/min)</td>
1067
                         <td width="50">血流量<br />(ml/min)</td>

+ 9 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue 查看文件

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

+ 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>