二手车交易,求购做缓存
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<div class="wrap" >
|
||||
<div class="headerWrap">
|
||||
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
||||
<img v-else class="back" @click="h5GoBack" src="@/assets/secondHandCar/back.png" />
|
||||
<img v-else class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
|
||||
<span>免责声明</span>
|
||||
<div style="opacity: 0;" class="back"></div>
|
||||
</div>
|
||||
@ -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 } })
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div class="contentWrap" :class="[type==1 ? 'noContentAudit': 'hasContentAudit']">
|
||||
<div class="oneContent content">
|
||||
<img class="sort" src="@/assets/secondHandCar/one_qiugou.png" />
|
||||
<img class="sort" src="@/assets/secondHandCar/two_desc.png" />
|
||||
<div class="item vehicleTypeItem">
|
||||
<span> <span class="star">*</span>求购类型 </span>
|
||||
<div class="radioWrap">
|
||||
@ -79,7 +79,7 @@
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="twoContent content">
|
||||
<img class="sort" src="@/assets/secondHandCar/two_supply.png" />
|
||||
<img class="sort" src="@/assets/secondHandCar/three.png" />
|
||||
<el-input class="ipt" v-model.trim="form.desc" type="textarea" :autosize="{ minRows: 6, maxRows: 6 }"
|
||||
maxlength="500" show-word-limit placeholder="描述车辆信息:如事故、额外加装、无线遥控"></el-input>
|
||||
<div v-if="type==2" style="margin: 10px 3px">不通过原因</div>
|
||||
@ -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) {
|
||||
|
Reference in New Issue
Block a user