立即外呼

This commit is contained in:
2025-03-19 17:27:50 +08:00
parent d95de278b8
commit 0c9e3458bf

View File

@ -201,8 +201,8 @@ export default {
optionslisttime: [], optionslisttime: [],
// //
rules: { rules: {
patientName: [ routeName: [
{ required: true, message: '请输入患者姓名', trigger: 'change' } { required: true, message: '请输入任务名称', trigger: 'change' }
], ],
} }
}; };
@ -262,10 +262,14 @@ export default {
}); });
}, },
Calloutimmediately() { Calloutimmediately() {
directOutbound(this.form).then(res => { this.$refs["form"].validate(valid => {
this.$modal.msgSuccess("操作成功"); if (valid) {
this.open = false; directOutbound(this.form).then(res => {
this.getList(); this.$modal.msgSuccess("操作成功");
this.open = false;
this.getList();
})
}
}) })
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
@ -299,13 +303,7 @@ export default {
}, },
// //
reset() { reset() {
this.form = { this.form = {};
campusAgencyId: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null
};
this.resetForm("form"); this.resetForm("form");
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */