Commit 8997da28 authored by 高滢's avatar 高滢

治疗弹出框 数据重置

parent 307cabc8
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
<el-button style="width: 98px;height: 32px;" icon="el-icon-back" class="resetBtn" @click="goBack">返 回</el-button> <el-button style="width: 98px;height: 32px;" icon="el-icon-back" class="resetBtn" @click="goBack">返 回</el-button>
</div> </div>
<!-- 分配诊室对话框 --> <!-- 分配诊室对话框 -->
<el-dialog title="分配诊室" :visible.sync="open" width="800px" append-to-body :close-on-press-escape="false" :close-on-click-modal="false"> <el-dialog title="分配诊室" :visible.sync="open" width="800px" append-to-body :close-on-press-escape="false" :close-on-click-modal="false" @close="closeDialogRoom">
<div style="display: flex;padding-bottom: 20px;"> <div style="display: flex;padding-bottom: 20px;">
<div class="tip1" /> <div class="tip1" />
<div style="padding-top: 3px;padding-left: 18px;color: #666666; font-weight: 500; font-size: 16px;">预约记录</div> <div style="padding-top: 3px;padding-left: 18px;color: #666666; font-weight: 500; font-size: 16px;">预约记录</div>
...@@ -460,7 +460,7 @@ export default { ...@@ -460,7 +460,7 @@ export default {
// 更新治疗表 // 更新治疗表
const list = [] const list = []
list.push(this.checkDetail) list.push(this.checkDetail)
if (this.videoReport !== '') { if (this.videoReport !== '' && this.videoReport !== null) {
updateTreatList(list).then(res => { updateTreatList(list).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.$message.success('上传成功') this.$message.success('上传成功')
...@@ -552,11 +552,36 @@ export default { ...@@ -552,11 +552,36 @@ export default {
} }
}) })
}, },
closeDialogRoom() {
this.rest()
},
// 取消按钮 // 取消按钮
cancel() { cancel() {
this.open = false this.open = false
this.rest() this.rest()
}, },
// 弹出框重置
rest() {
this.treatStartTime = ''
this.reservationForm.consultRoomName = ''
this.appointmentRoomList = []
// 预约诊室
this.appointmentRoom = {
consultRoomId: '',
treatDate: '',
sTime: '',
eTime: ''
}
// 分配诊室搜索预约记录
this.allocationForm = {
pageNum: 1,
pageSize: 10,
treatScheduleList: ['2', '3'],
consultRoomIdList: '',
treatStartTimeS: '',
treatStartTimeE: ''
}
},
// 分配诊室 // 分配诊室
handleSubscribe() { handleSubscribe() {
this.open = true this.open = true
......
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
/> />
<!-- 分配诊室对话框 --> <!-- 分配诊室对话框 -->
<el-dialog title="分配诊室" :visible.sync="open" width="800px" append-to-body :close-on-press-escape="false" :close-on-click-modal="false"> <el-dialog title="分配诊室" :visible.sync="open" width="800px" append-to-body :close-on-press-escape="false" :close-on-click-modal="false" @close="closeDialogRoom">
<div style="display: flex;padding-bottom: 20px;"> <div style="display: flex;padding-bottom: 20px;">
<div class="tip1" /> <div class="tip1" />
<div style="padding-top: 3px;padding-left: 18px;color: #666666; font-weight: 500; font-size: 16px;">预约记录</div> <div style="padding-top: 3px;padding-left: 18px;color: #666666; font-weight: 500; font-size: 16px;">预约记录</div>
...@@ -509,8 +509,12 @@ export default { ...@@ -509,8 +509,12 @@ export default {
this.queryParams.isAsc = val.collation this.queryParams.isAsc = val.collation
this.sortedColumn = val.sortedColumn this.sortedColumn = val.sortedColumn
}, },
closeDialogRoom() {
this.rest()
},
// 弹出框重置 // 弹出框重置
rest() { rest() {
this.treatStartTime = ''
this.reservationForm.consultRoomName = '' this.reservationForm.consultRoomName = ''
this.appointmentRoomList = [] this.appointmentRoomList = []
// 预约诊室 // 预约诊室
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment