no message

This commit is contained in:
wangh 2023-12-05 10:37:36 +08:00
parent 4eaafc9bf0
commit 2937f621fc

View File

@ -147,9 +147,9 @@
latitude: "", latitude: "",
// //
store: { store: {
name:"测试油站", name: "测试油站",
description:"济南分店", description: "济南分店",
address:"济南槐荫区" address: "济南槐荫区"
}, },
// //
welfare: [], welfare: [],
@ -179,8 +179,9 @@
this.staffId = uni.getStorageSync("inviteStaffId") this.staffId = uni.getStorageSync("inviteStaffId")
} }
this.isExistStoreId(); this.isExistStoreId();
this.getOilType();
this.getUserAuthority(); this.getUserAuthority();
this.getOilType();
}, },
onShow() { onShow() {
// this.isExistStoreId(); // this.isExistStoreId();
@ -240,7 +241,7 @@
} }
}).catch((res) => { }).catch((res) => {
uni.showLoading({ uni.showLoading({
title:res+"---"+1 title: res + "---" + 1
}) })
}) })
}, },
@ -285,10 +286,13 @@
// //
getOilType() { getOilType() {
let params = {
storeId: uni.getStorageSync("storeId")
}
request({ request({
url: 'business/petrolStationManagement/oilNumber/getList2', url: 'business/petrolStationManagement/oilNumber/getList2',
method: 'get', method: 'get',
// params:{} params: params
}).then((res) => { }).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.oilTypeList = res.data.records this.oilTypeList = res.data.records
@ -346,7 +350,7 @@
url: '/pagesHome/PointsMall/PointsMall' url: '/pagesHome/PointsMall/PointsMall'
}) })
}, },
toQRcode(){ toQRcode() {
uni.navigateTo({ uni.navigateTo({
url: '/pagesHome/QRcode/QRcode' url: '/pagesHome/QRcode/QRcode'
}) })