From 18fff51112b13977be1ae89fa4d1cfea86954781 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 11 Dec 2024 17:44:59 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E9=87=8D=E6=9E=84=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE=5F?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=AE=A1=E7=90=86=E6=8F=92=E4=BB=B6=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/enums/tableEnum.ts | 1 + frontend/src/models/setting/plugin.ts | 4 +- .../pluginManager/components/pluginTable.vue | 536 ++++++++++-------- .../pluginManager/components/tableExpand.vue | 2 +- 4 files changed, 297 insertions(+), 246 deletions(-) diff --git a/frontend/src/enums/tableEnum.ts b/frontend/src/enums/tableEnum.ts index 0f0ce31a79..75729e7617 100644 --- a/frontend/src/enums/tableEnum.ts +++ b/frontend/src/enums/tableEnum.ts @@ -23,6 +23,7 @@ export enum TableKeyEnum { SYSTEM_AUTH = 'systemAuth', SYSTEM_ORGANIZATION = 'systemOrganization', SYSTEM_PROJECT = 'systemProject', + SYSTEM_PLUGIN = 'systemPlugin', SYSTEM_LOG = 'systemLog', PROJECT_MEMBER = 'projectMember', PROJECT_USER_GROUP = 'projectUserGroup', diff --git a/frontend/src/models/setting/plugin.ts b/frontend/src/models/setting/plugin.ts index 9dc44f69ce..2ce0a63462 100644 --- a/frontend/src/models/setting/plugin.ts +++ b/frontend/src/models/setting/plugin.ts @@ -38,8 +38,8 @@ export type PluginItem = Partial<{ name: string; pluginId: string; fileName: string; // 文件名称 - createTime: number; - updateTime: number; + createTime: string; + updateTime: string; createUser: string; enable: boolean; global: boolean; diff --git a/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue b/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue index eaa10477d1..57f7df4d6a 100644 --- a/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue +++ b/frontend/src/views/setting/system/pluginManager/components/pluginTable.vue @@ -1,4 +1,3 @@ -