30 lines
956 B
JavaScript
30 lines
956 B
JavaScript
const welfareMixins = {
|
|
data() {
|
|
return {
|
|
tarBarActive: '',
|
|
addressList: [],
|
|
isReceive: false,
|
|
isChoice: false,
|
|
isAutoSelect: false
|
|
}
|
|
},
|
|
methods: {
|
|
async selectAddressList() {
|
|
const resp = await $.get('/mobile/welfare/mine/selectUserAddress')
|
|
this.addressList = resp.data
|
|
},
|
|
async getReceive() {
|
|
const resp = await $.get('/mobile/welfare/mine/isReceive', {projectId: this.projectId})
|
|
// this.isReceive = resp.data
|
|
},
|
|
async getChoice() {
|
|
const resp = await $.get('/mobile/welfare/mine/isChoice', {projectId: this.projectId})
|
|
this.isChoice = resp.data
|
|
},
|
|
async getAutoSelect() {
|
|
const resp = await $.get('/mobile/welfare/mine/isAutoSelect', {projectId: this.projectId})
|
|
this.isAutoSelect = resp.data
|
|
}
|
|
}
|
|
}
|