| | |
| | | if (column.marks && column.marks.filter(mark => mark.field === card.field || mark.contrastField === card.field).length > 0) { |
| | | refers.push(column.label) |
| | | } |
| | | if (column.type === 'colspan') { |
| | | let _length = column.sublist.length |
| | | column.sublist = column.sublist.filter(cell => cell !== card.uuid) |
| | | |
| | | if (column.sublist.length < _length) { |
| | | let subfield = [] // 合并列字段 |
| | | _columnlist.forEach(col => { |
| | | if (col.field && column.sublist.includes(col.uuid)) { |
| | | subfield.push(col.field) |
| | | } |
| | | }) |
| | | column.subfield = subfield.join(', ') |
| | | } |
| | | } |
| | | }) |
| | | |
| | | if (refers.length > 0) { |