Files
SaaS-lib/nervui-smart-parking/src/router/parkingManage/index.ts

2136 lines
72 KiB
TypeScript
Raw Normal View History

2024-05-15 17:29:42 +08:00
/** @format */
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const parkingManage = {
path: '/parkingManage',
name: 'parkingManage',
meta: { title: '停车管理', icon: 'tingcheguanli', index: 0 },
redirect: '/parkingManage/parkingLotManage',
children: [
{
path: 'parkingLotManage',
name: 'parkingLotManage',
meta: { title: '车场管理', icon: 'chechangguanli' },
component: Base,
redirect: '/parkingManage/parkingLotManage/parkingStorageManage',
children: [
{
path: 'parkingStorageManage',
name: 'ParkingStorageManage',
meta: {
title: '场库停车场',
hideChildren: true,
// keepAlive: true,
icon: 'parkingCarPark',
},
component: Base,
redirect: '/parkingManage/parkingLotManage/parkingStorageManage/index',
children: [
{
path: 'index',
name: 'ParkingStorageManageIndex',
component: () =>
import('/@/view/parkingManage/parkingLotManage/parkingStorageManage/index.vue'),
meta: { title: '停车场管理', keepAlive: true },
},
// {
// path: 'edit',
// name: 'parkingStorageEdit',
// component: () =>
// import('/@/view/parkingManage/parkingLotManage/parkingStorageManage/edit.vue'),
// },
// {
// path: 'add',
// name: 'parkingStorageAdd',
// component: () =>
// import('/@/view/parkingManage/parkingLotManage/parkingStorageManage/add.vue'),
// },
{
path: 'detail',
name: 'ParkingStorageDetail',
meta: { type: 'op', title: '详情', backApi: [] },
component: () =>
import('/@/view/parkingManage/parkingLotManage/parkingStorageManage/detail.vue'),
},
// {
// path: 'timeSetting',
// name: 'parkingStorageTimeSetting',
// component: () =>
// import(
// '/@/view/parkingManage/parkingLotManage/parkingStorageManage/timeSetting.vue'
// ),
// },
],
},
{
path: 'roadStop',
name: 'RoadStop',
component: Base,
redirect: '/parkingManage/parkingLotManage/roadStop/index',
meta: { title: '道路停车点', hideChildren: true },
children: [
{
path: 'index',
name: 'RoadStopIndex',
component: () => import('/@/view/parkingManage/parkingLotManage/roadStop/index.vue'),
meta: { title: '道路停车点', keepAlive: true },
},
{
path: 'detail',
meta: { type: 'op', title: '详情', backApi: [] },
name: 'roadStopDetail',
component: () => import('/@/view/parkingManage/parkingLotManage/roadStop/detail.vue'),
},
// {
// path: 'add',
// name: 'roadStopAdd',
// component: () => import('/@/view/parkingManage/parkingLotManage/roadStop/add.vue'),
// },
// {
// path: 'edit',
// name: 'roadStopEdit',
// component: () => import('/@/view/parkingManage/parkingLotManage/roadStop/edit.vue'),
// },
],
},
{
path: 'carpotManage',
name: 'CarpotManage',
component: Base,
redirect: { name: 'CarpotManageIndex' },
meta: { title: '道路泊位', hideChildren: true },
children: [
{
path: 'index',
name: 'CarpotManageIndex',
component: () =>
import('/@/view/parkingManage/parkingLotManage/carpotManage/index.vue'),
meta: {
title: '道路泊位',
keepAlive: true,
backApi: [],
operates: [
{
title: '批量导出',
code: 'CarpotManageExports',
},
{
title: '删除',
code: 'CarpotManageDelete',
backApi: [
{
method: 'POST',
url: '/api/objs/carPlaceType/deleteSpaceType',
},
],
},
{
title: '批量删除',
code: 'CarpotManageDeletes',
backApi: [
{
method: 'POST',
url: '/api/objs/dlSpace/batchDeleteParkingSpot',
},
],
},
],
},
},
{
path: 'add',
name: 'CarpotManageAdd',
component: () =>
import('/@/view/parkingManage/parkingLotManage/carpotManage/add.vue'),
meta: {
title: '新增',
type: 'op',
operates: [],
backApi: [
{
method: 'POST',
url: '/api/objs/carPlaceType/addSpaceType',
},
],
},
},
{
path: 'add',
name: 'CarpotManageEdit',
component: () =>
import('/@/view/parkingManage/parkingLotManage/carpotManage/add.vue'),
meta: {
title: '编辑',
type: 'op',
operates: [],
backApi: [
{
method: 'POST',
url: '/api/objs/carPlaceType/updateSpaceType',
},
],
},
},
],
},
{
path: 'depotBerth',
name: 'DepotBerth',
component: Base,
redirect: { name: 'DepotBerthIndex' },
meta: { title: '场库泊位', hideChildren: true },
children: [
{
path: 'index',
name: 'DepotBerthIndex',
component: () =>
import('/@/view/parkingManage/parkingLotManage/depotBerth/index.vue'),
meta: {
title: '场库泊位',
keepAlive: true,
operates: [
{
title: '批量导出',
code: 'DepotBerthExports',
backApi: [],
},
{
title: '删除',
code: 'DepotBerthDelete',
backApi: [
{
method: 'POST',
url: ' /api/objs/ckSpace/deleteCarPlaceSpace',
},
],
},
{
title: '批量删除',
code: 'DepotBerthDeletes',
backApi: [
{
method: 'POST',
url: '/api/objs/ckSpace/batchDeleteParkingSpot',
},
],
},
],
backApi: [
{
method: 'POST',
url: '/api/objs/ckSpace/querySpaceList',
},
],
},
},
{
path: 'add',
name: 'DepotBerthAdd',
component: () => import('/@/view/parkingManage/parkingLotManage/depotBerth/add.vue'),
meta: {
title: '新增',
type: 'op',
operates: [],
backApi: [
{
method: 'POST',
url: '/api/objs/ckSpace/addCarPlaceSpace',
},
],
},
},
{
path: 'add',
name: 'DepotBerthEdit',
component: () => import('/@/view/parkingManage/parkingLotManage/depotBerth/add.vue'),
meta: {
title: '编辑',
type: 'op',
operates: [],
backApi: [
{
method: 'POST',
url: '/api/objs/ckSpace/updateCarPlaceSpace',
},
],
},
},
{
path: 'detail',
name: 'DepotBerthDetail',
component: () =>
import('/@/view/parkingManage/parkingLotManage/depotBerth/detail.vue'),
meta: {
title: '查看',
type: 'op',
operates: [],
backApi: [
{
method: 'POST',
url: '/api/objs/ckSpace/querySpaceList',
},
],
},
},
],
},
{
path: 'roadType',
name: 'RoadType',
component: Base,
// redirect: '/operationsManage/roadBerth/carpotManage/index',
meta: { title: '泊位分类', hideChildren: true },
children: [
{
path: 'index',
name: 'RoadTypeIndex',
component: () => import('/@/view/parkingManage/parkingLotManage/roadType/index.vue'),
meta: {
title: '泊位分类',
keepAlive: true,
backApi: [
{
method: 'GET',
url: '/api/objs/carPlaceType/querySpaceTypePage',
},
{
method: 'GET',
url: '/api/objs/carPlaceType/querySpaceType',
},
],
operates: [
{
title: '删除',
code: 'RoadTypeDelete',
backApi: [
{
method: 'POST',
url: '/api/objs/carPlaceType/deleteSpaceType',
},
],
},
],
},
},
{
path: 'addEdit',
name: 'RoadTypeAdd',
component: () =>
import('/@/view/parkingManage/parkingLotManage/roadType/addEdit.vue'),
meta: {
title: '新增',
type: 'op',
backApi: [
{
method: 'POST',
url: '/api/objs/carPlaceType/addSpaceType',
},
],
},
},
{
path: 'addEdit',
name: 'RoadTypeEdit',
component: () =>
import('/@/view/parkingManage/parkingLotManage/roadType/addEdit.vue'),
meta: {
title: '编辑',
type: 'op',
backApi: [
{
method: 'POST',
url: '/api/objs/carPlaceType/updateSpaceType',
},
],
},
},
],
},
// {
// path: 'carpotManage',
// name: 'CarpotManage',
// component: () => import('/@/view/parkingManage/parkingLotManage/carpotManage/index.vue'),
// // redirect: '/parkingManage/parkingLotManage/carpotManage/index',
// meta: {
// title: '泊位管理',
// operates: [
// {
// title: '批量导出',
// code: 'CarpotManageExports',
// backApi: [],
// },
// ],
// },
// // children: [
// // {
// // path: 'index',
// // name: 'CarpotManageIndex',
// // component: () =>
// // import('/@/view/parkingManage/parkingLotManage/carpotManage/index.vue'),
// // meta: { title: '泊位管理', keepAlive: true },
// // },
// // // {
// // // path: 'Add',
// // // name: 'carpotAdd',
// // // component: () =>
// // // import('/@/view/parkingManage/parkingLotManage/carpotManage/add.vue'),
// // // },
// // ],
// },
{
path: 'laneManage',
name: 'LaneManage',
component: Base,
redirect: '/parkingManage/parkingLotManage/laneManage/index',
meta: { title: '车道管理', hideChildren: true },
children: [
{
path: 'index',
name: 'LaneManageIndex',
component: () =>
import('/@/view/parkingManage/parkingLotManage/laneManage/index.vue'),
meta: {
title: '车道管理',
keepAlive: true,
backApi: [
{
method: 'GET',
url: '/api/objs/laneInfo/pageList',
},
{
method: 'GET',
url: '/api/objs/libCarPlace/queryOwnerParkList',
},
],
operates: [
{
title: '删除',
code: 'LaneManageDelete',
backApi: [
{
method: 'POST',
url: '/api/objs/laneInfo/delete',
},
],
},
{
title: '下载二维码',
code: 'LaneManageDownload',
backApi: [
{
method: 'GET',
url: '/api/objs/laneInfo/detail',
},
],
},
],
},
},
{
path: 'add',
name: 'LaneManageAdd',
component: () =>
import('/@/view/parkingManage/parkingLotManage/laneManage/addEdit.vue'),
meta: {
title: '新增',
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',
},
],
},
},
{
path: 'edit',
name: 'LaneManageEdit',
component: () =>
import('/@/view/parkingManage/parkingLotManage/laneManage/addEdit.vue'),
meta: {
title: '编辑',
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',
},
],
},
},
],
},
{
path: 'exitManage',
name: 'ExitManage',
component: Base,
// redirect: '/operationsManage/roadBerth/carpotManage/index',
meta: { title: '出入口管理', hideChildren: true },
children: [
{
path: 'index',
name: 'ExitManageIndex',
component: () =>
import('/@/view/parkingManage/parkingLotManage/exitManger/index.vue'),
meta: {
title: '出入口管理',
keepAlive: true,
backApi: [
{
method: 'GET',
url: '/api/objs/gateInfo/pageLis',
},
{
method: 'GET',
url: '/api/objs/gateInfo/detail',
},
{
method: 'GET',
url: '/api/objs/libCarPlace/queryOwnerParkList',
},
],
operates: [
{
title: '删除',
code: 'ExitManageDelete',
backApi: [
{
method: 'POST',
url: '/api/objs/gateInfo/delete',
},
],
},
],
},
},
{
path: 'addEdit',
name: 'ExitManageAdd',
component: () =>
import('/@/view/parkingManage/parkingLotManage/exitManger/addEdit.vue'),
meta: {
title: '新增',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/wuRoadCarPlace/pageList',
},
{
method: 'POST',
url: '/api/objs/gateInfo/add',
},
{
method: 'GET',
url: '/api/objs/libCarPlace/queryOwnerParkList',
},
],
},
},
{
path: 'addEdit',
name: 'ExitManageEdit',
component: () =>
import('/@/view/parkingManage/parkingLotManage/exitManger/addEdit.vue'),
meta: {
title: '编辑',
type: 'op',
backApi: [
{
method: 'POST',
url: '/api/objs/gateInfo/update',
},
{
method: 'GET',
url: '/api/objs/libCarPlace/queryOwnerParkList',
},
],
},
},
],
},
],
},
{
path: 'orderManage',
name: 'orderManage',
meta: { title: '预约管理', icon: 'yuyueguanli' },
component: Base,
redirect: '/parkingManage/orderManage/orderCarport',
children: [
{
path: 'orderCarport',
name: 'OrderCarport',
meta: { title: '预约车位', hideChildren: true, icon: 'parkingCarPark' },
component: Base,
redirect: '/parkingManage/orderManage/orderCarport/index',
children: [
{
path: 'index',
name: 'OrderCarportIndex',
component: () => import('/@/view/parkingManage/orderManage/orderCarport/index.vue'),
meta: { title: '预约车位', keepAlive: true },
},
// {
// path: 'add',
// name: 'orderCarporttAdd',
// component: () => import('/@/view/parkingManage/orderManage/orderCarport/add.vue'),
// },
{
path: 'detail',
meta: { type: 'op', title: '详情', backApi: [] },
name: 'orderCarportDetail',
component: () => import('/@/view/parkingManage/orderManage/orderCarport/detail.vue'),
},
],
},
{
path: 'appointRulesManage',
name: 'AppointRules',
meta: { title: '预约规则', hideChildren: true, icon: 'parkingCarPark' },
component: Base,
redirect: '/parkingManage/orderManage/appointRulesManage/index',
children: [
{
path: 'index',
name: 'AppointRulesIndex',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/index.vue'),
meta: {
title: '预约规则',
keepAlive: true,
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',
},
],
operates: [
{
title: '车位预约规则删除',
code: 'AppointRulesDelete',
backApi: [
{
method: 'POST',
url: '/api/objs/appointmentRule/delete',
},
],
},
{
title: '场库预约规则删除',
code: 'appointRulesLibraryDelete',
backApi: [
{
method: 'POST',
url: '/api/objs/reserveRule/deleteReserveRule',
},
],
},
],
},
},
// 车位
{
path: 'edit',
name: 'AppointRulesEdit',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/edit.vue'),
meta: {
icon: 'parkingCarPark',
title: '车位预约规则编辑',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/appointmentRule/detail',
},
{
method: 'POST',
url: '/api/objs/appointmentRule/update',
},
],
},
},
{
path: 'add',
name: 'AppointRulesAdd',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/add.vue'),
meta: {
icon: 'parkingCarPark',
title: '车位预约规则新增',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/wuCarPlace/queryAllowReserveParkList',
},
{
method: 'POST',
url: '/api/objs/appointmentRule/add',
},
],
},
},
{
path: 'detail',
name: 'AppointRulesDetail',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/detail.vue'),
meta: {
icon: 'parkingCarPark',
title: '车位预约规则查看',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/appointmentRule/detail',
},
],
},
},
// 场库
{
path: 'libraryEdit',
name: 'appointRulesLibraryEdit',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/libraryAddEdit.vue'),
meta: {
icon: 'parkingCarPark',
title: '场库预约规则编辑',
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',
},
],
},
},
{
path: 'libraryAdd',
name: 'appointRulesLibraryAdd',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/libraryAddEdit.vue'),
meta: {
icon: 'parkingCarPark',
title: '场库预约规则新增',
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',
},
],
},
},
{
path: 'libraryDetail',
name: 'appointRulesLibraryDetail',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/libraryDetail.vue'),
meta: {
icon: 'parkingCarPark',
title: '场库预约规则查看',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/reserveRule/queryReserveRule',
},
],
},
},
{
path: 'libraryChange',
name: 'appointRulesLibraryChange',
component: () =>
import('/@/view/parkingManage/orderManage/appointRulesManage/libraryChange.vue'),
meta: {
icon: 'parkingCarPark',
title: '规则日志',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/reserveRule/queryReserveRuleChangePage',
},
],
},
},
],
},
{
path: 'appointLimit',
name: 'AppointLimit',
meta: { title: '预约限制', hideChildren: true, icon: 'parkingCarPark' },
component: Base,
redirect: { name: 'AppointLimitIndex' },
children: [
{
path: 'index',
name: 'AppointLimitIndex',
component: () => import('/@/view/parkingManage/orderManage/appointLimit/index.vue'),
meta: {
title: '预约限制',
keepAlive: true,
icon: 'parkingCarPark',
backApi: [
{
method: 'GET',
url: '/api/objs/ReserveLimit/detail',
},
{
method: 'POST',
url: '/api/objs/ReserveLimit/edit',
},
],
},
},
],
},
{
path: 'appointBlacklist',
name: 'AppointBlacklist',
meta: { title: '预约黑名单', hideChildren: true, icon: 'parkingCarPark' },
component: Base,
redirect: { name: 'AppointBlacklistIndex' },
children: [
{
path: 'index',
name: 'AppointBlacklistIndex',
component: () =>
import('/@/view/parkingManage/orderManage/appointBlacklist/index.vue'),
meta: {
title: '预约黑名单',
keepAlive: true,
icon: 'parkingCarPark',
backApi: [
{
method: 'GET',
url: '/api/objs/ReserveBlackList/pageList',
},
{
method: 'POST',
url: '/api/objs/appointmentRule/delete',
},
],
operates: [
{
title: '解除限制',
code: 'deleteLimit',
backApi: [
{
method: 'POST',
url: '/api/objs/ReserveBlackList/invalid',
},
],
},
],
},
},
{
path: 'detail',
name: 'AppointBlacklistDetail',
component: () =>
import('/@/view/parkingManage/orderManage/appointBlacklist/detail.vue'),
meta: {
title: '查看',
type: 'op',
icon: 'parkingCarPark',
backApi: [
{
method: 'POST',
url: '/api/objs/ReserveBlackList/detail',
},
],
operates: [],
},
},
],
},
{
path: 'appointCancleRefund',
name: 'AppointCancleRefund',
meta: { title: '预约取消退款', hideChildren: true, icon: 'parkingCarPark' },
component: Base,
redirect: '/parkingManage/orderManage/appointCancleRefund/index',
children: [
{
path: 'index',
name: 'AppointCancleRefundIndex',
component: () =>
import('/@/view/parkingManage/orderManage/appointCancleRefund/index.vue'),
meta: {
title: '预约取消退款',
keepAlive: true,
backApi: [
{
method: 'GET',
url: '/api/objs/ReserveCancelRefund',
},
],
operates: [
{
title: '退款取消',
code: 'CancleRefund',
backApi: [
{
method: 'POST',
url: '/api/objs/ReserveCancelRefund/cancel',
},
],
},
],
},
},
{
path: 'detail',
name: 'AppointCancleRefunddetail',
component: () =>
import('/@/view/parkingManage/orderManage/appointCancleRefund/detail.vue'),
meta: {
title: '查看',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/FieldLibraryReserve/detail',
},
],
},
},
],
},
{
path: 'appointMessage',
name: 'AppointMessage',
meta: { title: '预约通知', hideChildren: true, icon: 'parkingCarPark' },
component: Base,
redirect: '/parkingManage/orderManage/appointMessage/index',
children: [
{
path: 'index',
name: 'AppointMessageIndex',
component: () => import('/@/view/parkingManage/orderManage/appointMessage/index.vue'),
meta: {
title: '预约通知',
keepAlive: true,
backApi: [
{
method: 'GET',
url: '/api/objs/ReserveCancelRefund',
},
],
operates: [
{
title: '退款',
code: 'AppointMessageRefund',
backApi: [
{
method: 'POST',
url: '/api/objs/ReserveErrorLog/updateErrorLog',
},
],
},
{
title: '重试',
code: 'AppointMessageAgain',
backApi: [
{
method: 'POST',
url: '/api/objs/ReserveErrorLog/updateErrorLog',
},
],
},
{
title: '完成',
code: 'AppointMessageOk',
backApi: [
{
method: 'POST',
url: '/api/objs/ReserveErrorLog/updateErrorLog',
},
],
},
],
},
},
],
},
],
},
{
path: 'chargeManage',
name: 'ChargeManage',
meta: { title: '充电管理', icon: 'chongdianguanli' },
component: Base,
redirect: '/parkingManage/chargeManage/chargePosition',
children: [
{
path: 'chargePosition',
name: 'ChargePosition',
meta: { title: '充电站点', icon: 'parkingManage', hideChildren: true },
component: Base,
redirect: '/parkingManage/chargeManage/chargePosition/index',
props: {
getPageApi: '/api/parking_merchant/objs/chgNode/queryChgNodeList',
postDeleteApi: '/api/parking_merchant/objs/chgNode/deleteChgNodeDetail',
postImportApi: '/api/parking_merchant/objs/chgNode/import',
getOperatorApi: '/api/charge/objs/operator',
getDetailApi: '/api/parking_merchant/objs/chgNode/queryChgNodeDetail',
postUpdateApi: '/api/parking_merchant/objs/chgNode/updateChgNodeDetail',
postAddApi: '/api/parking_merchant/objs/chgNode/addChgNodeDetail',
getStationApi: '/api/parking_merchant/objs/chgNode/queryNodeWhereList',
getStaDetailApi: '/api/charge/objs/station/detail',
postFileApi: '/api/file/objs/MaterialFile',
getAreaApi: '/api/parking_merchant/objs/BaseArea',
getExportApi: '/api/parking_merchant/objs/chgNode/exportChgNodeList?',
},
},
{
path: 'chargePile',
name: 'ChargePile',
meta: { title: '充电桩', icon: 'parkingManage', hideChildren: true },
redirect: '/parkingManage/chargeManage/chargePile/index',
component: Base,
props: {
getPageApi: '/api/parking_merchant/objs/chgPile/pageList',
getStationApi: '/api/parking_merchant/objs/chgNode/queryNodeWhereList',
getDetailApi: '/api/parking_merchant/objs/chgPile/detail',
postUpdateApi: '/api/parking_merchant/objs/chgPile/update',
postAddApi: '/api/parking_merchant/objs/chgPile',
getOperatorApi: '/api/charge/objs/operator',
},
},
{
path: 'chargeGun',
name: 'ChargeGun',
meta: { title: '充电枪', icon: 'parkingManage', hideChildren: true },
redirect: '/parkingManage/chargeManage/chargeGun/index',
component: Base,
props: {
getPageApi: '/api/parking_merchant/objs/chargeGun',
postDeleteApi: '/api/parking_merchant/objs/chargeGun/delete',
2024-05-16 10:38:29 +08:00
getDetailApi: '/api/parking_merchant/objs/chargeGun/detail',
getOperatorApi: '/api/charge/objs/operator',
getStationApi: '/api/parking_merchant/objs/chgNode/queryNodeWhereList',
postUpdateApi: '/api/parking_merchant/objs/chargeGun/update',
postAddApi: '/api/parking_merchant/objs/chargeGun',
getListApi: '/api/parking_merchant/objs/chgPile/pageList',
},
},
{
path: 'billngRules',
name: 'BillngRules',
meta: { title: '充电计费规则', icon: 'parkingManage', hideChildren: true },
redirect: '/parkingManage/chargeManage/billngRules/index',
component: Base,
props: {
getPageApi: '/api/parking_merchant/objs/feeRule/pageList',
getDetailApi: '/api/parking_merchant/objs/feeRule/detail',
getDetelApi: '/api/parking_merchant/objs/feeRule/delete',
isHiden: true,
},
2024-05-15 17:29:42 +08:00
},
],
},
{
path: 'carManage',
name: 'carManage',
meta: { title: '车辆管理', icon: 'cheliangguanli' },
component: Base,
redirect: '/parkingManage/carManage/blacklistManage',
children: [
{
path: 'blacklistManage',
name: 'BlacklistManage',
component: Base,
redirect: '/parkingManage/carManage/blacklistManage/index',
meta: { title: '黑名单车辆', hideChildren: true },
children: [
{
path: 'index',
name: 'BlacklistManageIndex',
component: () =>
import('/@/view/parkingManage/vehicleManage/blacklistManage/index.vue'),
meta: {
title: '黑名单车辆',
operates: [
{
title: '删除',
code: 'BlacklistManageRemove',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/delete',
},
],
},
{
title: '下发',
code: 'BlacklistManagelssuedCar',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/lssuedCar',
},
],
},
],
keepAlive: true,
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',
},
],
},
},
// {
// path: 'refresh',
// name: 'refreshIndex',
// component: () => import('/@/view/parkingManage/vehicleManage/refresh.vue'),
// },
{
path: 'add',
name: 'BlacklistManageAdd',
component: () =>
import('/@/view/parkingManage/vehicleManage/blacklistManage/add.vue'),
meta: {
type: 'op',
title: '新增',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/save',
},
{
method: 'GET',
url: '/api/objs/libCarPlace/queryAccessChannel',
},
],
},
},
{
path: 'edit',
name: 'BlacklistManageEdit',
component: () =>
import('/@/view/parkingManage/vehicleManage/blacklistManage/edit.vue'),
meta: {
type: 'op',
title: '编辑',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/save',
},
{
method: 'GET',
url: '/api/objs/carProperty/detail',
},
],
},
},
],
},
{
path: 'whitelistManage',
name: 'WhitelistManage',
component: Base,
redirect: '/parkingManage/carManage/whitelistManage/index',
meta: { title: '白名单车辆', hideChildren: true },
children: [
{
path: 'index',
name: 'WhitelistManageIndex',
component: () =>
import('/@/view/parkingManage/vehicleManage/whitelistManage/index.vue'),
meta: {
title: '白名单车辆',
keepAlive: true,
operates: [
{
title: '删除',
code: 'WhitelistManageRemove',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/delete',
},
],
},
{
title: '批量导入',
code: 'WhitelistManageImport',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/importWhiteCarData',
},
],
},
{
title: '批量导出',
code: 'WhitelistManageBatchEx',
backApi: [
{
method: 'GET',
url: '/api/objs/carPropertyExport/exportCarPropertyData',
},
],
},
{
title: '批量下发',
code: 'WhitelistManageBatchLssuedCar',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/batchLssuedCar',
},
],
},
{
title: '下发',
code: 'WhitelistManagelssuedCar',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/lssuedCar',
},
],
},
],
backApi: [
{
method: 'GET',
url: '/api/objs/carProperty/pageList',
},
],
},
},
{
path: 'add',
name: 'whitelistManageAdd',
component: () =>
import('/@/view/parkingManage/vehicleManage/whitelistManage/add.vue'),
meta: {
type: 'op',
title: '新增',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/save',
},
{
method: 'GET',
url: '/api/objs/libCarPlace/queryLibraryParkList',
},
],
},
},
{
path: 'edit',
name: 'whitelistManageEdit',
component: () =>
import('/@/view/parkingManage/vehicleManage/whitelistManage/edit.vue'),
meta: {
type: 'op',
title: '编辑',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/save',
},
{
method: 'GET',
url: '/api/objs/carProperty/detail',
},
],
},
},
{
path: 'copy',
name: 'whitelistManageCopy',
component: () =>
import('/@/view/parkingManage/vehicleManage/whitelistManage/copy.vue'),
meta: {
type: 'op',
title: '复制',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/save',
},
{
method: 'GET',
url: '/api/objs/carProperty/detail',
},
],
},
},
],
},
{
path: 'visitorVehicle',
name: 'VisitorVehicle',
component: Base,
redirect: '/parkingManage/carManage/visitorVehicle/index',
meta: { title: '访客车辆', hideChildren: true },
children: [
{
path: 'index',
name: 'VisitorVehicleIndex',
component: () =>
import('/@/view/parkingManage/vehicleManage/visitorVehicle/index.vue'),
meta: {
title: '访客车辆',
keepAlive: true,
operates: [
{
title: '批量导入',
code: 'VisitorVehicleImport',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/importWhiteCarData',
},
],
},
{
title: '批量下发',
code: 'VisitorVehicleBatchLssuedCar',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/batchLssuedCar',
},
],
},
{
title: '删除',
code: 'VisitorVehicleRemove',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/delete',
},
],
},
{
title: '下发',
code: 'VisitorVehiclelssuedCar',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/lssuedCar',
},
],
},
],
backApi: [
{
method: 'GET',
url: '/api/objs/carProperty/pageList',
},
],
},
},
// {
// path: 'detail',
// name: 'visitorVehicleDetail',
// component: () => import('/@/view/parkingManage/vehicleManage/visitorVehicle/detail.vue'),
// },
{
path: 'add',
name: 'VisitorVehicleAdd',
component: () => import('/@/view/parkingManage/vehicleManage/visitorVehicle/add.vue'),
meta: {
type: 'op',
title: '新增',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/save',
},
{
method: 'GET',
url: '/api/objs/libCarPlace/pageList',
},
],
},
},
{
path: 'edit',
name: 'VisitorVehicleEdit',
component: () =>
import('/@/view/parkingManage/vehicleManage/visitorVehicle/edit.vue'),
meta: {
type: 'op',
title: '编辑',
backApi: [
{
method: 'POST',
url: '/api/objs/carProperty/save',
},
{
method: 'GET',
url: '/api/objs/carProperty/detail',
},
],
},
},
],
},
],
},
{
path: 'equipmentManage',
name: 'equipmentManage',
meta: { title: '设备管理', icon: 'shebeiguanli' },
component: Base,
redirect: { name: 'ParkingLock' },
children: [
{
path: 'parkingLock',
name: 'ParkingLock',
meta: { title: '车位锁', icon: 'parkingCarPark', hideChildren: true },
component: Base,
redirect: { name: 'ParkingLockIndex' },
props: {
getPageApi: '/api/parking_merchant/objs/carParkLock/pageList',
postDeleteApi: '/api/parking_merchant/objs/carParkLock/delete',
getParkApi: '/api/parking_merchant/objs/libCarPlace/queryOwnerParkList',
postAddApi: '/api/parking_merchant/objs/carParkLock/add',
getLockApi: '/api/parking_merchant/objs/libCarPlace/queryLockParkList',
getProductApi: '/api/community/objs/Device/ChooseProduct',
getSpaceApi: '/api/parking_merchant/objs/CarPlace/queryCarPlaceSpaceByUuid',
postEditApi: '/api/parking_merchant/objs/carParkLock/update',
getCheckApi: '/api/parking_merchant/objs/carParkLock/check',
getDetailApi: '/api/parking_merchant/objs/carParkLock/check',
getStatusApi: '/api/parking_merchant/objs/carParkLock/checkLockStatus',
postLockApi: '/api/parking_merchant/objs/carParkLock/ctrlLock',
},
},
{
path: 'geomagneticManagement',
name: 'GeomagneticManagement',
meta: { title: '地磁管理', icon: 'parkingCarPark', hideChildren: true },
component: Base,
props: {
postImportApi: '/api/parking_merchant/objs/Device/GeoImport',
getPageApi: '/api/parking_merchant/objs/GeoDevice/pageList',
postDeleteApi: '/api/parking_merchant/objs/GeoDevice/delete',
getParkApi: '/api/parking_merchant/objs/libCarPlace/queryOwnerParkList',
getDeviceApi: '/api/community/objs/DictItem',
postUpdateApi: '/api/parking_merchant/objs/GeoDevice/update',
postAddApi: '/api/parking_merchant/objs/GeoDevice/add',
getDetailApi: '/api/parking_merchant/objs/GeoDevice/detail',
getSpaceApi: '/api/parking_merchant/objs/CarPlace/geoSpaceList',
getProductApi: '/api/community/objs/Device/ChooseProduct',
},
redirect: { name: 'GeomagneticManagementIndex' },
},
],
},
{
path: 'operationsDeclare',
name: 'OperationsDeclare',
meta: { title: '运营申报', hideChildren: true, icon: 'yunyingshenbao' },
redirect: '/parkingManage/operationsDeclare/index',
component: Base,
children: [
{
path: 'index',
name: 'OperationsDeclareIndex',
component: () => import('/@/view/parkingManage/operationsDeclare/index.vue'),
meta: {
title: '运营申报',
keepAlive: true,
operates: [
{
title: '提交',
code: 'OperationsDeclareSubmit',
backApi: [
{
method: 'POST',
url: '/api/objs/flow-declare/submit',
},
],
},
],
backApi: [
{
method: 'GET',
url: '/api/objs/flow-declare/pageList',
},
{
method: 'POST',
url: '/api/objs/flow-declare/submit',
},
],
},
},
{
path: 'add',
name: 'OperationsDeclareAdd',
component: () => import('/@/view/parkingManage/operationsDeclare/add.vue'),
meta: {
type: 'op',
title: '新增',
backApi: [
{
method: 'POST',
url: '/api/objs/flow-declare/add',
},
{
method: 'POST',
url: '/api/objs/admin/MaterialFile',
},
],
},
},
{
path: 'detail',
name: 'OperationsDeclareDetail',
component: () => import('/@/view/parkingManage/operationsDeclare/detail.vue'),
meta: {
type: 'op',
title: '详情',
backApi: [
{
method: 'GET',
url: '/api/objs/flow-declare/detail',
},
{
method: 'GET',
url: '/api/objs/flow-task/taskPageList',
},
],
},
},
{
path: 'edit',
name: 'OperationsDeclareEdit',
component: () => import('/@/view/parkingManage/operationsDeclare/edit.vue'),
meta: {
type: 'op',
title: '编辑',
backApi: [
{
method: 'POST',
url: '/api/objs/flow-declare/update',
},
{
method: 'POST',
url: '/api/objs/admin/MaterialFile',
},
],
},
},
],
},
// {
// path: 'warranty',
// name: 'WarrantyManagement',
// meta: { title: '包期证管理', hideChildren: true, icon: 'parkingCar' },
// redirect: '/parkingManage/warranty/index',
// component: Base,
// children: [
// {
// path: 'index',
// name: 'WarrantyManagementIndex',
// component: () => import('/@/view/monthly/warranty/index.vue'),
// meta: {
// title: '包期证管理',
// keepAlive: true,
// operates: [
// {
// title: '批量导入',
// code: 'WarrantyManagementImport',
// backApi: [
// {
// method: 'POST',
// url: '/api/objs/hikCarMenuLog/import',
// },
// ],
// },
// {
// title: '批量导出',
// code: 'WarrantyManagementExports',
// backApi: [],
// },
// {
// title: '删除',
// code: 'WarrantyManagementRemove',
// backApi: [
// {
// method: 'POST',
// url: '/api/objs/hikCarMenuLog/delete',
// },
// ],
// },
// ],
// icon: 'parkingCar',
// backApi: [
// {
// method: 'GET',
// url: '/api/objs/hikCarMenuLog/pageList',
// },
// {
// method: 'GET',
// url: '/api/objs/wuCarPlace/splicePlaceBuildList',
// },
// {
// method: 'POST',
// url: '/api/objs/wuCarPlace/import',
// },
// ],
// },
// },
// // {
// // path: 'add',
// // name: 'WarrantyManagementAdd',
// // component: () => import('/@/view/monthly/warranty/add.vue'),
// // meta: {
// // type: 'op',
// // title: '新增',
// // icon: 'parkingCar',
// // backApi: [
// // {
// // method: 'GET',
// // url: '/api/objs/wuCarPlace/splicePlaceBuildList',
// // },
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuInfo/placeMenuInfoList',
// // },
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuInfo/detail',
// // },
// // {
// // method: 'POST',
// // url: '/api/objs/hikCarMenuLog/add',
// // },
// // {
// // method: 'POST',
// // url: '/api/objs/hikCarMenuLog/delete',
// // },
// // ],
// // },
// // },
// {
// path: 'detail',
// name: 'WarrantyManagementDetail',
// component: () => import('/@/view/monthly/warranty/detail.vue'),
// meta: {
// type: 'op',
// title: '详情',
// icon: 'parkingCar',
// backApi: [
// {
// method: 'GET',
// url: '/api/objs/hikCarMenuLog/detail',
// },
// ],
// },
// },
// // {
// // path: 'continue',
// // name: 'WarrantyManagementContinue',
// // component: () => import('/@/view/monthly/warranty/continue.vue'),
// // meta: {
// // type: 'op',
// // title: '包期证管理',
// // icon: 'parkingCar',
// // backApi: [
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuLog/detail',
// // },
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuInfo/placeMenuInfoList',
// // },
// // {
// // method: 'POST',
// // url: '/api/objs/hikCarMenuLog/renew',
// // },
// // ],
// // },
// // },
// // {
// // path: 'again',
// // name: 'WarrantyManagementAgain',
// // component: () => import('/@/view/monthly/warranty/again.vue'),
// // meta: {
// // title: '包期证管理',
// // icon: 'parkingCar',
// // backApi: [
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuLog/detail',
// // },
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuInfo/placeMenuInfoList',
// // },
// // {
// // method: 'POST',
// // url: '/api/objs/hikCarMenuLog/applyAgain',
// // },
// // ],
// // },
// // },
// // {
// // path: 'change',
// // name: 'WarrantyManagementChange',
// // component: () => import('/@/view/monthly/warranty/change.vue'),
// // meta: {
// // title: '包期证管理',
// // icon: 'parkingCar',
// // backApi: [
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuLog/detail',
// // },
// // {
// // method: 'GET',
// // url: '/api/objs/hikCarMenuInfo/placeMenuInfoList',
// // },
// // {
// // method: 'POST',
// // url: '/api/objs/hikCarMenuLog/update',
// // },
// // ],
// // },
// // },
// ],
// },
// {
// path: 'parkingRecord',
// name: 'parkingRecord',
// meta: { title: '过车记录', hideChildren: true, icon: 'parkingCarPark' },
// component: Base,
// redirect: '/parkingManage/parkingRecord/passingRecord',
// children: [
// {
// path: 'passingRecord',
// name: 'passingRecord',
// meta: { title: '过车记录', hideChildren: true },
// component: Base,
// redirect: '/parkingManage/parkingRecord/passingRecord/index',
// children: [
// {
// path: 'index',
// name: 'PassingRecordIndex',
// component: () =>
// import('/@/view/parkingManage/parkingRecord/passingRecord/index.vue'),
// meta: { title: '过车记录' },
// },
// ],
// },
// ],
// },
{
path: 'tollManages',
name: 'TollManages',
meta: { title: '收费配置', icon: 'shoufeipeizhi' },
component: Base,
redirect: { name: 'ChargingConfiguration' },
children: [
{
path: 'chargingConfiguration',
name: 'ChargingConfiguration',
meta: { title: '收费规则', hideChildren: true },
component: Base,
props: {
postRecordApi: '/api/person/objs/personToFormal/approvalPersonToFormalRecord',
getPageApi: '/api/parking_merchant/objs/CarCostRule',
postDeleteApi: '/api/parking_merchant/objs/CarCostRule/delete',
getParkApi: '/api/parking_merchant/objs/libCarPlace/queryOwnerParkList',
getDetailApi: '/api/parking_merchant/objs/CarCostRule/detail',
postRuleApi: '/api/parking_merchant/objs/CarCostRule/counterRule',
postParkApi: '/api/parking_merchant/objs/CarCostRule/ruleBindParkList',
postBindAPi: '/api/parking_merchant/objs/CarCostRule/bind',
getFilterApi: '/api/parking_merchant/objs/CarCostRule/ruleFilterParkList',
postAddApi: '/api/parking_merchant/objs/CarCostRule/add',
},
},
2024-05-16 10:38:29 +08:00
2024-05-15 17:29:42 +08:00
{
path: 'paymentAccount',
name: 'PaymentAccount',
meta: { title: '收款账号配置', hideChildren: true },
component: Base,
redirect: { name: 'PaymentAccountIndex' },
children: [
{
path: 'index',
name: 'PaymentAccountIndex',
meta: {
title: '收款账号配置',
keepAlive: true,
hideChildren: true,
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' },
],
operates: [
{
title: '同步刷新',
code: 'PaymentAccountReload',
backApi: [
{
method: 'POST',
url: '/api/objs/PayServiceConfig/refreshPayConfig',
},
],
},
{
title: '禁用',
code: 'PaymentAccountRemove',
backApi: [
{
method: 'POST',
url: '/api/objs/PayServiceConfig/operate',
},
],
},
{
title: '启用',
code: 'PaymentAccountEnable',
backApi: [
{
method: 'POST',
url: '/api/objs/PayServiceConfig/operate',
},
],
},
],
},
component: () => import('/@/view/parkingManage/tollManage/paymentAccount/index.vue'),
},
{
path: 'detail',
name: 'PaymentAccountDetail',
meta: {
title: '查看',
type: 'op',
hideChildren: true,
backApi: [{ method: 'GET', url: '/api/objs/PayServiceConfig/detail' }],
},
component: () => import('/@/view/parkingManage/tollManage/paymentAccount/detail.vue'),
},
{
path: 'bind',
name: 'PaymentAccountBind',
meta: {
type: 'op',
title: '关联停车场',
hideChildren: true,
backApi: [
{ method: 'GET', url: '/api/objs/PayServiceConfig/detail' },
{ method: 'POST', url: '/api/objs/PayServiceConfig/unbind' },
],
},
component: () =>
import('/@/view/parkingManage/tollManage/paymentAccount/bindParking.vue'),
},
{
path: 'dot',
name: 'PaymentAccountDot',
meta: {
type: 'op',
title: '关联充电网点',
hideChildren: true,
backApi: [
{ method: 'GET', url: '/api/objs/PayServiceConfig/detail' },
{ method: 'POST', url: '/api/objs/PayServiceConfig/unbind' },
],
},
component: () =>
import('/@/view/parkingManage/tollManage/paymentAccount/bindDot.vue'),
},
{
path: 'add',
name: 'PaymentAccountAdd',
meta: {
type: 'op',
title: '新增',
hideChildren: true,
backApi: [
{ method: 'GET', url: '/api/objs/PayServiceConfig/detail' },
{ method: 'POST', url: '/api/objs/PayServiceConfig/update' },
{ method: 'POST', url: '/api/objs/PayServiceConfig' },
],
},
component: () =>
import('/@/view/parkingManage/tollManage/paymentAccount/addEdit.vue'),
},
{
path: 'edit',
name: 'PaymentAccountEdit',
meta: {
type: 'op',
title: '编辑',
hideChildren: true,
backApi: [
{ method: 'GET', url: '/api/objs/PayServiceConfig/detail' },
{ method: 'POST', url: '/api/objs/PayServiceConfig/update' },
{ method: 'POST', url: '/api/objs/PayServiceConfig' },
],
},
component: () =>
import('/@/view/parkingManage/tollManage/paymentAccount/addEdit.vue'),
},
],
},
],
},
// {
// path: 'geomagneticGuard',
// name: 'GeomagneticGuard',
// meta: { title: '地磁值守', hideChildren: true, icon: 'parkingCarPark' },
// redirect: '/parkingManage/geomagneticGuard/index',
// component: Base,
// children: [
// {
// path: 'geomagneticGuard',
// name: 'GeomagneticGuard',
// meta: { title: '地磁值守', hideChildren: true },
// component: () => import('/@/view/parkingManage/geomagneticGuard/index.vue'),
// // redirect: { name: 'GeomagneticGuardIndex' },
// children: [
// {
// path: 'index',
// name: 'GeomagneticGuardIndex',
// component: () => import('/@/view/parkingManage/geomagneticGuard/index.vue'),
// meta: {
// title: '地磁值守',
// keepAlive: true,
// operates: [
// {
// title: '批量导出',
// code: 'GeomagneticExports',
// backApi: [],
// },
// {
// title: '参数配置',
// code: 'paramsConfig',
// backApi: [],
// },
// ],
// 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',
// },
// ],
// },
// component: () => import('/@/view/parkingManage/geomagneticGuard/index.vue'),
// },
// {
// path: 'detail',
// name: 'GeomagneticGuardDetail',
// meta: {
// title: '查看',
// type: 'op',
// backApi: [
// {
// method: 'GET',
// url: '/api/objs/GeoConservation/detail',
// },
// ],
// },
// component: () =>
// import('/@/view/parkingManage/deviceManger/geomagneticGuard/detail.vue'),
// },
// ],
// },
// ],
// },
{
path: 'geomagneticGuard',
name: 'GeomagneticGuard',
meta: { title: '地磁值守', hideChildren: true, icon: 'dicizhishou' },
redirect: '/parkingManage/geomagneticGuard/index',
component: Base,
children: [
{
path: 'index',
name: 'GeomagneticGuardIndex',
component: () => import('/@/view/parkingManage/geomagneticGuard/index.vue'),
meta: {
title: '地磁值守',
keepAlive: true,
operates: [
{
title: '批量导出',
code: 'GeomagneticExports',
backApi: [],
},
{
title: '参数配置',
code: 'paramsConfig',
backApi: [],
},
],
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',
},
],
},
},
{
path: 'detail',
name: 'GeomagneticGuardDetail',
meta: {
title: '查看',
type: 'op',
backApi: [
{
method: 'GET',
url: '/api/objs/GeoConservation/detail',
},
],
},
component: () => import('/@/view/parkingManage/geomagneticGuard/detail.vue'),
},
],
},
],
};
export default parkingManage;