king
2020-05-15 25b1262a25df82f32296afe3802836e768f2143f
src/tabviews/zshare/normalTable/index.jsx
@@ -17,6 +17,7 @@
  static propTpyes = {
    menuType: PropTypes.any,       // 三级菜单类型,HS需特殊处理
    tableId: PropTypes.string,     // 列表Id
    pageSize: PropTypes.any,       // 每页数据
    dict: PropTypes.object,        // 字典项
    config: PropTypes.object,      // 页面配置
    MenuID: PropTypes.string,      // 菜单Id
@@ -46,7 +47,7 @@
  }
  UNSAFE_componentWillMount () {
    const { menuType, config, memberLevel } = this.props
    const { menuType, config, memberLevel, pageSize } = this.props
    let columns = JSON.parse(JSON.stringify(this.props.columns))
    let lineMarks = []
    let _columns = []
@@ -74,7 +75,7 @@
      if (item.hidden === true || item.Hide === 'true') return
      if (_format && !Math.floor(Math.random() * radio)) {
        item.format = true
        item.blur = true
      }
      if (item.marks) {
@@ -130,6 +131,7 @@
    this.setState({
      columns: _columns,
      pageSize: pageSize ? pageSize : 10,
      lineMarks: lineMarks,
      colMap: colMap
    })
@@ -259,7 +261,7 @@
        }
      }
      if (item.format) {
      if (item.blur) {
        className = ''
        content = md5(content)
      }
@@ -326,7 +328,7 @@
        }
      }
      if (item.format) {
      if (item.blur) {
        className = ''
        content = md5(content)
      }
@@ -379,7 +381,7 @@
      content = content ? (item.prefix || '') + content + (item.postfix || '') : ''
      if (item.format) {
      if (item.blur) {
        content = md5(content)
      }
@@ -452,7 +454,7 @@
            }
          }
          if (item.format) {
          if (item.blur) {
            content = md5(content)
          }
@@ -489,7 +491,7 @@
            }
          }
          if (item.format) {
          if (item.blur) {
            content = md5(content)
          }
@@ -501,7 +503,7 @@
            content = (col.prefix || '') + record[col.field] + (col.postfix || '')
          }
          if (item.format) {
          if (item.blur) {
            content = md5(content)
          }