zhouwx
8 天以前 d5bd0e88c1eec6bb2947d2bfa57348d89edbc1c3
src/views/build/conpanyFunctionConsult/qualityObjectives/table/index.vue
@@ -328,7 +328,6 @@
  let name = ''
  data.forEach(item => {
    name = ''
    console.log('item',item)
    if(item.type == 1){
      templatePath.value = '/tableCompanyExample.docx'
      name = item.companyName
@@ -341,9 +340,15 @@
    const month = (now.getMonth() +1).toString().padStart(2, '0');
    item.nowDate = year + '-' + month
    item.tableData = item.qualityTargets.map((i,index) => {
      return {
      return{
        ...i,
        nuum: index+1
        qualityTargetMesses: i.qualityTargetMesses.map((q,qindex) => {
          return{
            ...q,
            first: qindex == 0,
            nuum: index+1
          }
        })
      }
    })
    try {