| | |
| | | * @description 按钮编辑,获取按钮表单信息 |
| | | */ |
| | | handleAction = (card) => { |
| | | const { config } = this.props |
| | | const { config, group } = this.props |
| | | |
| | | let usefulFields = sessionStorage.getItem('permFuncField') |
| | | if (usefulFields) { |
| | |
| | | this.setState({ |
| | | visible: true, |
| | | card: card, |
| | | formlist: getActionForm(card, functip, config.setting.tableName, usefulFields, modules, anchors) |
| | | formlist: getActionForm(card, functip, config.setting.tableName, usefulFields, modules, anchors, group.uuid, group.fields) |
| | | }) |
| | | } |
| | | |
| | |
| | | res.enable = group.prevButton.enable || 'true' |
| | | group.prevButton = res |
| | | } else if (res.type === 'submit') { |
| | | res.enable = group.subButton.enable || 'true' |
| | | group.subButton = res |
| | | } else if (res.type === 'next') { |
| | | res.enable = group.nextButton.enable || 'true' |