king
2021-06-27 69cd43786253e299f6856a200554ae7fc0621877
src/tabviews/custom/index.jsx
@@ -497,19 +497,12 @@
          return false
        }
      }
      // 搜索黑名单过滤
      // 搜索条件初始化
      if (item.search && item.search.length > 0) {
        item.search = item.search.map(cell => {
          cell.oriInitval = cell.initval
          if (!cell.blacklist || cell.blacklist.length === 0) return cell
          if (cell.blacklist.filter(v => roleId.indexOf(v) > -1).length > 0) {
            cell.Hide = 'true'
          }
          return item
        })
        item.search = Utils.initSearchVal(item.search)
      }
      if (item.type === 'table' && item.subtype === 'normaltable') {
        let statFields = []
        let getCols = (cols) => {