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
},

View File

@@ -10,7 +10,7 @@
</div>
</u-form-item>
<u-form-item label="事件分类" prop="groupName" required :border-bottom="false" right-icon="arrow-right" v-if="status != 2">
<u-form-item label="事件分类" prop="groupName" required :border-bottom="false" right-icon="arrow-right" v-if="status== 2">
<span @click="show = true" class="right-span" :style="forms.groupName ? '' : 'color:#999;'">{{forms.groupName || '请选择事件分类'}}</span>
@@ -223,6 +223,10 @@ export default {
color: #999;
}
// ::v-deep u-input {
// border-bottom: none;
// }
.btn {
position: fixed;
bottom: 0;