diff --git a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue index 418fbd29..f5e61f80 100644 --- a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue +++ b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue @@ -2,13 +2,13 @@ @@ -72,6 +106,12 @@ auditDesc: '', auditStatus: '' }, + eventForm: { + files: [], + content: '', + applyIntegral: '' + }, + isShowEvent: false, isShow: false } }, @@ -94,17 +134,46 @@ } }) } + + if (res.data.status === '0') { + this.eventForm.files = res.data.files + this.eventForm.content = res.data.content + this.eventForm.applyIntegral = res.data.applyIntegral + } } } }) }, + showEvent () { + this.eventForm.files = this.info.files + this.eventForm.content = this.info.content + this.eventForm.applyIntegral = this.info.applyIntegral + this.isShowEvent = true + }, + onClose () { - this.id = '' this.form.auditDesc = '' this.form.auditStatus = '' }, + onEventConfirm () { + this.$refs.eventForm.validate((valid) => { + if (valid) { + this.instance.post(`/app/appintegraluserapply/updateByGirdMember`, { + ...this.eventForm, + id: this.params.id + }).then(res => { + if (res.code == 0) { + this.$message.success('编辑成功!') + this.isShowEvent = false + this.getInfo() + } + }) + } + }) + }, + onConfirm () { this.$refs.form.validate((valid) => { if (valid) {