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