@@ -85,11 +85,17 @@ export default function useOrderListItem(props) { | |||
} | |||
let res : any = null; | |||
let newsource = "WECHAT" | |||
// #ifdef MP-ALIPAY | |||
newsource = "ALI" | |||
// #endif | |||
const options = { | |||
type: 2, | |||
data: { | |||
"opId": getItem(StorageKeys.OpenId), | |||
"source": "WECHAT", | |||
"source": newsource, | |||
"vehiclePlate": searchKeyWords.value, | |||
"tabIndex": props.index + '', | |||
"pageNo": params.pageNum, | |||
@@ -99,7 +105,7 @@ export default function useOrderListItem(props) { | |||
method: 'POST', | |||
// showLoading: isLoading ? (params.pageNum === 1 ? true : false) : false , | |||
} | |||
console.log("订单列表查询",options) | |||
try { | |||
res = await request(orderList, options); | |||
const data = stringToJson(res.bizContent); |
@@ -1562,6 +1562,12 @@ | |||
"navigationBarTitleText": "修改手机号" | |||
} | |||
}, | |||
{ | |||
"path": "setting/change-phone-code-ali", | |||
"style": { | |||
"navigationBarTitleText": "修改手机号" | |||
} | |||
}, | |||
{ | |||
"path": "excel", | |||
"style": { |
@@ -588,7 +588,11 @@ | |||
//替换图片地址 | |||
const strReplace = (str : string) => { | |||
return str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl); | |||
console.log(str) | |||
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl); | |||
imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl); | |||
console.log(imgUrl) | |||
return imgUrl; | |||
} | |||
</script> | |||
@@ -518,7 +518,9 @@ | |||
//替换图片地址 | |||
const strReplace = (str : string) => { | |||
return str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl); | |||
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl); | |||
imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl); | |||
return imgUrl; | |||
}; | |||
const getGlobalParam=()=>{ | |||
const data=getItem('globalParam') |
@@ -216,6 +216,9 @@ | |||
}; | |||
request(etcVehiclePlateVer, options).then((res) => { | |||
var data = state.data; | |||
// #ifdef MP-ALIPAY | |||
data.orderSource = 'ALI' | |||
// #endif | |||
const options = { | |||
type: 2, | |||
data: data, |
@@ -575,12 +575,18 @@ | |||
}; | |||
//替换图片地址 | |||
const strReplace = (str : string) => { | |||
<<<<<<< HEAD | |||
return str.replace('http://192.168.101.145:9000', envs[process.env.NODE_ENV].baseUrl) | |||
// if (envs[process.env.NODE_ENV].baseUrl == "https://trial.etcjz.cn") { | |||
// return str.replace('http://192.168.101.145:9000', envs[process.env.NODE_ENV].baseUrl) | |||
// } else { | |||
// return str.replace('http://100.64.2.113:9000', envs[process.env.NODE_ENV].baseUrl) | |||
// } | |||
======= | |||
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl); | |||
imgUrl = str.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl); | |||
return imgUrl; | |||
>>>>>>> f28bd8e7d4d28de49991f5c1367c17621e6257bf | |||
} | |||
const getGlobalParam = () => { | |||
const data = getItem('globalParam') | |||
@@ -621,7 +627,7 @@ | |||
} else { | |||
state.isEnableOCRData = true; | |||
} | |||
} | |||
// 通过opneId查询用户信息 | |||
const queryUserMsg = () => { |
@@ -386,8 +386,9 @@ import { | |||
//替换图片地址 | |||
const strReplace = (str: string) => { | |||
// return str.replace('192.168.101.145:9000', '222.85.144.89:19002') | |||
return str.replace('http://192.168.101.145:9000', envs[process.env.NODE_ENV].baseUrl) | |||
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl); | |||
imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl); | |||
return imgUrl; | |||
} | |||
</script> | |||
@@ -87,7 +87,13 @@ | |||
request(sendCode, options) | |||
.then((res) => { | |||
msg("验证码发送成功!"); | |||
navTo(`/subpackage/personal-center/setting/change-phone-code?phone=${state.phone}`); | |||
// #ifdef MP-ALIPAY | |||
navTo(`/subpackage/personal-center/setting/change-phone-code-ali?phone=${state.phone}`); | |||
// #endif | |||
// #ifdef MP-WEIXIN | |||
navTo(`/subpackage/personal-center/setting/change-phone-code?phone=${state.phone}`); | |||
// #endif | |||
}) | |||
.catch((err) => { | |||
console.log(err); |