|
@@ -341,12 +341,13 @@
|
|
this.tabldie = [{tableComment:'主表数据',tableName:this.taheus}]
|
|
this.tabldie = [{tableComment:'主表数据',tableName:this.taheus}]
|
|
this.tabldie =this.tabldie.concat(response.data.ref)
|
|
this.tabldie =this.tabldie.concat(response.data.ref)
|
|
if (this.tabldie.length !== 1) {
|
|
if (this.tabldie.length !== 1) {
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
this.msgSuccess("暂无tab数据");
|
|
this.msgSuccess("暂无tab数据");
|
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
});
|
|
});
|
|
},
|
|
},
|
|
// 列表数据
|
|
// 列表数据
|
|
@@ -413,6 +414,7 @@
|
|
this.forme.fixedData = this.queryParams
|
|
this.forme.fixedData = this.queryParams
|
|
this.submitForm()
|
|
this.submitForm()
|
|
} else if (index == '返回') {
|
|
} else if (index == '返回') {
|
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
} else if (index == '刷新') {
|
|
} else if (index == '刷新') {
|
|
this.reload()
|
|
this.reload()
|
|
@@ -436,6 +438,7 @@
|
|
addbjectSave(this.forme).then(response => {
|
|
addbjectSave(this.forme).then(response => {
|
|
this.msgSuccess("保存成功");
|
|
this.msgSuccess("保存成功");
|
|
this.open = false;
|
|
this.open = false;
|
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
// this.getList();
|
|
// this.getList();
|
|
});
|
|
});
|
|
@@ -450,6 +453,7 @@
|
|
// 提交
|
|
// 提交
|
|
tableSubimt(this.formeanti).then(response => {
|
|
tableSubimt(this.formeanti).then(response => {
|
|
this.msgSuccess("提交成功");
|
|
this.msgSuccess("提交成功");
|
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
// this.getList();
|
|
// this.getList();
|
|
});
|
|
});
|
|
@@ -457,6 +461,7 @@
|
|
// 反提交
|
|
// 反提交
|
|
tableSubimtanit(this.formeanti).then(response => {
|
|
tableSubimtanit(this.formeanti).then(response => {
|
|
this.msgSuccess("反提交成功");
|
|
this.msgSuccess("反提交成功");
|
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
// this.getList();
|
|
// this.getList();
|
|
});
|
|
});
|
|
@@ -476,6 +481,7 @@
|
|
}).then(() => {
|
|
}).then(() => {
|
|
// this.getList();
|
|
// this.getList();
|
|
this.msgSuccess("删除成功");
|
|
this.msgSuccess("删除成功");
|
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|