| | |
| | | cardInfo.value.userPhone = res.data.userInfo.userPhone; |
| | | cardInfo.value.id = res.data.userInfo.id; |
| | | await getVipInfo(); |
| | | console.log("00000", cardInfo.value); |
| | | console.log("用户信息响应", res); |
| | | console.log("用户信息", cardInfo.value); |
| | | common_vendor.index.setStorageSync("userInfo", JSON.stringify(cardInfo.value)); |
| | | } |
| | | }); |
| | |
| | | }); |
| | | } |
| | | const functionList = common_vendor.ref([ |
| | | //isUrl:1:页面跳转,2:弹窗功能,3:弹窗功能,4:未开发 |
| | | { text: "余额记录", icon: "../../static/images/index/icon31.png", bgColor: "#16b387", url: "/pages/functionList/balanceRecord/index", isUrl: 1 }, |
| | | { text: "消费记录", icon: "../../static/images/index/icon32.png", bgColor: "#329ae8", url: "/pages/functionList/paymentRecord/index", isUrl: 1 }, |
| | | { text: "充值记录", icon: "../../static/images/index/icon33.png", bgColor: "#f0a50e", url: "/pages/functionList/rechargeRecord/index", isUrl: 1 }, |
| | |
| | | content: "确认注销会员卡?", |
| | | success: async function(res) { |
| | | if (res.confirm) { |
| | | await api_index.removeCardApi(cardInfo.value.waterCardNumber).then(async (res2) => { |
| | | await api_index.removeBindingApi(cardInfo.value.waterCardNumber).then(async (res2) => { |
| | | if (res2.code == 200) { |
| | | common_vendor.index.showToast({ |
| | | title: "已注销", |