diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index c076483..9073ad3 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -224,7 +224,7 @@ export const customRoutes: GeneratedRoute[] = [ i18nKey: 'view.endpoint', icon: 'icon-park-outline:all-application', order: 11, - hideInMenu: true + //hideInMenu: true }, children: [ { @@ -249,6 +249,16 @@ 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 + },} ] }, { @@ -260,7 +270,7 @@ export const customRoutes: GeneratedRoute[] = [ i18nKey: 'view.billing', icon: 'icon-park-outline:all-application', order: 13, - hideInMenu: true + //hideInMenu: true }, children: [ { @@ -274,6 +284,28 @@ export const customRoutes: GeneratedRoute[] = [ order: 2 }, }, + { + name: 'billing_Rechargehistory', + path: '/billing/Rechargehistory', + component: 'view.billing_Rechargehistory', + meta: { + title: '充值记录', + i18nKey: 'view.billing_Rechargehistory', + icon: 'material-symbols:filter-list-off', + order: 7 + }, + }, + { + name: 'billing_Internetdetails', + path: '/billing/Internetdetails', + component: 'view.billing_Internetdetails', + meta: { + title: '上网详单', + i18nKey: 'view.billing_Internetdetails', + icon: 'material-symbols:filter-list-off', + order: 8 + }, + }, ] }, { @@ -285,18 +317,41 @@ export const customRoutes: GeneratedRoute[] = [ i18nKey: 'view.set-meal', icon: 'icon-park-outline:all-application', order: 15, - hideInMenu: true + //hideInMenu: true } }, { name: 'user-info', path: '/userInfo', component: 'layout.base$view.userInfo', + redirect: '/userInfo/index', meta: { title: '个人信息', i18nKey: 'view.userInfo', icon: 'icon-park-outline:all-application', order: 16, - } + }, + children: [ + { + name: 'user-info_index', + path: 'index', + component: 'view.userInfo.index', + meta: { + title: '个人信息', + i18nKey: 'view.userInfo_index', + hideInMenu: true + } + }, + { + name: 'user-info_profile', + path: 'profile', + component: 'view.userInfo.profile', + meta: { + title: '个人资料', + i18nKey: 'view.userInfo_profile', + hideInMenu: true + } + } + ] }, ] diff --git a/src/views/endpoint/cdrlrecords/index.vue b/src/views/endpoint/cdrlrecords/index.vue new file mode 100644 index 0000000..78d3cff --- /dev/null +++ b/src/views/endpoint/cdrlrecords/index.vue @@ -0,0 +1,149 @@ + + + + +