Merge branch 'positec' into dms
| | |
| | | }) |
| | | }) |
| | | } |
| | | } else if (item.key === 'noVField') { |
| | | } else if (['tsField', 'noVField'].includes(item.key)) { |
| | | item.options = [] |
| | | |
| | | if (side === 'sub') { |
| | |
| | | if (['text', 'picture'].includes(this.record.eleType) && this.record.link) { |
| | | _options.push('linkType') |
| | | if (this.record.linkType === 'linkmenu') { |
| | | _options.push('open') |
| | | _options.push('open', 'tsField') |
| | | if (this.record.link === 'static') { |
| | | _options.push('linkmenu') |
| | | } else { |
| | |
| | | if (this.record.link && this.record.eval !== 'func') { |
| | | _options.push('linkType') |
| | | if (this.record.linkType === 'linkmenu') { |
| | | _options.push('open') |
| | | _options.push('open', 'tsField') |
| | | if (this.record.link === 'static') { |
| | | _options.push('linkmenu') |
| | | } else { |
| | |
| | | options: fields |
| | | }, |
| | | { |
| | | type: 'select', |
| | | key: 'tsField', |
| | | label: '透视字段', |
| | | initVal: card.tsField || '', |
| | | tooltip: '透视字段将填充至关联菜单的搜索条件中(透视字段为空时,默认为当前元素绑定字段)。', |
| | | options: fields, |
| | | allowClear: true, |
| | | required: false, |
| | | forbid: appType === 'mob' |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'open', |
| | | label: '打开方式', |
| | |
| | | $BID: data.$$uuid || '' |
| | | } |
| | | |
| | | if (card.field) { |
| | | if (card.tsField) { |
| | | __param.$searchkey = card.tsField |
| | | __param.$searchval = data[card.tsField] || '' |
| | | } else if (card.field) { |
| | | __param.$searchkey = card.field |
| | | __param.$searchval = data[card.field] || '' |
| | | } |