This commit is contained in:
aihe 2024-08-06 23:47:17 +08:00
parent ce6f03fc32
commit 95d2456356
3 changed files with 10 additions and 1 deletions

View File

@ -54,5 +54,8 @@ export const getLatestNotices = (data = {})=> {
return coreRequest(url.getLatestNotices, data, {}, "GET")
}
// 获取下单隐私协议
export const getAgreementTxt = (data = {})=> {
return coreRequest(url.getAgreementTxt, data, {}, "GET")
}

View File

@ -49,6 +49,7 @@ export default {
getPreStationList: `/oms2c/emisTmsScanRecord/getPreStationList`, // 获取-扫描上一网点
preCalcWaybillFee: `/oms2c/emisWaybill/preCalcWaybillFee`, // 报价试算 -- DONE
calcProductFee: `/oms2c/emisWaybill/calcProductFee`, // 下单-报价试算 -- DONE
getAgreementTxt: `/oms2c/commonTools/getAgreementTxt`, // 获取下单隐私协议 -- DONE
deleteBindSalemen: `/oms2c/emisWaybill/deleteBindSalemen`, // 删除绑定快递员 -- DONE
setDefaultBindSalesmen: `/oms2c/emisWaybill/setDefaultBindSalesmen`, // 设置默认快递员 -- DONE

View File

@ -54,6 +54,7 @@
}
},
created() {
this.initData()
},
onHide() {
@ -63,6 +64,10 @@
},
methods: {
async initData(){
let res = await apiService.getAgreementTxt()
debugger
},
handleAgree() {
this.modelInfo._agreePrivacy = !this.modelInfo._agreePrivacy
},