fix(办公管理): 页面标签存在路由缓存导致不刷新问题
This commit is contained in:
@@ -100,7 +100,7 @@ export default {
|
||||
rules: {}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
activated() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
@@ -127,7 +127,6 @@ export default {
|
||||
handleClaim(row) {
|
||||
claimTask({taskId: row.taskId}).then(response => {
|
||||
this.$modal.msgSuccess(response.msg);
|
||||
this.getList();
|
||||
this.$router.push({
|
||||
path: '/work/todo'
|
||||
})
|
||||
|
||||
@@ -512,8 +512,8 @@ export default {
|
||||
/** 返回页面 */
|
||||
goBack() {
|
||||
// 关闭当前标签页并返回上个页面
|
||||
this.$store.dispatch("tagsView/delView", this.$route);
|
||||
this.$router.go(-1)
|
||||
this.$tab.closePage(this.$route)
|
||||
this.$router.back()
|
||||
},
|
||||
/** 接收子组件传的值 */
|
||||
getData(data) {
|
||||
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
activated() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -160,6 +160,8 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.getCategoryList();
|
||||
},
|
||||
activated() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
@@ -225,15 +227,16 @@ export default {
|
||||
},
|
||||
/** 流程流转记录 */
|
||||
handleFlowRecord(row) {
|
||||
console.log("row =========> ", row)
|
||||
this.$router.push({ path: '/work/detail',
|
||||
this.$router.push({
|
||||
path: '/work/detail',
|
||||
query: {
|
||||
definitionId: row.procDefId,
|
||||
procInsId: row.procInsId,
|
||||
deployId: row.deployId,
|
||||
taskId: row.taskId,
|
||||
finished: false
|
||||
}})
|
||||
}
|
||||
})
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
|
||||
@@ -121,7 +121,7 @@ export default {
|
||||
rules: {}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
activated() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user