diff --git a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue index 4e6b93e2..f93add86 100644 --- a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue +++ b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue @@ -36,11 +36,17 @@ - +
-
- - +
+ +
+
+ + +
+
+
@@ -78,13 +84,22 @@ - + + acceptType=".jpg,.png,.jpeg" + v-model="eventForm.images" + :limit="9"> + + + + @@ -112,6 +127,8 @@ }, eventForm: { files: [], + images: [], + video: [], content: '', applyIntegral: '' }, @@ -144,6 +161,8 @@ this.eventForm.content = res.data.content this.eventForm.applyIntegral = res.data.applyIntegral } + this.info.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.postfix.split('.')[1]))) + this.info.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.postfix.split('.')[1]))) } } }) @@ -166,7 +185,8 @@ if (valid) { this.instance.post(`/app/appintegraluserapply/updateByGirdMember`, { ...this.eventForm, - id: this.params.id + id: this.params.id, + files: [...this.eventForm.images, this.eventForm.videos] }).then(res => { if (res.code == 0) { this.$message.success('编辑成功!')