祖安之光
2025-09-16 7d8c89bce98c55ec01c4203bfbfdbdbe11a838eb
src/views/work/documentManage/docBorrowCopy/index.vue
@@ -30,9 +30,9 @@
    <!-- 表格数据 -->
    <el-table v-loading="loading" :data="dataList" :border="true">
      <el-table-column type="index" label="序号"></el-table-column>
      <el-table-column prop="enactmentDate" align="center" label="检查表名称">
      <el-table-column prop="name" align="center" label="记录名称">
        <template #default="scope">
          {{scope.row.name + '记录'}}
          {{scope.row.name }}
        </template>
      </el-table-column>
      <el-table-column label="操作" align="center">
@@ -146,13 +146,12 @@
        return {
          ...item,
          index: index + 1,
          distributionDate: item.distributionDate.substring(0,10),
          collectionDate: item.collectionDate.substring(0,10)
          borrowDate: item.borrowDate.substring(0,10),
          backDate: item.backDate.substring(0,10)
        }
      })
      tableData.tabulationDate = tableData.tabulationDate.substring(0,10)
      try {
        generateWordDocument('/docDistributeRetrieve.docx', tableData, tableData.name +'文件发放/回收记录.docx');
        generateWordDocument('/docBorrowCopy.docx', tableData, tableData.name +'文件借阅/复制记录.docx');
      } catch (error){
        ElMessage({
          type: 'warning',