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;