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

外呼设置

上级 e915e012
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
v-model="chooseTime" v-model="chooseTime"
type="date" type="date"
:clearable="false" :clearable="false"
placeholder="选择日期" :disabled="formData.receptionName == ''"
placeholder="日期-请先选择医生"
@change="getNowDate" @change="getNowDate"
/> />
</div> </div>
...@@ -380,7 +381,6 @@ ...@@ -380,7 +381,6 @@
}, },
methods: { methods: {
getChooseTimeValue(value, index) { getChooseTimeValue(value, index) {
console.log(value, index);
this.chooseTimeIndex = index; this.chooseTimeIndex = index;
this.startTime = value.startDate; this.startTime = value.startDate;
this.endTime = value.endDate; this.endTime = value.endDate;
......
...@@ -136,6 +136,8 @@ ...@@ -136,6 +136,8 @@
assistantRemark: '', assistantRemark: '',
}, },
rangeTime: '', rangeTime: '',
startDate:'',
endDate:'',
chooseTime: dayjs(new Date()).format('YYYY-MM-DD'), chooseTime: dayjs(new Date()).format('YYYY-MM-DD'),
timeChoosetList: [], timeChoosetList: [],
chooseTimeIndex: 1000, chooseTimeIndex: 1000,
...@@ -198,18 +200,29 @@ ...@@ -198,18 +200,29 @@
this.getLeisureTime(this.chooseTime); this.getLeisureTime(this.chooseTime);
}, },
getChooseTimeValue(value, index) { getChooseTimeValue(value, index) {
console.log(value, index);
this.startDate = value.startDate;
this.endDate = value.endDate;
if (value.isFull == 2) { if (value.isFull == 2) {
return; return;
} }
this.chooseTimeIndex = index; this.chooseTimeIndex = index;
}, },
confirm() { confirm() {
if (this.startDate == '') {
this.$message({
message: '请选择排班时间',
type: 'warning',
duration: 1000,
});
return false;
}
vm.isClick = true; vm.isClick = true;
const req = { const req = {
id: this.diagnoseLogId, id: this.diagnoseLogId,
bizType: this.bizType, bizType: this.bizType,
assistantBeginTime: this.rangeTime[0], assistantBeginTime: this.startDate,
assistantEndTime: this.rangeTime[1], assistantEndTime: this.endDate,
assistantRemark: this.model.assistantRemark, assistantRemark: this.model.assistantRemark,
}; };
updateDiagnosis(req) updateDiagnosis(req)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册