diff --git a/.env.development b/.env.development index 315e256..2113484 100644 --- a/.env.development +++ b/.env.development @@ -1,12 +1,13 @@ -VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' +# VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' # 测试环境 # VITE_API_BASE='http://18.143.76.3:10704/' # 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.9.62:8081/' +# VITE_API_BASE='http://192.168.3.83:8081/' +# 李慧琳 +VITE_API_BASE='http://localhost:8081/' diff --git a/src/router/index.js b/src/router/index.js index 26540ab..4d4eb38 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -52,6 +52,11 @@ const routes = [ meta: {permissionId: [13, 14]} // 对应"查看退款审核"id=13、"退款审批"id=14 }, ] + },{ + path: 'beanAudit', + name: "beanAudit", + component: () => import("../views/audit/beanAudit.vue"), + meta: {permissionId: [54,55]} }, @@ -229,8 +234,14 @@ const routes = [ }, ] }, + { + path: 'userbean', + name: "userbean", + component: () => import("../views/usergold/userbean.vue"), + meta:{ permissionId: 45 } + }, - // 权限 + // 权限管理 { path: '/permissions', name: "permissions", @@ -330,7 +341,7 @@ router.beforeEach(async (to, from, next) => { // 获取管理员信息 let roleId = null; - console.log('adminData:', adminData) + console.log('路由的adminData:', adminData.value) try { roleId = adminData.value.roleId; if (!roleId) { diff --git a/src/views/audit/beanAudit.vue b/src/views/audit/beanAudit.vue index 96c0baf..a2a8a4e 100644 --- a/src/views/audit/beanAudit.vue +++ b/src/views/audit/beanAudit.vue @@ -1,11 +1,413 @@ - + + + + + + - + - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/usergold/userbean.vue b/src/views/usergold/userbean.vue index 96c0baf..ec258a4 100644 --- a/src/views/usergold/userbean.vue +++ b/src/views/usergold/userbean.vue @@ -1,11 +1,181 @@ - +
+ 重置 + 查询 +
+
- + + + \ No newline at end of file