'use strict'; import request from 'superagent'; 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', // 数据 getFundamental: 'daily/report/data/statistic', getsortord: "daily/report/area/statistic?startDate={zuo}&endDate={day}", //填报信息 getReportStatistic: 'report/management/statistic', reportDownLoad: '_report/http' }; export const RouteTable = { apiRoot: '/api/root', fileUpload: '/_upload/new', cleanUpUploadTrash: '/_upload/cleanup', };