import request from "@/utils/request" export const getList = (query) => { return request.get({ url: '/client/c/esEpPlanTemplate/page', data: query, }) } export const getDetail = (id) => { const query = {id} return request.get({ url: '/client/c/esEpPlanTemplate/detail', data: query, }) } export const update = (data) => { return request.post({ url: '/client/c/esEpPlanTemplate/edit', data: data, }) } export const save = (data) => { return request.post({ url: '/client/c/esEpPlanTemplate/add', data: data, }) } export const del = (id) => { const data = [{id}] return request.post({ url: '/client/c/esEpPlanTemplate/delete', data: data, }) }