Update Maintenance UI

This commit is contained in:
Louis Lam 2022-09-18 02:02:18 +08:00
parent 80698a58b8
commit a29eae3213
3 changed files with 80 additions and 31 deletions

View file

@ -268,7 +268,7 @@ export default {
toast.success(res.msg);
this.processing = false;
this.$root.getMaintenanceList();
this.$router.push("/maintenance/" + res.maintenanceID);
this.$router.push("/maintenance");
});
});
} else {
@ -285,6 +285,7 @@ export default {
this.processing = false;
this.$root.toastRes(res);
this.init();
this.$router.push("/maintenance");
});
});
} else {