From 301cb4b822389c7badafdd01e32e7b353b4216e3 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 25 Mar 2025 14:38:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/contract/contractList.vue | 9 --------- src/views/contract/seeContract.vue | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index 820a9e7..ce6670f 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -2428,15 +2428,6 @@ export default { this.select.is_simple = ""; this.select.is_purchase = 0; } - if(this.$route.query.follow_id){ - console.log("this.$route.query.follow_id",this.$route.query.follow_id) - let that = this - setTimeout(function(){ - that.$refs['detailContract'].getDetail(that.$route.query.follow_id) - that.$refs['detailContract'].isShowDetail = true - },2000) - - } }, destroyed() { window.onfocus = null; diff --git a/src/views/contract/seeContract.vue b/src/views/contract/seeContract.vue index cdf49cb..4f1003b 100644 --- a/src/views/contract/seeContract.vue +++ b/src/views/contract/seeContract.vue @@ -2111,6 +2111,14 @@ export default { this.select.is_simple = ""; this.select.is_purchase = 0; } + if(this.$route.query.contract_id){ + console.log("this.$route.query.contract_id",this.$route.query.contract_id) + let that = this + setTimeout(function(){ + that.$refs['detailContract'].getDetail(that.$route.query.contract_id) + that.$refs['detailContract'].isShowDetail = true + },2000) + } }, destroyed() { window.onfocus = null;