king
2023-11-26 bdfec77e57c90ad4750e08ee822818ce991b019f
2023-11-26
5个文件已修改
64 ■■■■■ 已修改文件
src/menu/components/card/cardcellcomponent/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/chart/antv-bar/chartcompile/index.jsx 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/chart/antv-bar/index.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/datasource/verifycard/index.jsx 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/chart/antv-bar-line/index.jsx 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/index.jsx
@@ -454,11 +454,11 @@
              let style = {}
              if (res.class === 'default') {
                style.color = 'rgba(0, 0, 0, 0.65)'
                style.backgroundColor = '#fff'
                style.backgroundColor = 'transparent'
                style.borderColor = '#d9d9d9'
              } else if (res.class.indexOf('border') > -1) {
                style.color = color[cl]
                style.backgroundColor = '#fff'
                style.backgroundColor = 'transparent'
                style.borderColor = color[cl]
              } else {
                style.color = '#ffffff'
src/menu/components/chart/antv-bar/chartcompile/index.jsx
@@ -152,11 +152,6 @@
    let plot = fromJS(config.plot).toJS()
    if (plot.correction) {
      delete plot.correction // 数据修正(已弃用)
      plot.barSize = 35
    }
    if (plot.datatype !== 'statistics') {
      if (plot.colors) {
        plot.colors = plot.colors.map(item => {
src/menu/components/chart/antv-bar/index.jsx
@@ -87,8 +87,14 @@
      this.updateComponent(_card, true)
    } else {
      let _card = fromJS(card).toJS()
      if (_card.plot.correction) {
        delete _card.plot.correction // 数据修正(已弃用)
        _card.plot.barSize = 35
      }
      this.setState({
        card: fromJS(card).toJS()
        card: _card
      })
    }
  }
@@ -725,7 +731,7 @@
          })
        }
        if (plot.barSize || plot.correction) {
        if (plot.barSize) {
          _chart.size(plot.barSize || 35)
        }
        if (plot.barRadius) {
@@ -777,7 +783,7 @@
          })
        }
        if (plot.barSize || plot.correction) {
        if (plot.barSize) {
          _chart.size(plot.barSize || 35)
        }
        if (plot.barRadius) {
@@ -1125,7 +1131,7 @@
          })
        }
        if (plot.barSize || plot.correction) {
        if (plot.barSize) {
          _chart.size(plot.barSize || 35)
        }
        if (plot.selectColor) {
@@ -1185,7 +1191,7 @@
          })
        }
        if (plot.barSize || plot.correction) {
        if (plot.barSize) {
          _chart.size(plot.barSize || 35)
        }
        if (plot.selectColor) {
src/menu/datasource/verifycard/index.jsx
@@ -661,16 +661,24 @@
      let r = SettingUtils.getDebugSql(setting, _scripts, _columns, searches, config.type)
      let _debugId = md5(r.sql)
      if (r.custompage && setting.laypage === 'true' && _columns.findIndex(col => col.field === 'mk_total') === -1) {
        Modal.warning({
          title: `数据源或自定义脚本中使用自定义分页排序时,请在字段集中添加 mk_total。`,
          okText: '知道了',
          onOk: () => {
            reject()
          }
        })
        return
        if (config.subtype !== 'basetable') {
          Modal.warning({
            title: `数据源或自定义脚本中使用自定义分页排序时,请在字段集中添加 mk_total。`,
            okText: '知道了',
            onOk: () => {
              reject()
            }
          })
          return
        } else {
          notification.warning({
            top: 92,
            message: '数据源或自定义脚本中使用自定义分页排序时,请在显示列中添加 mk_total。',
            duration: 5
          })
        }
      }
      if (debugId === _debugId) {
src/tabviews/custom/components/chart/antv-bar-line/index.jsx
@@ -100,6 +100,11 @@
    _config.style.height = 'auto'
    _config.style.minHeight = _config.plot.height + 30
    if (_config.plot.correction) {
      delete _config.plot.correction // 数据修正(已弃用)
      _config.plot.barSize = 35
    }
    if (!_config.plot.legend || _config.plot.legend === 'hidden') {
      _config.plot.legend = false
    }
@@ -1432,7 +1437,7 @@
          })
        }
        if (plot.barSize || plot.correction) {
        if (plot.barSize) {
          _chart.size(plot.barSize || 35)
        }
        if (plot.barRadius) {
@@ -1494,7 +1499,7 @@
          })
        }
        if (plot.barSize || plot.correction) {
        if (plot.barSize) {
          _chart.size(plot.barSize || 35)
        }
        if (plot.barRadius) {
@@ -1910,7 +1915,7 @@
        })
      }
      if (plot.barSize || plot.correction) {
      if (plot.barSize) {
        _chart.size(plot.barSize || 35)
      }
      if (plot.selectColor) {
@@ -1996,7 +2001,7 @@
        })
      }
      if (plot.barSize || plot.correction) {
      if (plot.barSize) {
        _chart.size(plot.barSize || 35)
      }
      if (plot.selectColor) {