Files
UNION_NSI/target/classes/views/mobile/welfare/include/mixins.js
T
2026-09-08 19:49:21 +08:00

29 lines
952 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
}
}
}