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)