zhouwx
2025-12-03 59a4f02701ef3b232b9f1d54ba0b29a1e8764704
src/views/work/selfProblems/internalAudit/innerReviewSheet/index.vue
@@ -45,6 +45,7 @@
      <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>
@@ -195,20 +196,16 @@
    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',