Browse Source

手机号修改

yxb
skx 1 year ago
parent
commit
f28bd8e7d4

+ 8
- 2
composables/order/useOrderListItem.ts View File

} }


let res : any = null; let res : any = null;
let newsource = "WECHAT"
// #ifdef MP-ALIPAY
newsource = "ALI"
// #endif
const options = { const options = {
type: 2, type: 2,
data: { data: {
"opId": getItem(StorageKeys.OpenId), "opId": getItem(StorageKeys.OpenId),
"source": "WECHAT",
"source": newsource,
"vehiclePlate": searchKeyWords.value, "vehiclePlate": searchKeyWords.value,
"tabIndex": props.index + '', "tabIndex": props.index + '',
"pageNo": params.pageNum, "pageNo": params.pageNum,
method: 'POST', method: 'POST',
// showLoading: isLoading ? (params.pageNum === 1 ? true : false) : false , // showLoading: isLoading ? (params.pageNum === 1 ? true : false) : false ,
} }
console.log("订单列表查询",options)
try { try {
res = await request(orderList, options); res = await request(orderList, options);
const data = stringToJson(res.bizContent); const data = stringToJson(res.bizContent);

+ 2238
- 6
package-lock.json
File diff suppressed because it is too large
View File


+ 6
- 0
pages.json View File

"navigationBarTitleText": "修改手机号" "navigationBarTitleText": "修改手机号"
} }
}, },
{
"path": "setting/change-phone-code-ali",
"style": {
"navigationBarTitleText": "修改手机号"
}
},
{ {
"path": "excel", "path": "excel",
"style": { "style": {

+ 3
- 0
subpackage/orders/essential-information.vue View File

}; };
request(etcVehiclePlateVer, options).then((res) => { request(etcVehiclePlateVer, options).then((res) => {
var data = state.data; var data = state.data;
// #ifdef MP-ALIPAY
data.orderSource = 'ALI'
// #endif
const options = { const options = {
type: 2, type: 2,
data: data, data: data,

+ 7
- 1
subpackage/personal-center/setting/change-phone.vue View File

request(sendCode, options) request(sendCode, options)
.then((res) => { .then((res) => {
msg("验证码发送成功!"); 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) => { .catch((err) => {
console.log(err); console.log(err);

Loading…
Cancel
Save