Sfoglia il codice sorgente

还原ocr和渠道签约

优化激活内容
yangteng 1 mese fa
parent
commit
f75491a9f9

+ 1
- 8
subpackage/orders/transfer-page-sign.vue Vedi File

@@ -307,14 +307,7 @@
state.agreeURL.push(obj)
}
}
// QT(黔通智联) QD (渠道)
// 申办ETC的时候,判断如果这个字段的值如果是QD就不需要在九州小程序里签协议
if(state.details['etcUserAgreement']=='QT'){
contractRequest()
}else{
state.isSign=true
getWrlds()
}
contractRequest()
console.log("查协议", state.agreeURL)
});
}

+ 3
- 3
utils/network/api.js Vedi File

@@ -291,9 +291,9 @@ export const cardObuLossView= "/iaw/api/afterSale/cardObuLoss/view" //业务审
export const customerInfoChangeView= "/iaw/aftersale/customerInfoChange/view" //业务审核查询详情 用户信息变更
export const customerInfoChangeCancel= "/iaw/aftersale/customerInfoChange/cancel" //业务审核取消 用户信息变更
// ocr
export const idCardOcr= "/iaw/txOcr/idCardOcr" //身份证OCR识别
export const vehicleLicenseOcr= "/iaw/txOcr/vehicleLicenseOcr" //车辆行驶证OCR识别
export const ocrAllQuery = '/iaw/txOcr/businessLicenseOcr'; //8.76.BDS-OCR证照识别接口
export const idCardOcr= "/iaw/ocr/idCardOcr" //身份证OCR识别
export const vehicleLicenseOcr= "/iaw/ocr/vehicleLicenseOcr" //车辆行驶证OCR识别
export const ocrAllQuery = '/iaw/ocr/businessLicenseOcrNew'; //8.76.BDS-OCR证照识别接口
// 公用得接口
export const commQueryCourier= "/iaw/api/afterSale/comm/queryCourier" //获取快递公司列表
// 收货地址管理

+ 2
- 2
utils/network/request.js Vedi File

@@ -343,8 +343,8 @@ export function requestNew(code, options = {}, start = false,clie=()=>{}) {
// #ifdef MP-WEIXIN
Common['orderSource'] = "WECHAT"
// #endif
// options.url = envs[process.env.NODE_ENV].baseUrl+'/prod' + code
options.url = envs[process.env.NODE_ENV].baseUrl+'/ndev' + code
options.url = envs[process.env.NODE_ENV].baseUrl+'/prod' + code
// options.url = envs[process.env.NODE_ENV].baseUrl+'/ndev' + code
//默认json数据格式提交`
let contentType = 'application/json'


+ 3
- 3
utils/utils.ts Vedi File

@@ -524,7 +524,7 @@ export const uploadFile = (tempImagePath, imageType, code) => {
success: (uploadFileRes) => {
let uploadFileImage = 'http://100.64.2.113:9000' + '/default-bucket/' + JSON.parse(uploadFileRes.data).data.ossFilePath
console.log("111", JSON.parse(uploadFileRes.data).data.ossFilePath,JSON.parse(uploadFileRes.data));
if (code == "/iaw/txOcr/idCardOcr") { //身份证 imageType 1 2
if (code == "/iaw/ocr/idCardOcr") { //身份证 imageType 1 2
var data = {
source: "1",
agencyId: agentId,
@@ -532,7 +532,7 @@ export const uploadFile = (tempImagePath, imageType, code) => {
fileName: tempImagePath,
url: uploadFileImage
};
} else if (code == "/iaw/txOcr/vehicleLicenseOcr") { //行驶证 imageType 1正 2反
} else if (code == "/iaw/ocr/vehicleLicenseOcr") { //行驶证 imageType 1正 2反
var data = {
source: "1",
agencyId: agentId,
@@ -546,7 +546,7 @@ export const uploadFile = (tempImagePath, imageType, code) => {
console.log("17", uploadFileImage)
resolve(uploadFileImage)
return;
} else if (code == '/iaw/txOcr/businessLicenseOcr') { //营业执照
} else if (code == '/iaw/ocr/businessLicenseOcrNew') { //营业执照
var data = {
type: 'business_license',
url: uploadFileImage,

Loading…
Annulla
Salva