能力需求bug

This commit is contained in:
851673013@qq.com 2022-08-08 17:54:58 +08:00
parent cfa2f69b80
commit b1c6383f31
1 changed files with 9 additions and 1 deletions

View File

@ -162,6 +162,7 @@
:action="upLoadUrl" :action="upLoadUrl"
:headers="headers" :headers="headers"
@change="handleChange" @change="handleChange"
:maxCount="1"
> >
<a-button <a-button
style=" style="
@ -181,7 +182,7 @@
文件上传 文件上传
</a-button> </a-button>
<span style="font-size: 14px; color: #999"> <span style="font-size: 14px; color: #999">
支持docdocxjpgpngjpegpdfxlxsppt类型文件 支持docdocxjpgpngjpegpdfxlxsppt类型文件(仅限一个)
</span> </span>
</a-upload> </a-upload>
</a-form-item> </a-form-item>
@ -346,6 +347,13 @@
const fileList = ref([]) const fileList = ref([])
const subimtFlag = ref(true) const subimtFlag = ref(true)
const processStartHandle = () => { const processStartHandle = () => {
if (formName.detailsField.length > 0) {
let detailsField = ''
formName.detailsField.map((item) => {
detailsField += item + ';'
})
formName.detailsField = detailsField
}
if (id.value) { if (id.value) {
updateDemandForm(formName).then((upres) => { updateDemandForm(formName).then((upres) => {
if (upres.data.code == 0) { if (upres.data.code == 0) {