From ff99fbde2bf7a64cdf321c67eb0c41409ed1f1ce Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Mon, 22 Jun 2026 14:28:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=9F=9Capi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/system/documentArchives.js | 31 +- .../archivesMIOD/‌filingCabinet/index.vue | 308 +++++++++++------- 3 files changed, 230 insertions(+), 111 deletions(-) diff --git a/package.json b/package.json index 9a1f3a1..0e20060 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "yxk-electronic-archives", + "name": "transportation-archives", "version": "1.0.0", "description": "电子档案管理系统", "license": "", diff --git a/src/api/system/documentArchives.js b/src/api/system/documentArchives.js index 82319ce..4c53ad0 100644 --- a/src/api/system/documentArchives.js +++ b/src/api/system/documentArchives.js @@ -368,6 +368,32 @@ export function FetchBorrowerdsByIds(params) { }) } +// 文件流转柜绑定借阅者 +export function FetchCabinetBingBorrower(data) { + return request({ + url: 'api/documentCirculationCabinet/bingBorrower', + method: 'post', + data + }) +} + +// 文件流转柜解绑借阅者 +export function FetchCabinetUnbingBorrower(data) { + return request({ + url: 'api/documentCirculationCabinet/unbingBorrower', + method: 'post', + data + }) +} + +// 根据文件流转柜编号查询详情 +export function FetchDocumentCirculationCabinetById(params) { + return request({ + url: 'api/documentCirculationCabinet/getDocumentCirculationCabinetById' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + export default { FetchInitDocumentParam, updateDocumentParam, @@ -410,5 +436,8 @@ export default { FetchLend, FetchDocumentReturn, FetchBorrowerPassInit, - FetchBorrowerdsByIds + FetchBorrowerdsByIds, + FetchCabinetBingBorrower, + FetchCabinetUnbingBorrower, + FetchDocumentCirculationCabinetById } diff --git a/src/views/archivesMIOD/‌filingCabinet/index.vue b/src/views/archivesMIOD/‌filingCabinet/index.vue index 051625e..f8c3895 100644 --- a/src/views/archivesMIOD/‌filingCabinet/index.vue +++ b/src/views/archivesMIOD/‌filingCabinet/index.vue @@ -7,52 +7,49 @@
- {{ item.id }} - {{ item.name }} - {{ item.name }} - {{ item.fileCount }} + {{ item.id }} + + {{ item.bound ? item.borrowName : '' }} + {{ item.documentCount }}
- {{ item.id }} - {{ item.name }} - {{ item.bound ? item.borrowName : '' }} - {{ item.fileCount }} + {{ item.id }} + {{ item.bound ? item.borrowName : '' }} + {{ item.documentCount }}
- {{ item.id }} - {{ item.name }} - {{ item.bound ? item.borrowName : '' }} - {{ item.fileCount }} + {{ item.id }} + {{ item.bound ? item.borrowName : '' }} + {{ item.documentCount }}
- {{ item.id }} - {{ item.name }} - {{ item.bound ? item.borrowName : '' }} - {{ item.fileCount }} + {{ item.id }} + {{ item.bound ? item.borrowName : '' }} + {{ item.documentCount }}
@@ -66,19 +63,19 @@
绑定状态: - - {{ selectedCellInfo.type === 'department' ? (selectedCellInfo.bound ? '已绑定' : '未绑定') : '已绑定' }} + + {{ selectedCellInfo.bound ? '已绑定' : '未绑定' }}
绑定目标: - {{ selectedCellInfo.type === 'ld' ? selectedCellInfo.name : (selectedCellInfo.type === 'department' ? (selectedCellInfo.bound ? selectedCellInfo.borrowName : '-') : '') }} + {{ selectedCellInfo.bound ? selectedCellInfo.borrowName : '-' }}
- + 绑定 @@ -95,7 +92,7 @@ ref="table" v-loading="crud.loading" class="archives-table" - :data="crud.data" + :data="miodData" style="width: 100%;" height="calc(100vh - 260px)" @cell-dblclick="tableDoubleClick" @@ -147,10 +144,14 @@ - + + + @@ -172,6 +173,7 @@