From 97f5f17eeda7de49169fc2099bccf66c24d3823d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 17 九月 2025 16:09:50 +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