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)) {