修改bug

This commit is contained in:
齐天大圣 2024-01-05 14:03:31 +08:00
parent 2deb719e4b
commit f85e1351ef

View File

@ -75,6 +75,9 @@
export default {
data() {
return {
query: {
storeId: ''
},
allAmount: 0.0,
activeRecommendRecordsList: [],
title: '',
@ -82,8 +85,7 @@
storeId: '',
show: false,
options: {
code: 'https://www.tuofeng.cc/oilStation?storeId=' + uni.getStorageSync('storeId') + '&staffId=' + uni
.getStorageSync('storeId'),
code: 'https://www.tuofeng.cc/oily?storeId=18&userId=102&type=yaoqingyouli',
// code: 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') + ' &userId=' + uni
// .getStorageSync('userId'), //
size: 460, // 460460rpx
@ -94,7 +96,7 @@
onLoad() {
console.log(uni.getStorageSync('userId'));
console.log(uni.getStorageSync('storeId'));
this.query.storeId = uni.getStorageSync("storeId");
},
components: {
@ -130,6 +132,7 @@
request({
url: 'business/marketingActivity/activeRecommendRecords/selectAllAmount',
method: 'get',
params: this.query
}).then(res => {
console.log(res)
if (res.code == 200) {
@ -141,6 +144,7 @@
request({
url: 'business/marketingActivity/activeRecommendRecords',
method: 'get',
params: this.query
}).then(res => {
console.log(res)
if (res.code == 200) {
@ -374,4 +378,4 @@
padding: 0px !important;
background-color: transparent;
}
</style>
</style>