新增一体机附件上传

This commit is contained in:
2025-12-17 18:10:06 +08:00
parent 8b9f7890af
commit a30a302e90
5 changed files with 1276 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
<template>
<image v-if="type === 'application/pdf'" :src="pdfIcon" class="file-icon" />
<image v-if="type === 'application/pdf' || type === 'pdf'" :src="pdfIcon" class="file-icon" />
<image
v-else-if="
type === 'application/msword' ||
@@ -11,7 +11,9 @@
<image
v-else-if="
type === 'application/vnd.ms-powerpoint' ||
type === 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
type === 'application/vnd.openxmlformats-officedocument.presentationml.presentation'||
type === 'ppt' ||
type === 'pptx'
"
:src="pptIcon"
class="file-icon"
@@ -22,7 +24,9 @@
<image
v-else-if="
type === 'application/vnd.ms-excel' ||
type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'||
type === 'xls' ||
type === 'xlsx'
"
:src="excelIcon"
class="file-icon"