From 4ee19cb9d921517dfbb43045424dc8cc09cb9bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Sat, 8 Aug 2026 17:16:26 +0800 Subject: [PATCH] =?UTF-8?q?chore(ui):=20=E5=88=A0=E9=99=A4=E5=86=97?= =?UTF-8?q?=E4=BD=99=20AccountList=20=E9=A1=B5,/accounts=20=E9=87=8D?= =?UTF-8?q?=E5=AE=9A=E5=90=91=20/staff(=E6=80=BB=20spec=20=E6=94=B6?= =?UTF-8?q?=E5=B0=BE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- yunkes/src/layouts/MainLayout.vue | 4 - yunkes/src/router/index.ts | 4 +- yunkes/src/views/AccountList.vue | 367 ------------------------------ yunkes/src/views/StaffList.vue | 4 +- 4 files changed, 3 insertions(+), 376 deletions(-) delete mode 100644 yunkes/src/views/AccountList.vue diff --git a/yunkes/src/layouts/MainLayout.vue b/yunkes/src/layouts/MainLayout.vue index d937481..89f28d0 100644 --- a/yunkes/src/layouts/MainLayout.vue +++ b/yunkes/src/layouts/MainLayout.vue @@ -123,10 +123,6 @@ onMounted(async () => { 员工 - - - 账号 - 群 diff --git a/yunkes/src/router/index.ts b/yunkes/src/router/index.ts index 7e7f917..ae2257f 100644 --- a/yunkes/src/router/index.ts +++ b/yunkes/src/router/index.ts @@ -23,9 +23,7 @@ const routes: RouteRecordRaw[] = [ }, { path: '/accounts', - name: 'accounts', - component: () => import('@/views/AccountList.vue'), - meta: { title: '账号列表' }, + redirect: { name: 'staff' }, }, { path: '/groups', diff --git a/yunkes/src/views/AccountList.vue b/yunkes/src/views/AccountList.vue deleted file mode 100644 index 5fc1f9f..0000000 --- a/yunkes/src/views/AccountList.vue +++ /dev/null @@ -1,367 +0,0 @@ - - - - - diff --git a/yunkes/src/views/StaffList.vue b/yunkes/src/views/StaffList.vue index 61587e8..5eaa36a 100644 --- a/yunkes/src/views/StaffList.vue +++ b/yunkes/src/views/StaffList.vue @@ -24,7 +24,7 @@ import { buildAccountSections, formatBytes, readField } from '@/utils/accountFie * cellTimeText renders strings directly and only falls back to formatTime * for numeric epochs. * - * Row click opens the all-fields drawer reused from AccountList.vue. + * Row click opens the all-fields drawer (built via accountFields.ts). */ type TabKey = Channel @@ -833,7 +833,7 @@ onMounted(() => {

点击任意一行查看员工账号全部字段。

- +