|
@@ -86,6 +86,10 @@
|
86
|
86
|
<div>
|
87
|
87
|
<div class="new_record_form">
|
88
|
88
|
<div class="cell clearfix">
|
|
89
|
+ <label class="title"><span class="name">标题</span> : </label>
|
|
90
|
+ <el-input v-model="form.title" style="width:200px"></el-input>
|
|
91
|
+
|
|
92
|
+
|
89
|
93
|
<label class="title"><span class="name">入院时间</span> : </label>
|
90
|
94
|
<el-date-picker v-model="form.admission_time"
|
91
|
95
|
prefix-icon="el-icon-date"
|
|
@@ -104,6 +108,33 @@
|
104
|
108
|
</el-date-picker>
|
105
|
109
|
|
106
|
110
|
|
|
111
|
+ </div>
|
|
112
|
+ <div class="cell clearfix" style="margin-top:10px">
|
|
113
|
+ <label class="title"><span class="name">上级医师签名</span>:</label>
|
|
114
|
+ <el-select v-model="form.dean" placeholder="请选择">
|
|
115
|
+ <el-option
|
|
116
|
+ v-for="item in docList"
|
|
117
|
+ :key="item.admin_user_id"
|
|
118
|
+ :label="item.user_name"
|
|
119
|
+ :value="item.admin_user_id">
|
|
120
|
+ </el-option>
|
|
121
|
+ </el-select>
|
|
122
|
+ <label class="title"><span class="name">住院医师签名</span>:</label>
|
|
123
|
+ <el-select v-model="form.doctor" placeholder="请选择">
|
|
124
|
+ <el-option
|
|
125
|
+ v-for="item in docList"
|
|
126
|
+ :key="item.admin_user_id"
|
|
127
|
+ :label="item.user_name"
|
|
128
|
+ :value="item.admin_user_id">
|
|
129
|
+ </el-option>
|
|
130
|
+ </el-select>
|
|
131
|
+ <label class="title"><span class="name">记录日期</span> : </label>
|
|
132
|
+ <el-date-picker v-model="form.record_date"
|
|
133
|
+ prefix-icon="el-icon-date"
|
|
134
|
+ style="width: 200px;"
|
|
135
|
+ type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
|
|
136
|
+ value-format="yyyy-MM-dd">
|
|
137
|
+ </el-date-picker>
|
107
|
138
|
</div>
|
108
|
139
|
<div class="cell clearfix" style="margin-top:10px">
|
109
|
140
|
<label class="title"><span class="name">病案号:</span> : </label>
|
|
@@ -129,7 +160,7 @@
|
129
|
160
|
|
130
|
161
|
<div class="cell clearfix" style="margin-top:10px">
|
131
|
162
|
<label class="title"><span class="name">入院诊断</span> : </label>
|
132
|
|
- <el-select v-model="form.admitting_diagnosis_id" placeholder="可选择病程模板" @change="didSelectTemplate">
|
|
163
|
+ <el-select v-model="form.admitting_diagnosis_id" placeholder="可选择病程模板" @change="changeAmittDiagnosis">
|
133
|
164
|
<el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
134
|
165
|
:value="option.content"></el-option>
|
135
|
166
|
</el-select>
|
|
@@ -148,7 +179,7 @@
|
148
|
179
|
<div class="cell clearfix" style="margin-top:10px">
|
149
|
180
|
<label class="title"><span class="name">出院诊断</span> : </label>
|
150
|
181
|
<el-select v-model="form.discharge_diagnosis_id" placeholder="可选择病程模板" @change="didSelectTemplate">
|
151
|
|
- <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
|
182
|
+ <el-option v-for="(option, index) in templatesOne" :key="index" :label="option.title"
|
152
|
183
|
:value="option.content"></el-option>
|
153
|
184
|
</el-select>
|
154
|
185
|
|
|
@@ -167,7 +198,7 @@
|
167
|
198
|
<div class="cell clearfix" style="margin-top:10px">
|
168
|
199
|
<label class="title"><span class="name">入院时病情</span> : </label>
|
169
|
200
|
<el-select v-model="form.diagnosis_admission_id" placeholder="可选择病程模板" @change="didSelectTemplate">
|
170
|
|
- <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
|
201
|
+ <el-option v-for="(option, index) in templatesTwo" :key="index" :label="option.title"
|
171
|
202
|
:value="option.content"></el-option>
|
172
|
203
|
</el-select>
|
173
|
204
|
|
|
@@ -176,7 +207,7 @@
|
176
|
207
|
<editor ref="editorTwo"
|
177
|
208
|
id="editorsTwo"
|
178
|
209
|
style="width: 800px"
|
179
|
|
- v-bind:r_content="form.diagnosis_admission_id">
|
|
210
|
+ v-bind:r_content="form.diagnosis_admission">
|
180
|
211
|
</editor>
|
181
|
212
|
</keep-alive>
|
182
|
213
|
</div>
|
|
@@ -185,7 +216,7 @@
|
185
|
216
|
<div class="cell clearfix" style="margin-top:10px">
|
186
|
217
|
<label class="title"><span class="name">诊断经过</span> : </label>
|
187
|
218
|
<el-select v-model="form.treatment_id" placeholder="可选择病程模板" @change="didSelectTemplate">
|
188
|
|
- <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
|
219
|
+ <el-option v-for="(option, index) in templatesThree" :key="index" :label="option.title"
|
189
|
220
|
:value="option.content"></el-option>
|
190
|
221
|
</el-select>
|
191
|
222
|
|
|
@@ -204,7 +235,7 @@
|
204
|
235
|
<div class="cell clearfix" style="margin-top:10px">
|
205
|
236
|
<label class="title"><span class="name">出院时病情</span> : </label>
|
206
|
237
|
<el-select v-model="form.illness_discharge_id" placeholder="可选择病程模板" @change="didSelectTemplate">
|
207
|
|
- <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
|
238
|
+ <el-option v-for="(option, index) in templatesFour" :key="index" :label="option.title"
|
208
|
239
|
:value="option.content"></el-option>
|
209
|
240
|
</el-select>
|
210
|
241
|
|
|
@@ -222,7 +253,7 @@
|
222
|
253
|
<div class="cell clearfix" style="margin-top:10px">
|
223
|
254
|
<label class="title"><span class="name">出院医嘱</span> : </label>
|
224
|
255
|
<el-select v-model="form.discharge_advice_id" placeholder="可选择病程模板" @change="didSelectTemplate">
|
225
|
|
- <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
|
256
|
+ <el-option v-for="(option, index) in templatesFive" :key="index" :label="option.title"
|
226
|
257
|
:value="option.content"></el-option>
|
227
|
258
|
</el-select>
|
228
|
259
|
|
|
@@ -305,7 +336,12 @@
|
305
|
336
|
show_dialog: false,
|
306
|
337
|
show_edit_dialog: false,
|
307
|
338
|
uploading_new_record: false,
|
308
|
|
- templates: this.$store.getters.configlist.course_disease,
|
|
339
|
+ templates: this.$store.getters.configlist.admitting_diagnosis,
|
|
340
|
+ templatesOne:this.$store.getters.configlist.discharge_diagnosis,
|
|
341
|
+ templatesTwo:this.$store.getters.configlist.diagnosis_admission,
|
|
342
|
+ templatesThree:this.$store.getters.configlist.treatment,
|
|
343
|
+ templatesFour:this.$store.getters.configlist.illness_discharge,
|
|
344
|
+ templatesFive:this.$store.getters.configlist.discharge_advice,
|
309
|
345
|
select_template: '',
|
310
|
346
|
new_content: '',
|
311
|
347
|
edit_new_content: '',
|
|
@@ -320,8 +356,8 @@
|
320
|
356
|
title:"",
|
321
|
357
|
start_year:new Date(),
|
322
|
358
|
start_month:new Date(),
|
323
|
|
- admission_time:"",
|
324
|
|
- discharge_time:"",
|
|
359
|
+ admission_time:new Date(),
|
|
360
|
+ discharge_time:new Date(),
|
325
|
361
|
sick_personnel:"",
|
326
|
362
|
xray:"",
|
327
|
363
|
admitting_diagnosis_id:"",
|
|
@@ -333,9 +369,13 @@
|
333
|
369
|
diagnosis_admission_id:"",
|
334
|
370
|
diagnosis_admission:"",
|
335
|
371
|
illness_discharge_id:"",
|
336
|
|
- illness_discharge:"",
|
|
372
|
+ illness_discharge:"",
|
|
373
|
+ dean:"",
|
|
374
|
+ doctor:"",
|
|
375
|
+ record_date:new Date(),
|
337
|
376
|
},
|
338
|
377
|
tableData:[],
|
|
378
|
+ docList:[],
|
339
|
379
|
}
|
340
|
380
|
},
|
341
|
381
|
created() {
|
|
@@ -412,12 +452,8 @@
|
412
|
452
|
},
|
413
|
453
|
tableRow(){
|
414
|
454
|
|
415
|
|
- },
|
416
|
|
- },
|
417
|
|
-
|
418
|
|
-
|
419
|
|
-
|
420
|
|
- getTime(val) {
|
|
455
|
+ },
|
|
456
|
+ getTime(val) {
|
421
|
457
|
if(val < 0){
|
422
|
458
|
return ""
|
423
|
459
|
}
|
|
@@ -427,6 +463,12 @@
|
427
|
463
|
return uParseTime(val, '{y}-{m}-{d}')
|
428
|
464
|
}
|
429
|
465
|
},
|
|
466
|
+ changeAmittDiagnosis(id){
|
|
467
|
+ console.log("id22332322332",id)
|
|
468
|
+ }
|
|
469
|
+ }
|
|
470
|
+
|
|
471
|
+
|
430
|
472
|
}
|
431
|
473
|
</script>
|
432
|
474
|
|