| | |
| | | <!-- 表格数据 --> |
| | | <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"> |
| | |
| | | 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', |