积分审核

This commit is contained in:
liuye
2023-04-21 10:45:21 +08:00
parent deb5ef82e1
commit 8b818e82b4

View File

@@ -133,7 +133,7 @@
auditStatus: ''
},
eventForm: {
files: [],
files: null,
images: [],
videos: [],
content: '',
@@ -188,12 +188,16 @@
},
onEventConfirm () {
if ((this.eventForm.images.length + this.eventForm.videos.length) > 9) {
return this.$message.error('图片和视频不得超过9个')
} else {
this.eventForm.files = [...this.eventForm.images,...this.eventForm.videos]
}
this.$refs.eventForm.validate((valid) => {
if (valid) {
this.instance.post(`/app/appintegraluserapply/updateByGirdMember`, {
...this.eventForm,
id: this.params.id,
files: [...this.eventForm.images, this.eventForm.videos]
}).then(res => {
if (res.code == 0) {
this.$message.success('编辑成功!')