二手车交易,协议代码部分优化

This commit is contained in:
2025-03-17 10:19:23 +08:00
parent ef8df96818
commit 3cd7ff0318
3 changed files with 15 additions and 30 deletions

View File

@ -248,18 +248,6 @@ export default {
this.clearStorageFormInfo()
},
viewPrivacy(){
let url='';
if (window.location.href.includes('www.sinoassist.com')) {
url = 'https://www.sinoassist.com'
} else if (window.location.href.includes('ccreview.sino-assist.com')) {
url = 'https://ccreview.sino-assist.com'
} else if (window.location.href.includes('uat.sino-assist.com')) {
url = 'https://api-uat.sino-assist.com'
} else {
url = 'https://crm1.sino-assist.com'
// url = 'http://localhost:8080'
}
let urls=url + '/h5/supplier/dispatch/res/privacy.html'
let data={
form:this.form,radio:this.radio,areaName:this.areaName, vehicleLicensePhotoList:this.vehicleLicensePhotoList,
vehicleAnglePhotoList:this.vehicleAnglePhotoList,
@ -267,7 +255,7 @@ export default {
otherImgSrc:this.otherImgSrc,
}
localStorage.setItem("carSourceFormInfo",JSON.stringify(data))
this.$router.push({ name: "privacyComponent", query: {url:urls}})
this.$router.push({ name: "privacyComponent"})
},
confirmHandle(val){
let data=val.length