积分审核
This commit is contained in:
@@ -133,7 +133,7 @@
|
|||||||
auditStatus: ''
|
auditStatus: ''
|
||||||
},
|
},
|
||||||
eventForm: {
|
eventForm: {
|
||||||
files: [],
|
files: null,
|
||||||
images: [],
|
images: [],
|
||||||
videos: [],
|
videos: [],
|
||||||
content: '',
|
content: '',
|
||||||
@@ -188,12 +188,16 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onEventConfirm () {
|
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) => {
|
this.$refs.eventForm.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.instance.post(`/app/appintegraluserapply/updateByGirdMember`, {
|
this.instance.post(`/app/appintegraluserapply/updateByGirdMember`, {
|
||||||
...this.eventForm,
|
...this.eventForm,
|
||||||
id: this.params.id,
|
id: this.params.id,
|
||||||
files: [...this.eventForm.images, this.eventForm.videos]
|
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$message.success('编辑成功!')
|
this.$message.success('编辑成功!')
|
||||||
|
|||||||
Reference in New Issue
Block a user