修改bug
This commit is contained in:
parent
2deb719e4b
commit
f85e1351ef
@ -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, // 460代表生成的二维码的宽高均为460rpx
|
||||
@ -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>
|
Loading…
Reference in New Issue
Block a user