立即外呼
This commit is contained in:
parent
d95de278b8
commit
0c9e3458bf
@ -201,8 +201,8 @@ export default {
|
||||
optionslisttime: [],
|
||||
// 表单校验
|
||||
rules: {
|
||||
patientName: [
|
||||
{ required: true, message: '请输入患者姓名', trigger: 'change' }
|
||||
routeName: [
|
||||
{ required: true, message: '请输入任务名称', trigger: 'change' }
|
||||
],
|
||||
}
|
||||
};
|
||||
@ -262,10 +262,14 @@ export default {
|
||||
});
|
||||
},
|
||||
Calloutimmediately() {
|
||||
directOutbound(this.form).then(res => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
directOutbound(this.form).then(res => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
@ -299,13 +303,7 @@ export default {
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
campusAgencyId: null,
|
||||
createBy: null,
|
||||
createTime: null,
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.form = {};
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user