|
@@ -1,4 +1,4 @@
|
|
|
-import { Button, Checkbox, Col, DatePicker, Form, Input, InputNumber, Radio, Row, Select, Space } from "antd"
|
|
|
+import { Button, Checkbox, Col, DatePicker, Form, Input, InputNumber, Radio, Row, Select, Space, Tooltip } from "antd"
|
|
|
import React, { useEffect, useState } from "react"
|
|
|
import moment from "moment"
|
|
|
import { useAjax } from "@/Hook/useAjax"
|
|
@@ -8,6 +8,7 @@ import { ADSTATUSEnum as ADSTTTATUSEnum } from "@/pages/gameDataStatistics/adlis
|
|
|
import { ADSTATUSEnum } from "@/pages/gameDataStatistics/adlist/tencentMonitor/const"
|
|
|
import IntervalTime from "./intervalTime"
|
|
|
import { RangePickerProps } from "antd/lib/date-picker"
|
|
|
+import { QuestionCircleOutlined } from "@ant-design/icons"
|
|
|
|
|
|
|
|
|
interface Props {
|
|
@@ -240,6 +241,10 @@ interface Props {
|
|
|
isUserLastRegAgentId?: boolean
|
|
|
/** 是否开启 玩家最新染色归因投手 搜索 */
|
|
|
isUserLastPitcherId?: boolean
|
|
|
+ /** 是否开启 创角24小时内单笔充值金额 搜索 */
|
|
|
+ isRechargeAmountWithin24h?: boolean
|
|
|
+ /** 是否开启 创角24小时以内累计充值金额 搜索 */
|
|
|
+ isRechargeTotalAmountWithin24h?: boolean
|
|
|
}
|
|
|
/**
|
|
|
* 游戏数据系统 请求参数
|
|
@@ -254,7 +259,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
isSysUserName, isRechargeDate, isBGGameClassify, isGameUserId, isSysUserId, isSysUserIds, isUserName, isUserId, isSelectRanking, isGameType, isConsumeDay, rechargeDay, isBeginDay, isType, isAdTTStatus, isUserEnterType, isServerName, isServerId, isServerDay, isAdTXStatus,
|
|
|
payTimeDay, placeAnOrderDay, isPayIntervalTime, isActiveTypes, isNickname, isMobile, isRegIp, isIsAuth, isIsBindMobile, isIsRecharge, isUserStatus, isCreateRole, isRoleCount, isVipLevel, isCreateRoleDay, isIsChange, isIsSendMail, isWeChatCompany, isWeChat,
|
|
|
isCustomerServerId, isOperatorId, isGsId, isServerIds, isRankingNum, isIsMergeServer, isSuperParentGameId, isGameServerName, isIp, isDeviceType, isLoginType, isServerIdUn, isSourceServerName, isProjectId1, isRemoveGame, isRemoveGameForSystem, isOrderLy, isAddCorpWechat,
|
|
|
- isWakeUp, isBackStatus, isGameDimension, isUserLastRegTime, isUserLastRegAgentId, isUserLastPitcherId
|
|
|
+ isWakeUp, isBackStatus, isGameDimension, isUserLastRegTime, isUserLastRegAgentId, isUserLastPitcherId, isRechargeAmountWithin24h, isRechargeTotalAmountWithin24h
|
|
|
} = props
|
|
|
const [form] = Form.useForm()
|
|
|
const parentId = Form.useWatch('parentId', form)
|
|
@@ -1603,6 +1608,48 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
{isRoleCount && <Col><Form.Item name='roleCount'>
|
|
|
<IntervalTime {...isRoleCount} />
|
|
|
</Form.Item></Col>}
|
|
|
+
|
|
|
+ {/* 创角24小时内单笔充值金额 */}
|
|
|
+ {isRechargeAmountWithin24h && <Col><Form.Item name='roleCount'>
|
|
|
+ <Space size={0}>
|
|
|
+ <Form.Item name={'rechargeAmountWithin24h'} noStyle>
|
|
|
+ <Input placeholder="创角24小时内单笔充值金额" allowClear/>
|
|
|
+ </Form.Item>
|
|
|
+ <Form.Item name={'rechargeAmountWithin24hUnit'} noStyle>
|
|
|
+ <Select placeholder="条件" style={{ width: 70 }} allowClear>
|
|
|
+ <Select.Option value=">=">{`>=`}</Select.Option>
|
|
|
+ <Select.Option value="<=">{`<=`}</Select.Option>
|
|
|
+ <Select.Option value="=">{`=`}</Select.Option>
|
|
|
+ <Select.Option value=">">{`>`}</Select.Option>
|
|
|
+ <Select.Option value="<">{`<`}</Select.Option>
|
|
|
+ </Select>
|
|
|
+ </Form.Item>
|
|
|
+ <Tooltip title={'创角24小时内单笔充值金额,条件默认">="'}>
|
|
|
+ <QuestionCircleOutlined style={{ marginLeft: 10 }} />
|
|
|
+ </Tooltip>
|
|
|
+ </Space>
|
|
|
+ </Form.Item></Col>}
|
|
|
+
|
|
|
+ {/* 创角24小时以内累计充值金额 */}
|
|
|
+ {isRechargeTotalAmountWithin24h && <Col><Form.Item name='roleCount'>
|
|
|
+ <Space size={0}>
|
|
|
+ <Form.Item name={'rechargeTotalAmountWithin24h'} noStyle>
|
|
|
+ <Input placeholder="创角24小时以内累计充值金额" allowClear/>
|
|
|
+ </Form.Item>
|
|
|
+ <Form.Item name={'rechargeTotalAmountWithin24hUnit '} noStyle>
|
|
|
+ <Select placeholder="条件" style={{ width: 70 }} allowClear>
|
|
|
+ <Select.Option value=">=">{`>=`}</Select.Option>
|
|
|
+ <Select.Option value="<=">{`<=`}</Select.Option>
|
|
|
+ <Select.Option value="=">{`=`}</Select.Option>
|
|
|
+ <Select.Option value=">">{`>`}</Select.Option>
|
|
|
+ <Select.Option value="<">{`<`}</Select.Option>
|
|
|
+ </Select>
|
|
|
+ </Form.Item>
|
|
|
+ <Tooltip title={'创角24小时以内累计充值金额,条件默认">="'}>
|
|
|
+ <QuestionCircleOutlined style={{ marginLeft: 10 }} />
|
|
|
+ </Tooltip>
|
|
|
+ </Space>
|
|
|
+ </Form.Item></Col>}
|
|
|
|
|
|
<Col>
|
|
|
<Space>
|