diff --git a/src/api/report/ureport/index.ts b/src/api/report/ureport/index.ts new file mode 100644 index 00000000..c11ce960 --- /dev/null +++ b/src/api/report/ureport/index.ts @@ -0,0 +1,39 @@ +import request from '@/config/axios' + +export interface UreportFileVO { + id: number + fileName: string + status: number + fileContent: string + remark: string +} + +// 查询Ureport2报表分页 +export const getUreportFilePage = async (params) => { + return await request.get({ url: `/report/ureport-file/page`, params }) +} + +// 查询Ureport2报表详情 +export const getUreportFile = async (id: number) => { + return await request.get({ url: `/report/ureport-file/get?id=` + id }) +} + +// 新增Ureport2报表 +export const createUreportFile = async (data: UreportFileVO) => { + return await request.post({ url: `/report/ureport-file/create`, data }) +} + +// 修改Ureport2报表 +export const updateUreportFile = async (data: UreportFileVO) => { + return await request.put({ url: `/report/ureport-file/update`, data }) +} + +// 删除Ureport2报表 +export const deleteUreportFile = async (id: number) => { + return await request.delete({ url: `/report/ureport-file/delete?id=` + id }) +} + +// 导出Ureport2报表 Excel +export const exportUreportFile = async (params) => { + return await request.download({ url: `/report/ureport-file/export-excel`, params }) +} \ No newline at end of file diff --git a/src/views/report/ureport/UreportFileForm.vue b/src/views/report/ureport/UreportFileForm.vue new file mode 100644 index 00000000..7d71055c --- /dev/null +++ b/src/views/report/ureport/UreportFileForm.vue @@ -0,0 +1,113 @@ + + \ No newline at end of file diff --git a/src/views/report/ureport/index.vue b/src/views/report/ureport/index.vue new file mode 100644 index 00000000..ef4986dc --- /dev/null +++ b/src/views/report/ureport/index.vue @@ -0,0 +1,219 @@ + + + \ No newline at end of file