From 23c8b8154fcf7c9251d07f028f3e14737ba4cecd Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期二, 31 十二月 2024 19:04:35 +0800 Subject: [PATCH] 调度模型下发配置 --- src/api/model/sche/scheme/index.ts | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/api/model/sche/scheme/index.ts b/src/api/model/sche/scheme/index.ts index 819f346..0bcafb3 100644 --- a/src/api/model/sche/scheme/index.ts +++ b/src/api/model/sche/scheme/index.ts @@ -1,6 +1,6 @@ import request from '@/config/axios' -export interface ScheduleScheme { +export interface ScheduleSchemeVO { id: string code: string name: string @@ -13,6 +13,7 @@ scheduleTime: string remark: string status: number + mpkprojectid: string } export interface ScheduleSchemePageReqVO extends PageParam { @@ -27,12 +28,12 @@ // 查询ScheduleScheme详情 export const getScheduleScheme = (id: number) => { - return request.get({ url: `/model/sche/scheme/info/${id}`}) + return request.get({ url: '/model/sche/scheme/get?id=' + id}) } // 新增ScheduleScheme export const createScheduleScheme = (data: ScheduleSchemeVO) => { - return request.post({ url: '/model/sche/scheme/add', data }) + return request.post({ url: '/model/sche/scheme/create', data }) } // 修改ScheduleScheme -- Gitblit v1.9.3