| | |
| | | datalength: number |
| | | } |
| | | |
| | | export interface WorkPrecessParamVO { |
| | | processType: string |
| | | } |
| | | |
| | | export interface ScheduleModelPageReqVO extends PageParam { |
| | | modelCode?: string |
| | | modelName?: string |
| | |
| | | |
| | | // 查询ScheduleModel详情 |
| | | export const getScheduleModel = (id: number) => { |
| | | return request.get({ url: `/model/sche/model/info/${id}`}) |
| | | return request.get({ url: '/model/sche/model/get?id=' + id}) |
| | | } |
| | | |
| | | // 新增ScheduleModel |
| | | export const createScheduleModel = (data: ScheduleModelVO) => { |
| | | return request.post({ url: '/model/sche/model/add', data }) |
| | | return request.post({ url: '/model/sche/model/create', data }) |
| | | } |
| | | |
| | | // 修改ScheduleModel |
| | |
| | | return request.delete({ url: '/model/sche/model/delete?id=' + id }) |
| | | } |
| | | |
| | | // 查询模型参数列表 |
| | | export const getModelParamList = () => { |
| | | let modelparamListMap = [] |
| | | // 查询ScheduleModel列表 |
| | | export const getScheduleModelList = () => { |
| | | return request.get({ url: '/model/sche/model/list'}) |
| | | } |
| | | |
| | | return modelparamListMap |
| | | // 查询模型参数列表 |
| | | export const getModelParamList = (modelparamListMap) => { |
| | | modelparamListMap['point'] = [] |
| | | } |
| | | |
| | | // 查询getScheduleWorkPrecessList列表 |
| | | export const getScheduleWorkPrecessList = (data: WorkPrecessParamVO) => { |
| | | return request.get({ url: '/model/sche/model/work-process/list/all'},data) |
| | | } |