四好公路
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.

54 lines
1.6 KiB

3 years ago
'use strict';
import request from 'superagent';
export const ApiTable = {
login: 'login',
logout: 'logout',
getEnterprisesMembers: 'enterprises/{enterpriseId}/members',
3 years ago
//组织管理-用户管理-部门
    getDepMessage: 'department',
    createDepMessage: 'department',
3 years ago
    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',
3 years ago
3 years ago
//用户权限
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',
};