admin_web/apps/web-antd/src/router/routes/modules/operation.ts
hahwu 5cc74ac42c
Some checks are pending
CI / Test (ubuntu-latest) (push) Waiting to run
CI / Test (windows-latest) (push) Waiting to run
CI / Lint (ubuntu-latest) (push) Waiting to run
CI / Lint (windows-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / CI OK (push) Blocked by required conditions
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Deploy Website on push / Deploy Push Playground Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Docs Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Antd Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Element Ftp (push) Waiting to run
Deploy Website on push / Deploy Push Naive Ftp (push) Waiting to run
Release Drafter / update_release_draft (push) Waiting to run
权限管理、apk包下载
2026-05-07 14:39:06 +08:00

89 lines
2.4 KiB
TypeScript

import type { RouteRecordRaw } from 'vue-router';
import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';
const routes: RouteRecordRaw[] = [
{
component: BasicLayout,
meta: {
icon: 'lucide:file-clock',
order: 1001,
title: $t('page.operation.title'),
authority: ['super', 'AC6001', 'AC7001', 'AC8001', 'AC9301', 'AC5002','AC9401'],
},
name: 'Operation',
path: '/operation',
children: [
{
name: 'ApkDownload',
path: '/apk-download',
component: () => import('#/views/operation/apk/index.vue'),
meta: {
affixTab: true,
icon: 'material-symbols:cloud-download',
title: $t('page.operation.apk'),
authority: ['super', 'AC9401'],
},
},
{
name: 'Scripts',
path: '/scripts',
component: () => import('#/views/operation/scripts/index.vue'),
meta: {
affixTab: true,
icon: 'lucide:chart-no-axes-column-increasing',
title: $t('page.operation.scripts'),
authority: ['super', 'AC9301', 'AC9302', 'AC9303'],
},
},
{
name: 'Mail',
path: '/mail',
component: () => import('#/views/operation/mail/index.vue'),
meta: {
affixTab: true,
icon: 'lucide:mail',
title: $t('page.operation.mail'),
authority: ['super', 'AC7001', 'AC7002', 'AC7003'],
},
},
{
name: 'CopyUser',
path: '/copyUser',
component: () => import('#/views/operation/copyUser/index.vue'),
meta: {
affixTab: true,
icon: 'lucide:mail',
title: $t('page.operation.copyUser'),
authority: ['super', 'AC8001'],
},
},
{
name: 'Order',
path: '/order',
component: () => import('#/views/operation/order/index.vue'),
meta: {
affixTab: true,
icon: 'lets-icons:order',
title: $t('page.operation.order'),
authority: ['super', 'AC5002'],
},
},
{
name: 'Activity',
path: '/activity',
component: () => import('#/views/operation/activity/index.vue'),
meta: {
affixTab: true,
icon: 'lets-icons:order',
title: $t('page.operation.activity'),
authority: ['super', 'AC6001', 'AC6002', 'AC6003', 'AC6004', 'AC6005'],
},
}
],
},
];
export default routes;