|
@@ -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> {{ 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> {{ 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;
|