From 8e0ad187846de358f47a7fc0d42d722c6f22f856 Mon Sep 17 00:00:00 2001 From: JilingLee <18850011309@139.com> Date: Thu, 14 Sep 2023 17:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E4=BA=A4=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/archives/turnOver.js | 54 ++++ src/views/archives/turnOver/index.vue | 438 ++++++++++++++++++++++++++ 2 files changed, 492 insertions(+) create mode 100644 src/api/archives/turnOver.js create mode 100644 src/views/archives/turnOver/index.vue diff --git a/src/api/archives/turnOver.js b/src/api/archives/turnOver.js new file mode 100644 index 00000000..cb9f07e6 --- /dev/null +++ b/src/api/archives/turnOver.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建移交 +export function createTurnOver(data) { + return request({ + url: '/archives/turn-over/create', + method: 'post', + data: data + }) +} + +// 更新移交 +export function updateTurnOver(data) { + return request({ + url: '/archives/turn-over/update', + method: 'put', + data: data + }) +} + +// 删除移交 +export function deleteTurnOver(id) { + return request({ + url: '/archives/turn-over/delete?id=' + id, + method: 'delete' + }) +} + +// 获得移交 +export function getTurnOver(id) { + return request({ + url: '/archives/turn-over/get?id=' + id, + method: 'get' + }) +} + +// 获得移交分页 +export function getTurnOverPage(query) { + return request({ + url: '/archives/turn-over/page', + method: 'get', + params: query + }) +} + +// 导出移交 Excel +export function exportTurnOverExcel(query) { + return request({ + url: '/archives/turn-over/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/views/archives/turnOver/index.vue b/src/views/archives/turnOver/index.vue new file mode 100644 index 00000000..8d34666f --- /dev/null +++ b/src/views/archives/turnOver/index.vue @@ -0,0 +1,438 @@ + + +