From 13f7924753aced3b47879224f017227cf4385fda Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Thu, 26 Feb 2026 17:32:45 +0800 Subject: [PATCH] =?UTF-8?q?fix--=E9=99=84=E4=BB=B6=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/file/upload.vue | 4 ++-- src/views/report/edit/controlPrice.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/file/upload.vue b/src/components/file/upload.vue index aef4ac4..7c911a2 100644 --- a/src/components/file/upload.vue +++ b/src/components/file/upload.vue @@ -73,13 +73,13 @@ watch(files, () => { },{immediate:true}); function beforeUpload(file) { - const allowExt = ['doc', 'docx', 'pdf', 'xls', 'xlsx', 'zjxm'] + const allowExt = ['doc', 'docx', 'pdf', 'xls', 'xlsx', 'zjxm', 'dwg', 'dwl', 'dwl2', 'pks6'] const name = (file?.name || '').toLowerCase() const ext = name.includes('.') ? name.split('.').pop() : '' if (!allowExt.includes(ext)) { feedback.msgWarning( - '只能上传 Word / PDF / Excel / ZJXM 文件(.doc .docx .pdf .xls .xlsx .zjxm)' + '只能上传 Word / PDF / Excel / ZJXM /DWG /DWL /DWL2 /PKS6 文件(.doc .docx .pdf .xls .xlsx .ZJXM .DWG .DWL .DWL2 .PKS6)' ) return false } diff --git a/src/views/report/edit/controlPrice.vue b/src/views/report/edit/controlPrice.vue index 188832e..13fb105 100644 --- a/src/views/report/edit/controlPrice.vue +++ b/src/views/report/edit/controlPrice.vue @@ -1423,7 +1423,7 @@ function hasAuditAttachment() { -

说明:附件上传仅支持 上传 Word / PDF / Excel / ZJXM 文件(.doc .docx .pdf .xls .xlsx .ZJXM)

+

说明:附件上传仅支持 上传 Word / PDF / Excel / ZJXM /DWG /DWL /DWL2 /PKS6 文件(.doc .docx .pdf .xls .xlsx .ZJXM .DWG .DWL .DWL2 .PKS6)