king
2024-09-13 f744202ac799c443e9019e8e7777fcb09d670d55
2024-09-13
3个文件已修改
19 ■■■■ 已修改文件
src/tabviews/custom/components/share/tabtransfer/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/utils-datamanage.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/share/tabtransfer/index.jsx
@@ -140,7 +140,11 @@
    let param = getStructuredParams(params, config, BID)
    if (config.$cache && config.$time) {
      Api.getLCacheConfig(params[0].uuid || params[0].id, config.$time, BID).then(res => {
      let uuid = params[0].uuid || ''
      if (params[0].id) {
        uuid = window.GLOB.CacheData.get('first_' + params[0].id) || ''
      }
      Api.getLCacheConfig(uuid, config.$time, BID).then(res => {
        if (!res.valid) {
          this.getMainData(param, params, config.uuid)
        }
src/tabviews/custom/index.jsx
@@ -1383,7 +1383,11 @@
    this.setState({loading: true, loadingview: false})
    if (config.$cache && config.$time) {
      Api.getLCacheConfig(params[0].uuid || params[0].id, config.$time, BID).then(res => {
      let uuid = params[0].uuid || ''
      if (params[0].id) {
        uuid = window.GLOB.CacheData.get('first_' + params[0].id) || ''
      }
      Api.getLCacheConfig(uuid, config.$time, BID).then(res => {
        if (!res.valid) {
          this.getMainData(param, params, config.MenuID)
        } else {
src/utils/utils-datamanage.js
@@ -635,6 +635,11 @@
  const { columns, setting, dataName, format, uuid } = component
  if (window.backend && window.GLOB.CacheData.has('sql_' + uuid)) {
    if (first) {
      let item = window.GLOB.CacheData.get('sql_' + uuid)
      window.GLOB.CacheData.set('first_' + item.id, uuid)
    }
    return getBackendQueryParam(setting, searchlist, setting.order, 1, 1000, '', BID, '', dataName)
  }
@@ -713,7 +718,7 @@
  if (window.backend && params[0].exps) {
    let param = {
      $backend: true,
      $type: 's_Get_TableData',
      $type: 's_Get_structured_data',
      data: params.map(item => {
        let cell = {...item}