diff --git a/UI/src/App.vue b/UI/src/App.vue index d4bca42..a908c3f 100644 --- a/UI/src/App.vue +++ b/UI/src/App.vue @@ -31,8 +31,8 @@ 首页概览 - - 数据管理 + + 店铺管理 @@ -70,9 +70,6 @@ 模型管理 - - 店铺管理 - diff --git a/UI/src/router/index.js b/UI/src/router/index.js index 668bb81..f940ff1 100644 --- a/UI/src/router/index.js +++ b/UI/src/router/index.js @@ -9,11 +9,6 @@ const router = createRouter({ name: 'dashboard', component: DashboardView }, - { - path: '/data', - name: 'data', - component: () => import('../views/DataView.vue') - }, { path: '/training', name: 'training', diff --git a/UI/src/views/DataView.vue b/UI/src/views/DataView.vue deleted file mode 100644 index 900987f..0000000 --- a/UI/src/views/DataView.vue +++ /dev/null @@ -1,461 +0,0 @@ - - - - - 销售数据管理 - - 上传销售数据 - - - - - - - - - - - - - - - - - - - - - - - - - - 查询 - - - - - - - - - - - - - - - ¥{{ row.unit_price?.toFixed(2) }} - - - - - ¥{{ row.sales_amount?.toFixed(2) }} - - - - - - 店铺详情 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xz修改记录日志.md b/xz修改记录日志.md index bc0322c..fb6ab69 100644 --- a/xz修改记录日志.md +++ b/xz修改记录日志.md @@ -636,4 +636,28 @@ +--- +**日期**: 2025-07-14 +**主题**: UI导航栏重构 + +### 描述 +根据用户请求,对左侧功能导航栏进行了调整。 + +### 主要改动 +1. **删除“数据管理”**: + * 从 `UI/src/App.vue` 的导航菜单中移除了“数据管理”项。 + * 从 `UI/src/router/index.js` 中删除了对应的 `/data` 路由。 + * 删除了视图文件 `UI/src/views/DataView.vue`。 + +2. **提升“店铺管理”**: + * 将“店铺管理”菜单项在 `UI/src/App.vue` 中的位置提升,以填补原“数据管理”的位置,使其在导航中更加突出。 + +### 涉及文件 +* `UI/src/App.vue` +* `UI/src/router/index.js` +* `UI/src/views/DataView.vue` (已删除) + + + + **按药品模型预测** \ No newline at end of file