Newer
Older
operation_web / src / components / util / apiField / dataJob.js
@yuwj yuwj on 27 Jan 2021 1 KB 集成数据滤网模块
/**
 * 数据模型训练接口
 * @exports {Object}
 */
let host = '/api/newfiber-job';
// let host = '/job/newfiber-job';

let api = {
  "dataModelTrainGetList": "/dataModelTrain/getList", // 数据模型列表查询分页接口
  "dataModelTrainCreateModelTrainTask": "/dataModelTrain/createModelTrainTask", // 数据模型新增数据
  "dataModelTrainUpdate": "/dataModelTrain/update", // 数据模型更新数据
  "dataModelTrainQueryById": "/dataModelTrain/queryById", // 数据模型获取单个模型训练
  "dataModelTrainDelete": "/dataModelTrain/delete", // 数据模型批量删除
  "dataModelQueryInputDataConfig": "/dataModelTrain/queryDataConfig", // 获取文本输入上传文件数据结构
  "dataModelProcessTask": "/dataModelTrain/processTask", // 执行
  "dataModelQueryRecordListByTrainId": "/dataModelTrain/queryRecordListByTrainId", // 记录列表查询接口
  "dataModelQueryRecordDetailByRecordId": "/dataModelTrain/queryRecordDetailByRecordId", // 记录详情查询接口
  "dataModelQueryRecordDetailByRecordIdInc": "/dataModelTrain/queryRecordDetailByRecordIdInc", // 任务记录查询增量接口
};

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