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