This commit is contained in:
zhuoda
2020-04-07 22:10:57 +08:00
parent 478b39d61a
commit 8394525697
456 changed files with 5963 additions and 2908 deletions

View File

@@ -0,0 +1,28 @@
import { postAxios, getAxios, postDownloadAxios } from '@/lib/http';
export const peonyApi = {
// 添加牡丹花 @author 卓大
addPeony: (data) => {
return postAxios('/peony/add', data);
},
// 分页查询牡丹花 @author 卓大
queryPeony: (data) => {
return postAxios('/peony/page/query', data);
},
// 批量删除牡丹花 @author 卓大
batchDeletePeony: (idList) => {
return postAxios('/peony/deleteByIds', idList);
},
// 修改牡丹花 @author 卓大
updatePeony: (data) => {
return postAxios('/peony/update',data);
},
// 导出全部 @author 卓大
exportAll:(data)=>{
return postDownloadAxios('/peony/export/all',data);
},
// 批量导出 @author 卓大
batchExport: (idList) => {
return postDownloadAxios('/peony/export/batch', idList);
},
};

View File

@@ -29,7 +29,7 @@ export const taskApi = {
return getAxios(`/quartz/task/resume/${taskId}`);
},
// 删除任务
deleteTasks: (taskId) => {
deleteTask: (taskId) => {
return getAxios(`/quartz/task/delete/${taskId}`);
}
};