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'
@@ -790,13 +790,11 @@
    let _orderBy = orderBy || config.setting.order || ''
    let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, pageIndex, pageSize, BID)
    if (param.func === 'sPC_Get_TableData') {
      this.requestId = param.timestamp
    }
    this.requestId = config.uuid + new Date().getTime()
    let result = await Api.genericInterface(param)
    let result = await Api.genericInterface(param, '', '', this.requestId)
    if (result.status) {
      if (result.timestamp_back && this.requestId !== result.timestamp_back) return
      if (result.$requestId && this.requestId !== result.$requestId) return
      let start = 1
      if (config.setting.laypage) {
@@ -1253,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) {