const interfaces = { /**登录相关接口*/ login: 'login', captcha: 'captcha', logout: 'logout', userInfo: 'sys/user/info', auth: 'v3/auth/button',//权限 deptList: 'sys/dept/list',//获取子公司列表 /**首页相关接口*/ dataAnalysis: 'v3/home/operational-data-analysis', overall: 'v3/home/overall', homeBase: 'v3/home/basic', securityService: 'v3/home/security-service', transferTop: 'v3/home/transferTop', operationalDataAnalysis: 'v3/home/operational-data-analysis', totalPassengerFlow: 'v3/home/total-passenger-flow', // getShowYeAmapAll: 'v3/home/getCompanyArea', getShowYeAmapAll: 'v3/common/compnay', getShowYeAmapAll2: 'v3/home/getCompanyArea2', getTotalScoreTop: 'v3/home/getTotalScoreTop', getLineRunVehicleAll: '/v3/home/getAllLineMap', areaStationRate: 'v3/home/areaStationRate', /**运营中心相关接口*/ center: { passengerFlow: 'v3/operations-center/passenger-flow',//客流 yesterdayMileage: 'v3/operations-center/yesterday-mileage',//昨日运营里程 consult: 'v3/operations-center/consult',//服务咨询 middle: 'v3/operations-center/middle',//当日完成比率 indicatorCompletion: 'v3/operations-center/indicator-completion',//考核指标达成情况 indicatorsChange: 'v3/operations-center/keyIndicator',//重点指标变化趋势 operationOverview: '/v3/operations-center/operation-overview',//运营概览 execute: 'v3/operations-center/execute',//运营概览 site: 'v3/operations-center/site',//站点情况 costCheck: 'v3/operations-center/costCheck', // 成本核收 }, data: { getDriverCount: 'v3/oadConditionTalk/getDriverCount', // 数据看板-司机详情-司机总数、男女数 lineLength: 'v3/lineinfo/lineLength', // 线路长度 }, /**地图相关接口*/ mapfengognsi: 'api/sys/user/auth/login', /**事故通报*/ accident: { statistics: 'v3/accident/statistics', list: 'v3/accident/page', update: 'v3/accident', detail: 'v3/accident/' }, safety: { lostList: 'v3/lost-thing/list', // 失物招领 lostDetail: 'v3/lost-thing/info', // 详情 serviceQualityDetail: 'v3/safety/serviceQualityDetail', // 服务质量-详情 pageServiceQuality: 'v3/safety/pageServiceQuality', // 服务质量-列表 pageDrive: 'v3/safety/pageDrive', // 安全驾驶-列表 driveDetail: 'v3/safety/driveDetail', // 安全驾驶-详情 }, /**分公司列表*/ companyList: 'v3/basicResource/getBasicCompanyMenu', /**基础资源*/ basicResource: { company: 'v3/basicResource/getBasicCompanyIndicator', // 分公司 busLine: 'v3/basicResource/getBasicLinedicator', // 线路 singleLine: 'v3/basicResource/getOneLinedicator', // 单条线路 site: 'v3/basicResource/getStationdicator', // 站点 siteBack: 'v3/basicResource/getStationPlayBack', // 站点回放 bus: 'v3/basicResource/getBasicBus', //车辆 station: 'v3/basicResource/getBasicPlaceSite', // 场站 searchSite: 'v3/basicResource/pageMergeableStation', // 站点搜索 siteMerge: 'v3/basicResource/mergeStation', // 站点合并 siteDetail: 'v3/basicResource/stationMergeDetail', // 站点详情 updateTnBusMaintainStation: 'v3/basicResource/updateTnBusMaintainStation', // 厂站修改 insertTnBusMaintainStation: 'v3/basicResource/insertTnBusMaintainStation', // 厂站新增 deleteTnBusMaintainStation: 'v3/basicResource/deleteTnBusMaintainStation', // 厂站删除 getLinePassFlow: 'v3/basicResource/getLinePassFlow', // 获取-线路-日期范围内每小时客流 getLinePassFlowDetail: 'v3/basicResource/getLinePassFlowDetail', // 线路客流详情 exportLinePassFlowDetail: 'v3/basicResource/exportLinePassFlowDetail', // 线路客流详情导出 getStationPassFlow: 'v3/basicResource/getStationPassFlow', // 获取-站点-日期范围内每小时客流 getShiftFail: 'v3/basicResource/pageShift', // 班次 getLineThreePassFlow: 'v3/basicResource/getLineThreePassFlow', // 获取-线路-某天的前30天每日客流 getStationThreePassFlow: 'v3/basicResource/getStationThreePassFlow', // 获取-站点-某天的前30天每日客流 busPerson: 'v3/basicResource/driver/busPerson', // 查看驾驶员 busPassengerFlow: 'v3/lineinfo/detail/busPassengerFlow', // 公交客运量 lineSectionPassengerFlow: 'v3/lineinfo/detail/lineSectionPassengerFlow', // 线路断面客流量 export: { company: 'v3/basicResource/exportBasicCompanyIndicator', line: 'v3/basicResource/exportBasicLinedicator', singleLine: 'v3/basicResource/exportOneLinedicator', bus: 'v3/basicResource/exportBasicBus', station: 'v3/basicResource/exportBasicPlaceSite', site: 'v3/basicResource/exportStationdicator', playBack: 'v3/basicResource/exportStationPlayBack', } }, /**公交地图接口 */ mapResource: { // --------分公司指标查询接口 1.获取所有分公司 2.获取分公司的指标数据 3.获取分公司对应的范围 4.获取分公司的下拉框 getFenGongSiAll: 'busMap/listCompany', getFenGongSiDetailById: '/busMap/getCompanyIndicator', getFenGongSiExtentById: '/busMap/getCompanyArea', getFenGongSiDataAll: '/busMap/getCompanySelect', // --------1.场站指标查询接口 2.场站获取下拉和查询所有数据接口 getChangZhanDetailById: 'busMap/getBusMaintainStationIndicator', getChangZhanAllData: 'busMap/listBusMaintainStation', // --------线路查询接口 1.通过ID获取线路站点和线 2.通过线路id获取指标数据 3.获取站点的下拉框4.通过线路id获取正在运行的车辆 getXianLuDataByLineID: '/busMap/getLineMap', getXianLuDetailByLineID: '/busMap/getLineIndicator', getXianLuAllByName: '/busMap/getLineSelect', getLineRunVehicle: '/busMap/getLineRunVehicle', // --------站点查询接口 1.获取所有站点 2.或者站点对应指标数据 3.获取站点的线路图 4.获取多个站点流量指标数据5,获取经过站点线路客流 getZhandianDataAll: '/busMap/listStation', getZhandianDetailById: '/busMap/getStationIndicator', getZhandianNetWorkById: '/busMap/getStationLineNetwork', getZhandianDetailByIds: '/busMap/getStationPassengerFlow', getListStationLinePassengerFlow: '/busMap/listStationLinePassengerFlow', // --------车辆查询接口 1.获取所有车辆数据 2.查询车辆下啦菜单 3.车辆指标查询接口 getCheLiangDateAll: '/busMap/getCompanyRunVehicle', getCheLiangMenuAll: '/busMap/getCompanySelect', getCheLiangDetailById: '/busMap/getVehicleIndicator', }, /**司机评价 */ driver: { complaint: 'v3/driver-evaluate/complaint-analysis', // 投诉 complaintList: 'v3/driver-evaluate/complaint-number-change', // 投诉数量变化 onLine: 'v3/driver-evaluate/driver-statistics', // 当班司机统计 workRank: 'v3/driver-evaluate/work-length', // 工作时长排名 percent: 'v3/driver-evaluate/driver-proportion', // 司机占比 age: 'v3/driver-evaluate/age-distribution', // 驾龄分布 age1: 'v3/driver-evaluate/age-fenbu', // 年龄分布 list: 'v3/basicResource/driver/list', // 司机列表 detail: 'v3/basicResource/driver/detail', // 司机详情 update: 'v3/basicResource/driver/edit', // 司机编辑 }, // 路况评价 road: { getRoadConditionAnalysis: '/v3/oadConditionTalk/getRoadConditionAnalysis', getRoadConditionCurve: '/v3/oadConditionTalk/getRoadConditionCurve', getLineJamScale: '/v3/oadConditionTalk/getLineJamScale', getJamRangeList: '/v3/oadConditionTalk/getJamRangeList', // getAllStationJamList: '/v3/oadConditionTalk/getJamRangeList', getLineJamRank: '/v3/oadConditionTalk/getLineJamRank', getStationJamRank: '/v3/oadConditionTalk/getStationJamRank', getAllStationJamList: '/v3/oadConditionTalk/getAllStationJamList', getAllLineJamList: '/v3/oadConditionTalk/getAllLineJamList' }, // 线路评价 line: { getLineLength: '/v3/lineinfo/lineLength', // 线路长度 getLineType: '/v3/lineinfo/lineType', // 线路占比 getOnTimeRate: '/v3/lineinfo/onTimeRate', // 发车准点率 getBuzheng: '/v3/lineinfo/shiftRate', // 班次完成率 getPassengerFlow: 'v3/operations-center/passengerFlow', // 获取客流总量排名 getOntimeRateFL: '/v3/lineinfo/ontimeRateFL', // 获取首末班准点率 getAllLineJamList: '/v3/oadConditionTalk/getAllLineJamList', getJamMapLineById: '/v3/oadConditionTalk/getJamMapOfOneLine' }, //客服咨询 customer: { getCustomerList: 'customer/qlworkorder/getCustomerList', exportCustomerList: 'customer/qlworkorder/exportCustomerList', getOneCustomerDetailList: 'customer/qlworkorder/getOneCustomerDetailList', getWorkOrderTypeMenu: 'customer/qlworkorder/getWorkOrderTypeMenu', getTypeMenu: 'customer/qlworkorder/getTypeMenu', getProjectTypeMenu: 'customer/qlworkorder/getProjectTypeMenu', getHandelCheckMenu: 'customer/qlworkorder/getHandelCheckMenu', }, // 评估报告 assess: { getReportListByLineName: 'v3/operations-center/getReportListByLineName', getOneReport: 'v3/operations-center/getOneReport', // 根据报告id 返回上下行评估报告 createReport: 'v3/operations-center/createReport', // 生成评估报告 返回上下行报告 }, /**安全管理内容 */ safetyArticle: { add: 'v3/safety/add', // 新增 update: 'v3/safety', // 修改 detail: 'v3/safety/getDetail', // 查看详情 list: 'v3/safety/getPage', // 获取列表 visitList: 'v3/safety/pageVisit', // 访问列表 }, // 线路详情 lineInfo: { detailInfo: '/v3/lineinfo/detail/info', // 获取线路详情 getPassengerFlow: '/v3/lineinfo/passengerFlow', // 客流总量排名 getDetailMiles: '/v3/lineinfo/detail/miles', // 行驶总里程 getDetailPassengers: '/v3/lineinfo/detail/passengers', // 获取投诉率 getOtherQuota: '/v3/lineinfo/detail/otherQuota', // 发车准点率、班次完成率、大间隔次数、运营班次 getShiftRate: '/v3/lineinfo/shiftRate', // 获取班次完成率 getDetailSpeed: '/v3/lineinfo/detail/speed', // 平均车速 } }; module.exports = interfaces;