/** * 项目管理相关接口 * @exports {Object} */ let host = '/datafilter-api/newfiber-dataquality'; let api = { // 站点管理--配置因子: 'ruleEngineselectAll': "/ruleEngine/selectAll", //查询规则引擎下拉框 'insertRule': '/ruleEngine/insert', //新增规则 'updateRule': '/ruleEngine/update', //修改规则 'deleteRule': '/ruleEngine/delete', //删除规则 'factorRule': '/ruleEngine/factor', //因子名称 'enableRule': '/ruleEngine/enable', //启用 'selectAllRule': '/ruleEngine/selectAll', //查看规则 'alarmHistoryRule': '/alarmHistory/selectAll', //报警历史 'testRuleEngine': '/ruleEngine/testSend', //测试消息队列 }; for (let item in api) { api[item] = host + api[item]; } export default api;