/** * 项目管理相关接口+工业物联网云平台 * @exports {Object} * 陈洪刚 */ let host = '/dataApi'; let nozzle = { 'StationBaseControllerQueryPlatform': '/StationBaseController/queryPlatform', //获取所有平台 'StationBaseControllerGetUsers': '/StationBaseController/getUsers', //查询平台关联的权限用户 'alarmLogGetAlarmLogInfo': '/alarmLog/getAlarmLogInfo', //告警推送日志查询 'alarmLogStatistical': '/alarmLog/statistical', //告警统计 'syslogGetLogList':'/syslog/getLogList',//工业物联网云平台-查询日志 'engineeringWorkOpenPump':'/engineeringWork/openPump',//工业物联网云平台-开水泵 'engineeringWorkClosePump':'/engineeringWork/closePump',//工业物联网云平台-关水泵 'engineeringWorkopenMachine':'/engineeringWork/openMachine ',//工业物联网云平台-开设备 'engineeringWorkcloseMachine':'/engineeringWork/closeMachine ',//工业物联网云平台- 关设备 'engineeringWorkopenValve':'/engineeringWork/openValve',//工业物联网云平台-开阀门 'engineeringWorkcloseValve':'/engineeringWork/closeValve',//工业物联网云平台-关阀门 'faultInfoGetTempInfo':'/faultInfo/getTempInfo',//工程作业-查询实时故障数据 'faultInfoGetHisInfo':'/faultInfo/getHisInfo',//工程作业-查询历史故障数据 'StationBaseControllerGetPlatFormSiteTree':'/StationBaseController/getPlatFormSiteTree',//工程作业-平台站点二级树 'taskInfoGetTempInfo':'/taskInfo/getTempInfo',//工程作业-实时作业 'taskInfoGetHisInfo':'/taskInfo/getHisInfo',//工程作业-历史作业 'sysLogin':'/sysLogin',//登录 'menuGetCurrentUserMenu':'/menu/getCurrentUserMenu',//获取菜单以及按钮权限 'selectSysuser':'/selectSysuser', //获取用户信息 'deleteSysuser':'/deleteSysuser', //删除用户信息 'updateSysuser':'/updateSysuser', //修改用户信息 'addSysuser':'/addSysuser', //新增用户信息 'orgGetOrgTree':'/org/getOrgTree', //获取组织信息 'orgDeleteOrg':'/org/deleteOrg', //删除组织信息 'orgUpdateOrg':'/org/updateOrg', //修改组织信息 'orgAddOrg':'/org/addOrg', //新增组织信息 "orgGetCurrentOrgTree":"/org/getCurrentOrgTree",//获取当前用户可管理的组织 'roleGetRoles':'/role/getRoles', //查询角色信息 'roleAddRole':'/role/addRole', //新增角色信息 'roleUpdateRole':'/role/updateRole', //修改角色信息 'roleDeleteRole':'/role/deleteRole', //删除角色信息 'roleGetRoleMenums':'/role/getRoleMenums', //查询角色授权的菜单按钮 'menuGetMenuTree':'/menu/getMenuTree', //查询菜单树信息 'menuAddMenu':'/menu/addMenu', //新增菜单树信息 'menuUpdateMenu':'/menu/updateMenu', //修改菜单树信息 'menuDeleteMenu':'/menu/deleteMenu', //删除菜单树信息 'menuGetCurrentUserMenu':'/menu/getCurrentUserMenu', //获取当前用户的菜单 }; for (let item in nozzle) { nozzle[item] = host + nozzle[item]; } export default nozzle;