spring
3 天以前 90ab562f5eac24e0e3b334335f6d76438236f305
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) => {
  // 先刷新文档列表
  await loadDocumentList();
  borrowOperationType.value = type;
  borrowDia.value = true;