Browse Source

fix: 修复关闭子页面后主页面数据不刷新问题

master
tony 3 years ago
parent
commit
a94131e061
  1. 4
      ruoyi-ui/src/views/flowable/task/finished/detail/index.vue
  2. 4
      ruoyi-ui/src/views/flowable/task/myProcess/detail/index.vue
  3. 4
      ruoyi-ui/src/views/flowable/task/myProcess/send/index.vue
  4. 4
      ruoyi-ui/src/views/flowable/task/todo/detail/index.vue
  5. 4
      ruoyi-ui/src/views/tool/build/index.vue

4
ruoyi-ui/src/views/flowable/task/finished/detail/index.vue

@ -174,8 +174,8 @@ export default {
/** 返回页面 */ /** 返回页面 */
goBack() { goBack() {
// //
this.$store.dispatch("tagsView/delView", this.$route); const obj = { path: "/task/finished", query: { t: Date.now()} };
this.$router.go(-1) this.$tab.closeOpenPage(obj);
}, },
} }
}; };

4
ruoyi-ui/src/views/flowable/task/myProcess/detail/index.vue

@ -173,8 +173,8 @@ export default {
/** 返回页面 */ /** 返回页面 */
goBack() { goBack() {
// //
this.$store.dispatch("tagsView/delView", this.$route); const obj = { path: "/task/process", query: { t: Date.now()} };
this.$router.go(-1) this.$tab.closeOpenPage(obj);
}, },
} }
}; };

4
ruoyi-ui/src/views/flowable/task/myProcess/send/index.vue

@ -109,8 +109,8 @@ export default {
/** 返回页面 */ /** 返回页面 */
goBack() { goBack() {
// //
this.$store.dispatch("tagsView/delView", this.$route); const obj = { path: "/task/process", query: { t: Date.now()} };
this.$router.go(-1) this.$tab.closeOpenPage(obj);
}, },
/** 接收子组件传的值 */ /** 接收子组件传的值 */
getData(data) { getData(data) {

4
ruoyi-ui/src/views/flowable/task/todo/detail/index.vue

@ -380,8 +380,8 @@ export default {
/** 返回页面 */ /** 返回页面 */
goBack() { goBack() {
// //
this.$store.dispatch("tagsView/delView", this.$route); const obj = { path: "/task/todo", query: { t: Date.now()} };
this.$router.go(-1) this.$tab.closeOpenPage(obj);
}, },
/** 驳回任务 */ /** 驳回任务 */
handleReject() { handleReject() {

4
ruoyi-ui/src/views/tool/build/index.vue

@ -544,8 +544,8 @@ export default {
this.idGlobal = 100 this.idGlobal = 100
this.open = false; this.open = false;
// //
this.$store.dispatch("tagsView/delView", this.$route); const obj = { path: "/flowable/form", query: { t: Date.now()} };
this.$router.go(-1) this.$tab.closeOpenPage(obj);
} }
}); });
} }

Loading…
Cancel
Save