| | |
| | | }) |
| | | }) |
| | | } |
| | | } else if (item.key === 'noVField') { |
| | | item.options = [] |
| | | |
| | | if (side === 'sub') { |
| | | config.subColumns.forEach(col => { |
| | | let label = `${col.field}(${col.label})` |
| | | item.options.push({ |
| | | value: col.field, |
| | | text: label |
| | | }) |
| | | }) |
| | | } else { |
| | | config.columns.forEach(col => { |
| | | let label = `${col.field}(${col.label})` |
| | | item.options.push({ |
| | | value: col.field, |
| | | text: label |
| | | }) |
| | | }) |
| | | } |
| | | } else if (item.key === 'formula') { |
| | | item.fields = [] |
| | | |
| | |
| | | _options.push('value') |
| | | } |
| | | |
| | | if (this.record.eleType === 'text' && this.record.noValue === 'hide') { |
| | | _options.push('noVField') |
| | | } |
| | | if (this.record.eleType === 'picture' && this.record.noValue === 'show') { |
| | | _options.push('lostTip') |
| | | } else if (this.record.eleType === 'video' && this.record.posterType) { |