2
0

fix:菜单结构修改

This commit is contained in:
zhongzm
2025-01-17 16:34:56 +08:00
parent db34e59755
commit 6fb3954a4d
5 changed files with 51 additions and 33 deletions

View File

@@ -1,27 +1,27 @@
const viewEn: any = {
"view.recharge":"recharge",
"view.recharge_rechargeservice":"recharge service",
"view.recharge_balancerecharge":"balance recharge",
"view.recharge_package":"package",
"view.endpoint": "client",
"view.endpoint_access": "current connection",
"view.endpoint_records": "past connection",
"view.endpoint_cdrlrecords":"Internet records",
"view.recharge":"Recharge",
"view.recharge_rechargeservice":"Recharge Service",
"view.recharge_balancerecharge":"Balance Recharge",
"view.recharge_package":"Package",
"view.endpoint": "Client",
"view.endpoint_access": "Current Connection",
"view.endpoint_records": "Past Connection",
"view.endpoint_cdrlrecords":"Internet Records",
"view.billing": "Billing",
"view.billing_histories": "Historical",
"view.billing_Rechargehistory":"Recharge history",
"view.billing_packagehistories":"Package history",
"view.billing_Internetdetails":"Internet details",
"view.billing_billservice":"Bill service",
"view.billing_Rechargehistory":"Recharge History",
"view.billing_packagehistories":"Package History",
"view.billing_Internetdetails":"Internet Details",
"view.billing_billservice":"Bill Service",
"view.set-meal": "Package",
"view.userInfo":"User Information",
"view.userInfo_kyc":"KYC certification",
"view.userInfo_kyc":"KYC Certification",
"view.userInfo_profile":"Change Information",
"view.userInfo_resetpwd":"Reset Password",
"view.userInfo_device":"Device management",
"view.userInfo_access":"Currently connected device",
"view.userInfo_records":"History device",
"view.cdrlrecords":"CDR records",
"view.userInfo_device":"Device Management",
"view.userInfo_access":"Currently Connected Device",
"view.userInfo_records":"History Device",
"view.cdrlrecords":"CDR Records",
};
const local: any = {

View File

@@ -310,16 +310,17 @@ export const customRoutes: GeneratedRoute[] = [
order: 3,
}
},
{
name: 'endpoint_cdrlrecords',
path: '/endpoint/cdrlrecords',
component: 'view.endpoint_cdrlrecords',
meta: {
title: 'cdr记录',
i18nKey: 'view.endpoint_cdrlrecords',
icon: 'material-symbols:filter-list-off',
order: 4
},}
// {
// name: 'endpoint_cdrlrecords',
// path: '/endpoint/cdrlrecords',
// component: 'view.endpoint_cdrlrecords',
// meta: {
// title: 'cdr记录',
// i18nKey: 'view.endpoint_cdrlrecords',
// icon: 'material-symbols:filter-list-off',
// order: 4
// },
// }
]
},
{
@@ -403,6 +404,17 @@ export const customRoutes: GeneratedRoute[] = [
hideInMenu: true
},
},
{
name: 'billing_cdrlrecords',
path: '/billing/cdrlrecords',
component: 'view.billing_cdrlrecords',
meta: {
title: 'cdr记录',
i18nKey: 'view.endpoint_cdrlrecords',
icon: 'material-symbols:filter-list-off',
order: 4
},
}
]
},
{

View File

@@ -4,6 +4,7 @@ import { useI18n } from "vue-i18n";
import {
RightOutlined,
DollarOutlined,
FileTextOutlined,
CreditCardOutlined,
ContainerOutlined,
MoneyCollectOutlined,
@@ -40,6 +41,11 @@ const menuItems = [
// title: t('page.Internetdetails.title'),
// path: '/billing/internetdetails'
// },
{
icon: FileTextOutlined,
title: t('page.endpoint.cdrlrecords'),
path: '/billing/cdrlrecords'
}
];
const handleMenuClick = (path: string) => {

View File

@@ -11,7 +11,7 @@ defineOptions({
const { t } = useI18n();
const router = useRouter();
const handleBack = () => {
router.push('/endpoint/clientservice');
router.push('/billing/billservice');
};
//
interface CDRRecord {

View File

@@ -22,11 +22,11 @@ const menuItems = [
title: t('page.endpoint.records'),
path: '/endpoint/records'
},
{
icon: FileTextOutlined,
title: t('page.endpoint.cdrlrecords'),
path: '/endpoint/cdrlrecords'
}
// {
// icon: FileTextOutlined,
// title: t('page.endpoint.cdrlrecords'),
// path: '/endpoint/cdrlrecords'
// }
];
const handleMenuClick = (path: string) => {