|
@@ -15,12 +15,17 @@
|
15
|
15
|
<el-col :span="7" :key="index">
|
16
|
16
|
<el-form-item
|
17
|
17
|
:label="item.item_name"
|
18
|
|
- v-if="item.range_type==1"
|
|
18
|
+ v-if="item.range_type == 1"
|
19
|
19
|
:key="item.item_id"
|
20
|
20
|
:prop="'formItem.' + index + '.value'"
|
21
|
21
|
>
|
22
|
|
- <el-input placeholder="请填入" v-model="item.value" style="width:95%" type="number">
|
23
|
|
- <template slot="append">{{item.unit}}</template>
|
|
22
|
+ <el-input
|
|
23
|
+ placeholder="请填入"
|
|
24
|
+ v-model="item.value"
|
|
25
|
+ style="width:95%"
|
|
26
|
+ type="number"
|
|
27
|
+ >
|
|
28
|
+ <template slot="append">{{ item.unit }}</template>
|
24
|
29
|
</el-input>
|
25
|
30
|
</el-form-item>
|
26
|
31
|
<el-form-item
|
|
@@ -29,7 +34,11 @@
|
29
|
34
|
:key="item.item_id"
|
30
|
35
|
:prop="'formItem.' + index + '.value'"
|
31
|
36
|
>
|
32
|
|
- <el-select v-model="item.value" placeholder="请选择" style="width:95%">
|
|
37
|
+ <el-select
|
|
38
|
+ v-model="item.value"
|
|
39
|
+ placeholder="请选择"
|
|
40
|
+ style="width:95%"
|
|
41
|
+ >
|
33
|
42
|
<el-option
|
34
|
43
|
v-for="(optionItem, oidex) in item.select_options"
|
35
|
44
|
:key="oidex"
|
|
@@ -39,7 +48,7 @@
|
39
|
48
|
</el-select>
|
40
|
49
|
</el-form-item>
|
41
|
50
|
</el-col>
|
42
|
|
- <el-col :span="1" :key="'form-col'+index"> </el-col>
|
|
51
|
+ <el-col :span="1" :key="'form-col' + index"> </el-col>
|
43
|
52
|
</template>
|
44
|
53
|
</el-row>
|
45
|
54
|
</el-form>
|
|
@@ -53,17 +62,26 @@
|
53
|
62
|
<bread-crumb :crumbs="crumbs"></bread-crumb>
|
54
|
63
|
<div class style="float:right;color: white">
|
55
|
64
|
<el-button
|
56
|
|
- :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false"
|
|
65
|
+ :disabled="
|
|
66
|
+ $store.getters.xt_user.subscibe.state == 3 || !subscibeFlag
|
|
67
|
+ ? true
|
|
68
|
+ : false
|
|
69
|
+ "
|
57
|
70
|
type="primary"
|
58
|
|
- v-if="this.isEdit==false"
|
|
71
|
+ v-if="this.isEdit == false"
|
59
|
72
|
@click="resetForm('form')"
|
60
|
73
|
icon="el-icon-circle-plus-outline"
|
61
|
74
|
size="small"
|
62
|
|
- >新增</el-button>
|
|
75
|
+ >新增</el-button
|
|
76
|
+ >
|
63
|
77
|
</div>
|
64
|
78
|
</div>
|
65
|
79
|
|
66
|
|
- <div v-if="isEdit" class style="float:right;margin-right: 35px;margin-top: 10px">
|
|
80
|
+ <div
|
|
81
|
+ v-if="isEdit"
|
|
82
|
+ class
|
|
83
|
+ style="float:right;margin-right: 35px;margin-top: 10px"
|
|
84
|
+ >
|
67
|
85
|
<!-- <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
|
68
|
86
|
<el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" v-if="this.isEdit==false" @click="resetForm('form')" icon="el-icon-circle-plus-outline" size="small">新增</el-button>
|
69
|
87
|
<el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" @click="onSubmit('form')" size="small" type="success" icon="el-icon-setting" >保存</el-button>
|
|
@@ -83,12 +101,16 @@
|
83
|
101
|
<el-row>
|
84
|
102
|
<el-col :span="20" class="form-table">
|
85
|
103
|
<el-row :span="20">
|
86
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
104
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
87
|
105
|
<el-form-item label="姓名 : " class="is-required" prop="name">
|
88
|
106
|
<el-input v-model="form.name"></el-input>
|
89
|
107
|
</el-form-item>
|
90
|
108
|
</el-col>
|
91
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''" style="height:59px;">
|
|
109
|
+ <el-col
|
|
110
|
+ :span="8"
|
|
111
|
+ :style="isEdit ? 'width:360px' : ''"
|
|
112
|
+ style="height:59px;"
|
|
113
|
+ >
|
92
|
114
|
<el-form-item label="性别 : " class="is-required" prop="gender">
|
93
|
115
|
<el-radio-group v-model="form.gender" @change="changeGender">
|
94
|
116
|
<el-radio
|
|
@@ -96,20 +118,35 @@
|
96
|
118
|
:key="item.value"
|
97
|
119
|
:label="item.value"
|
98
|
120
|
:value="item.value"
|
99
|
|
- >{{item.label}}</el-radio>
|
|
121
|
+ >{{ item.label }}</el-radio
|
|
122
|
+ >
|
100
|
123
|
</el-radio-group>
|
101
|
124
|
</el-form-item>
|
102
|
125
|
</el-col>
|
103
|
126
|
|
104
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
105
|
|
- <el-form-item label="身份证号 : " class="is-required" prop="idCardNo">
|
106
|
|
- <el-input v-model="form.idCardNo" @blur="checkIdCardNo"></el-input>
|
|
127
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
|
128
|
+ <el-form-item
|
|
129
|
+ label="身份证号 : "
|
|
130
|
+ class="is-required"
|
|
131
|
+ prop="idCardNo"
|
|
132
|
+ >
|
|
133
|
+ <el-input
|
|
134
|
+ v-model="form.idCardNo"
|
|
135
|
+ @blur="checkIdCardNo"
|
|
136
|
+ ></el-input>
|
107
|
137
|
</el-form-item>
|
108
|
138
|
</el-col>
|
109
|
139
|
|
110
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''" style="height:59px;">
|
|
140
|
+ <el-col
|
|
141
|
+ :span="8"
|
|
142
|
+ :style="isEdit ? 'width:360px' : ''"
|
|
143
|
+ style="height:59px;"
|
|
144
|
+ >
|
111
|
145
|
<el-form-item label="年龄 : " class="is-required" prop="age">
|
112
|
|
- <el-input v-model="form.age" placeholder="请填写年龄"></el-input>
|
|
146
|
+ <el-input
|
|
147
|
+ v-model="form.age"
|
|
148
|
+ placeholder="请填写年龄"
|
|
149
|
+ ></el-input>
|
113
|
150
|
</el-form-item>
|
114
|
151
|
</el-col>
|
115
|
152
|
<template v-if="isEdit">
|
|
@@ -121,7 +158,7 @@
|
121
|
158
|
</el-form-item>
|
122
|
159
|
</el-col>-->
|
123
|
160
|
|
124
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
161
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
125
|
162
|
<el-form-item label="透析号 : " class="is-required">
|
126
|
163
|
<el-input
|
127
|
164
|
v-model="form.dialysisNo"
|
|
@@ -142,7 +179,11 @@
|
142
|
179
|
</el-col>-->
|
143
|
180
|
|
144
|
181
|
<el-col :span="8">
|
145
|
|
- <el-form-item label="透析号 : " class="is-required" prop="dialysisNo">
|
|
182
|
+ <el-form-item
|
|
183
|
+ label="透析号 : "
|
|
184
|
+ class="is-required"
|
|
185
|
+ prop="dialysisNo"
|
|
186
|
+ >
|
146
|
187
|
<el-input
|
147
|
188
|
v-model="form.dialysisNo"
|
148
|
189
|
placeholder="填写或自动生成"
|
|
@@ -150,16 +191,26 @@
|
150
|
191
|
></el-input>
|
151
|
192
|
<el-button
|
152
|
193
|
style="width:35%;padding:10px 0;"
|
153
|
|
- :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false"
|
|
194
|
+ :disabled="
|
|
195
|
+ $store.getters.xt_user.subscibe.state == 3 ||
|
|
196
|
+ !subscibeFlag
|
|
197
|
+ ? true
|
|
198
|
+ : false
|
|
199
|
+ "
|
154
|
200
|
type="primary"
|
155
|
201
|
@click="generatedialysisno"
|
156
|
|
- >自动生成</el-button>
|
|
202
|
+ >自动生成</el-button
|
|
203
|
+ >
|
157
|
204
|
</el-form-item>
|
158
|
205
|
</el-col>
|
159
|
206
|
</template>
|
160
|
207
|
|
161
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
162
|
|
- <el-form-item label="出生日期 : " class="is-required" prop="birth">
|
|
208
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
|
209
|
+ <el-form-item
|
|
210
|
+ label="出生日期 : "
|
|
211
|
+ class="is-required"
|
|
212
|
+ prop="birth"
|
|
213
|
+ >
|
163
|
214
|
<el-date-picker
|
164
|
215
|
v-model="form.birth"
|
165
|
216
|
type="date"
|
|
@@ -172,8 +223,12 @@
|
172
|
223
|
</el-form-item>
|
173
|
224
|
</el-col>
|
174
|
225
|
|
175
|
|
- <el-col :span="6" :style="isEdit?'width:380px':''">
|
176
|
|
- <el-form-item label="首次肾脏治疗时间:" prop="firstDialysisDate" label-width="150px">
|
|
226
|
+ <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
|
|
227
|
+ <el-form-item
|
|
228
|
+ label="首次肾脏治疗时间:"
|
|
229
|
+ prop="firstDialysisDate"
|
|
230
|
+ label-width="150px"
|
|
231
|
+ >
|
177
|
232
|
<el-date-picker
|
178
|
233
|
v-model="form.firstDialysisDate"
|
179
|
234
|
type="date"
|
|
@@ -182,43 +237,63 @@
|
182
|
237
|
></el-date-picker>
|
183
|
238
|
</el-form-item>
|
184
|
239
|
</el-col>
|
185
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
186
|
|
- <el-form-item label="本人电话 : " class="is-required" prop="phone">
|
|
240
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
|
241
|
+ <el-form-item
|
|
242
|
+ label="本人电话 : "
|
|
243
|
+ class="is-required"
|
|
244
|
+ prop="phone"
|
|
245
|
+ >
|
187
|
246
|
<el-input v-model="form.phone" maxlength="20"></el-input>
|
188
|
247
|
</el-form-item>
|
189
|
248
|
</el-col>
|
190
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
249
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
191
|
250
|
<el-form-item label="家属姓名 : ">
|
192
|
|
- <el-input v-model="form.contact_name" maxlength="20"></el-input>
|
|
251
|
+ <el-input
|
|
252
|
+ v-model="form.contact_name"
|
|
253
|
+ maxlength="20"
|
|
254
|
+ ></el-input>
|
193
|
255
|
</el-form-item>
|
194
|
256
|
</el-col>
|
195
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
257
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
196
|
258
|
<el-form-item label="家属电话 : " prop="homeTelephone">
|
197
|
|
- <el-input v-model="form.homeTelephone" maxlength="20"></el-input>
|
|
259
|
+ <el-input
|
|
260
|
+ v-model="form.homeTelephone"
|
|
261
|
+ maxlength="20"
|
|
262
|
+ ></el-input>
|
198
|
263
|
</el-form-item>
|
199
|
264
|
</el-col>
|
200
|
265
|
|
201
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
202
|
|
- <el-form-item label="患者来源 : " class="is-required" prop="source">
|
|
266
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
|
267
|
+ <el-form-item
|
|
268
|
+ label="患者来源 : "
|
|
269
|
+ class="is-required"
|
|
270
|
+ prop="source"
|
|
271
|
+ >
|
203
|
272
|
<el-radio-group v-model="form.source">
|
204
|
273
|
<el-radio
|
205
|
274
|
v-for="item in sourceOptions"
|
206
|
275
|
:key="item.value"
|
207
|
276
|
:label="item.value"
|
208
|
277
|
:value="item.value"
|
209
|
|
- >{{item.label}}</el-radio>
|
|
278
|
+ >{{ item.label }}</el-radio
|
|
279
|
+ >
|
210
|
280
|
</el-radio-group>
|
211
|
281
|
</el-form-item>
|
212
|
282
|
</el-col>
|
213
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
214
|
|
- <el-form-item label="治疗状态(转归) : " class="is-required" prop="lapseto">
|
|
283
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
|
284
|
+ <el-form-item
|
|
285
|
+ label="治疗状态(转归) : "
|
|
286
|
+ class="is-required"
|
|
287
|
+ prop="lapseto"
|
|
288
|
+ >
|
215
|
289
|
<el-radio-group v-model="form.lapseto">
|
216
|
290
|
<el-radio
|
217
|
291
|
v-for="item in lapsetoOptions"
|
218
|
292
|
:key="item.value"
|
219
|
293
|
:label="item.value"
|
220
|
294
|
:value="item.value"
|
221
|
|
- >{{item.label}}</el-radio>
|
|
295
|
+ >{{ item.label }}</el-radio
|
|
296
|
+ >
|
222
|
297
|
</el-radio-group>
|
223
|
298
|
</el-form-item>
|
224
|
299
|
</el-col>
|
|
@@ -229,15 +304,19 @@
|
229
|
304
|
<el-radio :label="1">无</el-radio>
|
230
|
305
|
<el-radio :label="2">有</el-radio>
|
231
|
306
|
</el-radio-group>
|
232
|
|
- <el-checkbox-group v-model="form.contagions" v-if="form.is_infectious == '2'">
|
|
307
|
+ <el-checkbox-group
|
|
308
|
+ v-model="form.contagions"
|
|
309
|
+ v-if="form.is_infectious == '2'"
|
|
310
|
+ >
|
233
|
311
|
<el-checkbox
|
234
|
312
|
v-for="item in contagionList"
|
235
|
|
- v-if="item.type==2"
|
|
313
|
+ v-if="item.type == 2"
|
236
|
314
|
:label="item.id"
|
237
|
315
|
:key="item.id"
|
238
|
316
|
name="contagions"
|
239
|
317
|
:value="item.id"
|
240
|
|
- >{{item.name}}</el-checkbox>
|
|
318
|
+ >{{ item.name }}</el-checkbox
|
|
319
|
+ >
|
241
|
320
|
</el-checkbox-group>
|
242
|
321
|
</el-form-item>
|
243
|
322
|
</el-col>
|
|
@@ -260,14 +339,22 @@
|
260
|
339
|
value-format="yyyy-MM-dd"
|
261
|
340
|
v-if="!isEdit"
|
262
|
341
|
></el-date-picker>
|
263
|
|
- <el-button type="primary" @click="recordCheck()" v-if="!isEdit">录入检验检查</el-button>
|
|
342
|
+ <el-button
|
|
343
|
+ type="primary"
|
|
344
|
+ @click="recordCheck()"
|
|
345
|
+ v-if="!isEdit"
|
|
346
|
+ >录入检验检查</el-button
|
|
347
|
+ >
|
264
|
348
|
<!--<el-button type="primary" v-if="isEdit">查看检验检查</el-button>-->
|
265
|
349
|
</el-form-item>
|
266
|
350
|
</el-col>
|
267
|
351
|
|
268
|
352
|
<el-col :span="24">
|
269
|
353
|
<el-form-item label="传染病周期提醒: ">
|
270
|
|
- <el-radio-group v-model="form.remind_cycle" @change="changeCycle()">
|
|
354
|
+ <el-radio-group
|
|
355
|
+ v-model="form.remind_cycle"
|
|
356
|
+ @change="changeCycle()"
|
|
357
|
+ >
|
271
|
358
|
<el-radio :label="1">一月一次</el-radio>
|
272
|
359
|
<el-radio :label="2">两月一次</el-radio>
|
273
|
360
|
<el-radio :label="3">三月一次</el-radio>
|
|
@@ -288,38 +375,48 @@
|
288
|
375
|
</el-form-item>
|
289
|
376
|
</el-col>
|
290
|
377
|
|
291
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
378
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
292
|
379
|
<el-form-item label="民族 : " prop="nation">
|
293
|
380
|
<el-input v-model="form.nation" maxlength="30"></el-input>
|
294
|
381
|
</el-form-item>
|
295
|
382
|
</el-col>
|
296
|
383
|
|
297
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
384
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
298
|
385
|
<el-form-item label="籍贯 : " prop="native_place">
|
299
|
|
- <el-input v-model="form.native_place" maxlength="30"></el-input>
|
|
386
|
+ <el-input
|
|
387
|
+ v-model="form.native_place"
|
|
388
|
+ maxlength="30"
|
|
389
|
+ ></el-input>
|
300
|
390
|
</el-form-item>
|
301
|
391
|
</el-col>
|
302
|
392
|
|
303
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
393
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
304
|
394
|
<el-form-item label="家庭住址 : " prop="homeAddress">
|
305
|
395
|
<el-input v-model="form.homeAddress"></el-input>
|
306
|
396
|
</el-form-item>
|
307
|
397
|
</el-col>
|
308
|
398
|
|
309
|
399
|
<div v-show="!generic_info_fold">
|
310
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
400
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
311
|
401
|
<el-form-item label="别名 : " prop="alias">
|
312
|
402
|
<el-input v-model="form.alias"></el-input>
|
313
|
403
|
</el-form-item>
|
314
|
404
|
</el-col>
|
315
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
405
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
316
|
406
|
<el-form-item label="身高(cm) : " prop="height">
|
317
|
|
- <el-input maxlength="5" v-model="form.height" @change="checkHeight"></el-input>
|
|
407
|
+ <el-input
|
|
408
|
+ maxlength="5"
|
|
409
|
+ v-model="form.height"
|
|
410
|
+ @change="checkHeight"
|
|
411
|
+ ></el-input>
|
318
|
412
|
</el-form-item>
|
319
|
413
|
</el-col>
|
320
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
414
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
321
|
415
|
<el-form-item label="婚姻状况 : " prop="maritalStatus">
|
322
|
|
- <el-select v-model="form.maritalStatus" placeholder="请选择婚姻状况">
|
|
416
|
+ <el-select
|
|
417
|
+ v-model="form.maritalStatus"
|
|
418
|
+ placeholder="请选择婚姻状况"
|
|
419
|
+ >
|
323
|
420
|
<el-option
|
324
|
421
|
v-for="item in maritalOptions"
|
325
|
422
|
:key="item.id"
|
|
@@ -329,19 +426,23 @@
|
329
|
426
|
</el-select>
|
330
|
427
|
</el-form-item>
|
331
|
428
|
</el-col>
|
332
|
|
- <el-col :span="8" style="clearfix" :style="isEdit?'width:360px':''">
|
|
429
|
+ <el-col
|
|
430
|
+ :span="8"
|
|
431
|
+ style="clearfix"
|
|
432
|
+ :style="isEdit ? 'width:360px' : ''"
|
|
433
|
+ >
|
333
|
434
|
<el-form-item label="子女情况(个) : " prop="children">
|
334
|
435
|
<el-input maxlength="5" v-model="form.children"></el-input>
|
335
|
436
|
</el-form-item>
|
336
|
437
|
<!-- <el-form-item label=" " style="float:left;" label-width="30px">
|
337
|
438
|
</el-form-item>-->
|
338
|
439
|
</el-col>
|
339
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
440
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
340
|
441
|
<el-form-item label="住院(门诊)号 : ">
|
341
|
442
|
<el-input v-model="form.admissionNumber"></el-input>
|
342
|
443
|
</el-form-item>
|
343
|
444
|
</el-col>
|
344
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
445
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
345
|
446
|
<el-form-item label="医保类型 : " prop="reimbursementWayID">
|
346
|
447
|
<el-select v-model="form.reimbursementWayID">
|
347
|
448
|
<el-option
|
|
@@ -353,12 +454,12 @@
|
353
|
454
|
</el-select>
|
354
|
455
|
</el-form-item>
|
355
|
456
|
</el-col>
|
356
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
457
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
357
|
458
|
<el-form-item label="医保号 : " prop="healthCareNo">
|
358
|
459
|
<el-input v-model="form.healthCareNo"></el-input>
|
359
|
460
|
</el-form-item>
|
360
|
461
|
</el-col>
|
361
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
462
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
362
|
463
|
<el-form-item label="教育程度 : " prop="educationOptions">
|
363
|
464
|
<el-select v-model="form.education">
|
364
|
465
|
<el-option
|
|
@@ -371,13 +472,16 @@
|
371
|
472
|
</el-form-item>
|
372
|
473
|
</el-col>
|
373
|
474
|
|
374
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
475
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
375
|
476
|
<el-form-item label="固定电话 : ">
|
376
|
|
- <el-input v-model="form.tell_phone" maxlength="20"></el-input>
|
|
477
|
+ <el-input
|
|
478
|
+ v-model="form.tell_phone"
|
|
479
|
+ maxlength="20"
|
|
480
|
+ ></el-input>
|
377
|
481
|
</el-form-item>
|
378
|
482
|
</el-col>
|
379
|
483
|
|
380
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
484
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
381
|
485
|
<el-form-item label="费别 : ">
|
382
|
486
|
<el-select v-model="form.expense_kind">
|
383
|
487
|
<el-option
|
|
@@ -390,23 +494,33 @@
|
390
|
494
|
</el-form-item>
|
391
|
495
|
</el-col>
|
392
|
496
|
|
393
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''" style="height:59px;">
|
|
497
|
+ <el-col
|
|
498
|
+ :span="8"
|
|
499
|
+ :style="isEdit ? 'width:360px' : ''"
|
|
500
|
+ style="height:59px;"
|
|
501
|
+ >
|
394
|
502
|
<el-form-item label="透析龄(月): ">
|
395
|
503
|
<el-input v-model="form.dialysis_age"></el-input>
|
396
|
504
|
</el-form-item>
|
397
|
505
|
</el-col>
|
398
|
506
|
|
399
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
507
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
400
|
508
|
<el-form-item label="亲友电话 : " prop="relative_phone">
|
401
|
|
- <el-input v-model="form.relative_phone" maxlength="20"></el-input>
|
|
509
|
+ <el-input
|
|
510
|
+ v-model="form.relative_phone"
|
|
511
|
+ maxlength="20"
|
|
512
|
+ ></el-input>
|
402
|
513
|
</el-form-item>
|
403
|
514
|
</el-col>
|
404
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
515
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
405
|
516
|
<el-form-item label="亲友关系 : " prop="relative_relations">
|
406
|
|
- <el-input v-model="form.relative_relations" maxlength="20"></el-input>
|
|
517
|
+ <el-input
|
|
518
|
+ v-model="form.relative_relations"
|
|
519
|
+ maxlength="20"
|
|
520
|
+ ></el-input>
|
407
|
521
|
</el-form-item>
|
408
|
522
|
</el-col>
|
409
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
523
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
410
|
524
|
<el-form-item label="职业 : " prop="profession">
|
411
|
525
|
<el-select v-model="form.profession">
|
412
|
526
|
<el-option
|
|
@@ -418,12 +532,12 @@
|
418
|
532
|
</el-select>
|
419
|
533
|
</el-form-item>
|
420
|
534
|
</el-col>
|
421
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
535
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
422
|
536
|
<el-form-item label="工作单位 : " prop="work">
|
423
|
537
|
<el-input v-model="form.work"></el-input>
|
424
|
538
|
</el-form-item>
|
425
|
539
|
</el-col>
|
426
|
|
- <el-col :span="8" :style="isEdit?'width:360px':''">
|
|
540
|
+ <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
|
427
|
541
|
<el-form-item label="单位地址 : " prop="unit_address">
|
428
|
542
|
<el-input v-model="form.unit_address"></el-input>
|
429
|
543
|
</el-form-item>
|
|
@@ -431,9 +545,11 @@
|
431
|
545
|
</div>
|
432
|
546
|
<el-col :span="24">
|
433
|
547
|
<el-form-item>
|
434
|
|
- <el-button type="text" @click="generic_info_fold = !generic_info_fold">
|
435
|
|
- {{ generic_info_fold ? '更多资料' :
|
436
|
|
- '收起' }}
|
|
548
|
+ <el-button
|
|
549
|
+ type="text"
|
|
550
|
+ @click="generic_info_fold = !generic_info_fold"
|
|
551
|
+ >
|
|
552
|
+ {{ generic_info_fold ? "更多资料" : "收起" }}
|
437
|
553
|
<i class="el-icon--right" :class="generic_fold_icon"></i>
|
438
|
554
|
</el-button>
|
439
|
555
|
</el-form-item>
|
|
@@ -443,7 +559,11 @@
|
443
|
559
|
<el-col :span="4" align="center">
|
444
|
560
|
<el-upload
|
445
|
561
|
style="width:100%;"
|
446
|
|
- :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false"
|
|
562
|
+ :disabled="
|
|
563
|
+ $store.getters.xt_user.subscibe.state == 3 || !subscibeFlag
|
|
564
|
+ ? true
|
|
565
|
+ : false
|
|
566
|
+ "
|
447
|
567
|
:data="uploadData"
|
448
|
568
|
class="uploadHead"
|
449
|
569
|
:multiple="false"
|
|
@@ -454,14 +574,24 @@
|
454
|
574
|
list-type="picture-card"
|
455
|
575
|
:before-upload="beforeAvatarUpload"
|
456
|
576
|
>
|
457
|
|
- <img width="100%" height="100%" v-if="form.avatar" :src="form.avatar" class="avatar" />
|
|
577
|
+ <img
|
|
578
|
+ width="100%"
|
|
579
|
+ height="100%"
|
|
580
|
+ v-if="form.avatar"
|
|
581
|
+ :src="form.avatar"
|
|
582
|
+ class="avatar"
|
|
583
|
+ />
|
458
|
584
|
<i class="el-icon-plus" v-else></i>
|
459
|
585
|
</el-upload>
|
460
|
586
|
<el-dialog :visible.sync="dialogVisible">
|
461
|
587
|
<img width="100%" :src="dialogImageUrl" alt />
|
462
|
588
|
</el-dialog>
|
463
|
589
|
<el-upload
|
464
|
|
- :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false"
|
|
590
|
+ :disabled="
|
|
591
|
+ $store.getters.xt_user.subscibe.state == 3 || !subscibeFlag
|
|
592
|
+ ? true
|
|
593
|
+ : false
|
|
594
|
+ "
|
465
|
595
|
:data="uploadData"
|
466
|
596
|
:multiple="false"
|
467
|
597
|
action="https://upload.qiniup.com"
|
|
@@ -471,13 +601,22 @@
|
471
|
601
|
:before-upload="beforeAvatarUpload"
|
472
|
602
|
>
|
473
|
603
|
<el-button
|
474
|
|
- :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false"
|
|
604
|
+ :disabled="
|
|
605
|
+ $store.getters.xt_user.subscibe.state == 3 || !subscibeFlag
|
|
606
|
+ ? true
|
|
607
|
+ : false
|
|
608
|
+ "
|
475
|
609
|
class="uploadHeadBtn"
|
476
|
610
|
type="primary"
|
477
|
|
- >上传头像</el-button>
|
|
611
|
+ >上传头像</el-button
|
|
612
|
+ >
|
478
|
613
|
</el-upload>
|
479
|
614
|
<el-form-item>
|
480
|
|
- <el-input v-model="form.avatar" type="hidden" placeholder></el-input>
|
|
615
|
+ <el-input
|
|
616
|
+ v-model="form.avatar"
|
|
617
|
+ type="hidden"
|
|
618
|
+ placeholder
|
|
619
|
+ ></el-input>
|
481
|
620
|
</el-form-item>
|
482
|
621
|
</el-col>
|
483
|
622
|
</el-row>
|
|
@@ -548,7 +687,13 @@
|
548
|
687
|
<el-col></el-col>
|
549
|
688
|
<el-col :span="24">
|
550
|
689
|
<el-form-item label prop="remark">
|
551
|
|
- <el-input type="textarea" :rows="3" v-model="form.remark" resize="none" placeholder></el-input>
|
|
690
|
+ <el-input
|
|
691
|
+ type="textarea"
|
|
692
|
+ :rows="3"
|
|
693
|
+ v-model="form.remark"
|
|
694
|
+ resize="none"
|
|
695
|
+ placeholder
|
|
696
|
+ ></el-input>
|
552
|
697
|
</el-form-item>
|
553
|
698
|
</el-col>
|
554
|
699
|
<!--<el-col :span="24">-->
|
|
@@ -568,26 +713,31 @@
|
568
|
713
|
:label="item.id"
|
569
|
714
|
:key="item.id"
|
570
|
715
|
:value="item.id"
|
571
|
|
- >{{item.name}}</el-checkbox>
|
|
716
|
+ >{{ item.name }}</el-checkbox
|
|
717
|
+ >
|
572
|
718
|
</el-checkbox-group>
|
573
|
719
|
</el-form-item>
|
574
|
720
|
</el-col>
|
575
|
721
|
|
576
|
722
|
<div v-show="!treat_info_fold">
|
577
|
|
- <el-col :span="6" :style="isEdit?'width:360px':''">
|
578
|
|
- <el-form-item label="本院首次透析 : " prop="is_hospital_first_dialysis">
|
|
723
|
+ <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
|
|
724
|
+ <el-form-item
|
|
725
|
+ label="本院首次透析 : "
|
|
726
|
+ prop="is_hospital_first_dialysis"
|
|
727
|
+ >
|
579
|
728
|
<el-radio-group v-model="form.is_hospital_first_dialysis">
|
580
|
729
|
<el-radio
|
581
|
730
|
v-for="item in isHospitalFirstDialysisOptions"
|
582
|
731
|
:key="item.value"
|
583
|
732
|
:label="item.value"
|
584
|
733
|
:value="item.value"
|
585
|
|
- >{{item.label}}</el-radio>
|
|
734
|
+ >{{ item.label }}</el-radio
|
|
735
|
+ >
|
586
|
736
|
</el-radio-group>
|
587
|
737
|
</el-form-item>
|
588
|
738
|
</el-col>
|
589
|
739
|
|
590
|
|
- <el-col :span="6" :style="isEdit?'width:360px':''">
|
|
740
|
+ <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
|
591
|
741
|
<el-form-item label="首次诊治时间 : ">
|
592
|
742
|
<el-date-picker
|
593
|
743
|
v-model="form.first_treatment_date"
|
|
@@ -597,35 +747,53 @@
|
597
|
747
|
></el-date-picker>
|
598
|
748
|
</el-form-item>
|
599
|
749
|
</el-col>
|
600
|
|
- <el-col :span="6" :style="isEdit?'width:360px':''">
|
601
|
|
- <el-form-item label="首次透析医院 : " prop="first_dialysis_hospital">
|
|
750
|
+ <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
|
|
751
|
+ <el-form-item
|
|
752
|
+ label="首次透析医院 : "
|
|
753
|
+ prop="first_dialysis_hospital"
|
|
754
|
+ >
|
602
|
755
|
<el-input v-model="form.first_dialysis_hospital"></el-input>
|
603
|
756
|
</el-form-item>
|
604
|
757
|
</el-col>
|
605
|
758
|
<el-col :span="24">
|
606
|
|
- <el-form-item label="透析之前情况 : " prop="predialysis_condition">
|
|
759
|
+ <el-form-item
|
|
760
|
+ label="透析之前情况 : "
|
|
761
|
+ prop="predialysis_condition"
|
|
762
|
+ >
|
607
|
763
|
<el-checkbox-group v-model="form.predialysis_condition">
|
608
|
764
|
<el-checkbox
|
609
|
765
|
v-for="item in predialysisConditionOptions"
|
610
|
766
|
:label="item.label"
|
611
|
767
|
:key="item.value"
|
612
|
768
|
:value="item.label"
|
613
|
|
- >{{item.label}}</el-checkbox>
|
|
769
|
+ >{{ item.label }}</el-checkbox
|
|
770
|
+ >
|
614
|
771
|
</el-checkbox-group>
|
615
|
772
|
</el-form-item>
|
616
|
773
|
</el-col>
|
617
|
|
- <el-col :span="6" :style="isEdit?'width:360px':''">
|
618
|
|
- <el-form-item label="本院前透析频率 : " prop="pre_hospital_dialysis_frequency">
|
619
|
|
- <el-input v-model="form.pre_hospital_dialysis_frequency"></el-input>
|
|
774
|
+ <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
|
|
775
|
+ <el-form-item
|
|
776
|
+ label="本院前透析频率 : "
|
|
777
|
+ prop="pre_hospital_dialysis_frequency"
|
|
778
|
+ >
|
|
779
|
+ <el-input
|
|
780
|
+ v-model="form.pre_hospital_dialysis_frequency"
|
|
781
|
+ ></el-input>
|
620
|
782
|
</el-form-item>
|
621
|
783
|
</el-col>
|
622
|
|
- <el-col :span="6" :style="isEdit?'width:360px':''">
|
623
|
|
- <el-form-item label="本院前透析次数 : " prop="pre_hospital_dialysis_times">
|
|
784
|
+ <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
|
|
785
|
+ <el-form-item
|
|
786
|
+ label="本院前透析次数 : "
|
|
787
|
+ prop="pre_hospital_dialysis_times"
|
|
788
|
+ >
|
624
|
789
|
<el-input v-model="form.pre_hospital_dialysis_times"></el-input>
|
625
|
790
|
</el-form-item>
|
626
|
791
|
</el-col>
|
627
|
|
- <el-col :span="6" :style="isEdit?'width:360px':''">
|
628
|
|
- <el-form-item label="本院首次透析 : " prop="hospital_first_dialysis_date">
|
|
792
|
+ <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
|
|
793
|
+ <el-form-item
|
|
794
|
+ label="本院首次透析 : "
|
|
795
|
+ prop="hospital_first_dialysis_date"
|
|
796
|
+ >
|
629
|
797
|
<el-date-picker
|
630
|
798
|
v-model="form.hospital_first_dialysis_date"
|
631
|
799
|
type="date"
|
|
@@ -637,8 +805,11 @@
|
637
|
805
|
</div>
|
638
|
806
|
<el-col :span="24">
|
639
|
807
|
<el-form-item>
|
640
|
|
- <el-button type="text" @click="treat_info_fold = !treat_info_fold">
|
641
|
|
- {{ treat_info_fold ? '更多治疗信息' : '收起' }}
|
|
808
|
+ <el-button
|
|
809
|
+ type="text"
|
|
810
|
+ @click="treat_info_fold = !treat_info_fold"
|
|
811
|
+ >
|
|
812
|
+ {{ treat_info_fold ? "更多治疗信息" : "收起" }}
|
642
|
813
|
<i class="el-icon--right" :class="treat_fold_icon"></i>
|
643
|
814
|
</el-button>
|
644
|
815
|
</el-form-item>
|
|
@@ -646,28 +817,43 @@
|
646
|
817
|
|
647
|
818
|
<el-col :span="24">
|
648
|
819
|
<el-form-item label="登记人员 : ">
|
649
|
|
- <span>{{adminusername}}</span>
|
|
820
|
+ <span>{{ adminusername }}</span>
|
650
|
821
|
</el-form-item>
|
651
|
822
|
</el-col>
|
652
|
823
|
|
653
|
824
|
<el-col :span="24" align="right">
|
654
|
825
|
<el-form-item>
|
655
|
|
- <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
|
656
|
826
|
<el-button
|
657
|
|
- :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false"
|
|
827
|
+ @click="$router.back(-1)"
|
|
828
|
+ icon="el-icon-refresh"
|
|
829
|
+ size="small"
|
|
830
|
+ >取消</el-button
|
|
831
|
+ >
|
|
832
|
+ <el-button
|
|
833
|
+ :disabled="
|
|
834
|
+ $store.getters.xt_user.subscibe.state == 3 || !subscibeFlag
|
|
835
|
+ ? true
|
|
836
|
+ : false
|
|
837
|
+ "
|
658
|
838
|
@click="onSubmit('form')"
|
659
|
839
|
size="small"
|
660
|
840
|
type="primary"
|
661
|
841
|
icon="el-icon-setting"
|
662
|
|
- >保存</el-button>
|
|
842
|
+ >保存</el-button
|
|
843
|
+ >
|
663
|
844
|
<el-button
|
664
|
|
- v-if="isEdit==false"
|
|
845
|
+ v-if="isEdit == false"
|
665
|
846
|
@click="onReSubmit('form')"
|
666
|
|
- :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false"
|
|
847
|
+ :disabled="
|
|
848
|
+ $store.getters.xt_user.subscibe.state == 3 || !subscibeFlag
|
|
849
|
+ ? true
|
|
850
|
+ : false
|
|
851
|
+ "
|
667
|
852
|
icon="el-icon-document-add"
|
668
|
853
|
size="small"
|
669
|
854
|
type="success"
|
670
|
|
- >保存并继续新增</el-button>
|
|
855
|
+ >保存并继续新增</el-button
|
|
856
|
+ >
|
671
|
857
|
</el-form-item>
|
672
|
858
|
</el-col>
|
673
|
859
|
</el-row>
|
|
@@ -1595,4 +1781,3 @@ export default {
|
1595
|
1781
|
z-index: 998 !important;
|
1596
|
1782
|
}
|
1597
|
1783
|
</style>
|
1598
|
|
-
|