king
2020-07-23 71fce3cc19f80a6e0eba36cfc5e67995ee9712ff
src/templates/sharecomponent/chartgroupcomponent/index.jsx
@@ -138,10 +138,17 @@
      item.actions = item.actions.filter(cell => keys.includes(cell))
    }
    let extraActions = config.action.filter(item => ['pop', 'prompt', 'exec'].includes(item.OpenType) && item.Ot === 'notRequired')
    extraActions = extraActions.map(cell => ({value: cell.uuid, text: cell.label}))
    if (item.extraAction && extraActions.filter(cell => cell.uuid === item.extraAction).length === 0) {
      item.extraAction = ''
    }
    this.setState({
      card: item,
      modaltype: _type,
      formlist: getChartViewForm(item, this.props.sysRoles, _columns, actions)
      formlist: getChartViewForm(item, this.props.sysRoles, _columns, actions, extraActions)
    })
  }