提交 0b7689cb 编写于 作者: huangwensu's avatar huangwensu

优化处理

上级 47ef61ab
......@@ -257,7 +257,8 @@ export default {
if(this.timeForm.endTime) {
e = new Date(this.timeForm.endTime).getTime()
}
this.beginFlag = b > e ? true : false
if(val) this.beginFlag = b > e ? true : false
},
changeEndTime(val) {
this.endFlag = false
......@@ -265,7 +266,7 @@ export default {
if(this.timeForm.beginTime) {
e = new Date(this.timeForm.beginTime).getTime()
}
this.endFlag = b < e ? true : false
if(val) this.endFlag = b < e ? true : false
},
// 问诊类型
getDiagnoseTypeList() {
......@@ -305,7 +306,12 @@ export default {
},
// 预约时间
timeHandle(row) {
this.beginFlag = false
this.endFlag = false
this.timeVisible = true
if(this.$refs.timeForm) {
this.$refs.timeForm.resetFields()
}
this.timeForm.diagnoseLogId = row.diagnoseLogId
this.timeForm.beginTime = row.appointBeginTime
this.timeForm.endTime = row.appointEndTime
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册