提交 3bebfbd7 编写于 作者: qian.jie's avatar qian.jie

Merge branch 'feature/jq_1' into 'develop'

设置不可点击

See merge request !195
...@@ -381,6 +381,9 @@ ...@@ -381,6 +381,9 @@
}, },
methods: { methods: {
getChooseTimeValue(value, index) { getChooseTimeValue(value, index) {
if (value.isFull == 0) {
return;
}
this.chooseTimeIndex = index; this.chooseTimeIndex = index;
this.startTime = value.startDate; this.startTime = value.startDate;
this.endTime = value.endDate; this.endTime = value.endDate;
...@@ -554,8 +557,8 @@ ...@@ -554,8 +557,8 @@
startTimeConfirm(isCancle) { startTimeConfirm(isCancle) {
console.log('isCancle-', isCancle); console.log('isCancle-', isCancle);
if (isCancle == 'cancel') { if (isCancle == 'cancel') {
this.endTimeValue = ''; this.startTime = '';
this.timeRange = ''; this.endTime = '';
} }
if (isCancle == 'submit') { if (isCancle == 'submit') {
if (String(this.startTimeValue).trim() === '' || !this.startTimeValue) { if (String(this.startTimeValue).trim() === '' || !this.startTimeValue) {
......
...@@ -192,12 +192,11 @@ ...@@ -192,12 +192,11 @@
this.getLeisureTime(this.chooseTime); this.getLeisureTime(this.chooseTime);
}, },
getChooseTimeValue(value, index) { getChooseTimeValue(value, index) {
console.log(value, index); if (value.isFull == 0) {
this.startDate = value.startDate;
this.endDate = value.endDate;
if (value.isFull == 2) {
return; return;
} }
this.startDate = value.startDate;
this.endDate = value.endDate;
this.chooseTimeIndex = index; this.chooseTimeIndex = index;
}, },
confirm() { confirm() {
...@@ -231,6 +230,8 @@ ...@@ -231,6 +230,8 @@
}); });
}, },
cancel() { cancel() {
this.startTime = '';
this.endTime = '';
this.rangeTime = ''; this.rangeTime = '';
this.model.assistantRemark = ''; this.model.assistantRemark = '';
this.$emit('update:diagnosisTimeVisible', false); this.$emit('update:diagnosisTimeVisible', false);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册