From 90c0852ace1f9f8c5f9b0d9ba544b2e927465a11 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 14 Mar 2025 11:28:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=89=8B=E8=BD=A6=E4=BA=A4=E6=98=93?= =?UTF-8?q?=EF=BC=8C=E6=B1=82=E8=B4=AD=E5=81=9A=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/privacy.vue | 7 +++++-- src/views/secondHandCar/wantBuy.vue | 14 ++++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/views/secondHandCar/privacy.vue b/src/views/secondHandCar/privacy.vue index 9eb7dfd0..8b3da2db 100644 --- a/src/views/secondHandCar/privacy.vue +++ b/src/views/secondHandCar/privacy.vue @@ -2,7 +2,7 @@
- + 免责声明
@@ -24,12 +24,15 @@ export default { }, async mounted() { this.url=this.$route.query.url + console.log("1122",this.$route.params.form,this.$route.params.radio) }, beforeUnmount() { }, methods:{ - + backHandle(){ + this.$router.push({ name:this.$route.query.type == 1 ? 'carSource' : 'wantBuy',query: {type:1},params: { form: this.$route.params.form,radio:this.$route.params.radio } }) + }, } } diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index 951a9f7f..b5aba962 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -16,7 +16,7 @@
- +
*求购类型
@@ -79,7 +79,7 @@
- +
不通过原因
@@ -123,8 +123,8 @@ export default { maxPrice:'', desc:'', }, - ortherReason:'', radio: 0, + ortherReason:'', type:'', id:'', queryType:'', @@ -150,6 +150,12 @@ export default { this.auditRemark=res.data?.auditRemark this.status=res.data?.status?.code } + if(this.$route.params.form){ + this.form={...this.$route.params.form} + } + if(this.$route.params.radio){ + this.radio=this.$route.params.radio + } }, methods:{ viewPrivacy(){ @@ -166,7 +172,7 @@ export default { // url = 'http://localhost:8080' } let urls=url + '/h5/supplier/dispatch/res/privacy.html' - this.$router.push({ name: "privacyComponent", query: {url:urls}}) + this.$router.push({ name: "privacyComponent", query: {url:urls,type:2},params: { form: this.form,radio:this.radio } }) }, closeParentDialog() { if (window.parent) {