积分审核

This commit is contained in:
liuye
2023-04-06 09:30:26 +08:00
parent 11de84e476
commit c52f00c7bf
3 changed files with 41 additions and 9 deletions

View File

@@ -7,11 +7,11 @@
</div>
<div class="user-flex">
<div>申请人{{info.createUserName}}</div>
<div>电话号码{{info.phone}}</div>
<div>电话号码<span style="color:#1365DD;" @click="callPhone(info.phone)">{{info.phone}}</span></div>
</div>
<p class="text">{{info.content}}</p>
<div class="img-list" v-if="info.files && info.files.length">
<img :src="item.accessUrl" alt="" v-for="(item, index) in info.files" :key="index">
<img :src="item.accessUrl" alt="" v-for="(item, index) in info.files" :key="index" @click="previewImages(info.files, item.accessUrl)">
</div>
</div>
<div class="pass-info" v-if="info.status == 2">
@@ -65,7 +65,7 @@ export default {
},
confirm() {
if(!this.value) {
return this.$u.toast('请输入不通过理由')
return this.$u.toast('请输入不通过原因')
}
this.submit(0)
},
@@ -80,13 +80,24 @@ export default {
id: this.id,
auditStatus: status
}).then(res=> {
if(res?.data) {
if(res.code == 0) {
this.$u.toast('操作成功')
uni.$emit('updateList')
this.show = false
this.getDetail()
}
})
}
},
previewImages(images, img) {
uni.previewImage({
urls: images.map(v => v.accessUrl),
current: img
})
},
callPhone(phone) {
uni.makePhoneCall({ phoneNumber: phone })
},
},
};
</script>