二手车交易,返回按钮路径
This commit is contained in:
@ -5,7 +5,6 @@
|
|||||||
<div class="navWrap">
|
<div class="navWrap">
|
||||||
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
||||||
<img v-else class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
|
<img v-else class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
|
||||||
<!-- 切图问题,图片需更换-->
|
|
||||||
<img class="navIcon" src="@/assets/secondHandCar/cheyuan_big.png" />
|
<img class="navIcon" src="@/assets/secondHandCar/cheyuan_big.png" />
|
||||||
<div style="opacity: 0;" class="back"></div>
|
<div style="opacity: 0;" class="back"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -13,6 +12,10 @@
|
|||||||
<span><img class="noAudit" src="@/assets/secondHandCar/noAudit.png" />审核不通过:</span>
|
<span><img class="noAudit" src="@/assets/secondHandCar/noAudit.png" />审核不通过:</span>
|
||||||
<span>{{auditRemark}}</span>
|
<span>{{auditRemark}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="audit supplierInfo" v-if="type==2">
|
||||||
|
<div><span>供应商名称:</span><span>{{supplierName}}</span></div>
|
||||||
|
<div><span>供应商编号:</span><span>{{supplierCode}}</span></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="contentWrap" :style="id ? 'height: calc(100% - 100px);' : 'height: calc(100% - 42px);'" :class="[type==1 ? 'noContentAudit': 'hasContentAudit']">
|
<div class="contentWrap" :style="id ? 'height: calc(100% - 100px);' : 'height: calc(100% - 42px);'" :class="[type==1 ? 'noContentAudit': 'hasContentAudit']">
|
||||||
<div class="oneContent content">
|
<div class="oneContent content">
|
||||||
@ -190,6 +193,8 @@ export default {
|
|||||||
otherImgSrcList:[],
|
otherImgSrcList:[],
|
||||||
otherImgSrc:[],
|
otherImgSrc:[],
|
||||||
status:'',
|
status:'',
|
||||||
|
supplierName:'',
|
||||||
|
supplierCode:'',
|
||||||
homePage:false,
|
homePage:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -198,6 +203,7 @@ export default {
|
|||||||
this.type=this.$route.query.type || urlParams.get('type');
|
this.type=this.$route.query.type || urlParams.get('type');
|
||||||
this.id=this.$route.query.id || urlParams.get('id');
|
this.id=this.$route.query.id || urlParams.get('id');
|
||||||
this.queryType=this.$route.query.queryType || urlParams.get('queryType');
|
this.queryType=this.$route.query.queryType || urlParams.get('queryType');
|
||||||
|
this.homePage=this.$route.query.homePage
|
||||||
if( this.id){
|
if( this.id){
|
||||||
let res = await carInfoDetail({
|
let res = await carInfoDetail({
|
||||||
id:this.id,
|
id:this.id,
|
||||||
@ -210,6 +216,8 @@ export default {
|
|||||||
this.auditRemark=res.data?.auditRemark
|
this.auditRemark=res.data?.auditRemark
|
||||||
this.status=res.data?.status?.code
|
this.status=res.data?.status?.code
|
||||||
this.areaName=res.data?.areaName
|
this.areaName=res.data?.areaName
|
||||||
|
this.supplierName=res.data?.supplierName
|
||||||
|
this.supplierCode=res.data?.supplierCode
|
||||||
this.otherImgSrc=res.data?.otherPhoto?.split(',')
|
this.otherImgSrc=res.data?.otherPhoto?.split(',')
|
||||||
this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item}))
|
this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item}))
|
||||||
this.vehicleLicensePhotoList=[{url:res.data?.vehicleLicensePhoto}]
|
this.vehicleLicensePhotoList=[{url:res.data?.vehicleLicensePhoto}]
|
||||||
@ -266,7 +274,7 @@ export default {
|
|||||||
sessionStorage.setItem('otherImgSrc',JSON.stringify(this.otherImgSrc))
|
sessionStorage.setItem('otherImgSrc',JSON.stringify(this.otherImgSrc))
|
||||||
|
|
||||||
let urls=url + '/h5/supplier/dispatch/res/privacy.html'
|
let urls=url + '/h5/supplier/dispatch/res/privacy.html'
|
||||||
this.$router.push({ name: "privacyComponent", query: {url:urls,type:1},params: {
|
this.$router.push({ name: "privacyComponent", query: {url:urls,type:1,homePage:this.homePage},params: {
|
||||||
form: this.form,radio:this.radio,
|
form: this.form,radio:this.radio,
|
||||||
areaName:this.areaName,
|
areaName:this.areaName,
|
||||||
vehicleLicensePhotoList:this.vehicleLicensePhotoList,
|
vehicleLicensePhotoList:this.vehicleLicensePhotoList,
|
||||||
@ -494,6 +502,11 @@ export default {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.supplierInfo{
|
||||||
|
justify-content: space-around;
|
||||||
|
background-color: #F5F7F9;
|
||||||
|
color: #606266;;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.navBar{
|
.navBar{
|
||||||
margin-bottom: 46px;
|
margin-bottom: 46px;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="wrap" >
|
<div class="wrap" >
|
||||||
<div class="headerWrap">
|
<div class="headerWrap">
|
||||||
<!-- <div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>-->
|
|
||||||
<img class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
|
<img class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
|
||||||
<span>免责声明</span>
|
<span>免责声明</span>
|
||||||
<div style="opacity: 0;" class="back"></div>
|
<div style="opacity: 0;" class="back"></div>
|
||||||
@ -35,7 +34,7 @@ export default {
|
|||||||
this.h5GoBack()
|
this.h5GoBack()
|
||||||
}else{
|
}else{
|
||||||
if(this.$route.query.type == 1){
|
if(this.$route.query.type == 1){
|
||||||
this.$router.push({ name: 'carSource',query: {type:1},params: {
|
this.$router.push({ name: 'carSource',query: {type:1,homePage:this.$route.query.homePage},params: {
|
||||||
form: this.$route.params.form,
|
form: this.$route.params.form,
|
||||||
radio:this.$route.params.radio ,
|
radio:this.$route.params.radio ,
|
||||||
areaName:this.$route.params.areaName ,
|
areaName:this.$route.params.areaName ,
|
||||||
@ -47,7 +46,7 @@ export default {
|
|||||||
} })
|
} })
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
this.$router.push({ name: 'wantBuy',query: {type:1},params: { form: this.$route.params.form,radio:this.$route.params.radio } })
|
this.$router.push({ name: 'wantBuy',query: {type:1,homePage:this.$route.query.homePage},params: { form: this.$route.params.form,radio:this.$route.params.radio } })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -12,7 +12,10 @@
|
|||||||
<span><img class="noAudit" src="@/assets/secondHandCar/noAudit.png" />审核不通过:</span>
|
<span><img class="noAudit" src="@/assets/secondHandCar/noAudit.png" />审核不通过:</span>
|
||||||
<span>{{auditRemark}}</span>
|
<span>{{auditRemark}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="audit supplierInfo" v-if="type==2">
|
||||||
|
<div><span>供应商名称:</span><span>{{supplierName}}</span></div>
|
||||||
|
<div><span>供应商编号:</span><span>{{supplierCode}}</span></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="contentWrap" :class="[type==1 ? 'noContentAudit': 'hasContentAudit']">
|
<div class="contentWrap" :class="[type==1 ? 'noContentAudit': 'hasContentAudit']">
|
||||||
<div class="oneContent content">
|
<div class="oneContent content">
|
||||||
@ -132,6 +135,8 @@ export default {
|
|||||||
auditReason:'',
|
auditReason:'',
|
||||||
auditRemark:'',
|
auditRemark:'',
|
||||||
status:'',
|
status:'',
|
||||||
|
supplierName:'',
|
||||||
|
supplierCode:'',
|
||||||
homePage:false,
|
homePage:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -140,6 +145,7 @@ export default {
|
|||||||
this.type=this.$route.query.type || urlParams.get('type');
|
this.type=this.$route.query.type || urlParams.get('type');
|
||||||
this.id=this.$route.query.id || urlParams.get('id');
|
this.id=this.$route.query.id || urlParams.get('id');
|
||||||
this.queryType=this.$route.query.queryType || urlParams.get('queryType');
|
this.queryType=this.$route.query.queryType || urlParams.get('queryType');
|
||||||
|
this.homePage=this.$route.query.homePage
|
||||||
if( this.id){
|
if( this.id){
|
||||||
let res = await carInfoDetail({
|
let res = await carInfoDetail({
|
||||||
id:this.id,
|
id:this.id,
|
||||||
@ -150,6 +156,8 @@ export default {
|
|||||||
this.form.emissionStandard=res.data.emissionStandard?.code
|
this.form.emissionStandard=res.data.emissionStandard?.code
|
||||||
this.auditRemark=res.data?.auditRemark
|
this.auditRemark=res.data?.auditRemark
|
||||||
this.status=res.data?.status?.code
|
this.status=res.data?.status?.code
|
||||||
|
this.supplierName=res.data?.supplierName
|
||||||
|
this.supplierCode=res.data?.supplierCode
|
||||||
}
|
}
|
||||||
if(this.$route.params.form){
|
if(this.$route.params.form){
|
||||||
this.form={...this.$route.params.form}
|
this.form={...this.$route.params.form}
|
||||||
@ -180,7 +188,7 @@ export default {
|
|||||||
// url = 'http://localhost:8080'
|
// url = 'http://localhost:8080'
|
||||||
}
|
}
|
||||||
let urls=url + '/h5/supplier/dispatch/res/privacy.html'
|
let urls=url + '/h5/supplier/dispatch/res/privacy.html'
|
||||||
this.$router.push({ name: "privacyComponent", query: {url:urls,type:2},params: { form: this.form,radio:this.radio } })
|
this.$router.push({ name: "privacyComponent", query: {url:urls,type:2,homePage:this.homePage},params: { form: this.form,radio:this.radio } })
|
||||||
},
|
},
|
||||||
closeParentDialog() {
|
closeParentDialog() {
|
||||||
if (window.parent) {
|
if (window.parent) {
|
||||||
|
Reference in New Issue
Block a user