能力需求bug
This commit is contained in:
parent
cfa2f69b80
commit
b1c6383f31
|
@ -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">
|
||||||
支持doc、docx、jpg、png、jpeg、pdf、xlxs、ppt类型文件
|
支持doc、docx、jpg、png、jpeg、pdf、xlxs、ppt类型文件(仅限一个)
|
||||||
</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) {
|
||||||
|
|
Loading…
Reference in New Issue