king
2023-07-24 c0fa32dc711110a8bfd95939439ad8cd3782e3ab
src/tabviews/zshare/topSearch/index.jsx
@@ -151,9 +151,6 @@
        // 数据源查询语句
        if (item.resourceType === '1' && item.dataSource) {
          if (item.multiple === 'dropdown') {
            item.parentField = 'pid'
          }
          let _option = Utils.getSelectQueryOptions(item)
          if (window.GLOB.debugger === true || (window.debugger === true && options.sysType !== 'cloud')) {
@@ -228,10 +225,11 @@
  }
  resetCheckcard = (item) => {
    let pid = item.resourceType === '0' ? 'pid' : item.parentField
    let _options = []
    let _others = []
    item.oriOptions.forEach(op => {
      if (op.pid === item.mark) {
      if (op[pid] === item.mark) {
        _options.push(op)
      } else {
        _others.push(op)
@@ -242,7 +240,7 @@
      op.children = []
      _others = _others.filter(cell => {
        if (cell.pid === op.$value) {
        if (cell[pid] === op.$value) {
          op.children.push(cell)
          return false
        }