Newer
Older
operation_web / src / util / apiField / dataquality.js
@yuwj yuwj on 1 Feb 2021 667 bytes 数据滤网修改
/**
 * 项目管理相关接口
 * @exports {Object}
 */
let host = '/datafilter-api/newfiber-dataquality';
let api = {
    '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;