From 90ab562f5eac24e0e3b334335f6d76438236f305 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 21 八月 2025 10:04:30 +0800 Subject: [PATCH] 完成档案统计 --- src/views/fileManagement/borrow/index.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/views/fileManagement/borrow/index.vue b/src/views/fileManagement/borrow/index.vue index 9a9ee81..6875571 100644 --- a/src/views/fileManagement/borrow/index.vue +++ b/src/views/fileManagement/borrow/index.vue @@ -233,13 +233,8 @@ const tableColumns = ref([ { label: '鏂囨。鍚嶇О', - prop: 'documentationId', + prop: 'docName', width: '200', - formatData: (params) => { - if (!params) return '-'; - const doc = documentList.value.find(item => item.id === params); - return doc ? (doc.docName || doc.name) : params; - } }, { label: '鍊熼槄浜�', prop: 'borrower' }, { label: '鍊熼槄鐩殑', prop: 'borrowPurpose' }, @@ -374,7 +369,10 @@ }; // 鎵撳紑鍊熼槄寮规 -const openBorrowDia = (type, data) => { +const openBorrowDia = async (type, data) => { + // 鍏堝埛鏂版枃妗e垪琛� + await loadDocumentList(); + borrowOperationType.value = type; borrowDia.value = true; -- Gitblit v1.9.3