You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
322 lines
9.6 KiB
322 lines
9.6 KiB
'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',
|
|
getgodshuju: "data/god_trans",
|
|
|
|
//用户权限
|
|
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',
|
|
//档案管理
|
|
uploadFile: 'netdisk-files/upload',
|
|
deleteFile: 'netdisk-files/delete',
|
|
getFileList: 'netdisk-files/query',
|
|
createFileDir: 'create/struct/dir',
|
|
delFileDir: 'netdisk-files/dir/delete',
|
|
queryFileDIr: 'get/file/dirs',
|
|
updateFileDir: 'netdisk-files/struct/dir/update',
|
|
|
|
//运政管理
|
|
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}',
|
|
// 获取上月修养护公里数
|
|
getXiuyang: "road/maintenance/cost/query",
|
|
|
|
|
|
|
|
|
|
//治超管理
|
|
getPurchase: 'overspeed',
|
|
putPurchase: 'overspeed',
|
|
delPurchase: 'overspeed/{overspeedId}',
|
|
login: 'login',
|
|
logout: 'logout',
|
|
|
|
getEnterprisesMembers: 'enterprises/{enterpriseId}/members',
|
|
|
|
getDepById: 'departmentById',
|
|
//组织管理-用户管理-部门
|
|
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',
|
|
handleReport: 'report/{reportId}/handle',
|
|
getReportSpotPrepare: 'report/spot/prepare',
|
|
getSpotCheck: '/report/spot/check',
|
|
getSpotCheckDetail: '/report/spot/check/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}',
|
|
|
|
// 考核评分
|
|
getAssess: 'assess',
|
|
editAssess: 'assess',
|
|
delAssess: 'assess/{assessId}',
|
|
nearestAssessData: 'assess/nearest',
|
|
|
|
// 视频中心
|
|
videoCenterList: 'videoCenter/list',
|
|
|
|
//工程数据
|
|
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',
|
|
busRealtimeList:'bus/run_realtime',
|
|
busLine:'bus/run/line',
|
|
|
|
//获取路政列表
|
|
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',
|
|
postUserReso: 'user/resources',
|
|
|
|
|
|
//报表配置
|
|
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}',
|
|
//单位概况
|
|
getCustodyunit: '/road/maintenance',
|
|
postCustodyunit: '/road/maintenance',
|
|
//养护费用
|
|
getMaintenance: '/road/maintenance/cost/nanchang/query',
|
|
//任务信息
|
|
getTask: 'task', delTask: 'task/{taskId}', editTask: 'task',
|
|
//部门下所有员工
|
|
getAllDepUsers: 'allDepUsers',
|
|
//指派任务
|
|
appointTask: 'appointTask',
|
|
//获取短信提醒电话
|
|
getAnspectionNotificationPhone:'/anspection/notification/phone',
|
|
modifyRoadadministration:'editRoadadministration/:id',
|
|
delRoadadministration:'delRoadadministration/:id',
|
|
addRoadadministration:'/addRoadadministration',
|
|
getRoadadministration:'/getRoadadministration'
|
|
|
|
};
|
|
|
|
|
|
export const RouteTable = {
|
|
apiRoot: '/api/root',
|
|
fileUpload: '/_upload/new',
|
|
cleanUpUploadTrash: '/_upload/cleanup',
|
|
};
|