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.
|
|
|
"use strict";
|
|
|
|
import { ProxyRequest, customWebUtils } from "@peace/utils";
|
|
|
|
|
|
|
|
export const AxyRequest = new ProxyRequest("_axy");
|
|
|
|
export const EmisRequest = new ProxyRequest("_emis")
|
|
|
|
|
|
|
|
export const webUtils = new customWebUtils({
|
|
|
|
userKey: 'pomsUser'
|
|
|
|
});
|
|
|
|
const { basicAction, RouteRequest } = webUtils
|
|
|
|
export {
|
|
|
|
basicAction, RouteRequest
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ApiTable = {
|
|
|
|
login: "login",
|
|
|
|
logout: "logout",
|
|
|
|
|
|
|
|
getOrganizationDeps: 'organization/deps',//获取项企(PEP)全部部门及其下用户
|
|
|
|
getOrganizationUser: 'organization/user',//获取成员列表
|
|
|
|
putOrganizationUser: 'organization/user/{pomsUserId}',//更新成员状态
|
|
|
|
postOrganizationUser: 'organization/user',//添加/编辑成员
|
|
|
|
deteleOrganizationAdmin: 'organization/admin/{pomsUserId}',//删除管理员
|
|
|
|
|
|
|
|
|
|
|
|
//告警
|
|
|
|
getProjectPoms: 'project/poms', //获取已绑定项目
|
|
|
|
getAlarmLnspection: 'alarm/application/inspection', //查询应用巡检信息
|
|
|
|
};
|
|
|
|
export const RouteTable = {
|
|
|
|
apiRoot: "/api/root",
|
|
|
|
fileUpload: "/_upload/new",
|
|
|
|
cleanUpUploadTrash: "/_upload/cleanup",
|
|
|
|
};
|