diff --git a/.env.development b/.env.development index 6863c9d..f7fcc40 100644 --- a/.env.development +++ b/.env.development @@ -3,7 +3,7 @@ VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' # VITE_API_BASE='http://54.255.212.181:10704/' # 正式环境 # VITE_API_BASE='http://54.255.212.181:10705/' -VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload +# VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload # VITE_API_BASE='http://192.168.9.28:8081/' # sunjiabei # VITE_API_BASE='http://192.168.9.28:8081/' diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index eb4482e..77644ea 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -37,9 +37,15 @@
+<<<<<<< HEAD
{{ market.name }}: {{ market.value.toLocaleString() }} 新币 +======= +
+ {{ market.name }}: + {{ market.value.toLocaleString() }} +>>>>>>> lihuilin/feature-20250923114949-现金
diff --git a/src/router/index.js b/src/router/index.js index 8fdbb28..edd59b0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -31,7 +31,7 @@ const routes = [ { path: '/goldManage', name: 'goldManage', - meta:{permissionId:3}, + meta: { permissionId: 3 }, children: [ // 审核 { @@ -46,14 +46,14 @@ const routes = [ path: 'rechargeAudit', name: "rechargeAudit", component: () => import("../views/audit/gold/rechargeAudit.vue"), - meta: { permissionId: [28,30,31,32,33,34,35] } // 对应"查看充值审核"id=11、"充值审批"id=12 + meta: { permissionId: [28, 30, 31, 32, 33, 34, 35] } // 对应"查看充值审核"id=11、"充值审批"id=12 }, // 退款审核 { path: 'refundAudit', name: "refundAudit", component: () => import("../views/audit/gold/refundAudit.vue"), - meta: { permissionId: [29,36,37,38,39,40,41] } // 对应"查看退款审核"id=13、"退款审批"id=14 + meta: { permissionId: [29, 36, 37, 38, 39, 40, 41] } // 对应"查看退款审核"id=13、"退款审批"id=14 }, ] }, { @@ -61,13 +61,13 @@ const routes = [ name: "beanAudit", component: () => import("../views/audit/bean/beanAudit.vue"), meta: { permissionId: 15 }, - children: [ + children: [ // 充值审核 { path: 'addbeanAudit', name: "addbeanAudit", component: () => import("../views/audit/bean/beanAudit.vue"), - meta: { permissionId: [42,43,44,45,46,47] } // 对应"查看充值审核"id=11、"充值审批"id=12 + meta: { permissionId: [42, 43, 44, 45, 46, 47] } // 对应"查看充值审核"id=11、"充值审批"id=12 }, ] }, @@ -141,14 +141,14 @@ const routes = [ path: '/rate', name: "rate", component: () => import("../views/managerecharge/rate.vue"), - meta: { permissionId: [16,48,49] } // 对应"汇率查看"id=15、"汇率修改"id=16 + meta: { permissionId: [16, 48, 49] } // 对应"汇率查看"id=15、"汇率修改"id=16 }, // 金币充值 { path: '/coinRecharge', name: "coinRecharge", component: () => import("../views/recharge/gold/coinRecharge.vue"), - meta: { permissionId: 17 }, + meta: { permissionId: 17 }, // redirect: '/coinRecharge/add', children: [ // 金币新增充值 @@ -174,7 +174,7 @@ const routes = [ name: "beanRecharge", component: () => import("../views/recharge/bean/beanRecharge.vue"), // redirect: '/coinRecharge/add', - meta: { permissionId: 18 }, + meta: { permissionId: 18 }, children: [ // 金豆新增充值 { @@ -200,7 +200,7 @@ const routes = [ ] }, - // 金币退款 + // 金币退款 { path: '/coinRefund', name: "coinRefund", @@ -300,10 +300,10 @@ const routes = [ ] }, { - path:'/moneyManage', - name:'moneyManage', - meta:{permissionId:4}, - children:[ + path: '/moneyManage', + name: 'moneyManage', + meta: { permissionId: 4 }, + children: [ // 收款明细 { path: 'receiveDetail', @@ -338,29 +338,36 @@ const routes = [ { path: 'refundDetail', name: "refundDetail", - //component: () => import("../views/moneyManage/refundDetail/refundDetail.vue"), + component: () => import("../views/moneyManage/refundDetail/refundDetail.vue"), meta: { permissionId: 75 }, - children:[ + children: [ // 客服页面 { - path: 'service', + path: 'refundService', name: "refundService", component: () => import("../views/moneyManage/refundDetail/refundService.vue"), - meta: { permissionId: 75 } + meta: { permissionId: 80 } }, - // 地区财务及地区负责人页面 + // 地区财务页面 + { + path: 'refundFinance', + name: "refundFinance", + component: () => import("../views/moneyManage/refundDetail/refundFinance.vue"), + meta: { permissionId: 81 } + }, + // 地区负责人页面 { - path: 'refundArea', - name: "refundArea", - component: () => import("../views/moneyManage/refundDetail/refundArea.vue"), - meta: { permissionId: 75 } + path: 'refundCharge', + name: "refundCharge", + component: () => import("../views/moneyManage/refundDetail/refundCharge.vue"), + meta: { permissionId: 82 } }, //总部管理员及财务 { path: 'refundHeader', name: "refundHeader", component: () => import("../views/moneyManage/refundDetail/refundHeader.vue"), - meta: { permissionId: 75 } + meta: { permissionId: 83 } }, ] }, @@ -452,7 +459,7 @@ router.beforeEach(async (to, from, next) => { // 拿权限id userPermissionIds = getAllPermissionIds(menuTree.value) - console.log("userPermissionIds",userPermissionIds) + console.log("userPermissionIds", userPermissionIds) // 2.4 权限验证(逻辑不变) console.log('to.meta:', to.meta) diff --git a/src/utils/menuTreePermission.js b/src/utils/menuTreePermission.js index ed0b860..4c48619 100644 --- a/src/utils/menuTreePermission.js +++ b/src/utils/menuTreePermission.js @@ -40,7 +40,7 @@ export const permissionMapping = { receiveService:77, // 收款-地区客服 receiveArea:78, // 收款-地区财务/负责人 receiveHeader:79, // 收款-总部财务/管理员 - refundService:80, // 退款-地区客服 + refundService:80, // 退款-地区客服 refundFinance:81, // 退款-地区财务 refundCharge:82, // 退款-地区负责人 refundHeader:83, // 退款-总部财务/管理员 @@ -135,7 +135,7 @@ export const permissionMapping = { refundHeaderProgShow:113, // 退款-总部财务/管理员进度查看 // 特殊,5级 - updateData:114, // 手动拉取数据 + updateData:115, // 手动拉取数据 } // 递归查找菜单中是否存在目标id diff --git a/src/views/moneyManage/executor/executor.vue b/src/views/moneyManage/executor/executor.vue index 37bf450..7d3d43e 100644 --- a/src/views/moneyManage/executor/executor.vue +++ b/src/views/moneyManage/executor/executor.vue @@ -1,23 +1,23 @@ \ No newline at end of file diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue index 35aadba..5fd897b 100644 --- a/src/views/moneyManage/refundDetail/refundHeader.vue +++ b/src/views/moneyManage/refundDetail/refundHeader.vue @@ -1,5 +1,4 @@ - - +