wjx 1 年之前
父节点
当前提交
ecadad5a42
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/index.tsx

+ 6 - 1
src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/index.tsx

@@ -98,7 +98,7 @@ const RoleRechargeRanking: React.FC = () => {
                 initialValues={{ sourceSystem: 'ZX_ONE', rechargeDay: [moment(), moment()] }}
                 onChange={(data: any) => {
                     setSelectedRowKeys([])
-                    const { rechargeDay, createRoleDay, parentId, mobile, ...par } = data
+                    const { rechargeDay, createRoleDay, parentId, mobile, regPayIntervalTime, ...par } = data
                     let newQueryForm = JSON.parse(JSON.stringify(queryForm))
                     newQueryForm.pageNum = 1
                     newQueryForm.parentGameId = parentId
@@ -117,6 +117,10 @@ const RoleRechargeRanking: React.FC = () => {
                         delete newQueryForm['createRoleBeginDate']
                         delete newQueryForm['createRoleEndDate']
                     }
+                    if (regPayIntervalTime?.length > 0 && (regPayIntervalTime[0] || regPayIntervalTime[1])) {
+                        newQueryForm.totalRechargeMin = regPayIntervalTime[0]
+                        newQueryForm.totalRechargeMax = regPayIntervalTime[1]
+                    }
                     setQueryForm({ ...newQueryForm, ...par })
                 }}
                 isSource
@@ -138,6 +142,7 @@ const RoleRechargeRanking: React.FC = () => {
                 isVipLevel
                 isServerIds
                 isIsMergeServer
+                isPayIntervalTime={{ tips: '角色累计充值金额区间(单位:元)' }}
             />}
             scroll={{ x: 1000, y: 600 }}
             isVirtually={false}