修改
This commit is contained in:
parent
6569d4fd53
commit
5c33f154e1
@ -1033,7 +1033,11 @@ export default {
|
|||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$router.go(-1);
|
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||||
|
this.$router.push({
|
||||||
|
path: "/question/question",
|
||||||
|
});
|
||||||
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$modal.msgSuccess("编辑保存成功");
|
this.$modal.msgSuccess("编辑保存成功");
|
||||||
});
|
});
|
||||||
@ -1045,7 +1049,11 @@ export default {
|
|||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$router.go(-1);
|
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||||
|
this.$router.push({
|
||||||
|
path: "/question/question",
|
||||||
|
});
|
||||||
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$modal.msgSuccess("新增保存成功");
|
this.$modal.msgSuccess("新增保存成功");
|
||||||
});
|
});
|
||||||
@ -1108,7 +1116,11 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goback() {
|
goback() {
|
||||||
this.$router.go(-1);
|
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||||
|
this.$router.push({
|
||||||
|
path: "/question/question",
|
||||||
|
});
|
||||||
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -259,18 +259,22 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 新增按钮操作 */
|
/** 新增按钮操作 */
|
||||||
handleAdd() {
|
handleAdd() {
|
||||||
this.$router.push({
|
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||||
path: "/question/addQuestionnaire",
|
this.$router.push({
|
||||||
});
|
path: "/question/addQuestionnaire",
|
||||||
|
});
|
||||||
|
})
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.$router.push({
|
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||||
path: "/question/addQuestionnaire",
|
this.$router.push({
|
||||||
query: {
|
path: "/question/addQuestionnaire",
|
||||||
id: row.id,
|
query: {
|
||||||
},
|
id: row.id,
|
||||||
});
|
},
|
||||||
|
});
|
||||||
|
})
|
||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user