提交 57a11be2 编写于 作者: lyf's avatar lyf

问诊优化

......@@ -2,7 +2,9 @@
<div>
<el-dialog
:title="title"
:visible.sync="diagnosisDoctorVisible" @close="cancel">
:visible.sync="diagnosisDoctorVisible" @close="cancel"
@open="opendialog"
>
<!-- <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">-->
<el-form ref="setForm"
:rules="addRules"
......@@ -175,7 +177,6 @@ export default {
},
methods: {
confirm() {
console.log("doctorId:" + this.doctorId);
this.$refs.setForm.validate((valid) => {
if (valid) {
// if(!(this.rangeTime != null && this.rangeTime.length > 0)){
......@@ -229,6 +230,15 @@ export default {
this.formData.outsideDoctor = '';
this.$emit('update:diagnosisDoctorVisible', false);
},
opendialog() {
this.formData.receptionId = ""
this.formData.receptionName = ""
this.formData.doctorTitle = ""
this.formData.doctorHospital = ""
this.formData.doctorDepartment = ""
this.formData.doctorMobile = ""
this.doctorChanged(this.doctorId)
},
doctorChanged(value) {
let selected = this.doctorList.find(item => item.doctorId === value);
if (selected) {
......@@ -248,6 +258,7 @@ export default {
this.loading = false
if (res.code == '000000') {
this.doctorList = res.data
this.doctorChanged(this.formData.receptionId)
} else {
this.$message.info('请稍后重试')
}
......
......@@ -883,7 +883,7 @@ export default {
waitDiagnose(row) {
this.diagnosisTimeVisible = true;
this.diagnoseLogId = row.diagnoseLogId;
this.bizType = 5;
this. = 5;
},
//设为待协调医生
waitHzeDot(row) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册