From 34ea6b5475170d00e332edb2158a8452cac29f82 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Fri, 23 Feb 2024 09:28:08 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E8=B5=84=E6=96=99=E6=8E=A5=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/data_reception.ts | 26 +++++ src/views/data_reception/edit.vue | 167 +++++++++++++++++++++++++++++ src/views/data_reception/index.vue | 143 ++++++++++++++++++++++++ 3 files changed, 336 insertions(+) create mode 100644 src/api/data_reception.ts create mode 100644 src/views/data_reception/edit.vue create mode 100644 src/views/data_reception/index.vue diff --git a/src/api/data_reception.ts b/src/api/data_reception.ts new file mode 100644 index 0000000..d8b731c --- /dev/null +++ b/src/api/data_reception.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 资料接收列表 +export function apiDataReceptionLists(params: any) { + return request.get({ url: '/data_reception/lists', params }) +} + +// 添加资料接收 +export function apiDataReceptionAdd(params: any) { + return request.post({ url: '/data_reception/add', params }) +} + +// 编辑资料接收 +export function apiDataReceptionEdit(params: any) { + return request.post({ url: '/data_reception/edit', params }) +} + +// 删除资料接收 +export function apiDataReceptionDelete(params: any) { + return request.post({ url: '/data_reception/delete', params }) +} + +// 资料接收详情 +export function apiDataReceptionDetail(params: any) { + return request.get({ url: '/data_reception/detail', params }) +} \ No newline at end of file diff --git a/src/views/data_reception/edit.vue b/src/views/data_reception/edit.vue new file mode 100644 index 0000000..5151262 --- /dev/null +++ b/src/views/data_reception/edit.vue @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/data_reception/index.vue b/src/views/data_reception/index.vue new file mode 100644 index 0000000..cb586fe --- /dev/null +++ b/src/views/data_reception/index.vue @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + +