This commit is contained in:
shijingjing
2022-02-17 13:56:32 +08:00
parent 7a380d4cc9
commit a31d42e64e
2 changed files with 9 additions and 3 deletions

View File

@@ -156,17 +156,19 @@ export default {
if(!this.data.auditIntegralType) {
return this.$u.toast('请选择积分类别')
} else {
this.isShowOption=true
this.$http.post(`/app/appvillagerintegralrule/list?current=1&size=10&auditIntegralType=${this.data.auditIntegralType}`).then(res=>{
if(res.code == 0){
this.typeList = res.data.records
this.isShowOption=true
// this.data.id = res.data.records.id
}
})
}
},
typeChange(e) {
// console.log(e);
console.log(e);
// this.data.id = e[0].id
this.data.ruleName = e[0].label
this.data.integral = e[0].value
},