king
2025-01-14 ee132585987c988d32d165e13346c64ceff38d88
2025-01-14
6个文件已修改
14 ■■■■■ 已修改文件
src/tabviews/basetable/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/commontable/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/cardcellList/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/share/normalTable/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/normalTable/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/basetable/index.jsx
@@ -372,8 +372,9 @@
      Utils.initSearchVal(item)
      if (urlparam.$searchkey) {
        let reg = new RegExp('(^|,)' + urlparam.$searchkey + '($|,)', 'ig')
        item.search.forEach(cell => {
          if (urlparam.$searchkey === cell.field.toLowerCase() && ['text', 'select', 'link', 'checkcard'].includes(cell.type)) {
          if (reg.test(cell.field) && ['text', 'select', 'link', 'checkcard'].includes(cell.type)) {
            cell.initval = urlparam.$searchval
          }
        })
src/tabviews/commontable/index.jsx
@@ -209,7 +209,7 @@
      // 字段透视及必填标志
      config.search = config.search.map(item => {
        if (['text', 'select', 'link', 'checkcard'].includes(item.type) && param && param.$searchkey === item.field.toLowerCase()) {
        if (['text', 'select', 'link', 'checkcard'].includes(item.type) && param && param.$searchkey === item.field) {
          item.initval = param.$searchval
        }
        return item
src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -110,7 +110,7 @@
        }
  
        if (card.field) {
          __param.$searchkey = card.field.toLowerCase()
          __param.$searchkey = card.field
          __param.$searchval = data[card.field] || ''
        }
      
src/tabviews/custom/components/share/normalTable/index.jsx
@@ -32,7 +32,7 @@
    }
    if (item.field) {
      __param.$searchkey = item.field.toLowerCase()
      __param.$searchkey = item.field
      __param.$searchval = record[item.field] || ''
    }
src/tabviews/custom/index.jsx
@@ -583,8 +583,9 @@
        Utils.initSearchVal(item)
        if (urlparam.$searchkey) {
          let reg = new RegExp('(^|,)' + urlparam.$searchkey + '($|,)', 'ig')
          item.search.forEach(cell => {
            if (urlparam.$searchkey === cell.field.toLowerCase() && ['text', 'select', 'link', 'checkcard'].includes(cell.type)) {
            if (reg.test(cell.field) && ['text', 'select', 'link', 'checkcard'].includes(cell.type)) {
              cell.initval = urlparam.$searchval
            }
          })
src/tabviews/zshare/normalTable/index.jsx
@@ -349,7 +349,7 @@
      }
  
      if (item.field) {
        __param.$searchkey = item.field.toLowerCase()
        __param.$searchkey = item.field
        __param.$searchval = record[item.field] || ''
      }