代申请

This commit is contained in:
liuye
2023-04-19 16:58:28 +08:00
parent da5082cde8
commit b2d314120e

View File

@@ -76,7 +76,7 @@ export default {
phone: '', phone: '',
idNumber: '', idNumber: '',
applyItemId: '', applyItemId: '',
applyIntegral: 0, applyIntegral: '',
applyItemName: '', applyItemName: '',
content: '', content: '',
files: [], files: [],
@@ -100,7 +100,6 @@ export default {
this.getDetail() this.getDetail()
} }
this.$dict.load(['clapEventStatus']) this.$dict.load(['clapEventStatus'])
this.getType()
}, },
onShow() { onShow() {
document.title = '积分代申请' document.title = '积分代申请'
@@ -154,7 +153,7 @@ export default {
}, },
// 事件类型 // 事件类型
getType() { getType() {
this.$http.post(`/app/appintegralrule/listByFD`).then(res=> { this.$http.post(`/app/appintegralrule/listByFdGirdMember?openId=${this.form.userId}`).then(res=> {
if(res?.data) { if(res?.data) {
this.list = res.data this.list = res.data
this.dictList = res.data.map(v => { this.dictList = res.data.map(v => {
@@ -187,6 +186,10 @@ export default {
this.form.idNumber = v?.[0]?.idNumber || "" this.form.idNumber = v?.[0]?.idNumber || ""
this.form.girdId = v?.[0]?.girdId || "" this.form.girdId = v?.[0]?.girdId || ""
this.form.girdName = v?.[0]?.girdName || "" this.form.girdName = v?.[0]?.girdName || ""
this.form.applyIntegral = ''
this.form.applyItemId = ''
this.form.applyItemName = ''
this.getType()
}, },
} }
} }