king
2023-08-09 af329b985c8532dbe3628f8cf86265273a54522f
2023-08-09
3个文件已修改
64 ■■■■ 已修改文件
src/api/index.js 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/chart/antv-X6/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -339,18 +339,14 @@
  getLCacheConfig (menuid, minutes) {
    return new Promise((resolve, reject) => {
      if (window.GLOB.IndexDB) {
        let limit = minutes ? moment().subtract(minutes, 'minutes').format('YYYY-MM-DD HH:mm:ss') : ''
        CacheUtils.getIndexDBCacheConfig(menuid).then(res => {
          if (res && res.LongParam) {
            resolve({data: JSON.parse(res.LongParam), valid: !limit || res.CreateDate > limit})
          } else {
            resolve({data: null, valid: false})
          }
        })
      } else {
        resolve({data: null, valid: false})
      }
      let limit = minutes ? moment().subtract(minutes, 'minutes').format('YYYY-MM-DD HH:mm:ss') : ''
      CacheUtils.getIndexDBCacheConfig(menuid).then(res => {
        if (res && res.LongParam) {
          resolve({data: JSON.parse(res.LongParam), valid: !limit || res.CreateDate > limit})
        } else {
          resolve({data: null, valid: false})
        }
      })
    })
  }
src/tabviews/custom/components/chart/antv-X6/index.jsx
@@ -487,7 +487,7 @@
          title: com.OrgName,
          shortName: com.ShortName,
          checkable: false,
          disabled: true,
          selectable: false,
          children: []
        }
        let _works = []
@@ -497,7 +497,7 @@
            key: dep.co_pro_code,
            title: dep.co_pro_name,
            checkable: false,
            disabled: true,
            selectable: false,
            children: []
          }
@@ -506,7 +506,7 @@
              key: job.jobcode,
              title: job.jobname,
              checkable: false,
              disabled: true,
              selectable: false,
              children: []
            }
  
@@ -535,7 +535,7 @@
                  key: group.work_group,
                  title: group.work_group,
                  checkable: false,
                  disabled: true,
                  selectable: false,
                  children: []
                }
src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.scss
@@ -161,8 +161,6 @@
    top: 50px;
  }
  .ant-modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-top: 15px;
    .ant-input-search {
@@ -172,19 +170,25 @@
    .ant-transfer-customize-list .ant-transfer-list {
      min-height: 300px;
    }
  }
  .ant-modal-body::-webkit-scrollbar {
    width: 7px;
  }
  .ant-modal-body::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
    background: rgba(0, 0, 0, 0.13);
  }
  .ant-modal-body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(0, 0, 0, 0);
    .ant-transfer-list-body {
      max-height: calc(100vh - 320px);
      overflow-y: auto;
    }
    .ant-transfer-list-body::-webkit-scrollbar {
      width: 7px;
    }
    .ant-transfer-list-body::-webkit-scrollbar-thumb {
      border-radius: 5px;
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
      background: rgba(0, 0, 0, 0.13);
    }
    .ant-transfer-list-body::-webkit-scrollbar-track {
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
      border-radius: 3px;
      border: 1px solid rgba(0, 0, 0, 0.07);
      background: rgba(0, 0, 0, 0);
    }
  }
}