zhouwx
6 天以前 1d66f43353524889999bbd9ac0b331c557ff98f7
src/views/build/conpanyFunctionConsult/qualityObjectives/table/index.vue
@@ -347,8 +347,12 @@
    const year = now.getFullYear()
    const month = (now.getMonth() +1).toString().padStart(2, '0');
    item.nowDate = year + '-' + month
    item.year = year
    item.tableData = item.qualityTargets
    item.tableData = item.qualityTargets.map((i,index) => {
      return {
        ...i,
        nuum: index+1
      }
    })
    try {
      generateWordDocument(templatePath.value, item, name+'_质量目标分解表.docx');
    } catch (error){