From 4905044629e8ad318a2c4af57e4b7880c4b3f718 Mon Sep 17 00:00:00 2001 From: lijing1 Date: Wed, 3 Dec 2025 14:42:59 +0800 Subject: [PATCH] =?UTF-8?q?update:=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 8 +- src/api/data/data.ts | 10 +- src/components/common/filePreview/index.vue | 37 ++-- src/components/common/onlyOffice/index.vue | 84 +++++++++ src/components/common/table/uploadImg.vue | 6 +- src/views/data/overview/components/search.vue | 13 +- src/views/data/overview/index.vue | 171 ++++++++++++------ vite.config.ts | 20 +- 8 files changed, 257 insertions(+), 92 deletions(-) create mode 100644 src/components/common/onlyOffice/index.vue diff --git a/index.html b/index.html index 690f16a..cc932d2 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,9 @@ - + - - - + + + SPDM diff --git a/src/api/data/data.ts b/src/api/data/data.ts index 42633ca..d6393d1 100644 --- a/src/api/data/data.ts +++ b/src/api/data/data.ts @@ -131,7 +131,10 @@ export const addLibraryCategoryApi = (params: any) => { * @returns */ export const getSimulationParameterLibraryCategoryObjectApi = (params: any) => { - return get(`${PREFIX}simulationParameterLibrary/getSimulationParameterLibraryCategoryObject`, params); + return get( + `${PREFIX}simulationParameterLibrary/getSimulationParameterLibraryCategoryObject`, + params + ); }; /** @@ -238,3 +241,8 @@ export const callBackknowledgeFileApi = (params: any) => { export const chunkUploadCallbackApi = (params: any) => { return post(`${PREFIX}data/chunkUploadCallback`, params); }; + +// onlyOffice获取文件信息 +export const downloadFileForEditApi = (params: any) => { + return get(`${PREFIX}data/downloadFileForEdit`, params); +}; diff --git a/src/components/common/filePreview/index.vue b/src/components/common/filePreview/index.vue index 9abb71d..3d70060 100644 --- a/src/components/common/filePreview/index.vue +++ b/src/components/common/filePreview/index.vue @@ -1,14 +1,14 @@