'use strict'; import { ProxyRequest } from "@peace/utils"; export const GodTransRequest = new ProxyRequest("_godTrans"); export const ApiTable = { login: 'login', logout: 'logout', getEnterprisesMembers: 'enterprises/{enterpriseId}/members', //组织管理-用户管理-部门 getDepMessage: 'department', createDepMessage: 'department', updateDepMessage: 'department', delDepMessage: 'department/{depId}', //组织管理-用户管理-用户 getDepUser: 'department/{depId}/user', createUser: 'department/user', updateUser: 'department/user/{userId}', delUser: 'department/user/{userIds}', resetPwd: 'department/user/{userId}/password', //用户权限 getResource: 'resource', getUserResource: 'user/resource', postUserRes: 'user/resource', //报表配置 allAreas: 'allAreas', addReportConfig: 'report/config', getReportConfig: 'report/config', editReportConfig: 'report/{reportId}/config', delReportConfig: 'report/{reportId}/config', // 报表编辑 getReportRectify: 'report/rectify', getReportRectifyDetail: 'report/rectify/detail', compileReportRectifyDetail: 'report/rectify/detail', getReportList: 'report/list', getReportDetail: 'report/{reportId}/detail', getUsers: 'user', //运政管理 getOperaTional: 'vehicle', putOperaTional: 'vehicle', getSpecificVehicle: 'vehicle/specific', putSpecificVehicle: 'vehicle/specific', delSpecificVehicle: 'vehicle/{vehicleId}/specific', getHouseholds: 'vehicle/business', putHouseholds: 'vehicle/business', delHouseholds: 'vehicle/business/{businessId}', getRoadway: 'road', // 获取运政统计 getYunZheng: "transportation/statistic", //桥梁管理 getBridge: 'bridge', putBridge: 'bridge', delBridge: 'bridge/{bridgeId}', //工程数据 getProject: 'project', putProject: 'project', delProject: 'project/{projectId}', //道路数据 getRoadway: 'road', putRoadway: 'road', delRoadway: 'road/{roadId}', //道路统计 getBgroadstatistics: "build/road_state", //治超监测点处理数据 getzhichaomanager: 'manage/overspeed/processed', //获取治超详情数据 getzhichaodetail: '/manage/overspeed', // 获取道路养护统计及列表 getroadmaintain: "conserve/statistic", // 获取治超详情列 getzhichaoList: "manage/overspeed", //大屏运营 —— 公交车辆层级信息 getBusTier: '/operation/car_level', //获取路政列表 getHighways: 'road_manage', putHighways: 'road_manage', //获取道路养护统计及列表 getRoadMaintenance: 'conserve/statistic', //获取宣传数据 getpropagata: 'publicity',putpropagata:'publicity',delpropagata:'/publicity/{publicityId}', // <<<<<<< HEAD // //公交信息 // getCircuit: 'bus/line', putCircuit: 'bus/line', delCircuit: 'bus/line/{lineId}', // getVehicle: 'bus/car', putVehicle: 'bus/car', delVehicle: 'bus/car/{carId}', // ======= //公交信息 getCircuit: 'bus/line', putCircuit: 'bus/line', delCircuit: 'bus/line/{lineId}', getVehicle: 'bus/car', putVehicle: 'bus/car', delVehicle: 'bus/car/{carId}', //治超管理 getPurchase: 'overspeed', putPurchase: 'overspeed', delPurchase: 'overspeed/{overspeedId}', login: 'login', logout: 'logout', getEnterprisesMembers: 'enterprises/{enterpriseId}/members', //组织管理-用户管理-部门 getDepMessage: 'department', createDepMessage: 'department', updateDepMessage: 'department', delDepMessage: 'department/{depId}', //组织管理-用户管理-用户 getDepUser: 'department/{depId}/user', createUser: 'department/user', updateUser: 'department/user/{userId}', delUser: 'department/user/{userIds}', resetPwd: 'department/user/{userId}/password', //用户权限 getResource: 'resource', getUserResource: 'user/resource', postUserRes: 'user/resource', //报表配置 allAreas: 'allAreas', addReportConfig: 'report/config', getReportConfig: 'report/config', editReportConfig: 'report/{reportId}/config', delReportConfig: 'report/{reportId}/config', // 报表编辑 getReportRectify: 'report/rectify', getReportRectifyDetail: 'report/rectify/detail', compileReportRectifyDetail: 'report/rectify/detail', getReportList: 'report/list', getReportDetail: 'report/{reportId}/detail', getUsers: 'user', //运政管理 getOperaTional: 'vehicle', putOperaTional: 'vehicle', getSpecificVehicle: 'vehicle/specific', putSpecificVehicle: 'vehicle/specific', delSpecificVehicle: 'vehicle/{vehicleId}/specific', getHouseholds: 'vehicle/business', putHouseholds: 'vehicle/business', delHouseholds: 'vehicle/business/{businessId}', getRoadway: 'road', getShippingList:'vehicle/freight',putShippingList:'vehicle/freight', // 获取运政统计 getYunZheng: "transportation/statistic", //桥梁管理 getBridge: 'bridge', putBridge: 'bridge', delBridge: 'bridge/{bridgeId}', //工程数据 getProject: 'project', putProject: 'project', delProject: 'project/{projectId}', //道路数据 getRoadway: 'road', putRoadway: 'road', delRoadway: 'road/{roadId}', //道路统计 getBgroadstatistics: "build/road_state", //治超监测点处理数据 getzhichaomanager: 'manage/overspeed/processed', //获取治超详情数据 getzhichaodetail: '/manage/overspeed', // 获取道路养护统计及列表 getroadmaintain: "conserve/statistic", // 获取治超详情列 getzhichaoList: "manage/overspeed", //大屏运营 —— 公交车辆层级信息 getBusTier: '/operation/car_level', //获取路政列表 getHighways: 'road_manage', putHighways: 'road_manage', //获取道路养护统计及列表 getRoadMaintenance: 'conserve/statistic', //获取宣传数据 getpropagata: 'publicity', login: 'login', logout: 'logout', getEnterprisesMembers: 'enterprises/{enterpriseId}/members', //组织管理-用户管理-部门 getDepMessage: 'department', createDepMessage: 'department', updateDepMessage: 'department', delDepMessage: 'department/{depId}', //组织管理-用户管理-用户 getDepUser: 'department/{depId}/user', createUser: 'department/user', updateUser: 'department/user/{userId}', delUser: 'department/user/{userIds}', resetPwd: 'department/user/{userId}/password', //用户权限 getResource: 'resource', getUserResource: 'user/resource', postUserRes: 'user/resource', //报表配置 allAreas: 'allAreas', addReportConfig: 'report/config', getReportConfig: 'report/config', editReportConfig: 'report/{reportId}/config', delReportConfig: 'report/{reportId}/config', // 报表编辑 getReportRectify: 'report/rectify', getReportRectifyDetail: 'report/rectify/detail', compileReportRectifyDetail: 'report/rectify/detail', getReportList: 'report/list', getReportDetail: 'report/{reportId}/detail', getUsers: 'user', //运政管理 getOperaTional: 'vehicle', getSpecificVehicle: 'vehicle/specific', getHouseholds: 'vehicle/business', getRoadway: 'road', //桥梁管理 getBridge: 'bridge', putBridge: 'bridge', //工程数据 getProject: 'project', putProject: 'project', //道路统计 getBgroadstatistics: "build/road_state", //治超监测点处理数据 getzhichaomanager: 'manage/overspeed/processed', //获取治超详情数据 getzhichaodetail: '/manage/overspeed', //大屏运营 —— 公交车辆层级信息 getBusTier: '/operation/car_level', //获取路政列表 getHighways: 'road_manage', //获取道路养护统计及列表 getRoadMaintenance: 'conserve/statistic', //获取宣传数据 getpropagata: 'publicity', //编辑/新增宣传数据 putpropagata: 'publicity', //公交信息 getCircuit: 'bus/line', putCircuit: 'bus/line', delCircuit: 'bus/line/{lineId}', getVehicle: 'bus/car', putVehicle: 'bus/car', delVehicle: 'bus/car/{carId}', }; export const RouteTable = { apiRoot: '/api/root', fileUpload: '/_upload/new', cleanUpUploadTrash: '/_upload/cleanup', };