From 02bbf25456f3a0165313340be277cfa4a2b3b24f Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 25 十二月 2024 18:09:51 +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