From bd89f7973d0de50078217ad96e7e48c387b8b0ce Mon Sep 17 00:00:00 2001 From: xuziqiang <1344691446@qq.com> Date: Tue, 4 Jun 2024 11:40:32 +0800 Subject: [PATCH] feat: open permission --- hx-ai-intelligent/src/api/origanizemanage.ts | 3 + hx-ai-intelligent/src/config/app.config.ts | 25 +- hx-ai-intelligent/src/config/resource.json | 4291 +------------------------- lib/saas/store/modules/route.ts | 8 +- 4 files changed, 115 insertions(+), 4212 deletions(-) diff --git a/hx-ai-intelligent/src/api/origanizemanage.ts b/hx-ai-intelligent/src/api/origanizemanage.ts index 257d4c8..be8b35f 100644 --- a/hx-ai-intelligent/src/api/origanizemanage.ts +++ b/hx-ai-intelligent/src/api/origanizemanage.ts @@ -1,4 +1,7 @@ const BASE_URL = '/carbon-smart'; +export enum permission { + add = `${BASE_URL}/admin/permission/save`, +} export enum origanizemanage { userList = '/carbon-smart/api/user/queryUserByPage', diff --git a/hx-ai-intelligent/src/config/app.config.ts b/hx-ai-intelligent/src/config/app.config.ts index 30d4718..112f30b 100644 --- a/hx-ai-intelligent/src/config/app.config.ts +++ b/hx-ai-intelligent/src/config/app.config.ts @@ -3,6 +3,8 @@ import { dateUtil } from '/nerv-lib/util/date-util'; import mockResource from './resource.json'; import { http } from '/nerv-lib/saas'; import { ref } from 'vue'; +import { permission } from '/@/api/origanizemanage'; + const value = ref('1'); const transform = (data, map) => { return Object.keys(map).reduce((pre, cur) => { @@ -13,7 +15,7 @@ const transform = (data, map) => { export const appConfig = { projectType: 'web', baseApi: '/api', - enablePermissions: false, + enablePermissions: true, // themeColor: '#eee', siderPosition: 'left', baseHeader: '/parkingManage', @@ -94,16 +96,15 @@ export const appConfig = { // toRouterName: 'NoticeManageIndex', // }, resourceInfo: { - application: { - version: '1.1.74', - label: '停车业务平台', - dataScope: { - scopeMode: 0, - scopeType: '', - dataTips: '', - }, - }, - api: '/qa/Operation/Resources/Pc/init', - token: `${dateUtil().format('YYYYMMDD')}1a329ffasasozozxqq66cfab7`, + // application: { + // version: '1.1.74', + // label: '停车业务平台', + // dataScope: { + // scopeMode: 0, + // scopeType: '', + // dataTips: '', + // }, + // }, + api: permission.add, }, }; diff --git a/hx-ai-intelligent/src/config/resource.json b/hx-ai-intelligent/src/config/resource.json index 356eec2..fac28af 100644 --- a/hx-ai-intelligent/src/config/resource.json +++ b/hx-ai-intelligent/src/config/resource.json @@ -8,4298 +8,197 @@ "dataTips": "" } }, - "menus": [ + "menus":[ { - "code": "parkingManage", - "icon": "tingcheguanli", - "sort": 1, - "label": "停车管理", - "type": "menus", - "backApi": [], - "parentCode": "", - "menus": [ - { - "code": "parkingLotManage", - "icon": "chechangguanli", - "sort": 0, - "label": "车场管理", - "type": "menus", - "backApi": [], - "parentCode": "parkingManage", - "menus": [ - { - "code": "ParkingStorageManage", - "icon": "parkingCarPark", - "sort": 0, - "label": "场库停车场", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "parkingLotManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "exports", - "name": "", - "label": "批量导出", - "parentCode": "ParkingStorageManage" - }, - { - "code": "ParkingStorageDetail", - "icon": " ", - "sort": 0, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "ParkingStorageManage" - } - ] - }, - { - "code": "RoadStop", - "icon": " ", - "sort": 1, - "label": "道路停车点", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "parkingLotManage", - "menus": [ - { - "code": "roadStopDetail", - "icon": " ", - "sort": 0, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "RoadStop" - } - ] - }, - { - "code": "CarpotManage", - "icon": " ", - "sort": 2, - "label": "道路泊位", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "parkingLotManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "CarpotManageExports", - "name": "", - "label": "批量导出", - "parentCode": "CarpotManage" - }, - { - "sort": 1, - "type": "op", - "code": "CarpotManageDelete", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carPlaceType/deleteSpaceType" - } - ], - "parentCode": "CarpotManage" - }, - { - "sort": 2, - "type": "op", - "code": "CarpotManageDeletes", - "name": "", - "label": "批量删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/dlSpace/batchDeleteParkingSpot" - } - ], - "parentCode": "CarpotManage" - }, - { - "code": "CarpotManageAdd", - "icon": " ", - "sort": 3, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carPlaceType/addSpaceType" - } - ], - "parentCode": "CarpotManage" - }, - { - "code": "CarpotManageEdit", - "icon": " ", - "sort": 4, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carPlaceType/updateSpaceType" - } - ], - "parentCode": "CarpotManage" - } - ] - }, - { - "code": "DepotBerth", - "icon": " ", - "sort": 3, - "label": "场库泊位", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ckSpace/querySpaceList" - } - ], - "parentCode": "parkingLotManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "DepotBerthExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "DepotBerth" - }, - { - "sort": 1, - "type": "op", - "code": "DepotBerthDelete", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": " /api/objs/ckSpace/deleteCarPlaceSpace" - } - ], - "parentCode": "DepotBerth" - }, - { - "sort": 2, - "type": "op", - "code": "DepotBerthDeletes", - "name": "", - "label": "批量删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ckSpace/batchDeleteParkingSpot" - } - ], - "parentCode": "DepotBerth" - }, - { - "code": "DepotBerthAdd", - "icon": " ", - "sort": 3, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ckSpace/addCarPlaceSpace" - } - ], - "parentCode": "DepotBerth" - }, - { - "code": "DepotBerthEdit", - "icon": " ", - "sort": 4, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ckSpace/updateCarPlaceSpace" - } - ], - "parentCode": "DepotBerth" - }, - { - "code": "DepotBerthDetail", - "icon": " ", - "sort": 5, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ckSpace/querySpaceList" - } - ], - "parentCode": "DepotBerth" - } - ] - }, - { - "code": "RoadType", - "icon": " ", - "sort": 4, - "label": "泊位分类", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/carPlaceType/querySpaceTypePage" - }, - { - "method": "GET", - "url": "/api/objs/carPlaceType/querySpaceType" - } - ], - "parentCode": "parkingLotManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "RoadTypeDelete", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carPlaceType/deleteSpaceType" - } - ], - "parentCode": "RoadType" - }, - { - "code": "RoadTypeAdd", - "icon": " ", - "sort": 1, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carPlaceType/addSpaceType" - } - ], - "parentCode": "RoadType" - }, - { - "code": "RoadTypeEdit", - "icon": " ", - "sort": 2, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carPlaceType/updateSpaceType" - } - ], - "parentCode": "RoadType" - } - ] - }, - { - "code": "LaneManage", - "icon": " ", - "sort": 5, - "label": "车道管理", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/laneInfo/pageList" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - } - ], - "parentCode": "parkingLotManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "LaneManageDelete", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/laneInfo/delete" - } - ], - "parentCode": "LaneManage" - }, - { - "sort": 1, - "type": "op", - "code": "LaneManageDownload", - "name": "", - "label": "下载二维码", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/laneInfo/detail" - } - ], - "parentCode": "LaneManage" - }, - { - "code": "LaneManageAdd", - "icon": " ", - "sort": 2, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/laneInfo/add" - }, - { - "method": "POST", - "url": "/api/objs/laneInfo/update" - }, - { - "method": "GET", - "url": "/api/objs/laneInfo/detail" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - }, - { - "method": "GET", - "url": "/api/objs/gateInfo/pageList" - } - ], - "parentCode": "LaneManage" - }, - { - "code": "LaneManageEdit", - "icon": " ", - "sort": 3, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/laneInfo/add" - }, - { - "method": "POST", - "url": "/api/objs/laneInfo/update" - }, - { - "method": "GET", - "url": "/api/objs/laneInfo/detail" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - }, - { - "method": "GET", - "url": "/api/objs/gateInfo/pageList" - } - ], - "parentCode": "LaneManage" - } - ] - }, - { - "code": "ExitManage", - "icon": " ", - "sort": 6, - "label": "出入口管理", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/gateInfo/pageLis" - }, - { - "method": "GET", - "url": "/api/objs/gateInfo/detail" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - } - ], - "parentCode": "parkingLotManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ExitManageDelete", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/gateInfo/delete" - } - ], - "parentCode": "ExitManage" - }, - { - "code": "ExitManageAdd", - "icon": " ", - "sort": 1, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/wuRoadCarPlace/pageList" - }, - { - "method": "POST", - "url": "/api/objs/gateInfo/add" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - } - ], - "parentCode": "ExitManage" - }, - { - "code": "ExitManageEdit", - "icon": " ", - "sort": 2, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/gateInfo/update" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - } - ], - "parentCode": "ExitManage" - } - ] - } - ] - }, - { - "code": "orderManage", - "icon": "yuyueguanli", - "sort": 1, - "label": "预约管理", - "type": "menus", - "backApi": [], - "parentCode": "parkingManage", - "menus": [ - { - "code": "OrderCarport", - "icon": "parkingCarPark", - "sort": 0, - "label": "预约车位", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "orderManage", - "menus": [ - { - "code": "orderCarportDetail", - "icon": " ", - "sort": 0, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "OrderCarport" - } - ] - }, - { - "code": "AppointRules", - "icon": "parkingCarPark", - "sort": 1, - "label": "预约规则", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/appointmentRule/pageList" - }, - { - "method": "POST", - "url": "/api/objs/appointmentRule/delete" - }, - { - "method": "GET", - "url": "/api/objs/reserveRule/queryReserveRulePage" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/pageList" - } - ], - "parentCode": "orderManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "AppointRulesDelete", - "name": "", - "label": "车位预约规则删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/appointmentRule/delete" - } - ], - "parentCode": "AppointRules" - }, - { - "sort": 1, - "type": "op", - "code": "appointRulesLibraryDelete", - "name": "", - "label": "场库预约规则删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/reserveRule/deleteReserveRule" - } - ], - "parentCode": "AppointRules" - }, - { - "code": "AppointRulesEdit", - "icon": "parkingCarPark", - "sort": 2, - "label": "车位预约规则编辑", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/appointmentRule/detail" - }, - { - "method": "POST", - "url": "/api/objs/appointmentRule/update" - } - ], - "parentCode": "AppointRules" - }, - { - "code": "AppointRulesAdd", - "icon": "parkingCarPark", - "sort": 3, - "label": "车位预约规则新增", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/wuCarPlace/queryAllowReserveParkList" - }, - { - "method": "POST", - "url": "/api/objs/appointmentRule/add" - } - ], - "parentCode": "AppointRules" - }, - { - "code": "AppointRulesDetail", - "icon": "parkingCarPark", - "sort": 4, - "label": "车位预约规则查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/appointmentRule/detail" - } - ], - "parentCode": "AppointRules" - }, - { - "code": "appointRulesLibraryEdit", - "icon": "parkingCarPark", - "sort": 5, - "label": "场库预约规则编辑", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/reserveRule/queryReserveRule" - }, - { - "method": "POST", - "url": "/api/objs/reserveRule/updateReserveRule" - }, - { - "method": "POST", - "url": "/api/objs/reserveRule/addReserveRule" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/pageList" - } - ], - "parentCode": "AppointRules" - }, - { - "code": "appointRulesLibraryAdd", - "icon": "parkingCarPark", - "sort": 6, - "label": "场库预约规则新增", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/reserveRule/queryReserveRule" - }, - { - "method": "POST", - "url": "/api/objs/reserveRule/updateReserveRule" - }, - { - "method": "POST", - "url": "/api/objs/reserveRule/addReserveRule" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/pageList" - } - ], - "parentCode": "AppointRules" - }, - { - "code": "appointRulesLibraryDetail", - "icon": "parkingCarPark", - "sort": 7, - "label": "场库预约规则查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/reserveRule/queryReserveRule" - } - ], - "parentCode": "AppointRules" - }, - { - "code": "appointRulesLibraryChange", - "icon": "parkingCarPark", - "sort": 8, - "label": "规则日志", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/reserveRule/queryReserveRuleChangePage" - } - ], - "parentCode": "AppointRules" - } - ] - }, - { - "code": "AppointLimit", - "icon": "parkingCarPark", - "sort": 2, - "label": "预约限制", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveLimit/detail" - }, - { - "method": "POST", - "url": "/api/objs/ReserveLimit/edit" - } - ], - "parentCode": "orderManage", - "menus": [] - }, - { - "code": "AppointBlacklist", - "icon": "parkingCarPark", - "sort": 3, - "label": "预约黑名单", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveBlackList/pageList" - }, - { - "method": "POST", - "url": "/api/objs/appointmentRule/delete" - } - ], - "parentCode": "orderManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "deleteLimit", - "name": "", - "label": "解除限制", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveBlackList/invalid" - } - ], - "parentCode": "AppointBlacklist" - }, - { - "code": "AppointBlacklistDetail", - "icon": "parkingCarPark", - "sort": 1, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveBlackList/detail" - } - ], - "parentCode": "AppointBlacklist" - } - ] - }, - { - "code": "AppointCancleRefund", - "icon": "parkingCarPark", - "sort": 4, - "label": "预约取消退款", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveCancelRefund" - } - ], - "parentCode": "orderManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "CancleRefund", - "name": "", - "label": "退款取消", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveCancelRefund/cancel" - } - ], - "parentCode": "AppointCancleRefund" - }, - { - "code": "AppointCancleRefunddetail", - "icon": " ", - "sort": 1, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/FieldLibraryReserve/detail" - } - ], - "parentCode": "AppointCancleRefund" - } - ] - }, - { - "code": "AppointMessage", - "icon": "parkingCarPark", - "sort": 5, - "label": "预约通知", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveCancelRefund" - } - ], - "parentCode": "orderManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "AppointMessageRefund", - "name": "", - "label": "退款", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveErrorLog/updateErrorLog" - } - ], - "parentCode": "AppointMessage" - }, - { - "sort": 1, - "type": "op", - "code": "AppointMessageAgain", - "name": "", - "label": "重试", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveErrorLog/updateErrorLog" - } - ], - "parentCode": "AppointMessage" - }, - { - "sort": 2, - "type": "op", - "code": "AppointMessageOk", - "name": "", - "label": "完成", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveErrorLog/updateErrorLog" - } - ], - "parentCode": "AppointMessage" - } - ] - } - ] - }, - { - "code": "ChargeManage", - "icon": "chongdianguanli", - "sort": 2, - "label": "充电管理", - "type": "menus", - "backApi": [], - "parentCode": "parkingManage", - "menus": [ - { - "code": "ChargePosition", - "icon": "parkingManage", - "sort": 0, - "label": "充电站点", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "ChargeManage" - }, - { - "code": "ChargePile", - "icon": "parkingManage", - "sort": 1, - "label": "充电桩", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "ChargeManage" - }, - { - "code": "ChargeGun", - "icon": "parkingManage", - "sort": 2, - "label": "充电枪", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "ChargeManage" - }, - { - "code": "BillngRules", - "icon": "parkingManage", - "sort": 3, - "label": "充电计费规则", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "ChargeManage" - } - ] - }, - { - "code": "carManage", - "icon": "cheliangguanli", - "sort": 3, - "label": "车辆管理", - "type": "menus", - "backApi": [], - "parentCode": "parkingManage", - "menus": [ - { - "code": "BlacklistManage", - "icon": " ", - "sort": 0, - "label": "黑名单车辆", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/carProperty/pageList" - }, - { - "method": "GET", - "url": "/api/objs/wuRoadCarPlace/pageList" - }, - { - "method": "POST", - "url": "/api/objs/wuRoadCarPlace/import" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryAccessChannel" - } - ], - "parentCode": "carManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "BlacklistManageRemove", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/delete" - } - ], - "parentCode": "BlacklistManage" - }, - { - "sort": 1, - "type": "op", - "code": "BlacklistManagelssuedCar", - "name": "", - "label": "下发", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/lssuedCar" - } - ], - "parentCode": "BlacklistManage" - }, - { - "code": "BlacklistManageAdd", - "icon": " ", - "sort": 2, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/save" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryAccessChannel" - } - ], - "parentCode": "BlacklistManage" - }, - { - "code": "BlacklistManageEdit", - "icon": " ", - "sort": 3, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/save" - }, - { - "method": "GET", - "url": "/api/objs/carProperty/detail" - } - ], - "parentCode": "BlacklistManage" - } - ] - }, - { - "code": "WhitelistManage", - "icon": " ", - "sort": 1, - "label": "白名单车辆", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/carProperty/pageList" - } - ], - "parentCode": "carManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "WhitelistManageRemove", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/delete" - } - ], - "parentCode": "WhitelistManage" - }, - { - "sort": 1, - "type": "op", - "code": "WhitelistManageImport", - "name": "", - "label": "批量导入", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/importWhiteCarData" - } - ], - "parentCode": "WhitelistManage" - }, - { - "sort": 2, - "type": "op", - "code": "WhitelistManageBatchEx", - "name": "", - "label": "批量导出", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/carPropertyExport/exportCarPropertyData" - } - ], - "parentCode": "WhitelistManage" - }, - { - "sort": 3, - "type": "op", - "code": "WhitelistManageBatchLssuedCar", - "name": "", - "label": "批量下发", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/batchLssuedCar" - } - ], - "parentCode": "WhitelistManage" - }, - { - "sort": 4, - "type": "op", - "code": "WhitelistManagelssuedCar", - "name": "", - "label": "下发", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/lssuedCar" - } - ], - "parentCode": "WhitelistManage" - }, - { - "code": "whitelistManageAdd", - "icon": " ", - "sort": 5, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/save" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryLibraryParkList" - } - ], - "parentCode": "WhitelistManage" - }, - { - "code": "whitelistManageEdit", - "icon": " ", - "sort": 6, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/save" - }, - { - "method": "GET", - "url": "/api/objs/carProperty/detail" - } - ], - "parentCode": "WhitelistManage" - }, - { - "code": "whitelistManageCopy", - "icon": " ", - "sort": 7, - "label": "复制", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/save" - }, - { - "method": "GET", - "url": "/api/objs/carProperty/detail" - } - ], - "parentCode": "WhitelistManage" - } - ] - }, - { - "code": "VisitorVehicle", - "icon": " ", - "sort": 2, - "label": "访客车辆", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/carProperty/pageList" - } - ], - "parentCode": "carManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "VisitorVehicleImport", - "name": "", - "label": "批量导入", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/importWhiteCarData" - } - ], - "parentCode": "VisitorVehicle" - }, - { - "sort": 1, - "type": "op", - "code": "VisitorVehicleBatchLssuedCar", - "name": "", - "label": "批量下发", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/batchLssuedCar" - } - ], - "parentCode": "VisitorVehicle" - }, - { - "sort": 2, - "type": "op", - "code": "VisitorVehicleRemove", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/delete" - } - ], - "parentCode": "VisitorVehicle" - }, - { - "sort": 3, - "type": "op", - "code": "VisitorVehiclelssuedCar", - "name": "", - "label": "下发", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/lssuedCar" - } - ], - "parentCode": "VisitorVehicle" - }, - { - "code": "VisitorVehicleAdd", - "icon": " ", - "sort": 4, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/save" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/pageList" - } - ], - "parentCode": "VisitorVehicle" - }, - { - "code": "VisitorVehicleEdit", - "icon": " ", - "sort": 5, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/carProperty/save" - }, - { - "method": "GET", - "url": "/api/objs/carProperty/detail" - } - ], - "parentCode": "VisitorVehicle" - } - ] - } - ] - }, - { - "code": "equipmentManage", - "icon": "shebeiguanli", - "sort": 4, - "label": "设备管理", - "type": "menus", - "backApi": [], - "parentCode": "parkingManage", - "menus": [ - { - "code": "ParkingLock", - "icon": "parkingCarPark", - "sort": 0, - "label": "车位锁", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "equipmentManage" - }, - { - "code": "GeomagneticManagement", - "icon": "parkingCarPark", - "sort": 1, - "label": "地磁管理", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "equipmentManage" - } - ] - }, - { - "code": "OperationsDeclare", - "icon": "yunyingshenbao", - "sort": 5, - "label": "运营申报", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/flow-declare/pageList" - }, - { - "method": "POST", - "url": "/api/objs/flow-declare/submit" - } - ], - "parentCode": "parkingManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "OperationsDeclareSubmit", - "name": "", - "label": "提交", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/flow-declare/submit" - } - ], - "parentCode": "OperationsDeclare" - }, - { - "code": "OperationsDeclareAdd", - "icon": " ", - "sort": 1, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/flow-declare/add" - }, - { - "method": "POST", - "url": "/api/objs/admin/MaterialFile" - } - ], - "parentCode": "OperationsDeclare" - }, - { - "code": "OperationsDeclareDetail", - "icon": " ", - "sort": 2, - "label": "详情", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/flow-declare/detail" - }, - { - "method": "GET", - "url": "/api/objs/flow-task/taskPageList" - } - ], - "parentCode": "OperationsDeclare" - }, - { - "code": "OperationsDeclareEdit", - "icon": " ", - "sort": 3, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/flow-declare/update" - }, - { - "method": "POST", - "url": "/api/objs/admin/MaterialFile" - } - ], - "parentCode": "OperationsDeclare" - } - ] - }, - { - "code": "TollManages", - "icon": "shoufeipeizhi", - "sort": 6, - "label": "收费配置", - "type": "menus", - "backApi": [], - "parentCode": "parkingManage", - "menus": [ - { - "code": "ChargingConfiguration", - "icon": " ", - "sort": 0, - "label": "收费规则", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "TollManages" - }, - { - "code": "PaymentAccount", - "icon": " ", - "sort": 1, - "label": "收款账号配置", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PayServiceConfig" - }, - { - "method": "GET", - "url": "/api/objs/configRelation/parkList" - }, - { - "method": "GET", - "url": "/api/objs/configRelation/payAccountList" - }, - { - "method": "GET", - "url": "/api/objs/configRelation/payAccessConfigList" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/operate" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/refreshPayConfig" - }, - { - "method": "POST", - "url": "/api/objs/configRelation/updatePayAccount" - }, - { - "method": "POST", - "url": "/api/objs/configRelation/updateAccessConfig" - } - ], - "parentCode": "TollManages", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "PaymentAccountReload", - "name": "", - "label": "同步刷新", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/refreshPayConfig" - } - ], - "parentCode": "PaymentAccount" - }, - { - "sort": 1, - "type": "op", - "code": "PaymentAccountRemove", - "name": "", - "label": "禁用", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/operate" - } - ], - "parentCode": "PaymentAccount" - }, - { - "sort": 2, - "type": "op", - "code": "PaymentAccountEnable", - "name": "", - "label": "启用", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/operate" - } - ], - "parentCode": "PaymentAccount" - }, - { - "code": "PaymentAccountDetail", - "icon": " ", - "sort": 3, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PayServiceConfig/detail" - } - ], - "parentCode": "PaymentAccount" - }, - { - "code": "PaymentAccountBind", - "icon": " ", - "sort": 4, - "label": "关联停车场", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PayServiceConfig/detail" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/unbind" - } - ], - "parentCode": "PaymentAccount" - }, - { - "code": "PaymentAccountDot", - "icon": " ", - "sort": 5, - "label": "关联充电网点", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PayServiceConfig/detail" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/unbind" - } - ], - "parentCode": "PaymentAccount" - }, - { - "code": "PaymentAccountAdd", - "icon": " ", - "sort": 6, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PayServiceConfig/detail" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/update" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig" - } - ], - "parentCode": "PaymentAccount" - }, - { - "code": "PaymentAccountEdit", - "icon": " ", - "sort": 7, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PayServiceConfig/detail" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig/update" - }, - { - "method": "POST", - "url": "/api/objs/PayServiceConfig" - } - ], - "parentCode": "PaymentAccount" - } - ] - } - ] - }, - { - "code": "GeomagneticGuard", - "icon": "dicizhishou", - "sort": 7, - "label": "地磁值守", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/GeoConservation" - }, - { - "method": "GET", - "url": "/api/objs/GeoConservationParkList" - }, - { - "method": "GET", - "url": "/api/objs/GeoConservationConfig/List" - }, - { - "method": "GET", - "url": "/api/objs/GeoConservationConfig/List" - }, - { - "method": "POST", - "url": "/api/objs/GeoConservationConfig/update" - } - ], - "parentCode": "parkingManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "GeomagneticExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "GeomagneticGuard" - }, - { - "sort": 1, - "type": "op", - "code": "paramsConfig", - "name": "", - "label": "参数配置", - "backApi": [], - "parentCode": "GeomagneticGuard" - }, - { - "code": "GeomagneticGuardDetail", - "icon": " ", - "sort": 2, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/GeoConservation/detail" - } - ], - "parentCode": "GeomagneticGuard" - } - ] - } - ] - }, - { - "code": "financialManage", - "icon": "caiwuguanli", - "sort": 2, - "label": "财务管理", - "type": "menus", - "backApi": [], - "parentCode": "", - "menus": [ - { - "code": "ParkingLog", - "icon": "dingdanjilu", - "sort": 0, - "label": "订单记录", - "type": "menus", - "backApi": [], - "parentCode": "financialManage", - "menus": [ - { - "code": "OrderList", - "icon": "parkingCarPark", - "sort": 0, - "label": "预约订单", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveOrder" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - }, - { - "method": "GET", - "url": "/api/objs/FieldLibraryReserve" - }, - { - "method": "GET", - "url": "/api/objs/FieldLibraryReserve/appealAmount" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - }, - { - "method": "POST", - "url": "/api/objs/ReserveApproval" - } - ], - "parentCode": "ParkingLog", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "OrderListLibraryAppeal", - "name": "", - "label": "申诉", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveApproval" - } - ], - "parentCode": "OrderList" - }, - { - "code": "OrderListDetail", - "icon": "parkingCarPark", - "sort": 1, - "label": "车位预约订单查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveOrder/detail" - } - ], - "parentCode": "OrderList" - }, - { - "code": "OrderListLibraryDetail", - "icon": "parkingCarPark", - "sort": 2, - "label": "场库预约订单查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/FieldLibraryReserve/detail" - } - ], - "parentCode": "OrderList" - } - ] - }, - { - "code": "ParkingOrder", - "icon": "parkingCarPark", - "sort": 1, - "label": "停车订单", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "ParkingLog", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ParkLockDelete", - "name": "", - "label": "作废", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/parkOrderRecord/scrapOrder" - } - ], - "parentCode": "ParkingOrder" - }, - { - "code": "ParkLockEdit", - "icon": "parkingCarPark", - "sort": 1, - "label": "申诉", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/parkOrderRecord/scrapDetail" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval" - } - ], - "parentCode": "ParkingOrder" - }, - { - "code": "ParkLockDetail", - "icon": "parkingCarPark", - "sort": 2, - "label": "详情", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/parkOrderRecord/scrapDetail" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval" - }, - { - "method": "POST", - "url": "/api/objs/CameraDevice/BatchConfig" - } - ], - "parentCode": "ParkingOrder" - } - ] - }, - { - "code": "PassingRecord", - "icon": " ", - "sort": 2, - "label": "过车记录", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "ParkingLog", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "accessRecordSelfEx", - "name": "", - "label": "批量导出", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/accessRecord/exportAllParkAccessRecordData" - } - ], - "parentCode": "PassingRecord" - } - ] - }, - { - "code": "ShoppingMallPointOrders", - "icon": " ", - "sort": 3, - "label": "商场积分订单", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/point_shop_exchange_order" - } - ], - "parentCode": "ParkingLog", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ShoppingMallPointOrdersExports", - "name": "", - "label": "批量导出", - "parentCode": "ShoppingMallPointOrders" - } - ] - }, - { - "code": "ChargingRecord", - "icon": "parkingManage", - "sort": 4, - "label": "充电优惠记录", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/admin/thirdCouponRuleWash/receiveLogPageList" - } - ], - "parentCode": "ParkingLog", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ChargingRecordExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "ChargingRecord" - } - ] - } - ] - }, - { - "code": "BillRecords", - "icon": "zhangdanjilu", - "sort": 1, - "label": "账单记录", - "type": "menus", - "backApi": [], - "parentCode": "financialManage", - "menus": [ - { - "code": "BillFlow", - "icon": " ", - "sort": 0, - "label": "账单流水", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "BillRecords", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "BillFlowExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "BillFlow" - }, - { - "code": "BillFlowDetail", - "icon": " ", - "sort": 1, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "BillFlow" - } - ] - }, - { - "code": "ChargeBill", - "icon": " ", - "sort": 1, - "label": "收费账单", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "BillRecords", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ChargeBillEx", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "ChargeBill" - }, - { - "code": "ChargeBillDetail", - "icon": " ", - "sort": 1, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "ChargeBill" - } - ] - }, - { - "code": "PaymentBill", - "icon": " ", - "sort": 2, - "label": "补缴账单", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "BillRecords", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "PaymentBillExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "PaymentBill" - }, - { - "code": "PaymentBillDetail", - "icon": " ", - "sort": 1, - "label": "账单详情", - "type": "op", - "backApi": [], - "parentCode": "PaymentBill" - } - ] - }, - { - "code": "MonthlyBill", - "icon": " ", - "sort": 3, - "label": "包月账单", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "BillRecords", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "MonthlyBillExit", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "MonthlyBill" - } - ] - }, - { - "code": "ParkingRefund", - "icon": "parkingCarPark", - "sort": 4, - "label": "退款记录", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "BillRecords", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ParkingRefundExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "ParkingRefund" - }, - { - "code": "RefundRecordDetail", - "icon": " ", - "sort": 1, - "label": "包月退款详情", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/RefundMouthRecord/detail" - } - ], - "parentCode": "ParkingRefund" - }, - { - "code": "RefundRecordDetailCar", - "icon": " ", - "sort": 2, - "label": "停车退款详情", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/RefundRecord/detail" - } - ], - "parentCode": "ParkingRefund" - }, - { - "code": "AppointDetail", - "icon": " ", - "sort": 3, - "label": "预约退款详情", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/RefundReserveRecord/detail" - } - ], - "parentCode": "ParkingRefund" - } - ] - }, - { - "code": "AppointmentBill", - "icon": "parkingManage", - "sort": 5, - "label": "预约账单", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveBill/pageList" - } - ], - "parentCode": "BillRecords", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "AppointmentBillExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "AppointmentBill" - } - ] - } - ] - }, - { - "code": "ArrearsManage", - "icon": "qianfeiguanli", - "sort": 2, - "label": "欠费管理", - "type": "menus", - "backApi": [], - "parentCode": "financialManage", - "menus": [ - { - "code": "ArrearageRecords", - "icon": " ", - "sort": 0, - "label": "欠费记录", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "ArrearsManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ArrearageRecordsInvalid", - "name": "", - "label": "作废", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ArrearsOrder/scrap" - } - ], - "parentCode": "ArrearageRecords" - }, - { - "sort": 1, - "type": "op", - "code": "ArrearageRecordsExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "ArrearageRecords" - }, - { - "code": "ArrearageRecordsDetail", - "icon": " ", - "sort": 2, - "label": "详情", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/admin/ArrearsRecord/detail" - } - ], - "parentCode": "ArrearageRecords" - } - ] - } - ] - }, - { - "code": "finsReport", - "icon": "caiwubaobiao", - "sort": 3, - "label": "财务报表", - "type": "menus", - "backApi": [], - "parentCode": "financialManage", - "menus": [ - { - "code": "InStatistics", - "icon": " ", - "sort": 0, - "label": "收入统计", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "finsReport", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "InStatisticsExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "InStatistics" - } - ] - }, - { - "code": "PayMethodStatistics", - "icon": " ", - "sort": 1, - "label": "支付方式统计", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "finsReport", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "PayMethodStatisticsEx", - "name": "", - "label": "批量导出", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/StatisticsPayWayExport" - } - ], - "parentCode": "PayMethodStatistics" - } - ] - }, - { - "code": "ParkingPaymentAnalysis", - "icon": " ", - "sort": 2, - "label": "临停缴费分析", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/admin/statisticsPayment/queryStatisticsPaymentList" - }, - { - "method": "GET", - "url": "/api/objs/admin/wuCarPlace/queryAllParkList" - } - ], - "parentCode": "finsReport", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ParkingPaymentAnalysisExp", - "name": "", - "label": "批量导出", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/statisticsPayment/exportStatisticsPaymentList" - } - ], - "parentCode": "ParkingPaymentAnalysis" - } - ] - } - ] - }, - { - "code": "distributionSettlement", - "icon": "duizhangguanli", - "sort": 4, - "label": "对账管理", - "type": "menus", - "backApi": [], - "parentCode": "financialManage", - "menus": [ - { - "code": "BusinessCheck", - "icon": " ", - "sort": 0, - "label": "停车业务对账", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/Reconciliation" - }, - { - "method": "GET", - "url": "/api/objs/Reconciliation/balance" - }, - { - "method": "GET", - "url": "/api/objs/Reconciliation/variance" - } - ], - "parentCode": "distributionSettlement", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "BusinessCheckExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "BusinessCheck" - }, - { - "code": "BusinessCheckDetail", - "icon": " ", - "sort": 1, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/Reconciliation/detail" - } - ], - "parentCode": "BusinessCheck" - } - ] - }, - { - "code": "ChargeCheck", - "icon": " ", - "sort": 1, - "label": "充电业务对账", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/Reconciliation" - }, - { - "method": "GET", - "url": "/api/objs/Reconciliation/balance" - }, - { - "method": "GET", - "url": "/api/objs/Reconciliation/variance" - } - ], - "parentCode": "distributionSettlement", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "ChargetotalConfigExports", - "name": "", - "label": "明细汇总批量导出", - "backApi": [], - "parentCode": "ChargeCheck" - }, - { - "sort": 1, - "type": "op", - "code": "ChargebalanceConfigExports", - "name": "", - "label": "帐平明细批量导出", - "backApi": [], - "parentCode": "ChargeCheck" - }, - { - "sort": 2, - "type": "op", - "code": "ChargedifferencesConfigExports", - "name": "", - "label": "差异明细批量导出", - "backApi": [], - "parentCode": "ChargeCheck" - }, - { - "sort": 3, - "type": "op", - "code": "ChargetotalConfigCheck", - "name": "", - "label": "明细汇总查看", - "backApi": [], - "parentCode": "ChargeCheck" - }, - { - "code": "ChargeCheckDetail", - "icon": " ", - "sort": 4, - "label": "帐平明细查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/Reconciliation/detail" - } - ], - "parentCode": "ChargeCheck" - }, - { - "code": "ChargeDifCheckDetail", - "icon": " ", - "sort": 5, - "label": "帐平差异查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/Reconciliation/detail" - } - ], - "parentCode": "ChargeCheck" - } - ] - } - ] - }, - { - "code": "InvoicesManage", - "icon": "fapiaoguanli", - "sort": 5, - "label": "发票管理", - "type": "menus", - "backApi": [], - "parentCode": "financialManage", - "menus": [ - { - "code": "InvoiceSubject", - "icon": " ", - "sort": 0, - "label": "发票主体", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/InvoiceSubject" - }, - { - "method": "POST", - "url": "/api/objs/InvoiceSubject/delete" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/querySubjectServerList" - } - ], - "parentCode": "InvoicesManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "InvoiceSubjectCheck", - "name": "", - "label": "开票审核", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/approvalConfig/queryApprovalConfig" - }, - { - "method": "POST", - "url": "/api/objs/approvalConfig/invoiceApprovalConfig" - } - ], - "parentCode": "InvoiceSubject" - }, - { - "code": "InvoiceSubjectDetail", - "icon": " ", - "sort": 1, - "label": "详情", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/detail" - } - ], - "parentCode": "InvoiceSubject" - }, - { - "code": "InvoiceSubjectAdd", - "icon": " ", - "sort": 2, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/InvoiceSubject" - }, - { - "method": "GET", - "url": "/api/objs/wuCarPlace/queryInvoicingParkList" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/queryBillTypeList" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/querySubjectServerList" - } - ], - "parentCode": "InvoiceSubject" - }, - { - "code": "InvoiceSubjectEdit", - "icon": " ", - "sort": 3, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/InvoiceSubject/update" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/detail" - }, - { - "method": "GET", - "url": "/api/objs/wuCarPlace/queryInvoicingParkList" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/queryBillTypeList" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/querySubjectServerList" - } - ], - "parentCode": "InvoiceSubject" - }, - { - "code": "InvoiceSubjectRelatePark", - "icon": " ", - "sort": 4, - "label": "关联停车场", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/InvoiceSubject/bindDataList" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/queryBindDataList" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryInvoiceParkList" - } - ], - "parentCode": "InvoiceSubject" - }, - { - "code": "InvoiceSubjectRelateCharge", - "icon": " ", - "sort": 5, - "label": "关联充电站点", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/InvoiceSubject/bindDataList" - }, - { - "method": "GET", - "url": "/api/objs/InvoiceSubject/queryBindDataList" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryInvoiceChgNodeList" - } - ], - "parentCode": "InvoiceSubject" - } - ] - }, - { - "code": "FinancialInvoicing", - "icon": " ", - "sort": 1, - "label": "财务开票", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "InvoicesManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "parkingInvoicing", - "name": "", - "label": "停车批量开票", - "backApi": [], - "parentCode": "FinancialInvoicing" - }, - { - "sort": 1, - "type": "op", - "code": "monthInvoicing", - "name": "", - "label": "包月批量开票", - "backApi": [], - "parentCode": "FinancialInvoicing" - }, - { - "sort": 2, - "type": "op", - "code": "chargeInvoicing", - "name": "", - "label": "充电批量开票", - "backApi": [], - "parentCode": "FinancialInvoicing" - }, - { - "code": "parkInvoicingEdit", - "icon": " ", - "sort": 3, - "label": "停车开票", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/Invoicing" - } - ], - "parentCode": "FinancialInvoicing" - }, - { - "code": "monthInvoicingEdit", - "icon": " ", - "sort": 4, - "label": "包月开票", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/Invoicing" - } - ], - "parentCode": "FinancialInvoicing" - }, - { - "code": "chargeInvoicingEdit", - "icon": " ", - "sort": 5, - "label": "充电开票", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/Invoicing" - } - ], - "parentCode": "FinancialInvoicing" - } - ] - }, - { - "code": "InvoiceRecords", - "icon": " ", - "sort": 2, - "label": "开票记录", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "InvoicesManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "InvoiceRecordSync", - "name": "", - "label": "同步", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/InvoiceRecord/sync" - } - ], - "parentCode": "InvoiceRecords" - }, - { - "code": "InvoiceRecordsDetail", - "icon": " ", - "sort": 1, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/InvoiceRecord/detail" - } - ], - "parentCode": "InvoiceRecords" - }, - { - "code": "InvoiceRecordsCheck", - "icon": " ", - "sort": 2, - "label": "审核", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/InvoiceRecord/detail" - }, - { - "method": "POST", - "url": "/api/objs/InvoiceRecord/approvalInvoicing" - } - ], - "parentCode": "InvoiceRecords" - } - ] - } - ] - }, - { - "code": "AllotProfitsManage", - "icon": "fenrunjiesuan", - "sort": 6, - "label": "分润结算", - "type": "menus", - "backApi": [], - "parentCode": "financialManage", - "menus": [ - { - "code": "AllotProfitsRules", - "icon": " ", - "sort": 0, - "label": "分润结算规则", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "AllotProfitsManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "AllotProfitsRulesPark", - "name": "", - "label": "关联停车场", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/profit-rule/relationPark" - } - ], - "parentCode": "AllotProfitsRules" - }, - { - "code": "AllotProfitsRulesDetail", - "icon": " ", - "sort": 1, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "AllotProfitsRules" - }, - { - "code": "AllotProfitsRulesAdd", - "icon": " ", - "sort": 2, - "label": "新增", - "type": "op", - "backApi": [], - "parentCode": "AllotProfitsRules" - }, - { - "code": "AllotProfitsRulesEdit", - "icon": " ", - "sort": 3, - "label": "编辑", - "type": "op", - "backApi": [], - "parentCode": "AllotProfitsRules" - } - ] - }, - { - "code": "AllotProfitsDocument", - "icon": " ", - "sort": 1, - "label": "分润单-租户", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "AllotProfitsManage", - "menus": [ - { - "code": "AllotProfitsDocumentDetail", - "icon": " ", - "sort": 0, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "AllotProfitsDocument" - } - ] - }, - { - "code": "AllotProfitsDocumentUse", - "icon": " ", - "sort": 2, - "label": "分润单-用户", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "AllotProfitsManage", - "menus": [ - { - "code": "AllotProfitsDocumentUseDetail", - "icon": " ", - "sort": 0, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "AllotProfitsDocumentUse" - } - ] - } - ] - }, - { - "code": "OrderVerificationIndex", - "icon": "dingdanhexiao", - "sort": 7, - "label": "订单核销", - "type": "menus", - "backApi": [], - "parentCode": "financialManage" - } - ] - }, - { - "code": "marketingManage", - "icon": "shichangyingxiao", - "sort": 3, - "label": "市场营销", + "code": "EquipmentManage", + "icon": "dicizhishou", + "sort": 0, + "label": "设备管理", "type": "menus", "backApi": [], "parentCode": "", "menus": [ { - "code": "BusinessCouponManage", - "icon": "shangjiaquanguanli", + "code": "Ledger", + "icon": "dicizhishou", "sort": 0, - "label": "商家券管理", - "type": "menus", - "backApi": [], - "parentCode": "marketingManage", - "menus": [ - { - "code": "CouponManage", - "icon": "parkingCarPark", - "sort": 0, - "label": "商家券管理", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/couponInfo/pageList" - } - ], - "parentCode": "BusinessCouponManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "CouponIssuanceRemove", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/couponInfo/delete" - } - ], - "parentCode": "CouponManage" - }, - { - "sort": 1, - "type": "op", - "code": "CouponIssuanceDetailCheck", - "name": "", - "label": "审核", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/couponInfo/approvalCouponInfo" - } - ], - "parentCode": "CouponManage" - }, - { - "sort": 2, - "type": "op", - "code": "CouponIssuanceInvalidation", - "name": "", - "label": "失效", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/couponInfo/invalid" - } - ], - "parentCode": "CouponManage" - }, - { - "code": "CouponManageAdd", - "icon": "parkingCarPark", - "sort": 3, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/couponInfo/add" - } - ], - "parentCode": "CouponManage" - }, - { - "code": "CouponManageEdit", - "icon": "parkingCarPark", - "sort": 4, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/couponInfo/update" - }, - { - "method": "GET", - "url": "/api/objs/couponInfo/detail" - } - ], - "parentCode": "CouponManage" - }, - { - "code": "CouponManageCopyCoupon", - "icon": "parkingCarPark", - "sort": 5, - "label": "复制", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/couponInfo/add" - }, - { - "method": "GET", - "url": "/api/objs/couponInfo/detail" - } - ], - "parentCode": "CouponManage" - }, - { - "code": "CouponManageDetail", - "icon": "parkingCarPark", - "sort": 6, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/couponInfo/update" - }, - { - "method": "GET", - "url": "/api/objs/couponInfo/detail" - } - ], - "parentCode": "CouponManage" - } - ] - }, - { - "code": "CouponIssuance", - "icon": "parkingCarPark", - "sort": 1, - "label": "优惠券发行", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponDistribute/pageList" - }, - { - "method": "GET", - "url": "/api/objs/person/pageList" - } - ], - "parentCode": "BusinessCouponManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "CouponIssuanceDelete", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/orgCouponDistribute/delete" - } - ], - "parentCode": "CouponIssuance" - }, - { - "sort": 1, - "type": "op", - "code": "CouponIssuanceSubmit", - "name": "", - "label": "提交", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/orgCouponDistribute/onLine" - } - ], - "parentCode": "CouponIssuance" - }, - { - "sort": 2, - "type": "op", - "code": "CouponIssuanceStop", - "name": "", - "label": "终止发行", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/orgCouponDistribute/invalid" - } - ], - "parentCode": "CouponIssuance" - }, - { - "code": "CouponIssuanceAdd", - "icon": "parkingCarPark", - "sort": 3, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponDistribute/detail" - }, - { - "method": "POST", - "url": "/api/objs/orgCouponDistribute/update" - }, - { - "method": "POST", - "url": "/api/objs/orgCouponDistribute/add" - }, - { - "method": "GET", - "url": "/api/objs/couponInfo/pageList" - }, - { - "method": "GET", - "url": "/api/objs/person/pageList" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - } - ], - "parentCode": "CouponIssuance" - }, - { - "code": "CouponIssuanceEdit", - "icon": "parkingCarPark", - "sort": 4, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponDistribute/detail" - }, - { - "method": "POST", - "url": "/api/objs/orgCouponDistribute/update" - }, - { - "method": "POST", - "url": "/api/objs/orgCouponDistribute/add" - }, - { - "method": "GET", - "url": "/api/objs/couponInfo/pageList" - }, - { - "method": "GET", - "url": "/api/objs/person/pageList" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/queryOwnerParkList" - } - ], - "parentCode": "CouponIssuance" - }, - { - "code": "CouponIssuanceDetail", - "icon": "parkingCarPark", - "sort": 5, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs//orgCouponDistribute/detail" - } - ], - "parentCode": "CouponIssuance" - } - ] - }, - { - "code": "CouponGifts", - "icon": "parkingCarPark", - "sort": 2, - "label": "优惠券赠送", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponGive/pageList" - } - ], - "parentCode": "BusinessCouponManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "CouponGiftsSend", - "name": "", - "label": "单次赠送", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/orgCouponGive/giveToUsere" - } - ], - "parentCode": "CouponGifts" - }, - { - "sort": 1, - "type": "op", - "code": "CouponGiftsSendRecord", - "name": "", - "label": "赠券记录", - "backApi": [], - "parentCode": "CouponGifts" - }, - { - "sort": 2, - "type": "op", - "code": "CouponGiftsSendBatch", - "name": "", - "label": "批量赠送", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/orgCouponGive/checkPhoneList" - }, - { - "method": "POST", - "url": "/api/objs/orgCouponGive/giveToMultiUser" - } - ], - "parentCode": "CouponGifts" - }, - { - "code": "CouponGiftsDetail", - "icon": " ", - "sort": 3, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponGive/detail" - } - ], - "parentCode": "CouponGifts" - } - ] - }, - { - "code": "CouopnRecord", - "icon": "parkingCarPark", - "sort": 3, - "label": "赠券记录", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponGiveLog/pageList" - } - ], - "parentCode": "BusinessCouponManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "CouponFinsh", - "name": "", - "label": "作废", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/orgCouponGiveLog/cancel" - } - ], - "parentCode": "CouopnRecord" - }, - { - "sort": 1, - "type": "op", - "code": "CouopnRecordExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "CouopnRecord" - } - ] - }, - { - "code": "VoucherPurchaseRecord", - "icon": "parkingCarPark", - "sort": 4, - "label": "购券记录", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponOrder/pageList" - } - ], - "parentCode": "BusinessCouponManage", - "menus": [ - { - "code": "VoucherPurchaseRecordDetail", - "icon": " ", - "sort": 0, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponOrder/detail" - } - ], - "parentCode": "VoucherPurchaseRecord" - } - ] - }, - { - "code": "DistributionStatistics", - "icon": "parkingCarPark", - "sort": 5, - "label": "发券统计", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/orgCouponOrder/pageList" - } - ], - "parentCode": "BusinessCouponManage", - "menus": [] - } - ] - }, - { - "code": "StoreManage", - "icon": "chehoumendian", - "sort": 1, - "label": "车后门店", + "label": "设备台账", "type": "noChildrenMenu", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/merchant/import" - }, - { - "method": "POST", - "url": "/api/objs/merchant/delete" - }, - { - "method": "POST", - "url": "/api/objs/merchant/online" - }, - { - "method": "POST", - "url": "/api/objs/merchant/downline" - }, - { - "method": "GET", - "url": "/api/objs/merchant" - }, - { - "method": "GET", - "url": "/api/objs/BaseArea" - }, - { - "method": "GET", - "url": "/api/objs/admin/tenant/operator/queryTenantList" - } - ], - "parentCode": "marketingManage", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "CarWashStoreImport", - "name": "", - "label": "批量导入", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/merchant/import" - } - ], - "parentCode": "StoreManage" - }, - { - "sort": 1, - "type": "op", - "code": "CarWashStoreOnline", - "name": "", - "label": "上线", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/merchant/online" - } - ], - "parentCode": "StoreManage" - }, - { - "sort": 2, - "type": "op", - "code": "CarWashStoreDownline", - "name": "", - "label": "下线", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/merchant/downline" - } - ], - "parentCode": "StoreManage" - }, - { - "code": "CarWashStoreAdd", - "icon": " ", - "sort": 3, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/merchant" - }, - { - "method": "POST", - "url": "/api/objs/admin/MaterialFile" - }, - { - "method": "GET", - "url": "/api/objs/merchant/detail" - }, - { - "method": "GET", - "url": "/api/objs/admin/tenant/operator/queryTenantList" - }, - { - "method": "GET", - "url": "/api/objs/admin/BaseArea" - } - ], - "parentCode": "StoreManage" - }, - { - "code": "CarWashStoreEdit", - "icon": " ", - "sort": 4, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/merchant/update" - }, - { - "method": "POST", - "url": "/api/objs/admin/MaterialFile" - }, - { - "method": "GET", - "url": "/api/objs/merchant/detail" - }, - { - "method": "GET", - "url": "/api/objs/admin/tenant/operator/queryTenantList" - }, - { - "method": "GET", - "url": "/api/objs/admin/BaseArea" - } - ], - "parentCode": "StoreManage" - }, - { - "code": "CarWashStoreDetil", - "icon": " ", - "sort": 5, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/merchant/detail" - }, - { - "method": "GET", - "url": "/api/objs/ParkPic" - } - ], - "parentCode": "StoreManage" - } - ] - } - ] - }, - { - "code": "operationManage", - "icon": "yunyingguanli", - "sort": 4, - "label": "运营管理", - "type": "menus", - "backApi": [], - "parentCode": "", - "menus": [ + "backApi": [], + "parentCode": "EquipmentManage", + "menus": [] + }, { - "code": "DrivingTest", - "icon": "jiakaoyuyue", - "sort": 0, - "label": "驾考预约", - "type": "menus", + "code": "Group", + "icon": "dicizhishou", + "sort": 1, + "label": "分组管理", + "type": "noChildrenMenu", "backApi": [], - "parentCode": "operationManage", - "menus": [ - { - "code": "DrivingTestRule", - "icon": "parkingCarPark", - "sort": 0, - "label": "驾考预约规则", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/jkReserveRule/buildTimeList" - }, - { - "method": "GET", - "url": "/api/objs/jkReserveRule/queryReserveRule" - }, - { - "method": "POST", - "url": "/api/objs/jkReserveRule/configReserveRule" - }, - { - "method": "GET", - "url": "/api/objs/jkReserveRule/queryDataTimeList" - } - ], - "parentCode": "DrivingTest", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "DrivingTestRuleHandle", - "name": "", - "label": "配置保存", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/jkReserveRule/updateDataTimeList" - } - ], - "parentCode": "DrivingTestRule" - } - ] - }, - { - "code": "DrivingTestOrder", - "icon": "parkingCarPark", - "sort": 1, - "label": "驾考预约订单", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/DrivingTestReserveManager" - } - ], - "parentCode": "DrivingTest", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "DrivingTestOrderExports", - "name": "", - "label": "批量导出", - "backApi": [], - "parentCode": "DrivingTestOrder" - }, - { - "sort": 1, - "type": "op", - "code": "DrivingTestOrderEnter", - "name": "", - "label": "入场", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/DrivingTestReserveManager/opera" - } - ], - "parentCode": "DrivingTestOrder" - }, - { - "sort": 2, - "type": "op", - "code": "DrivingTestOrderCancel", - "name": "", - "label": "取消预约", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/DrivingTestReserveManager/opera" - } - ], - "parentCode": "DrivingTestOrder" - }, - { - "sort": 3, - "type": "op", - "code": "DrivingTestOrderCheck", - "name": "", - "label": "违约确认", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/DrivingTestReserveManager/opera" - } - ], - "parentCode": "DrivingTestOrder" - }, - { - "sort": 4, - "type": "op", - "code": "staticDataExport", - "name": "", - "label": "驾考预约统计导出", - "backApi": [], - "parentCode": "DrivingTestOrder" - }, - { - "code": "DrivingTestOrderDetail", - "icon": " ", - "sort": 5, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/DrivingTestReserveManager/detail" - } - ], - "parentCode": "DrivingTestOrder" - } - ] - }, - { - "code": "DrivingTestFilings", - "icon": "parkingCarPark", - "sort": 2, - "label": "驾考预约备案", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/filings/pageList" - } - ], - "parentCode": "DrivingTest", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "DrivingTestFilingsImport", - "name": "", - "label": "批量导入", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/personInfo/baseInfoImport" - } - ], - "parentCode": "DrivingTestFilings" - }, - { - "sort": 1, - "type": "op", - "code": "DrivingTestFilingsDel", - "name": "", - "label": "批量删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/filings/delete" - } - ], - "parentCode": "DrivingTestFilings" - }, - { - "sort": 2, - "type": "op", - "code": "DrivingTestFilingsDelete", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/filings/delete" - } - ], - "parentCode": "DrivingTestFilings" - }, - { - "code": "DrivingTestFilingsAdd", - "icon": " ", - "sort": 3, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/filings/detail" - }, - { - "method": "POST", - "url": "/api/objs/filings/add" - }, - { - "method": "POST", - "url": "/api/objs/filings/update" - }, - { - "method": "GET", - "url": "/api/objs/MaterialFile" - } - ], - "parentCode": "DrivingTestFilings" - }, - { - "code": "DrivingTestFilingsEdit", - "icon": " ", - "sort": 4, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/filings/detail" - }, - { - "method": "POST", - "url": "/api/objs/filings/add" - }, - { - "method": "POST", - "url": "/api/objs/filings/update" - }, - { - "method": "GET", - "url": "/api/objs/MaterialFile" - } - ], - "parentCode": "DrivingTestFilings" - } - ] - }, - { - "code": "DrivingTestLimit", - "icon": "parkingCarPark", - "sort": 3, - "label": "驾考预约限制", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "DrivingTest", - "menus": [] - }, - { - "code": "DrivingBlackList", - "icon": "parkingCarPark", - "sort": 4, - "label": "驾考预约黑名单", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/ReserveBlackList/pageList" - }, - { - "method": "POST", - "url": "/api/objs/appointmentRule/delete" - } - ], - "parentCode": "DrivingTest", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "DrivingdeleteLimit", - "name": "", - "label": "解除限制", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveBlackList/invalid" - } - ], - "parentCode": "DrivingBlackList" - }, - { - "code": "DrivingBlackListDetail", - "icon": " ", - "sort": 1, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ReserveBlackList/detail" - } - ], - "parentCode": "DrivingBlackList" - } - ] - } - ] + "parentCode": "EquipmentManage", + "menus": [] + }, + { + "code": "EnergyMapping", + "icon": "dicizhishou", + "sort": 2, + "label": "能耗映射", + "type": "noChildrenMenu", + "backApi": [], + "parentCode": "EquipmentManage", + "menus": [] } ] }, { - "code": "cusService", - "icon": "kefubangzhu", - "sort": 5, - "label": "客服帮助", + "code": "organizationManage", + "icon": "dicizhishou", + "sort": 1, + "label": "组织管理", "type": "menus", "backApi": [], "parentCode": "", "menus": [ { - "code": "FeedBack", - "icon": "jianyifankui", + "code": "EnterpriseManage", + "icon": "dicizhishou", "sort": 0, - "label": "建议反馈", - "type": "noChildrenMenu", + "label": "企业管理", + "type": "menus", "backApi": [ { "method": "GET", "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "cusService", + "parentCode": "organizationManage", "menus": [ { - "code": "FeedBackDetail", + "code": "enterpriseManageIndex", "icon": " ", "sort": 0, - "label": "查看", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/FeedbackWeb/feedBackDetail" - }, - { - "method": "POST", - "url": "/api/objs/FeedbackWeb/replyFeedBack" - } - ], - "parentCode": "FeedBack" - }, - { - "code": "FeedBackEdit", - "icon": " ", - "sort": 1, - "label": "回复", - "type": "op", + "label": "企业管理", + "type": "menus", "backApi": [ { "method": "GET", - "url": "/api/objs/FeedbackWeb/feedBackDetail" - }, - { - "method": "POST", - "url": "/api/objs/FeedbackWeb/replyFeedBack" + "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "FeedBack" + "parentCode": "EnterpriseManage", + "extend": { + "keepAlive": true + } } ] }, { - "code": "BillAppeal", - "icon": "zhangdanshensu", + "code": "UserManage", + "icon": "dicizhishou", "sort": 1, - "label": "账单申诉", - "type": "noChildrenMenu", + "label": "用户管理", + "type": "menus", "backApi": [ { "method": "GET", - "url": "/api/objs/PaymentApprovalTenant" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/refundFinish" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/resubmit" + "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "cusService", + "parentCode": "organizationManage", "menus": [ { - "sort": 0, - "type": "op", - "code": "billAppealResubmit", - "name": "", - "label": "重新退款", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/PaymentApproval/resubmit" - } - ], - "parentCode": "BillAppeal" - }, - { - "code": "BillAppealDetailComplete", - "icon": " ", - "sort": 1, - "label": "查看完成账单", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PaymentApproval/detail" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/approved" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/reviewRejected" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/refundFinish" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/resubmit" - } - ], - "parentCode": "BillAppeal" - }, - { - "code": "BillAppealDetailIncomplete", - "icon": " ", - "sort": 2, - "label": "查看未完成账单", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PaymentApproval/detail" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/approved" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/reviewRejected" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/refundFinish" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/resubmit" - } - ], - "parentCode": "BillAppeal" - }, - { - "code": "billAppealActionComplete", - "icon": " ", - "sort": 3, - "label": "处理完成", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PaymentApproval/detail" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/approved" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/reviewRejected" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/refundFinish" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/resubmit" - } - ], - "parentCode": "BillAppeal" - }, - { - "code": "billAppealActionIncomplete", - "icon": " ", - "sort": 4, - "label": "处理未完成", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/PaymentApproval/detail" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/approved" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/reviewRejected" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/refundFinish" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/resubmit" - } - ], - "parentCode": "BillAppeal" - }, - { - "code": "billAppealRefuComplete", + "code": "userManageIndex", "icon": " ", - "sort": 5, - "label": "退款完成", - "type": "op", + "sort": 0, + "label": "用户管理", + "type": "menus", "backApi": [ { "method": "GET", - "url": "/api/objs/PaymentApproval/detail" - }, - { - "method": "POST", - "url": "/api/objs/PaymentApproval/refundFinish" + "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "BillAppeal" + "parentCode": "UserManage", + "extend": { + "keepAlive": true + } } ] }, { - "code": "NoticeManage", - "icon": "gonggaoxiaoxi", + "code": "AuthorityManage", + "icon": "dicizhishou", "sort": 2, - "label": "公告消息", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "cusService", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "NoticeManageReaded", - "name": "", - "label": "标记已读", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/bulletin/addTenantLog" - } - ], - "parentCode": "NoticeManage" - }, - { - "code": "NoticeManageDetail", - "icon": " ", - "sort": 1, - "label": "查看", - "type": "op", - "backApi": [], - "parentCode": "NoticeManage" - } - ] - }, - { - "code": "DrivingTestOrderAuthentication", - "icon": "jiakaoyuyuerenzheng", - "sort": 3, - "label": "驾考预约认证", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/driving/appointment/pageList" - } - ], - "parentCode": "cusService", - "menus": [ - { - "sort": 0, - "type": "op", - "code": "DrivingTestOrderAuthenticationProcess", - "name": "", - "label": "审核", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/driving/appointment/appoint" - } - ], - "parentCode": "DrivingTestOrderAuthentication" - } - ] - }, - { - "code": "RepeatpayReview", - "icon": "jiakaoyuyuerenzheng", - "sort": 4, - "label": "重复缴费审核", - "type": "noChildrenMenu", + "label": "部门/权限", + "type": "menus", "backApi": [ { "method": "GET", - "url": "/api/objs/ParkAutoRefundRecord" + "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "cusService", + "parentCode": "organizationManage", "menus": [ { - "sort": 0, - "type": "op", - "code": "RepeatpayReviewCheck", - "name": "", - "label": "审核", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ParkAutoRefundRecord/cancel" - } - ], - "parentCode": "RepeatpayReview" - }, - { - "sort": 1, - "type": "op", - "code": "RepeatpayReviewReload", - "name": "", - "label": "重试", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ParkAutoRefundRecord/cancel" - } - ], - "parentCode": "RepeatpayReview" - }, - { - "code": "RepeatpayReviewDetail", + "code": "authorityManageIndex", "icon": " ", - "sort": 2, - "label": "查看", - "type": "op", + "sort": 0, + "label": "部门/权限", + "type": "menus", "backApi": [ { "method": "GET", - "url": "/api/objs/ParkAutoRefundRecord/detail" + "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "RepeatpayReview" + "parentCode": "AuthorityManage", + "extend": { + "keepAlive": true + } } ] } ] }, { - "code": "UserManage", - "icon": "yonghuguanli", - "sort": 6, - "label": "用户管理", + "code": "home", + "icon": "dicizhishou", + "sort": 2, + "label": "首页", "type": "menus", "backApi": [], "parentCode": "", "menus": [ { - "code": "menuManage", - "icon": "lanmuguanli", + "code": "HomeModule", + "icon": "dicizhishou", "sort": 0, - "label": "栏目管理", - "type": "noChildrenMenu", - "backApi": [], - "parentCode": "UserManage", - "menus": [] - }, - { - "code": "RoleType", - "icon": "jueseguanli", - "sort": 1, - "label": "角色管理", - "type": "noChildrenMenu", + "label": "首页", + "type": "menus", "backApi": [ { "method": "GET", - "url": "/api/objs/Role" + "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "UserManage", + "parentCode": "home", "menus": [ { - "sort": 0, - "type": "op", - "code": "RoleTypeRemove", - "name": "", - "label": "删除", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/ArrearsOrder/scrap" - } - ], - "parentCode": "RoleType" - }, - { - "code": "RoleTypeAdd", - "icon": " ", - "sort": 1, - "label": "新增", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/Role" - } - ], - "parentCode": "RoleType" - }, - { - "code": "RoleTypeEdit", - "icon": " ", - "sort": 2, - "label": "编辑", - "type": "op", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/Role/update" - }, - { - "method": "GET", - "url": "/api/objs/Role/detail" - } - ], - "parentCode": "RoleType" - }, - { - "code": "SetRolePerson", + "code": "homeIndex", "icon": " ", - "sort": 3, - "label": "人员设置", - "type": "op", - "backApi": [ - { - "method": "GET", - "url": "/api/objs/Role/Account" - } - ], - "parentCode": "RoleType" - } - ] - }, - { - "code": "User", - "icon": "yuangongguanli", - "sort": 2, - "label": "员工管理", - "type": "noChildrenMenu", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/AccountDataPermissions/bind" - }, - { - "method": "GET", - "url": "/api/objs/libCarPlace/pageListV2" - }, - { - "method": "GET", - "url": "/api/objs/wuRoadCarPlace/pageListV2" - }, - { - "method": "GET", - "url": "/api/objs/chgNode/queryChgNodeListNoDataScore" - } - ], - "parentCode": "UserManage", - "menus": [ - { "sort": 0, - "type": "op", - "code": "UserReset", - "name": "", - "label": "重置密码", - "backApi": [ - { - "method": "POST", - "url": "/api/objs/person/reset" - } - ], - "parentCode": "User" - }, - { - "sort": 1, - "type": "op", - "code": "UserRemove", - "name": "", - "label": "删除", + "label": "首页", + "type": "menus", "backApi": [ { - "method": "POST", - "url": "/api/objs/ArrearsOrder/scrap" + "method": "GET", + "url": "/api/objs/FeedbackWeb/feedBackList" } ], - "parentCode": "User" - }, - { - "sort": 2, - "type": "op", - "code": "UserBindParking", - "name": "", - "label": "关联停车场", - "backApi": [], - "parentCode": "User" - }, - { - "sort": 3, - "type": "op", - "code": "UserBindDot", - "name": "", - "label": "关联网点", - "backApi": [], - "parentCode": "User" - }, - { - "code": "UserAdd", - "icon": " ", - "sort": 4, - "label": "新增", - "type": "op", - "backApi": [], - "parentCode": "User" - }, - { - "code": "UserEdit", - "icon": " ", - "sort": 5, - "label": "编辑", - "type": "op", - "backApi": [], - "parentCode": "User" - }, - { - "code": "UserDetail", - "icon": " ", - "sort": 6, - "label": "详情", - "type": "op", - "backApi": [], - "parentCode": "User" + "parentCode": "HomeModule", + "extend": { + "keepAlive": true + } } ] } diff --git a/lib/saas/store/modules/route.ts b/lib/saas/store/modules/route.ts index 81d6014..2d8acee 100644 --- a/lib/saas/store/modules/route.ts +++ b/lib/saas/store/modules/route.ts @@ -1,4 +1,3 @@ - import { defineStore } from 'pinia'; import { RouteMenu } from '/nerv-base/router/helper/menu-helper'; import { ModuleMenu } from '/nerv-base/router/types'; @@ -89,7 +88,8 @@ export const useRouteStore = defineStore({ this.route.sort((a, b) => { return a.meta?.index - b.meta?.index; }); - const initPcResource = { application: {}, menus: [] }; + // const initPcResource = { application: {}, menus: [] }; + let initPcResource = []; this.routeModule.sort((a, b) => { return a.route?.meta?.index - b.route?.meta?.index; }); @@ -115,8 +115,8 @@ export const useRouteStore = defineStore({ delete item.route; }); } - initPcResource.application = appConfig.resourceInfo?.application as object; - initPcResource.menus = appConfig.resourceInfo?.dealReosurceList + // initPcResource.application = appConfig.resourceInfo?.application as object; + initPcResource = appConfig.resourceInfo?.dealReosurceList ? appConfig.resourceInfo?.dealReosurceList(info) : info; new NSAxios({