From d0a909a1fbe8699cc1087c4141f208ffa4c9826f Mon Sep 17 00:00:00 2001 From: lijing1 Date: Mon, 15 Dec 2025 15:22:22 +0800 Subject: [PATCH] =?UTF-8?q?updata:=E6=97=A5=E5=BF=97=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/package/function.mjs | 10 ++++++++++ scripts/package/i18n/en.ts | 1 + scripts/package/i18n/zh-cn.ts | 1 + scripts/package/moduleMap.mjs | 10 +++++++++- src/i18n/pages/route/en.ts | 1 + src/i18n/pages/route/zh-cn.ts | 1 + src/router/menus.ts | 8 ++++++++ src/router/modules.ts | 6 ++++++ src/spdm/function.mjs | 10 ++++++++++ src/spdm/moduleMap.mjs | 8 ++++++++ 10 files changed, 55 insertions(+), 1 deletion(-) diff --git a/scripts/package/function.mjs b/scripts/package/function.mjs index bb9cb10..d6c76b2 100644 --- a/scripts/package/function.mjs +++ b/scripts/package/function.mjs @@ -412,6 +412,16 @@ export const appList = [ icon: 'ele-Cellphone', }, }, + { + name: 'spdmSystemLogs', + zhCn: '日志管理', + en: 'Logs', + path: '/spdm/system/logs', + component: () => import('/@/spdm/views/index.vue'), + meta: { + icon: 'ele-Link', + }, + }, { name: 'spdmSystemDynamicTable', zhCn: '动态表格', diff --git a/scripts/package/i18n/en.ts b/scripts/package/i18n/en.ts index 26b6047..3da952c 100644 --- a/scripts/package/i18n/en.ts +++ b/scripts/package/i18n/en.ts @@ -195,6 +195,7 @@ export default { spdmSystemStorage: 'Data Storage', spdmSystemDictionary: 'Data Dictionary', spdmSystemApplication: 'Application Management', + spdmSystemLogs: 'Logs', spdmSystemDynamicTable: 'Dynamic Table', projectList: 'Project List', projectDetail: 'Project Detail', diff --git a/scripts/package/i18n/zh-cn.ts b/scripts/package/i18n/zh-cn.ts index 78c3960..3655928 100644 --- a/scripts/package/i18n/zh-cn.ts +++ b/scripts/package/i18n/zh-cn.ts @@ -122,6 +122,7 @@ export default { spdmSystemStorage: '数据存储', spdmSystemDictionary: '数据字典', spdmSystemApplication: '应用管理', + spdmSystemLogs: '日志管理', spdmSystemDynamicTable: '动态表格', projectList: '项目列表', projectDetail: '项目详情', diff --git a/scripts/package/moduleMap.mjs b/scripts/package/moduleMap.mjs index 3455503..4e6ff95 100644 --- a/scripts/package/moduleMap.mjs +++ b/scripts/package/moduleMap.mjs @@ -4,7 +4,7 @@ export const appMap = { spdmData: {"name":"moduleApps.spdmData","zhCn":"数据管理","en":"Data Management","meta":{"icon":"ele-TakeawayBox"},"pages":[{"name":"spdmDataOverview","zhCn":"数据总览","en":"Data Overview","path":"/spdm/data/overview","meta":{"icon":"ele-DataAnalysis"}},{"name":"spdmDataAnalysis","zhCn":"数据查询","en":"Data Query","path":"/spdm/data/analysis","meta":{"icon":"ele-Search"}},{"name":"spdmDataPermission","zhCn":"数据权限","en":"Data Permission","path":"/spdm/data/permission","meta":{"icon":"ele-Warning"}},{"name":"spdmDataTrain","zhCn":"数据训练","en":"Data Training","path":"/spdm/data/train","meta":{"icon":"ele-Cpu"}},{"name":"spdmDataForecast","zhCn":"数据预测","en":"Data Prediction","path":"/spdm/data/forecast","meta":{"icon":"ele-Paperclip"}}]}, spdmSimulation: {"name":"moduleApps.spdmSimulation","zhCn":"流程管理","en":"Process Management","meta":{"icon":"ele-Finished"},"pages":[{"name":"spdmSimulationProcess","zhCn":"仿真流程库","en":"Process Library","path":"/spdm/simulation/process","meta":{"icon":"ele-FolderChecked"}}]}, spdmCompetenceCenter: {"name":"moduleApps.spdmCompetenceCenter","zhCn":"能力中心","en":"Capability Center","meta":{"icon":"ele-Reading"},"pages":[{"name":"spdmCompetenceCenterCondition","zhCn":"仿真工况库","en":"Condition Library","path":"/spdm/competenceCenter/condition","meta":{"icon":"ele-Suitcase"}},{"name":"spdmCompetenceCenterIndicator","zhCn":"仿真指标库","en":"Indicator Library","path":"/spdm/competenceCenter/indicator","meta":{"icon":"ele-Money"}},{"name":"spdmCompetenceCenterKnowledge","zhCn":"仿真知识库","en":"Knowledge Library","path":"/spdm/competenceCenter/knowledge","meta":{"icon":"ele-Memo"}},{"name":"spdmCompetenceCenterParameter","zhCn":"仿真参数库","en":"Parameter Library","path":"/spdm/competenceCenter/parameter","meta":{"icon":"ele-Tickets"}}]}, - spdmSystem: {"name":"moduleApps.spdmSystem","zhCn":"系统管理","en":"System Administration","meta":{"icon":"ele-Monitor"},"pages":[{"name":"spdmSystemStorage","zhCn":"数据存储","en":"Data Storage","path":"/spdm/system/storage","meta":{"icon":"ele-Wallet"}},{"name":"spdmSystemDictionary","zhCn":"数据字典","en":"Data Dictionary","path":"/spdm/system/dictionary","meta":{"icon":"ele-Collection"}},{"name":"spdmSystemApplication","zhCn":"应用管理","en":"Application Management","path":"/spdm/system/application","meta":{"icon":"ele-Cellphone"}},{"name":"spdmSystemDynamicTable","zhCn":"动态表格","en":"Dynamic Table","path":"/spdm/system/dynamicTable","meta":{"icon":"ele-Document"}}]}, + spdmSystem: {"name":"moduleApps.spdmSystem","zhCn":"系统管理","en":"System Administration","meta":{"icon":"ele-Monitor"},"pages":[{"name":"spdmSystemStorage","zhCn":"数据存储","en":"Data Storage","path":"/spdm/system/storage","meta":{"icon":"ele-Wallet"}},{"name":"spdmSystemDictionary","zhCn":"数据字典","en":"Data Dictionary","path":"/spdm/system/dictionary","meta":{"icon":"ele-Collection"}},{"name":"spdmSystemApplication","zhCn":"应用管理","en":"Application Management","path":"/spdm/system/application","meta":{"icon":"ele-Cellphone"}},{"name":"spdmSystemLogs","zhCn":"日志管理","en":"Logs","path":"/spdm/system/logs","meta":{"icon":"ele-Link"}},{"name":"spdmSystemDynamicTable","zhCn":"动态表格","en":"Dynamic Table","path":"/spdm/system/dynamicTable","meta":{"icon":"ele-Document"}}]}, project: {"name":"moduleApps.project","zhCn":"项目管理","en":"Project Management","pages":[{"name":"projectList","zhCn":"项目列表","en":"Project List","path":"/project/list","meta":{"icon":"iconfont icon-diannao1"}},{"name":"projectDetail","zhCn":"项目详情","en":"Project Detail","path":"/project/detail","meta":{"isKeepAlive":true,"parentName":"projectList"}},{"name":"projectSet","zhCn":"项目设置","en":"Project Set","path":"/project/set","meta":{"parentName":"projectDetail"}}]}, task: {"name":"moduleApps.task","zhCn":"任务中心","en":"Task Center","functions":["shutdown"],"pages":[{"name":"taskPending","zhCn":"待办任务","en":"Pending Task","path":"/task/pending","meta":{"icon":"fa fa-flag-checkered"}},{"name":"taskTransfer","zhCn":"转办任务","en":"Transfer Task","path":"/task/transfer","meta":{"icon":"fa fa-share-square"}},{"name":"taskStarted","zhCn":"发起任务","en":"Started Task","path":"/task/started","meta":{"icon":"fa fa-plane"}},{"name":"taskCc","zhCn":"抄送任务","en":"CC Task","path":"/task/cc","meta":{"icon":"fa fa-arrow-circle-right"}},{"name":"taskCompleted","zhCn":"已完成任务","en":"Completed Task","path":"/task/completed","meta":{"icon":"fa fa-hand-o-right"}}]}, form_template: {"name":"moduleApps.form_template","zhCn":"表单管理","en":"Form Management","pages":[{"name":"formTemplateList","zhCn":"表单列表","en":"Form Template List","path":"/form-template/list","meta":{"icon":"iconfont icon-putong"}},{"name":"formTemplateVersion","zhCn":"表单版本","en":"Form Template Version","path":"/form-template/version","meta":{"icon":"iconfont icon-barcode-qr","parentName":"formTemplateList"}}]}, @@ -259,6 +259,14 @@ export const pageMap = { "code": "spdmSystem_view" } }, + "spdmSystemLogs": { + "path": "/spdm/system/logs", + "name": "moduleRoutes.spdmSystemLogs", + "meta": { + "icon": "ele-Link", + "code": "spdmSystem_view" + } + }, "spdmSystemDynamicTable": { "path": "/spdm/system/dynamicTable", "name": "moduleRoutes.spdmSystemDynamicTable", diff --git a/src/i18n/pages/route/en.ts b/src/i18n/pages/route/en.ts index 26b6047..3da952c 100644 --- a/src/i18n/pages/route/en.ts +++ b/src/i18n/pages/route/en.ts @@ -195,6 +195,7 @@ export default { spdmSystemStorage: 'Data Storage', spdmSystemDictionary: 'Data Dictionary', spdmSystemApplication: 'Application Management', + spdmSystemLogs: 'Logs', spdmSystemDynamicTable: 'Dynamic Table', projectList: 'Project List', projectDetail: 'Project Detail', diff --git a/src/i18n/pages/route/zh-cn.ts b/src/i18n/pages/route/zh-cn.ts index 78c3960..3655928 100644 --- a/src/i18n/pages/route/zh-cn.ts +++ b/src/i18n/pages/route/zh-cn.ts @@ -122,6 +122,7 @@ export default { spdmSystemStorage: '数据存储', spdmSystemDictionary: '数据字典', spdmSystemApplication: '应用管理', + spdmSystemLogs: '日志管理', spdmSystemDynamicTable: '动态表格', projectList: '项目列表', projectDetail: '项目详情', diff --git a/src/router/menus.ts b/src/router/menus.ts index 572cf11..d28e2f8 100644 --- a/src/router/menus.ts +++ b/src/router/menus.ts @@ -233,6 +233,14 @@ export default [ "code": "spdmSystem_view" } }, + { + "path": "/spdm/system/logs", + "name": "moduleRoutes.spdmSystemLogs", + "meta": { + "icon": "ele-Link", + "code": "spdmSystem_view" + } + }, { "path": "/spdm/system/dynamicTable", "name": "moduleRoutes.spdmSystemDynamicTable", diff --git a/src/router/modules.ts b/src/router/modules.ts index 4e73835..cd63980 100644 --- a/src/router/modules.ts +++ b/src/router/modules.ts @@ -125,6 +125,12 @@ export default [ component: () => import('/@/spdm/views/index.vue'), meta: {"icon":"ele-Cellphone","code":"spdmSystem_view"}, }, + { + path: '/spdm/system/logs', + name: 'moduleRoutes.spdmSystemLogs', + component: () => import('/@/spdm/views/index.vue'), + meta: {"icon":"ele-Link","code":"spdmSystem_view"}, + }, { path: '/spdm/system/dynamicTable', name: 'moduleRoutes.spdmSystemDynamicTable', diff --git a/src/spdm/function.mjs b/src/spdm/function.mjs index d54da5c..22c3c38 100644 --- a/src/spdm/function.mjs +++ b/src/spdm/function.mjs @@ -377,6 +377,16 @@ export const appList = [ icon: 'ele-Cellphone', }, }, + { + name: 'spdmSystemLogs', + zhCn: '日志管理', + en: 'Logs', + path: '/spdm/system/logs', + component: () => import('/@/spdm/views/index.vue'), + meta: { + icon: 'ele-Link', + }, + }, { name: 'spdmSystemDynamicTable', zhCn: '动态表格', diff --git a/src/spdm/moduleMap.mjs b/src/spdm/moduleMap.mjs index 32c0912..4120853 100644 --- a/src/spdm/moduleMap.mjs +++ b/src/spdm/moduleMap.mjs @@ -255,6 +255,14 @@ export const pageMap = { "code": "spdmSystem_view" } }, + "spdmSystemLogs": { + "path": "/spdm/system/logs", + "name": "moduleRoutes.spdmSystemLogs", + "meta": { + "icon": "ele-Link", + "code": "spdmSystem_view" + } + }, "spdmSystemDynamicTable": { "path": "/spdm/system/dynamicTable", "name": "moduleRoutes.spdmSystemDynamicTable",