|
@@ -5,6 +5,8 @@
|
5
|
5
|
<div style="display:flex;justify-content: space-between;align-items: center;margin-bottom: 12px;">
|
6
|
6
|
<span style="font-weight:bold;">转归记录列表</span>
|
7
|
7
|
<el-button size="medium" type="primary" @click="dialogVisible =true">新增</el-button>
|
|
8
|
+
|
|
9
|
+ <!-- <el-button size="medium" type="primary" @click="toJiaoBen">脚本</el-button> -->
|
8
|
10
|
</div>
|
9
|
11
|
<el-table class="oictable" :data="tableData" border style="width:100%">
|
10
|
12
|
<el-table-column prop="start_time" label="日期" align="center">
|
|
@@ -22,22 +24,34 @@
|
22
|
24
|
</el-table-column>
|
23
|
25
|
<el-table-column prop="blood_access_part_id" label="转归分类" align="center">
|
24
|
26
|
<template slot-scope="scope">
|
25
|
|
- <span v-if="scope.row.lapse_class == 1">终止透析</span>
|
|
27
|
+ <!-- <span v-if="scope.row.lapse_class == 1">终止透析</span>
|
26
|
28
|
<span v-if="scope.row.lapse_class == 2">转出院外</span>
|
27
|
29
|
<span v-if="scope.row.lapse_class == 3">回居住地透析</span>
|
28
|
30
|
<span v-if="scope.row.lapse_class == 4">临时透析</span>
|
29
|
31
|
<span v-if="scope.row.lapse_class == 5">转腹膜透析</span>
|
30
|
32
|
<span v-if="scope.row.lapse_class == 6">其他</span>
|
31
|
|
- <span v-if="scope.row.lapse_class == 7">变更透析医院</span>
|
|
33
|
+ <span v-if="scope.row.lapse_class == 7">变更透析医院</span> -->
|
|
34
|
+ <!-- <span v-if="scope.row.lapse_class == 1">留治</span>
|
|
35
|
+ <span v-if="scope.row.lapse_class == 2">转出</span>
|
|
36
|
+ <span v-if="scope.row.lapse_class == 3">死亡</span> -->
|
|
37
|
+ <span v-if="scope.row.lapse_class == 4">转出院外</span>
|
|
38
|
+ <span v-if="scope.row.lapse_class == 5">肾移植</span>
|
|
39
|
+ <span v-if="scope.row.lapse_class == 6">转腹膜透析</span>
|
|
40
|
+ <span v-if="scope.row.lapse_class == 7">出院</span>
|
|
41
|
+ <span v-if="scope.row.lapse_class == 8">好转</span>
|
|
42
|
+ <span v-if="scope.row.lapse_class == 9">放弃治疗</span>
|
|
43
|
+ <span v-if="scope.row.lapse_class == 10">其他状态</span>
|
|
44
|
+ <span v-if="scope.row.lapse_class ==11">请假</span>
|
|
45
|
+ <span v-if="scope.row.lapse_class ==12">临时透析</span>
|
|
46
|
+ <span v-if="scope.row.lapse_class ==13">回居住地透析</span>
|
|
47
|
+ <span v-if="scope.row.lapse_class ==14">变更透析医院</span>
|
32
|
48
|
</template>
|
33
|
49
|
</el-table-column>
|
34
|
50
|
<el-table-column prop="inflow_pass" label="原因" align="center">
|
35
|
51
|
<template slot-scope="scope">
|
36
|
52
|
{{ scope.row.lapse_reason }}
|
37
|
53
|
</template>
|
38
|
|
- </el-table-column>
|
39
|
|
-
|
40
|
|
-
|
|
54
|
+ </el-table-column>
|
41
|
55
|
<el-table-column prop="date" label="备注" align="center">
|
42
|
56
|
<template slot-scope="scope">
|
43
|
57
|
{{ scope.row.remark }}
|
|
@@ -77,7 +91,8 @@
|
77
|
91
|
style="margin-top:20px;"
|
78
|
92
|
align="right"
|
79
|
93
|
layout="total, sizes, prev, pager, next, jumper"
|
80
|
|
- :total="total"></el-pagination>
|
|
94
|
+ :total="total">
|
|
95
|
+ </el-pagination>
|
81
|
96
|
|
82
|
97
|
<el-dialog
|
83
|
98
|
title="新增转归记录"
|
|
@@ -85,23 +100,22 @@
|
85
|
100
|
width="65%"
|
86
|
101
|
center>
|
87
|
102
|
<el-form label-width="150px" :model="form" ref="form" :rules="rules" >
|
88
|
|
- <el-row :gutter="24">
|
89
|
|
- <el-col :span="24">
|
90
|
|
- <el-form-item label="透析号:" >
|
91
|
|
- <el-input style="width:200px" v-model="dialysis_no" :disabled="true"></el-input>
|
92
|
|
- </el-form-item>
|
93
|
|
-
|
94
|
|
- </el-col>
|
95
|
|
- </el-row>
|
96
|
|
- <el-row :gutter="24" >
|
97
|
|
- <el-col :span="24">
|
|
103
|
+
|
|
104
|
+ <el-row :gutter="20">
|
|
105
|
+ <el-col :span="11">
|
98
|
106
|
<el-form-item label="姓名:">
|
99
|
107
|
<el-input style="width:200px" v-model="name" :disabled="true"></el-input>
|
100
|
108
|
</el-form-item>
|
101
|
109
|
</el-col>
|
|
110
|
+ <el-col :span="11">
|
|
111
|
+ <el-form-item label="透析号:" >
|
|
112
|
+ <el-input style="width:200px" v-model="dialysis_no" :disabled="true"></el-input>
|
|
113
|
+ </el-form-item>
|
|
114
|
+ </el-col>
|
102
|
115
|
</el-row>
|
103
|
|
- <el-row :gutter="24" v-if="lapseto == 1">
|
104
|
|
- <el-col :span="24">
|
|
116
|
+
|
|
117
|
+ <el-row :gutter="20" >
|
|
118
|
+ <el-col :span="24" v-if="lapseto == 1">
|
105
|
119
|
<el-form-item label="转归类型:">
|
106
|
120
|
<el-radio-group style="padding: 10px;" v-model="lapse_type">
|
107
|
121
|
<el-radio label="2">转出</el-radio>
|
|
@@ -110,9 +124,7 @@
|
110
|
124
|
</el-radio-group>
|
111
|
125
|
</el-form-item>
|
112
|
126
|
</el-col>
|
113
|
|
- </el-row>
|
114
|
|
- <el-row :gutter="24" v-if="lapseto == 2">
|
115
|
|
- <el-col :span="24">
|
|
127
|
+ <el-col :span="24" v-if="lapseto == 2">
|
116
|
128
|
<el-form-item label="转归类型:">
|
117
|
129
|
<el-radio-group style="padding: 10px;" v-model="lapse_type">
|
118
|
130
|
<el-radio label="1">转入</el-radio>
|
|
@@ -121,7 +133,7 @@
|
121
|
133
|
</el-col>
|
122
|
134
|
</el-row>
|
123
|
135
|
|
124
|
|
- <el-row :gutter="24" v-if="lapse_type == 3">
|
|
136
|
+ <el-row :gutter="20" v-if="lapse_type == 3">
|
125
|
137
|
<el-col :span="24">
|
126
|
138
|
<el-form-item label="住院/门诊:">
|
127
|
139
|
<el-radio-group style="padding: 10px;" v-model="his_type">
|
|
@@ -133,16 +145,46 @@
|
133
|
145
|
</el-row>
|
134
|
146
|
|
135
|
147
|
|
136
|
|
- <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
|
137
|
|
- <el-col :span="24">
|
138
|
|
- <el-form-item label="病区:">
|
139
|
|
- <el-input style="width: 200px" v-model="his_zone"></el-input>
|
|
148
|
+ <el-row :gutter="20" v-if="lapse_type == 4">
|
|
149
|
+ <el-col :span="8">
|
|
150
|
+ <el-form-item label="开始时间:">
|
|
151
|
+ <el-date-picker
|
|
152
|
+ v-model="start_time"
|
|
153
|
+ type="date"
|
|
154
|
+ value-format="yyyy-MM-dd"
|
|
155
|
+ placeholder="选择日期">
|
|
156
|
+ </el-date-picker>
|
|
157
|
+ </el-form-item>
|
|
158
|
+ </el-col>
|
|
159
|
+
|
|
160
|
+ <el-col :span="8">
|
|
161
|
+ <el-form-item label="结束时间:">
|
|
162
|
+ <el-date-picker
|
|
163
|
+ v-model="end_time"
|
|
164
|
+ type="date"
|
|
165
|
+ value-format="yyyy-MM-dd"
|
|
166
|
+ placeholder="选择日期">
|
|
167
|
+ </el-date-picker>
|
|
168
|
+ </el-form-item>
|
|
169
|
+ </el-col>
|
|
170
|
+
|
|
171
|
+ <el-col :span="8">
|
|
172
|
+ <el-form-item label="转院地区:">
|
|
173
|
+ <el-input style="width: 200px" v-model="patient_address"></el-input>
|
140
|
174
|
</el-form-item>
|
141
|
175
|
</el-col>
|
142
|
176
|
</el-row>
|
143
|
177
|
|
144
|
|
- <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
|
145
|
|
- <el-col :span="24">
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+ <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
|
|
182
|
+ <el-col :span="11">
|
|
183
|
+ <el-form-item label="病区:">
|
|
184
|
+ <el-input style="width: 200px" v-model="his_zone"></el-input>
|
|
185
|
+ </el-form-item>
|
|
186
|
+ </el-col>
|
|
187
|
+ <el-col :span="11">
|
146
|
188
|
<el-form-item label="床号:">
|
147
|
189
|
<el-input style="width: 200px" v-model="his_bed"></el-input>
|
148
|
190
|
</el-form-item>
|
|
@@ -150,66 +192,87 @@
|
150
|
192
|
</el-row>
|
151
|
193
|
|
152
|
194
|
|
153
|
|
- <el-row :gutter="24">
|
154
|
|
- <el-col :span="24">
|
|
195
|
+ <el-row :gutter="20">
|
|
196
|
+ <el-col :span="23">
|
155
|
197
|
<el-form-item label="转归分类:">
|
156
|
198
|
<el-radio-group style="padding: 10px;" v-model="lapse_class">
|
157
|
|
- <el-radio label="1">终止透析</el-radio>
|
158
|
|
- <el-radio label="2">转出院外</el-radio>
|
159
|
|
- <el-radio label="3">回居住地透析</el-radio>
|
160
|
|
- <el-radio label="4">临时透析</el-radio>
|
161
|
|
- <el-radio label="5">转腹膜透析</el-radio>
|
162
|
|
- <el-radio label="6">其他</el-radio>
|
163
|
|
- <el-radio label="7">变更透析医院</el-radio>
|
164
|
|
- <el-radio label="8">住院</el-radio>
|
165
|
|
- <el-radio label="9">转血透科</el-radio>
|
|
199
|
+ <el-radio label="4">转出院外</el-radio>
|
|
200
|
+ <el-radio label="5">肾移植</el-radio>
|
|
201
|
+ <el-radio label="6">转腹膜透析</el-radio>
|
|
202
|
+ <el-radio label="7">出院</el-radio>
|
|
203
|
+ <el-radio label="8">好转</el-radio>
|
|
204
|
+ <el-radio label="9">放弃治疗</el-radio>
|
|
205
|
+ <el-radio label="10">其他状态</el-radio>
|
|
206
|
+ <el-radio label="11">请假</el-radio>
|
|
207
|
+ <el-radio label="12">临时透析</el-radio>
|
|
208
|
+ <el-radio label="13">回居住地透析</el-radio>
|
|
209
|
+ <el-radio label="14">变更透析医院</el-radio>
|
166
|
210
|
</el-radio-group>
|
167
|
211
|
</el-form-item>
|
168
|
212
|
</el-col>
|
169
|
213
|
</el-row>
|
170
|
214
|
|
171
|
|
-
|
172
|
|
-
|
173
|
|
- <el-row :gutter="24">
|
174
|
|
- <el-col :span="24">
|
175
|
|
- <el-form-item label="原因:">
|
176
|
|
- <el-input style="width: 300px;height: 100px;" type="textarea" v-model="lapse_reason"></el-input>
|
|
215
|
+ <el-row :gutter="20" v-if="lapse_class == 11">
|
|
216
|
+ <el-col :span="8">
|
|
217
|
+ <el-form-item label="开始时间:">
|
|
218
|
+ <el-date-picker
|
|
219
|
+ v-model="start_time_one"
|
|
220
|
+ type="date"
|
|
221
|
+ value-format="yyyy-MM-dd"
|
|
222
|
+ placeholder="选择日期">
|
|
223
|
+ </el-date-picker>
|
177
|
224
|
</el-form-item>
|
178
|
225
|
</el-col>
|
179
|
|
- </el-row>
|
180
|
226
|
|
181
|
|
- <el-row :gutter="24">
|
182
|
|
- <el-col :span="24">
|
183
|
|
- <el-form-item label="日期:">
|
184
|
|
- <el-date-picker
|
185
|
|
- v-model="record_date"
|
186
|
|
- type="date"
|
187
|
|
- value-format="yyyy-MM-dd"
|
188
|
|
- placeholder="选择日期">
|
189
|
|
- </el-date-picker>
|
|
227
|
+ <el-col :span="8">
|
|
228
|
+ <el-form-item label="结束时间:">
|
|
229
|
+ <el-date-picker
|
|
230
|
+ v-model="end_time_one"
|
|
231
|
+ type="date"
|
|
232
|
+ value-format="yyyy-MM-dd"
|
|
233
|
+ placeholder="选择日期">
|
|
234
|
+ </el-date-picker>
|
190
|
235
|
</el-form-item>
|
191
|
236
|
</el-col>
|
192
|
237
|
</el-row>
|
193
|
238
|
|
194
|
|
- <el-row :gutter="24">
|
195
|
|
- <el-col :span="24">
|
196
|
|
- <el-form-item label="操作人:">
|
197
|
|
- <el-select v-model="admin_user_id" placeholder="请选择">
|
198
|
|
- <el-option
|
199
|
|
- v-for="item in adminUserList"
|
200
|
|
- :key="item.admin_user_id"
|
201
|
|
- :label="item.user_name"
|
202
|
|
- :value="item.admin_user_id">
|
203
|
|
- </el-option>
|
204
|
|
- </el-select>
|
|
239
|
+ <el-row :gutter="20">
|
|
240
|
+ <el-col :span="23">
|
|
241
|
+ <el-form-item label="原因:">
|
|
242
|
+ <el-input style="width: 300px;" :rows="2" type="textarea" v-model="lapse_reason"></el-input>
|
205
|
243
|
</el-form-item>
|
206
|
244
|
</el-col>
|
207
|
245
|
</el-row>
|
208
|
246
|
|
|
247
|
+ <el-row :gutter="20">
|
|
248
|
+ <el-col :span="11">
|
|
249
|
+ <el-form-item label="操作人:">
|
|
250
|
+ <el-select v-model="admin_user_id" placeholder="请选择">
|
|
251
|
+ <el-option
|
|
252
|
+ v-for="item in adminUserList"
|
|
253
|
+ :key="item.admin_user_id"
|
|
254
|
+ :label="item.user_name"
|
|
255
|
+ :value="item.admin_user_id">
|
|
256
|
+ </el-option>
|
|
257
|
+ </el-select>
|
|
258
|
+ </el-form-item>
|
|
259
|
+ </el-col>
|
|
260
|
+ <el-col :span="11">
|
|
261
|
+ <el-form-item label="日期:">
|
|
262
|
+ <el-date-picker
|
|
263
|
+ v-model="record_date"
|
|
264
|
+ type="date"
|
|
265
|
+ value-format="yyyy-MM-dd"
|
|
266
|
+ placeholder="选择日期">
|
|
267
|
+ </el-date-picker>
|
|
268
|
+ </el-form-item>
|
|
269
|
+ </el-col>
|
|
270
|
+ </el-row>
|
|
271
|
+
|
209
|
272
|
<el-row :gutter="24">
|
210
|
273
|
<el-col :span="24">
|
211
|
274
|
<el-form-item label="备注:">
|
212
|
|
- <el-input style="width: 300px;height: 50px;" type="textarea" v-model="remark"></el-input>
|
|
275
|
+ <el-input style="width: 300px;" :rows="2" type="textarea" v-model="remark"></el-input>
|
213
|
276
|
</el-form-item>
|
214
|
277
|
</el-col>
|
215
|
278
|
</el-row>
|
|
@@ -230,35 +293,39 @@
|
230
|
293
|
width="65%"
|
231
|
294
|
center>
|
232
|
295
|
<el-form label-width="150px" :model="form" ref="form" :rules="rules" >
|
233
|
|
- <el-row :gutter="24">
|
234
|
|
- <el-col :span="24">
|
|
296
|
+ <el-row :gutter="20">
|
|
297
|
+ <el-col :span="11">
|
|
298
|
+ <el-form-item label="姓名:">
|
|
299
|
+ <el-input style="width:200px" v-model="name" :disabled="true"></el-input>
|
|
300
|
+ </el-form-item>
|
|
301
|
+ </el-col>
|
|
302
|
+ <el-col :span="11">
|
235
|
303
|
<el-form-item label="透析号:" >
|
236
|
304
|
<el-input style="width:200px" v-model="dialysis_no" :disabled="true"></el-input>
|
237
|
305
|
</el-form-item>
|
238
|
|
-
|
239
|
306
|
</el-col>
|
240
|
307
|
</el-row>
|
241
|
|
- <el-row :gutter="24" >
|
242
|
|
- <el-col :span="24">
|
243
|
|
- <el-form-item label="姓名:">
|
244
|
|
- <el-input style="width:200px" v-model="name" :disabled="true"></el-input>
|
245
|
|
- </el-form-item>
|
|
308
|
+
|
|
309
|
+ <el-row :gutter="20">
|
|
310
|
+ <el-col :span="24" v-if="lapseto == 1">
|
|
311
|
+ <el-form-item label="转归类型:">
|
|
312
|
+ <el-radio-group style="padding: 10px;" v-model="lapse_type">
|
|
313
|
+ <el-radio label="2">转出</el-radio>
|
|
314
|
+ <el-radio label="3">死亡</el-radio>
|
|
315
|
+ <el-radio label="4">院内转诊</el-radio>
|
|
316
|
+ </el-radio-group>
|
|
317
|
+ </el-form-item>
|
|
318
|
+ </el-col>
|
|
319
|
+ <el-col :span="24" v-if="lapseto == 2">
|
|
320
|
+ <el-form-item label="转归类型:">
|
|
321
|
+ <el-radio-group style="padding: 10px;" v-model="lapse_type">
|
|
322
|
+ <el-radio label="1">转入</el-radio>
|
|
323
|
+ </el-radio-group>
|
|
324
|
+ </el-form-item>
|
246
|
325
|
</el-col>
|
247
|
|
- </el-row>
|
248
|
|
- <el-row :gutter="24">
|
249
|
|
- <el-col :span="24">
|
250
|
|
- <el-form-item label="转归类型:">
|
251
|
|
- <el-radio-group style="padding: 10px;" v-model="lapse_type">
|
252
|
|
- <el-radio label="2">转出</el-radio>
|
253
|
|
- <el-radio label="3">死亡</el-radio>
|
254
|
|
- <el-radio label="4">院内转诊</el-radio>
|
255
|
|
-
|
256
|
|
- </el-radio-group>
|
257
|
|
- </el-form-item>
|
258
|
|
- </el-col>
|
259
|
326
|
</el-row>
|
260
|
327
|
|
261
|
|
- <el-row :gutter="24" v-if="lapse_type == 3">
|
|
328
|
+ <el-row :gutter="20" v-if="lapse_type == 3">
|
262
|
329
|
<el-col :span="24">
|
263
|
330
|
<el-form-item label="住院/门诊:">
|
264
|
331
|
<el-radio-group style="padding: 10px;" v-model="his_type">
|
|
@@ -269,65 +336,105 @@
|
269
|
336
|
</el-col>
|
270
|
337
|
</el-row>
|
271
|
338
|
|
272
|
|
- <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
|
273
|
|
- <el-col :span="24">
|
274
|
|
- <el-form-item label="病区:">
|
275
|
|
- <el-input style="width: 200px" v-model="his_zone"></el-input>
|
|
339
|
+ <el-row :gutter="20" v-if="lapse_type == 4">
|
|
340
|
+ <el-col :span="8">
|
|
341
|
+ <el-form-item label="开始时间:">
|
|
342
|
+ <el-date-picker
|
|
343
|
+ v-model="start_time"
|
|
344
|
+ type="date"
|
|
345
|
+ value-format="yyyy-MM-dd"
|
|
346
|
+ placeholder="选择日期">
|
|
347
|
+ </el-date-picker>
|
|
348
|
+ </el-form-item>
|
|
349
|
+ </el-col>
|
|
350
|
+
|
|
351
|
+ <el-col :span="8">
|
|
352
|
+ <el-form-item label="结束时间:">
|
|
353
|
+ <el-date-picker
|
|
354
|
+ v-model="end_time"
|
|
355
|
+ type="date"
|
|
356
|
+ value-format="yyyy-MM-dd"
|
|
357
|
+ placeholder="选择日期">
|
|
358
|
+ </el-date-picker>
|
|
359
|
+ </el-form-item>
|
|
360
|
+ </el-col>
|
|
361
|
+
|
|
362
|
+ <el-col :span="8">
|
|
363
|
+ <el-form-item label="转院地区:">
|
|
364
|
+ <el-input style="width: 200px" v-model="patient_address"></el-input>
|
276
|
365
|
</el-form-item>
|
277
|
366
|
</el-col>
|
278
|
367
|
</el-row>
|
279
|
368
|
|
280
|
|
- <el-row :gutter="24" v-if="lapse_type == 3 && his_type==2">
|
281
|
|
- <el-col :span="24">
|
|
369
|
+ <el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
|
|
370
|
+ <el-col :span="11">
|
|
371
|
+ <el-form-item label="病区:">
|
|
372
|
+ <el-input style="width: 200px" v-model="his_zone"></el-input>
|
|
373
|
+ </el-form-item>
|
|
374
|
+ </el-col>
|
|
375
|
+ <el-col :span="11">
|
282
|
376
|
<el-form-item label="床号:">
|
283
|
377
|
<el-input style="width: 200px" v-model="his_bed"></el-input>
|
284
|
378
|
</el-form-item>
|
285
|
379
|
</el-col>
|
286
|
380
|
</el-row>
|
287
|
381
|
|
288
|
|
- <el-row :gutter="24">
|
|
382
|
+ <el-row :gutter="20">
|
289
|
383
|
<el-col :span="24">
|
290
|
384
|
<el-form-item label="转归分类:">
|
291
|
385
|
<el-radio-group style="padding: 10px;" v-model="lapse_class">
|
292
|
|
- <el-radio label="1">终止透析</el-radio>
|
293
|
|
- <el-radio label="2">转出院外</el-radio>
|
294
|
|
- <el-radio label="3">回居住地透析</el-radio>
|
295
|
|
- <el-radio label="4">临时透析</el-radio>
|
296
|
|
- <el-radio label="5">转腹膜透析</el-radio>
|
297
|
|
- <el-radio label="6">其他</el-radio>
|
298
|
|
- <el-radio label="7">变更透析医院</el-radio>
|
299
|
|
- <el-radio label="8">住院</el-radio>
|
300
|
|
- <el-radio label="9">转血透科</el-radio>
|
|
386
|
+ <el-radio label="4">转出院外</el-radio>
|
|
387
|
+ <el-radio label="5">肾移植</el-radio>
|
|
388
|
+ <el-radio label="6">转腹膜透析</el-radio>
|
|
389
|
+ <el-radio label="7">出院</el-radio>
|
|
390
|
+ <el-radio label="8">好转</el-radio>
|
|
391
|
+ <el-radio label="9">放弃治疗</el-radio>
|
|
392
|
+ <el-radio label="10">其他状态</el-radio>
|
|
393
|
+ <el-radio label="11">请假</el-radio>
|
|
394
|
+ <el-radio label="12">临时透析</el-radio>
|
|
395
|
+ <el-radio label="13">回居住地透析</el-radio>
|
|
396
|
+ <el-radio label="14">变更透析医院</el-radio>
|
301
|
397
|
</el-radio-group>
|
302
|
398
|
</el-form-item>
|
303
|
399
|
</el-col>
|
304
|
400
|
</el-row>
|
305
|
401
|
|
306
|
|
-
|
|
402
|
+
|
|
403
|
+ <el-row :gutter="20" v-if="lapse_class == 11">
|
|
404
|
+ <el-col :span="8">
|
|
405
|
+ <el-form-item label="开始时间:">
|
|
406
|
+ <el-date-picker
|
|
407
|
+ v-model="start_time_one"
|
|
408
|
+ type="date"
|
|
409
|
+ value-format="yyyy-MM-dd"
|
|
410
|
+ placeholder="选择日期">
|
|
411
|
+ </el-date-picker>
|
|
412
|
+ </el-form-item>
|
|
413
|
+ </el-col>
|
307
|
414
|
|
308
|
|
- <el-row :gutter="24">
|
309
|
|
- <el-col :span="24">
|
310
|
|
- <el-form-item label="原因:">
|
311
|
|
- <el-input style="width: 300px;height: 100px;" type="textarea" v-model="lapse_reason"></el-input>
|
|
415
|
+ <el-col :span="8">
|
|
416
|
+ <el-form-item label="结束时间:">
|
|
417
|
+ <el-date-picker
|
|
418
|
+ v-model="end_time_one"
|
|
419
|
+ type="date"
|
|
420
|
+ value-format="yyyy-MM-dd"
|
|
421
|
+ placeholder="选择日期">
|
|
422
|
+ </el-date-picker>
|
312
|
423
|
</el-form-item>
|
313
|
424
|
</el-col>
|
314
|
425
|
</el-row>
|
315
|
426
|
|
316
|
|
- <el-row :gutter="24">
|
|
427
|
+
|
|
428
|
+ <el-row :gutter="20">
|
317
|
429
|
<el-col :span="24">
|
318
|
|
- <el-form-item label="日期:">
|
319
|
|
- <el-date-picker
|
320
|
|
- v-model="record_date"
|
321
|
|
- type="date"
|
322
|
|
- value-format="yyyy-MM-dd"
|
323
|
|
- placeholder="选择日期">
|
324
|
|
- </el-date-picker>
|
|
430
|
+ <el-form-item label="原因:">
|
|
431
|
+ <el-input style="width: 300px;" :rows="2" type="textarea" v-model="lapse_reason"></el-input>
|
325
|
432
|
</el-form-item>
|
326
|
433
|
</el-col>
|
327
|
434
|
</el-row>
|
328
|
435
|
|
329
|
|
- <el-row :gutter="24">
|
330
|
|
- <el-col :span="24">
|
|
436
|
+ <el-row :gutter="20">
|
|
437
|
+ <el-col :span="12">
|
331
|
438
|
<el-form-item label="操作人:">
|
332
|
439
|
<el-select v-model="admin_user_id" placeholder="请选择">
|
333
|
440
|
<el-option
|
|
@@ -339,12 +446,22 @@
|
339
|
446
|
</el-select>
|
340
|
447
|
</el-form-item>
|
341
|
448
|
</el-col>
|
|
449
|
+ <el-col :span="12">
|
|
450
|
+ <el-form-item label="日期:">
|
|
451
|
+ <el-date-picker
|
|
452
|
+ v-model="record_date"
|
|
453
|
+ type="date"
|
|
454
|
+ value-format="yyyy-MM-dd"
|
|
455
|
+ placeholder="选择日期">
|
|
456
|
+ </el-date-picker>
|
|
457
|
+ </el-form-item>
|
|
458
|
+ </el-col>
|
342
|
459
|
</el-row>
|
343
|
460
|
|
344
|
|
- <el-row :gutter="24">
|
|
461
|
+ <el-row :gutter="20">
|
345
|
462
|
<el-col :span="24">
|
346
|
463
|
<el-form-item label="备注:">
|
347
|
|
- <el-input style="width: 300px;height: 50px;" type="textarea" v-model="remark"></el-input>
|
|
464
|
+ <el-input style="width: 300px;" :rows="2" type="textarea" v-model="remark"></el-input>
|
348
|
465
|
</el-form-item>
|
349
|
466
|
</el-col>
|
350
|
467
|
</el-row>
|
|
@@ -364,7 +481,7 @@
|
364
|
481
|
<script>
|
365
|
482
|
const moment = require('moment')
|
366
|
483
|
import PatientSidebar from './components/PatientSidebar'
|
367
|
|
- import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord} from '@/api/patient'
|
|
484
|
+ import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord,getPatientLapsoList} from '@/api/patient'
|
368
|
485
|
|
369
|
486
|
import { jsGetAge, uParseTime } from '@/utils/tools'
|
370
|
487
|
import { getDataConfig } from '@/utils/data'
|
|
@@ -475,9 +592,19 @@
|
475
|
592
|
his_type:"1",
|
476
|
593
|
his_zone:"",
|
477
|
594
|
his_bed:"",
|
|
595
|
+ start_time:"",
|
|
596
|
+ end_time:"",
|
|
597
|
+ patient_address:"",
|
|
598
|
+ start_time_one:"",
|
|
599
|
+ end_time_one:"",
|
478
|
600
|
}
|
479
|
601
|
},
|
480
|
602
|
methods: {
|
|
603
|
+ toJiaoBen(){
|
|
604
|
+ getPatientLapsoList().then(response=>{
|
|
605
|
+
|
|
606
|
+ })
|
|
607
|
+ },
|
481
|
608
|
clickuseradvicecell(row, column, cell, event) {
|
482
|
609
|
},
|
483
|
610
|
onTranPatient: function(tranPatient) {
|
|
@@ -548,35 +675,42 @@
|
548
|
675
|
}
|
549
|
676
|
})
|
550
|
677
|
},
|
|
678
|
+
|
551
|
679
|
getLapseType(id){
|
552
|
680
|
var name = ""
|
553
|
|
- if(id == 1){
|
554
|
|
- name = "终止透析"
|
|
681
|
+ if(id == 4){
|
|
682
|
+ name = "转出院外"
|
555
|
683
|
}
|
556
|
|
- if(id == 2){
|
|
684
|
+ if(id == 5){
|
557
|
685
|
name = "转出院外"
|
558
|
686
|
}
|
559
|
|
- if(id == 3){
|
|
687
|
+ if(id == 6){
|
560
|
688
|
name = "回居住地透析"
|
561
|
689
|
}
|
562
|
|
- if(id == 4){
|
|
690
|
+ if(id == 7){
|
563
|
691
|
name = "临时透析"
|
564
|
692
|
}
|
565
|
|
- if(id == 5){
|
|
693
|
+ if(id == 8){
|
566
|
694
|
name = "转腹膜透析"
|
567
|
695
|
}
|
568
|
|
- if(id == 6){
|
|
696
|
+ if(id == 9){
|
569
|
697
|
name = "其他"
|
570
|
698
|
}
|
571
|
|
- if(id == 7){
|
|
699
|
+ if(id == 10){
|
572
|
700
|
name = "变更透析医院"
|
573
|
701
|
}
|
574
|
|
- if(id == 8){
|
|
702
|
+ if(id == 11){
|
575
|
703
|
name = "住院"
|
576
|
704
|
}
|
577
|
|
- if(id == 9){
|
|
705
|
+ if(id == 12){
|
578
|
706
|
name = "转血透科"
|
579
|
707
|
}
|
|
708
|
+ if(id == 13){
|
|
709
|
+ name = "回居住地透析"
|
|
710
|
+ }
|
|
711
|
+ if(id == 14){
|
|
712
|
+ name = "变更透析医院"
|
|
713
|
+ }
|
580
|
714
|
|
581
|
715
|
return name
|
582
|
716
|
|
|
@@ -598,6 +732,11 @@
|
598
|
732
|
his_bed:this.his_bed,
|
599
|
733
|
his_type: parseInt(this.his_type),
|
600
|
734
|
his_zone:this.his_zone,
|
|
735
|
+ patient_address:this.patient_address,
|
|
736
|
+ start_time:this.start_time,
|
|
737
|
+ end_time:this.end_time,
|
|
738
|
+ start_time_one:this.start_time_one,
|
|
739
|
+ end_time_one:this.end_time_one,
|
601
|
740
|
}
|
602
|
741
|
console.log("params=====",params)
|
603
|
742
|
savePatientLapse(params).then(response=>{
|
|
@@ -642,6 +781,11 @@
|
642
|
781
|
this.his_zone = lapsorecord.his_zone
|
643
|
782
|
this.his_type = lapsorecord.his_type
|
644
|
783
|
this.id = lapsorecord.id
|
|
784
|
+ this.patient_address = lapsorecord.patient_address
|
|
785
|
+ this.start_time = this.getTime(lapsorecord.start_time)
|
|
786
|
+ this.end_time = this.getTime(lapsorecord.end_time)
|
|
787
|
+ this.start_time_one = this.getTime(lapsorecord.start_time_one)
|
|
788
|
+ this.end_time_one = this.getTime(lapsorecord.end_time_one)
|
645
|
789
|
this.editDialogVisible = true
|
646
|
790
|
|
647
|
791
|
}
|
|
@@ -666,6 +810,11 @@
|
666
|
810
|
his_bed:this.his_bed,
|
667
|
811
|
his_type:parseInt(this.his_type),
|
668
|
812
|
his_zone:this.his_zone,
|
|
813
|
+ patient_address:this.patient_address,
|
|
814
|
+ start_time:this.start_time,
|
|
815
|
+ end_time:this.end_time,
|
|
816
|
+ start_time_one:this.start_time_one,
|
|
817
|
+ end_time_one:this.end_time_one,
|
669
|
818
|
}
|
670
|
819
|
|
671
|
820
|
updatePatientLapseRecord(params).then(response=>{
|