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.
48 lines
1.4 KiB
48 lines
1.4 KiB
3 years ago
|
'use strict';
|
||
|
import request from 'superagent';
|
||
|
|
||
|
export const ApiTable = {
|
||
|
login: 'login',
|
||
|
logout: 'logout',
|
||
|
|
||
|
getEnterprisesMembers: 'enterprises/{enterpriseId}/members',
|
||
|
|
||
|
//组织管理-用户管理
|
||
|
getDepMessage: 'organization/department',
|
||
|
getDepUser: 'organization/department/{depId}/user',
|
||
|
createUser: 'organization/department/user',
|
||
|
updateUser: 'organization/department/user/{id}',
|
||
|
delUser: 'organization/department/user/{ids}',
|
||
|
resetPwd: '/organization/department/user/resetPwd/{id}',
|
||
|
|
||
|
//用户权限
|
||
|
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',
|
||
|
};
|