king
2020-06-12 89e7167a83e0d8409ca87698e4c08651a37cc26e
src/tabviews/formtab/index.jsx
@@ -110,7 +110,7 @@
      }
      // 权限过滤
      if (this.props.param.menuType !== 'HS') {
      if (this.props.menuType !== 'HS') {
        config.action = config.action.filter(item => permAction[item.uuid])
        config.tabgroups.forEach(group => {
          group.sublist = group.sublist.filter(tab => permAction[tab.linkTab])
@@ -444,7 +444,7 @@
    if (setting.interType === 'inner') {
      param.func = setting.innerFunc
    } else {
      if (this.props.param.menuType === 'HS') {
      if (this.props.menuType === 'HS') {
        if (setting.sysInterface === 'true' && options.cloudServiceApi) {
          param.rduri = options.cloudServiceApi
        } else if (setting.sysInterface !== 'true') {
@@ -669,7 +669,7 @@
        }
        {hasform ?
          <FormAction
            menuType={this.props.param.menuType}
            menuType={this.props.menuType}
            logcolumns={[]}
            setting={setting}
            actions={actions}
@@ -697,7 +697,6 @@
                      {_tab.type === 'SubTable' ?
                        <SubTable
                          Tab={_tab}
                          menuType={this.props.param.menuType}
                          MenuID={_tab.linkTab}
                          SupMenuID={this.props.MenuID}
                          refreshtabs={this.state.refreshtabs}
@@ -722,6 +721,7 @@
const mapStateToProps = (state) => {
  return {
    menuType: state.editLevel,
    tabviews: state.tabviews,
    refreshTab: state.refreshTab,
    permAction: state.permAction,