king
2024-03-21 a9b02f6862522b54d0824152017bf2acfec2af7b
src/tabviews/custom/components/card/data-card/index.jsx
@@ -134,7 +134,7 @@
    _config.wrap.scale = _config.wrap.scale === 'true' ? 'scale' : ''
    _config.wrap.layout = (_config.wrap.layout || 'grid') + '-layout float-' + (_config.wrap.cardFloat || 'left')
    _config.wrap.wrapClass = `${_config.wrap.selStyle} ${_config.wrap.cardType || ''} ${_config.wrap.scale}`
    _config.wrap.wrapClass = `${_config.wrap.selStyle} ${_config.wrap.cardType || ''} ${_config.wrap.scale} ${config.wrap.hover === 'true' ? 'mk-hover' : ''}`
    if (_config.wrap.shifting === 'true') {
      _config.wrap.shifting = 'shifting'
@@ -743,6 +743,7 @@
    if (config.setting.supModule && !BID && config.wrap.supKey !== 'false') { // BID 不存在时,不做查询
      this.loaded = true
      this.requestId = ''
      this.setState({
        activeKey: '',
@@ -789,8 +790,12 @@
    let _orderBy = orderBy || config.setting.order || ''
    let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, pageIndex, pageSize, BID)
    let result = await Api.genericInterface(param)
    this.requestId = config.uuid + new Date().getTime()
    let result = await Api.genericInterface(param, '', '', this.requestId)
    if (result.status) {
      if (result.$requestId && this.requestId !== result.$requestId) return
      let start = 1
      if (config.setting.laypage) {
        start = pageSize * (pageIndex - 1) + 1
@@ -1246,7 +1251,7 @@
              let className = 'mk-card '
              if (config.wrap.parity === 'true') {
                if (index % 2 === 1) {
                  className += 'mk-parity-bg '
                  className += 'mk-even-line '
                }
              }
              if (item.$disabled) {