king
2024-02-26 e5641f8d70ce78589cf956215f3bfcc15e28252f
src/tabviews/custom/components/card/double-data-card/index.jsx
@@ -583,6 +583,7 @@
    if (config.setting.supModule && !BID && config.wrap.supKey !== 'false') { // BID 不存在时,不做查询
      this.loaded = true
      this.requestId = ''
      this.setState({
        activeKey: '',
@@ -632,8 +633,14 @@
    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
    }
    let result = await Api.genericInterface(param)
    if (result.status) {
      if (result.timestamp_back && this.requestId !== result.timestamp_back) return
      let start = 1
      if (config.setting.laypage) {
        start = pageSize * (pageIndex - 1) + 1