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 @@ - - - - - - - 账号列表 - - 共 {{ total }} 条 · 渠道:{{ channelLabelCurrent }} - - - - - - {{ opt.label }} - - - - - - - - - - - - {{ channelLabel(row.channel) }} - - - - - {{ row.account_id }} - - - - {{ row.nickname }} - -- - - - - {{ cellText(row, 'alias') }} - - - - - {{ cellText(row, 'userName') }} - - -- - - - - - {{ row.contacts_num ?? 0 }} - - - - - {{ row.group_num ?? 0 }} - - - - {{ cellText(row, 'sendNum') }} - - - {{ cellText(row, 'receiveNum') }} - - - - - {{ onJobLabel(row.is_on_job) }} - - - - - - {{ formatTime(timeCell(row, 'lastUpdate')) }} - - - - - - - - 点击任意一行查看账号全部字段。 - - - - - - - {{ channelLabel(drawerAccount.channel) }} - - - {{ onJobLabel(drawerAccount.is_on_job) }} - - - - - {{ section.title }} - - - {{ f.label }} - - - - — - {{ f.text }} - - - - - - - - - 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(() => { 点击任意一行查看员工账号全部字段。 - +
点击任意一行查看账号全部字段。
点击任意一行查看员工账号全部字段。