|
@@ -180,7 +180,8 @@
|
|
|
//新增
|
|
|
this.xidugje = 0
|
|
|
this.reload()
|
|
|
- } else if (index == '返回') {
|
|
|
+ } else if (index == '返回') {
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
this.$router.go(-1)
|
|
|
} else if (index == '刷新') {
|
|
|
this.xidugje = 1
|
|
@@ -298,7 +299,8 @@
|
|
|
// }
|
|
|
addbjectSave(this.forme).then(response => {
|
|
|
this.msgSuccess("保存成功");
|
|
|
- // this.open = false;
|
|
|
+ // this.open = false;
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
this.$router.go(-1)
|
|
|
});
|
|
|
}
|
|
@@ -311,14 +313,16 @@
|
|
|
if (this.formy.status == 1) {
|
|
|
// 提交
|
|
|
tableSubimt(this.formeanti).then(response => {
|
|
|
- this.msgSuccess("提交成功");
|
|
|
+ this.msgSuccess("提交成功");
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
this.$router.go(-1)
|
|
|
// this.getList();
|
|
|
});
|
|
|
} else if (this.formy.status == 2) {
|
|
|
// 反提交
|
|
|
tableSubimtanit(this.formeanti).then(response => {
|
|
|
- this.msgSuccess("反提交成功");
|
|
|
+ this.msgSuccess("反提交成功");
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
this.$router.go(-1)
|
|
|
// this.getList();
|
|
|
});
|
|
@@ -336,7 +340,8 @@
|
|
|
return delMenutab(index);
|
|
|
}).then(() => {
|
|
|
// this.getList();
|
|
|
- this.msgSuccess("删除成功");
|
|
|
+ this.msgSuccess("删除成功");
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
this.$router.go(-1)
|
|
|
})
|
|
|
}
|