Newer
Older
operation_web / src / util / CHGTwo.js
@zhangqy zhangqy on 17 Dec 2019 1 KB 1
/**
 * 项目管理相关接口+工业物联网云平台
 * @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',//工程作业-平台站点二级树



};

for (let item in nozzle) {
  nozzle[item] = host + nozzle[item];
}
export default nozzle;