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

问诊优化

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