update 标准征求意见流程

This commit is contained in:
赵霄
2023-11-16 18:00:38 +08:00
parent 99e3b44f3c
commit 53bb03a9f5
11 changed files with 882 additions and 57 deletions
+9 -5
View File
@@ -38,7 +38,8 @@
<template v-else-if="form.fieldShowType === 2">
<j-upload
v-model="record[form.dbFieldName]"
:disabled="form.isDisabled || false">
:disabled="form.isDisabled || false"
:file-type="form.fileType || canUploadType">
</j-upload>
</template>
<template v-else-if="form.fieldShowType === 3">
@@ -76,7 +77,8 @@
<template v-else-if="form.fieldShowType === 2">
<j-upload
v-model="record[form.dbFieldName]"
:disabled="form.isDisabled || false">
:disabled="form.isDisabled || false"
:file-type="form.fileType || canUploadType">
</j-upload>
</template>
<template v-else-if="form.fieldShowType === 3">
@@ -208,15 +210,17 @@ export default {
},
wrapperCol: {
sm: 16
}
},
// 本系统限制可以上传的文件格式
canUploadType: 'pdf,docx,doc,xlsx,xls,ppt,pptx,rar,zip,jpg,jpeg,png,avi,wmv,mov,rm,mp4,cad'
}
},
methods: {
submit () {
const arr = []
for (const i in this.dataSource) {
if (this.$refs[`ruleForm${i}`]) {
this.$refs[`ruleForm${i}`].validate(valid => {
if (this.$refs[`ruleForm${i}`][0]) {
this.$refs[`ruleForm${i}`][0].validate(valid => {
arr[i] = valid
})
} else {