修改bug

This commit is contained in:
齐天大圣 2024-01-04 12:12:36 +08:00
parent 981b6d40a3
commit 0d7caa02e8
2 changed files with 15 additions and 0 deletions

View File

@ -52,6 +52,9 @@
export default {
data() {
return {
query: {
storeId: ''
},
title: '',
activityList: [],
}
@ -60,6 +63,7 @@
},
onShow() {
this.query.storeId = uni.getStorageSync("storeId");
this.getData();
},
methods: {
@ -75,6 +79,7 @@
request({
url: 'business/marketingActivity/activeExchange/applet',
method: 'get',
params: this.query
}).then(res => {
console.log(res);
if (res.code == 200) {

View File

@ -190,6 +190,9 @@
export default {
data() {
return {
query: {
storeId: ''
},
oilName: [],
title: '',
datas: [],
@ -200,6 +203,7 @@
},
onLoad(option) {
this.query.storeId = uni.getStorageSync("storeId");
this.title = option.name
console.log(option.name);
this.getData(option.name);
@ -224,6 +228,7 @@
request({
url: '/business/marketingActivity/activeConsumption/appletList',
method: 'get',
params: this.query
}).then(res => {
if (res.code == 200) {
this.datas = res.data,
@ -236,6 +241,7 @@
request({
url: '/business/marketingActivity/activeDiscount/appletList',
method: 'get',
params: this.query
}).then(res => {
if (res.code == 200) {
this.datas = res.data
@ -247,6 +253,7 @@
request({
url: '/business/marketingActivity/activeRecommend/applet',
method: 'get',
params: this.query
}).then(res => {
if (res.code == 200) {
this.datas = res.data
@ -258,6 +265,7 @@
request({
url: '/business/marketingActivity/activeNewlyweds/applet',
method: 'get',
params: this.query
}).then(res => {
if (res.code == 200) {
this.datas = res.data
@ -269,6 +277,7 @@
request({
url: '/business/marketingActivity/activeFullminus/appletList',
method: 'get',
params: this.query
}).then(res => {
if (res.code == 200) {
this.datas = res.data
@ -280,6 +289,7 @@
request({
url: '/business/marketingActivity/cardValue/appletList',
method: 'get',
params: this.query
}).then(res => {
if (res.code == 200) {
this.datas = res.data