|
@@ -233,12 +233,11 @@ export default {
|
|
|
}).then((res) => {
|
|
|
if (res.data.result == 0) {
|
|
|
this.$notify({
|
|
|
- title: "成功",
|
|
|
+ title: "保存成功",
|
|
|
message: res.data.desc,
|
|
|
type: "success",
|
|
|
});
|
|
|
- this.menuStatus = false;
|
|
|
- location.reload();
|
|
|
+ this.setStatus = false;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -256,12 +255,11 @@ export default {
|
|
|
}).then((res) => {
|
|
|
if (res.data.result == 0) {
|
|
|
this.$notify({
|
|
|
- title: "成功",
|
|
|
+ title: "删除成功",
|
|
|
message: res.data.desc,
|
|
|
type: "success",
|
|
|
});
|
|
|
- this.menuStatus = false;
|
|
|
- location.reload();
|
|
|
+ this.setStatus = false;
|
|
|
}
|
|
|
});
|
|
|
},
|