From 46143beb83d744edf02760beb87c025f6bb2a99b Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Tue, 26 Sep 2023 18:48:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E4=BB=B6-?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/api/index.js | 20 + .../src/views/sys/oss-manage/ossManage.vue | 860 ++++++++++++------ 2 files changed, 620 insertions(+), 260 deletions(-) diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 247d9fe6..f87e4f8f 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -490,4 +490,24 @@ export const getHotWordsHistory = (params) => { return getRequest(`/hotwords/hotwords/history`,params); }; +// 获取文件目录列表 +export const getFileDirectory = () => { + return getRequest(commonUrl+`/common/resource/fileDirectory`); +}; +// 添加文件目录 +export const addFileDirectory = (params) => { + return postRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params); +}; + + +// 修改文件目录 +export const updateFileDirectory = (params) => { + return putRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params); +}; + + +// 删除文件目录 +export const delFileDirectory = (id) => { + return deleteRequest(commonUrl+`/common/resource/fileDirectory/${id}`); +}; diff --git a/manager/src/views/sys/oss-manage/ossManage.vue b/manager/src/views/sys/oss-manage/ossManage.vue index b255e4c5..3db93fc9 100644 --- a/manager/src/views/sys/oss-manage/ossManage.vue +++ b/manager/src/views/sys/oss-manage/ossManage.vue @@ -1,203 +1,233 @@ From c88c1865e7a84d3f9a69217fe242856c08a54635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CYer=E2=80=9D?= <17633066053@163.com> Date: Sat, 30 Sep 2023 16:18:27 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E6=94=B9=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=9B=BE=E5=B7=B2=E5=8F=91=E7=8E=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/components/affix-time.vue | 78 +++++++--- .../src/views/lili-components/affix-time.vue | 140 +++++++++++++----- 2 files changed, 157 insertions(+), 61 deletions(-) diff --git a/manager/src/components/affix-time.vue b/manager/src/components/affix-time.vue index 7bc48c0f..bc9162a7 100644 --- a/manager/src/components/affix-time.vue +++ b/manager/src/components/affix-time.vue @@ -1,20 +1,20 @@