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

View File

@@ -310,16 +310,17 @@ export const customRoutes: GeneratedRoute[] = [
order: 3, order: 3,
} }
}, },
{ // {
name: 'endpoint_cdrlrecords', // name: 'endpoint_cdrlrecords',
path: '/endpoint/cdrlrecords', // path: '/endpoint/cdrlrecords',
component: 'view.endpoint_cdrlrecords', // component: 'view.endpoint_cdrlrecords',
meta: { // meta: {
title: 'cdr记录', // title: 'cdr记录',
i18nKey: 'view.endpoint_cdrlrecords', // i18nKey: 'view.endpoint_cdrlrecords',
icon: 'material-symbols:filter-list-off', // icon: 'material-symbols:filter-list-off',
order: 4 // order: 4
},} // },
// }
] ]
}, },
{ {
@@ -403,6 +404,17 @@ export const customRoutes: GeneratedRoute[] = [
hideInMenu: true 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 { import {
RightOutlined, RightOutlined,
DollarOutlined, DollarOutlined,
FileTextOutlined,
CreditCardOutlined, CreditCardOutlined,
ContainerOutlined, ContainerOutlined,
MoneyCollectOutlined, MoneyCollectOutlined,
@@ -40,6 +41,11 @@ const menuItems = [
// title: t('page.Internetdetails.title'), // title: t('page.Internetdetails.title'),
// path: '/billing/internetdetails' // path: '/billing/internetdetails'
// }, // },
{
icon: FileTextOutlined,
title: t('page.endpoint.cdrlrecords'),
path: '/billing/cdrlrecords'
}
]; ];
const handleMenuClick = (path: string) => { const handleMenuClick = (path: string) => {

View File

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

View File

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