forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-22 86d82927381c21c538d25e55380cbe7c86acd811
gz-customerSystem/src/views/mediate/mediateBigData/index.jsx
@@ -2,7 +2,7 @@
 * @Company: hugeInfo
 * @Author: ldh
 * @Date: 2022-03-18 10:21:49
 * @LastEditTime: 2024-06-19 11:30:51
 * @LastEditTime: 2024-08-22 11:55:25
 * @LastEditors: dminyi 1301963064@qq.com
 * @Version: 1.0.0
 * @Description: 调解大数据
@@ -650,7 +650,7 @@
    // 只有当大于4条数据的时候 才会滚动 
    if (data.length > 5) {
      const animation = v.animate([
      const animation = v?.animate([
        // 动画的初始样式
        { transform: 'translateY(0)' },
        // 动画的结束样式
@@ -811,7 +811,7 @@
      const submitData = { countRange: '1', timeType: '1', timeStart: formattedDate, timeEnd: timeEndtemp, mediateUnitIds: '', workTopType: '1', sortType: '1', sortField: '1', canal: '22_00001-1' };
      getViewData(submitData);
      let v = document.getElementsByClassName("ant-table-tbody")[0];
      const animation = v.animate([
      const animation = v?.animate([
        // 动画的初始样式
        { transform: 'translateY(0)' },
        // 动画的结束样式
@@ -839,7 +839,7 @@
      setThisMonthIncrease(res.data.thisMonthIncrease || []);
      let v = document.getElementsByClassName("reportStatistics-table")[0];
      if (res.data.realTimeDynamicList.length < 5) {
        const animation = v.animate([
        const animation = v?.animate([
          // 动画的初始样式
          { transform: 'translateY(0)' },
          // 动画的结束样式
@@ -1019,7 +1019,7 @@
          if (res1.data?.realTimeDynamicList.length > 0) {
            if (realTimeDynamicListLength > 5) {
              let v = document.getElementsByClassName("aant-table-tbody")[0];
              v.animate([
              v?.animate([
                // 动画的初始样式
                { transform: 'translateY(0)' },
                // 动画的结束样式