diff --git a/.env.development b/.env.development index 26d7ef6..b6264c1 100644 --- a/.env.development +++ b/.env.development @@ -4,4 +4,9 @@ # VITE_API_BASE='http://192.168.9.52:10705/' VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload VITE_API_BASE='http://192.168.9.28:8081/' +# VITE_API_BASE='http://192.168.9.28:8081/' +# sunjiabei +# VITE_API_BASE='http://192.168.9.28:8081/' # VITE_API_BASE='http://192.168.5.92:8081/' +# zhangyong +# VITE_API_BASE='http://192.168.3.83:8081/' diff --git a/src/utils/menuUtils.js b/src/utils/menuUtils.js index 451dda5..be86bfd 100644 --- a/src/utils/menuUtils.js +++ b/src/utils/menuUtils.js @@ -33,30 +33,29 @@ export const getRoutePath = (menu) => { const routeMap = { '工作台': '/workspace', - '审核页面': '/audit', - '财务审核': '/audit', - - '充值审核': '/audit/rechargeAudit', - '退款审核': '/audit/refundAudit', + '金币审核': '/audit', + '金豆审核': '/beanAudit', '汇率管理': '/rate', - '消耗管理': '/coinConsume', - '消耗页面': '/coinConsume', + '金币充值': '/coinRecharge', + '金豆充值': '/beanRecharge', - '权限管理': '/permissions', + '金币消耗': '/coinConsume', + '金豆消耗': '/beanConsume', - '充值管理': '/coinRecharge', - '充值页面': '/coinRecharge', + '金币退款': '/coinRefund', + // '金豆退款': '/beanRefund', + + '权限管理': '/permissions', - '退款管理': '/coinRefund', - '退款页面': '/coinRefund', - '客户账户明细': '/usergold', + '金币客户账户明细': '/usergold', + '金豆客户账户明细': '/userbean', }; // 未匹配的菜单默认使用id作为路由(可根据实际需求调整) - return routeMap[menu.menuName] || '/noPermissionPage' + return routeMap[menu.menuName] || '/noPermission' } \ No newline at end of file diff --git a/src/views/audit/beanAudit.vue b/src/views/audit/beanAudit.vue new file mode 100644 index 0000000..96c0baf --- /dev/null +++ b/src/views/audit/beanAudit.vue @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/src/views/consume/beanConsume.vue b/src/views/consume/beanConsume.vue index 0044874..96c0baf 100644 --- a/src/views/consume/beanConsume.vue +++ b/src/views/consume/beanConsume.vue @@ -1,4 +1,11 @@ -