@@ -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": { |
@@ -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, |
@@ -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); |