| | |
| | | title: '对比方式', |
| | | dataIndex: 'match', |
| | | width: '18%', |
| | | render: text => { |
| | | return text === 'regexp' ? '正则表达式' : text |
| | | } |
| | | }, |
| | | { |
| | | title: '对比值', |
| | |
| | | |
| | | let cvalues = {} |
| | | let cols = config.cols.map(item => { |
| | | let types = {custom: '自定义列', colspan: '合并列'} |
| | | let label = types[item.type] ? `${item.label}(${types[item.type]})` : item.label |
| | | let label = item.label |
| | | if (item.type === 'colspan' && item.subcols && item.subcols.length > 0) { |
| | | label = `${item.label}(${item.subcols.map(cell => cell.label).join('、')})` |
| | | } |
| | | |
| | | cvalues[item.uuid] = label |
| | | |