二手车交易,协议代码部分优化
This commit is contained in:
@ -248,18 +248,6 @@ export default {
|
|||||||
this.clearStorageFormInfo()
|
this.clearStorageFormInfo()
|
||||||
},
|
},
|
||||||
viewPrivacy(){
|
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={
|
let data={
|
||||||
form:this.form,radio:this.radio,areaName:this.areaName, vehicleLicensePhotoList:this.vehicleLicensePhotoList,
|
form:this.form,radio:this.radio,areaName:this.areaName, vehicleLicensePhotoList:this.vehicleLicensePhotoList,
|
||||||
vehicleAnglePhotoList:this.vehicleAnglePhotoList,
|
vehicleAnglePhotoList:this.vehicleAnglePhotoList,
|
||||||
@ -267,7 +255,7 @@ export default {
|
|||||||
otherImgSrc:this.otherImgSrc,
|
otherImgSrc:this.otherImgSrc,
|
||||||
}
|
}
|
||||||
localStorage.setItem("carSourceFormInfo",JSON.stringify(data))
|
localStorage.setItem("carSourceFormInfo",JSON.stringify(data))
|
||||||
this.$router.push({ name: "privacyComponent", query: {url:urls}})
|
this.$router.push({ name: "privacyComponent"})
|
||||||
},
|
},
|
||||||
confirmHandle(val){
|
confirmHandle(val){
|
||||||
let data=val.length
|
let data=val.length
|
||||||
|
@ -6,11 +6,10 @@
|
|||||||
<div style="opacity: 0;" class="back"></div>
|
<div style="opacity: 0;" class="back"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="contentWrap">
|
<div class="contentWrap">
|
||||||
<iframe :src="url"></iframe>
|
<iframe :src="urls"></iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {myMixins} from "@/utils/myMixins"
|
import {myMixins} from "@/utils/myMixins"
|
||||||
export default {
|
export default {
|
||||||
@ -18,11 +17,21 @@ export default {
|
|||||||
mixins:[myMixins],
|
mixins:[myMixins],
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
url:''
|
urls:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
this.url=this.$route.query.url
|
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'
|
||||||
|
}
|
||||||
|
this.urls=url + '/h5/supplier/dispatch/res/privacy.html'
|
||||||
},
|
},
|
||||||
methods:{ }
|
methods:{ }
|
||||||
}
|
}
|
||||||
|
@ -183,21 +183,9 @@ export default {
|
|||||||
this.clearStorageFormInfo();
|
this.clearStorageFormInfo();
|
||||||
},
|
},
|
||||||
viewPrivacy(){
|
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,ortherReason:this.ortherReason}
|
let data={form:this.form,radio:this.radio,ortherReason:this.ortherReason}
|
||||||
localStorage.setItem("wantBuyFormInfo",JSON.stringify(data))
|
localStorage.setItem("wantBuyFormInfo",JSON.stringify(data))
|
||||||
this.$router.push({ name: "privacyComponent", query: {url:urls}})
|
this.$router.push({ name: "privacyComponent"})
|
||||||
},
|
},
|
||||||
|
|
||||||
// 审核操作
|
// 审核操作
|
||||||
|
Reference in New Issue
Block a user