Commit 16cdf78c authored by jiaorz's avatar jiaorz

修改重新预定没有提示语bug

parent 1a91098e
...@@ -235,11 +235,17 @@ ...@@ -235,11 +235,17 @@
bookPlan(params).then(response => { bookPlan(params).then(response => {
if (response.status === 200) { if (response.status === 200) {
this.reAnpai = false; this.reAnpai = false;
this.$notify({
title: '成功',
message: response.message,
type: 'success',
duration: 2000
});
this.getList(); this.getList();
} else { } else {
this.$notify({ this.$notify({
title: '失败', title: '失败',
message: res.message, message: response.message,
type: 'error', type: 'error',
duration: 2000 duration: 2000
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment