礼品卡兑换记录

This commit is contained in:
齐天大圣 2023-12-09 09:34:35 +08:00
parent f982a65c12
commit 230bee5a9c

View File

@ -108,6 +108,7 @@
methods: { methods: {
tapindex(index) { tapindex(index) {
this.tindex = index this.tindex = index
this.list = []
if (index == 0) { if (index == 0) {
this.query.recordName = '' this.query.recordName = ''
} else if (index == 1) { } else if (index == 1) {
@ -141,46 +142,6 @@
} }
}) })
}, },
//
getCarOrderList() {
request({
url: 'business/marketingActivity/cardValueRecord/selectCardRecord',
method: 'get',
params: this.query
}).then((res) => {
if (res.code == 200) {
if (this.pageNo != 1) {
this.list = this.list.concat(res.data.records)
} else {
this.list = res.data.records
}
this.totalDetail = res.data.total
this.show = false
uni.hideLoading();
}
})
},
//
getFuleOrderList() {
request({
url: 'business/marketingActivity/cardValueRecord/selectFuleRecord',
method: 'get',
params: this.query
}).then((res) => {
if (res.code == 200) {
if (this.pageNo != 1) {
this.list = this.list.concat(res.data.records)
} else {
this.list = res.data.records
}
this.totalDetail = res.data.total
this.show = false
uni.hideLoading();
}
})
},
} }
} }
@ -189,6 +150,7 @@
<style scoped lang="scss"> <style scoped lang="scss">
.content { .content {
background: #f4f5f6; background: #f4f5f6;
height: 100vh;
} }
.container { .container {