From bc19710530792d2e7086131fc550dc09d96e9a46 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Wed, 22 May 2024 17:38:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 +- src/views/away/index.vue | 3 ++- src/views/contract/contractList.vue | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 2d2f548..7441658 100644 --- a/src/main.js +++ b/src/main.js @@ -55,7 +55,7 @@ Vue.prototype.$integrateData = (target,value) => { } } } - +window.$router = router; new Vue({ el: '#app', router, diff --git a/src/views/away/index.vue b/src/views/away/index.vue index e734501..c51feea 100644 --- a/src/views/away/index.vue +++ b/src/views/away/index.vue @@ -500,6 +500,7 @@ export default { } } const res = await index(this.select,!isFirst); + delete this.select.id; this.total = res.total; this.list = res.data; this.list.forEach(item => { @@ -584,7 +585,7 @@ export default { this.window.height = screen.availHeight * 0.95; this.window.top = (window.screen.height - 30 - this.window.height) / 2; this.window.left = (window.screen.width - 10 - this.window.width) / 2; - + this.select.id = this.$route.query.awayId; this.getList(true) window.onfocus = () => { diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index 1988ba6..2492974 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -2548,6 +2548,7 @@ export default { is_auth: 1, ...this.select, },noloading); + delete this.select.id; let tokens = getToken(); if (is_export && this.select.is_export == 1) { @@ -2956,6 +2957,7 @@ export default { this.getBudgets(); this.getFlowIds(); this.select.is_simple = 0; + this.select.id = this.$route.query.contractId || ""; this.select.keyword = this.$route.query.keyword || ""; this.select.is_myself = this.$route.path.split('_')[1] ? Number(this.$route.path.split('_')[1]) : 0; if (/contractLedger/g.test(this.$route.path)) {