king
2022-10-08 9c6795fd3c44e46cf3955fbfd8f8eeca23acb7a9
src/tabviews/treepage/index.jsx
@@ -1,6 +1,5 @@
import React, {Component} from 'react'
import PropTypes from 'prop-types'
import {connect} from 'react-redux'
import { is, fromJS } from 'immutable'
import { notification, Spin, Tabs, Tree, Row, Col, Card, Input, Empty } from 'antd'
import { FolderOpenOutlined, FolderOutlined, FileOutlined } from '@ant-design/icons'
@@ -59,7 +58,7 @@
   * @description 获取页面配置信息
   */
  async loadconfig () {
    const { permAction, param, MenuName, MenuID } = this.props
    const { param, MenuName, MenuID } = this.props
    let _param = {
      func: 'sPC_Get_LongParam',
@@ -123,7 +122,7 @@
          if (tab.supMenu === 'mainTable') {
            tab.supMenu = MenuID
          }
          return permAction[tab.linkTab]}
          return window.GLOB.mkActions[tab.linkTab]}
        )
      })
@@ -632,21 +631,11 @@
          </Col>
        </Row> : null}
        {!window.GLOB.mkHS && window.GLOB.systemType !== 'production' ? <PagemsgComponent menu={{MenuName: this.props.MenuName, MenuNo: this.props.MenuNo}} config={config} dict={this.state.dict} /> : null}
        {!window.GLOB.mkHS && shortcuts ? <SettingComponent config={config} dict={this.state.dict} shortcuts={shortcuts} permAction={this.props.permAction}/> : null}
        {!window.GLOB.mkHS && shortcuts ? <SettingComponent config={config} dict={this.state.dict} shortcuts={shortcuts}/> : null}
        {viewlost ? <NotFount msg={this.state.lostmsg} /> : null}
      </div>
    )
  }
}
const mapStateToProps = (state) => {
  return {
    permAction: state.permAction
  }
}
const mapDispatchToProps = () => {
  return {}
}
export default connect(mapStateToProps, mapDispatchToProps)(TreePage)
export default TreePage