干扰源&技术监督计划取消文件上传限制格式

This commit is contained in:
zhujiyan
2024-05-30 16:16:15 +08:00
parent 0473a4f9f3
commit c00fd676f0
3 changed files with 30 additions and 27 deletions

View File

@@ -217,7 +217,7 @@
v-model:file-list="form.informationSecurityTestReport"
ref="uploadRef"
action=""
accept=".xls,.xlsx"
:accept="acceptType"
:limit="1"
:on-exceed="handleExceed"
:on-change="choose"
@@ -240,7 +240,7 @@
v-model:file-list="form.acceptanceInspectionReportSingle"
ref="uploadRef"
action=""
accept=".xls,.xlsx"
:accept="acceptType"
:limit="1"
:on-exceed="handleExceed"
:on-change="choose"
@@ -263,7 +263,7 @@
v-model:file-list="form.acceptanceInspectionReport"
ref="uploadRef"
action=""
accept=".xls,.xlsx"
:accept="acceptType"
:limit="1"
:on-exceed="handleExceed"
:on-change="choose"
@@ -287,7 +287,7 @@
v-model:file-list="form.typeExperimentReport"
ref="uploadRef"
action=""
accept=".xls,.xlsx"
:accept="acceptType"
:limit="1"
:on-exceed="handleExceed"
:on-change="choose"
@@ -310,7 +310,7 @@
v-model:file-list="form.factoryInspectionReport"
ref="uploadRef"
action=""
accept=".xls,.xlsx"
:accept="acceptType"
:limit="1"
:on-exceed="handleExceed"
:on-change="choose"
@@ -334,7 +334,7 @@
v-model:file-list="form.performanceTestReport"
ref="uploadRef"
action=""
accept=".xls,.xlsx"
:accept="acceptType"
:limit="1"
:on-exceed="handleExceed"
:on-change="choose"
@@ -369,6 +369,8 @@ const dictData = useDictData()
const dialogFormVisible = ref(false)
const form: any = ref({})
const ruleFormRef = ref(null)
// .xls,.xlsx
const acceptType=''
//获取登陆用户姓名和部门
const adminInfo = useAdminInfo()
//字典获取监督类型