| | |
| | | <el-table-column label="受审核部门" prop="deptName" align="center"></el-table-column> |
| | | <el-table-column label="操作" align="center"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button> |
| | | <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['innerReviewSheet:list:edit']">编辑</el-button> |
| | | <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['innerReviewSheet:list:del']">删除</el-button> |
| | | </template> |
| | |
| | | item.tableData = item.checkCatalogues.map((i,index) => { |
| | | return{ |
| | | ...i, |
| | | checkContents: i.checkContents.map((q,qindex) => { |
| | | return{ |
| | | ...q, |
| | | first: qindex == 0, |
| | | well: q.result == 1, |
| | | fine: q.result == 2, |
| | | bad: q.result == 3, |
| | | } |
| | | }) |
| | | well: i.result == 1, |
| | | fine: i.result == 2, |
| | | bad: i.result == 3, |
| | | |
| | | } |
| | | }) |
| | | console.log('11',item.tableData) |
| | | item.checkTime = item.startTime +'-'+item.endTime.slice(11) |
| | | try { |
| | | generateWordDocument(templatePath.value, item, item.year+'年'+item.deptName+'_内审检查表.docx'); |
| | | generateWordDocument(templatePath.value, item, item.year+'年'+item.deptName+'_内审检查表.docx',['pointKey', 'find']); |
| | | } catch (error){ |
| | | ElMessage({ |
| | | type: 'warning', |