This commit is contained in:
liuye
2022-10-27 09:05:42 +08:00
parent 1a318d4d2a
commit 042139091a
2 changed files with 7 additions and 3 deletions

View File

@@ -218,6 +218,7 @@
:isShowTip="true"
:instance="instance"
v-model="form.fileList"
fileType="file"
acceptType=".zip,.rar,.doc,.docx,.xls,.ppt,.pptx,.pdf,.txt,.jpg,.png,.xlsx"
:limit="9">
<template slot="tips">
@@ -592,6 +593,9 @@ export default {
if(!this.isEdit) {
this.form.partyOrgId = this.$route.query.partyOrgId
}
if (this.form.fileList.length > 0) {
this.form.files = JSON.stringify(this.form.fileList)
}
this.instance.post(`/app/apppartydevelop/addOrUpdate`, {...this.form}).then((res) => {
if (res.code == 0) {
this.$message.success(this.isEdit ? "编辑成功" : "添加成功");