feat: v3版疗休养优化

This commit is contained in:
2026-10-26 09:45:30 +08:00
parent 7f2ac97dea
commit 1a1946b1f8
87 changed files with 1564 additions and 964 deletions
@@ -1,10 +1,10 @@
const uploadFileType = ['jpg', 'png', 'doc', 'docx', 'xls', 'xlsx', 'pdf']
const docType = ['doc', 'docx', 'xls', 'xlsx', 'pdf']
const FILE_UPLOAD_ADDRESS = '/platform/staffTherapyRecuperation/common/uploadFile'
const FILE_DELETE_ADDRESS = '/platform/staffTherapyRecuperation/common/deleteFile'
const FILE_STREAM_PREVIEW_ADDRESS = '/platform/staffTherapyRecuperation/common/preview'
const FILE_STREAM_DOWNLOAD_ADDRESS = '/platform/staffTherapyRecuperation/common/download'
const FILE_UPLOAD_ADDRESS = '/platform/inclusiveTherapyV3/common/uploadFile'
const FILE_DELETE_ADDRESS = '/platform/inclusiveTherapyV3/common/deleteFile'
const FILE_STREAM_PREVIEW_ADDRESS = '/platform/inclusiveTherapyV3/common/preview'
const FILE_STREAM_DOWNLOAD_ADDRESS = '/platform/inclusiveTherapyV3/common/download'
const preview = async (filename, id) => {
const suffix = filename.substring(filename.lastIndexOf('.') + 1)