| | |
| | | import request from '@/config/axios' |
| | | |
| | | export interface ScheduleScheme { |
| | | export interface ScheduleSchemeVO { |
| | | id: string |
| | | code: string |
| | | name: string |
| | |
| | | |
| | | // 查询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 |