From d08db8a76ab3e832fa937788ad20b47dd11b3534 Mon Sep 17 00:00:00 2001 From: aylvn Date: Sun, 16 Mar 2025 16:02:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8E=86=E5=8F=B2=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/frontend/src/locales/en.js | 3 + desktop/frontend/src/locales/zh-cn.js | 3 + desktop/frontend/src/router/index.js | 2 +- .../task/{History.vue => HistoryIndex.vue} | 121 +------ desktop/frontend/src/views/task/Home.vue | 2 +- desktop/frontend/src/views/task/TaskIndex.vue | 21 +- desktop/frontend/src/views/task/TaskInfo.vue | 329 ++++-------------- 7 files changed, 97 insertions(+), 384 deletions(-) rename desktop/frontend/src/views/task/{History.vue => HistoryIndex.vue} (76%) diff --git a/desktop/frontend/src/locales/en.js b/desktop/frontend/src/locales/en.js index 17dce83..9a410c4 100644 --- a/desktop/frontend/src/locales/en.js +++ b/desktop/frontend/src/locales/en.js @@ -13,9 +13,12 @@ export default { copy: "Copy", paste: "Paste", cut: "Cut", + baseInfo: "Base Info", createdDt: "Created Date", updatedDt: "Updated Date", + noData: "No Data", + menu: { task: "Task", history: "History", diff --git a/desktop/frontend/src/locales/zh-cn.js b/desktop/frontend/src/locales/zh-cn.js index 4f1f404..a1d605e 100644 --- a/desktop/frontend/src/locales/zh-cn.js +++ b/desktop/frontend/src/locales/zh-cn.js @@ -13,9 +13,12 @@ export default { copy: "复制", paste: "粘贴", cut: "剪切", + baseInfo: "基本信息", createdDt: "创建时间", updatedDt: "更新时间", + noData: "暂无数据", + menu: { task: "任务", history: "历史记录", diff --git a/desktop/frontend/src/router/index.js b/desktop/frontend/src/router/index.js index 5a0f815..2c7049b 100644 --- a/desktop/frontend/src/router/index.js +++ b/desktop/frontend/src/router/index.js @@ -32,7 +32,7 @@ const router = createRouter({ }, { path: 'history', - component: () => import('@/views/task/History.vue'), + component: () => import('@/views/task/HistoryIndex.vue'), meta: { keepAlive: false, title: "历史记录", diff --git a/desktop/frontend/src/views/task/History.vue b/desktop/frontend/src/views/task/HistoryIndex.vue similarity index 76% rename from desktop/frontend/src/views/task/History.vue rename to desktop/frontend/src/views/task/HistoryIndex.vue index a3c75a7..24a0f97 100644 --- a/desktop/frontend/src/views/task/History.vue +++ b/desktop/frontend/src/views/task/HistoryIndex.vue @@ -1,4 +1,4 @@ -