|
@@ -215,101 +215,6 @@
|
215
|
215
|
</span> -->
|
216
|
216
|
</el-dialog>
|
217
|
217
|
|
218
|
|
-
|
219
|
|
-
|
220
|
|
-
|
221
|
|
- <!-- </div> -->
|
222
|
|
- <el-dialog title="新增病程记录" class="eldialog" width="70%" top="5vh" :visible.sync="show_dialog">
|
223
|
|
- <div>
|
224
|
|
- <div class="new_record_form">
|
225
|
|
- <div class="cell clearfix">
|
226
|
|
- <label class="title"><span class="name">病程日期</span> : </label>
|
227
|
|
- <el-date-picker v-model="course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
|
228
|
|
- style="width: 250px;"
|
229
|
|
- type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
|
230
|
|
- value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
|
231
|
|
-
|
232
|
|
- <label class="title"><span class="name">日常病程</span> : </label>
|
233
|
|
- <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
|
234
|
|
- <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
235
|
|
- :value="option.content"></el-option>
|
236
|
|
- </el-select>
|
237
|
|
- </div>
|
238
|
|
-
|
239
|
|
- <div class="cell clearfix" style="margin-top: 10px">
|
240
|
|
- <label class="title"><span class="name">病程标题</span> : </label>
|
241
|
|
- <el-input v-model="title" style="width: 420px"></el-input>
|
242
|
|
- </div>
|
243
|
|
-
|
244
|
|
- <div style="margin-top: 10px;">
|
245
|
|
- <el-button type="primary" size="small" @click="toAuto" v-if="org_id == 3877 || org_id == 10440" >自动生成</el-button>
|
246
|
|
- </div>
|
247
|
|
- <div class="textarea_panel">
|
248
|
|
- <keep-alive>
|
249
|
|
- <editor ref="editor"
|
250
|
|
- id="editors"
|
251
|
|
- style="width: 80%"
|
252
|
|
- v-bind:r_content="new_content"
|
253
|
|
- >
|
254
|
|
- </editor>
|
255
|
|
- </keep-alive>
|
256
|
|
- </div>
|
257
|
|
-
|
258
|
|
- <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
|
259
|
|
- <el-button @click="show_dialog = false">取消</el-button>
|
260
|
|
- <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary"
|
261
|
|
- @click="createAction" :loading="uploading_new_record">保存
|
262
|
|
- </el-button>
|
263
|
|
- </div>
|
264
|
|
- </div>
|
265
|
|
- </div>
|
266
|
|
- </el-dialog>
|
267
|
|
-
|
268
|
|
-
|
269
|
|
- <el-dialog title="修改病程记录" class="eldialog" width="70%" top="5vh" :visible.sync="show_edit_dialog" style="">
|
270
|
|
- <div>
|
271
|
|
- <div class="new_record_form">
|
272
|
|
- <div class="cell clearfix">
|
273
|
|
- <label class="title"><span class="name">病程日期</span> : </label>
|
274
|
|
- <el-date-picker v-model="edit_course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
|
275
|
|
- style="width: 200px;"
|
276
|
|
- type="datetime"
|
277
|
|
- placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
|
278
|
|
- value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
|
279
|
|
-
|
280
|
|
- <label class="title"><span class="name">日常病程</span> : </label>
|
281
|
|
- <el-select v-model="select_template" placeholder="可选择病程模板" @change="didEditSelectTemplate">
|
282
|
|
- <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
|
283
|
|
- :value="option.content"></el-option>
|
284
|
|
- </el-select>
|
285
|
|
- </div>
|
286
|
|
-
|
287
|
|
-
|
288
|
|
- <div class="cell clearfix" style="margin-top: 10px">
|
289
|
|
- <label class="title"><span class="name">病程标题</span> : </label>
|
290
|
|
- <el-input v-model="edit_title" style="width: 420px"></el-input>
|
291
|
|
- </div>
|
292
|
|
-
|
293
|
|
- <div class="textarea_panel">
|
294
|
|
- <!--<el-input v-model="edit_new_content" type="textarea" rows="6" resize="none"></el-input>-->
|
295
|
|
- <keep-alive>
|
296
|
|
- <editor ref="edit_neditor"
|
297
|
|
- id="edit_editor"
|
298
|
|
- style="width: 80%"
|
299
|
|
- v-bind:r_content="edit_new_content">
|
300
|
|
- </editor>
|
301
|
|
- </keep-alive>
|
302
|
|
- </div>
|
303
|
|
-
|
304
|
|
- <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
|
305
|
|
- <el-button @click="show_edit_dialog = false">取消</el-button>
|
306
|
|
- <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary"
|
307
|
|
- @click="modifyAction" :loading="uploading_new_record">保存
|
308
|
|
- </el-button>
|
309
|
|
- </div>
|
310
|
|
- </div>
|
311
|
|
- </div>
|
312
|
|
- </el-dialog>
|
313
|
218
|
</div>
|
314
|
219
|
</div>
|
315
|
220
|
|