| | |
| | | const year = now.getFullYear() |
| | | const month = (now.getMonth() +1).toString().padStart(2, '0'); |
| | | item.nowDate = year + '-' + month |
| | | console.log('item.qualityTargets',item.qualityTargets) |
| | | item.tableData = item.qualityTargets.map((i,index) => { |
| | | return { |
| | | return{ |
| | | ...i, |
| | | nuum: index+1, |
| | | nuumRowSpan:`${i.qualityTargetMesses.length}cm`, |
| | | messageRowSpan:`${i.qualityTargetMesses.length}cm`, |
| | | qualityTargetMesses: i.qualityTargetMesses.map((q,qindex) => { |
| | | return{ |
| | | ...q, |
| | | first: qindex == 0, |
| | | nuum: index+1 |
| | | } |
| | | }) |
| | | } |
| | | }) |
| | | try { |