|
@@ -10,6 +10,8 @@ interface Props {
|
|
|
onChange?: (data: any) => void
|
|
|
/** 默认值 */
|
|
|
initialValues?: any
|
|
|
+ /** 开启数据源搜索 */
|
|
|
+ isSource?: boolean,
|
|
|
/** 是否开启 广告账号 搜索 */
|
|
|
isAccount?: boolean
|
|
|
/** 是否开启 广告账户ID 搜索 */
|
|
@@ -105,7 +107,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
|
|
|
/**************************/
|
|
|
const {
|
|
|
- onChange, initialValues, isAccount, isAccountId, isCompanyId, isCpId, isCpName, isCpOrderId, isCpStatus, isCreateDay, isDevice, isGameName, isRechargeGameName, isGameId, isOrderGameId, isGameRoleId,
|
|
|
+ onChange, initialValues, isSource, isAccount, isAccountId, isCompanyId, isCpId, isCpName, isCpOrderId, isCpStatus, isCreateDay, isDevice, isGameName, isRechargeGameName, isGameId, isOrderGameId, isGameRoleId,
|
|
|
isGameRoleName, isFirstRecharge, isSwitch, isMerchantNo, isOrderId, isMerchantOrderNo, isPayStatus, isPayWay, isProductName, isRegAgent, isAgentId, isPutAgent, isRegDay, isOs, isParentId,
|
|
|
isSysUserName, isRechargeDate, isBGGameClassify, isGameUserId, isSysUserId, isUserName, isUserId, isSelectRanking, isGameType, isConsumeDay, rechargeDay, isBeginDay, isType
|
|
|
} = props
|
|
@@ -248,6 +250,15 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
|
|
|
return <Form layout="inline" className='queryForm' initialValues={initialValues} name="basic" form={form} onFinish={onFinish}>
|
|
|
<Row gutter={[0, 6]}>
|
|
|
+ {/* 数据源搜索 */}
|
|
|
+ {isSource && <Col><Form.Item name='sourceSystem'>
|
|
|
+ <Radio.Group>
|
|
|
+ <Radio.Button value="BG_OLD">布谷-old</Radio.Button>
|
|
|
+ <Radio.Button value="BG_NEW">布谷-new</Radio.Button>
|
|
|
+ <Radio.Button value="ZX_SDK">布谷-zx</Radio.Button>
|
|
|
+ <Radio.Button value="ZX_ONE">赞象</Radio.Button>
|
|
|
+ </Radio.Group>
|
|
|
+ </Form.Item></Col>}
|
|
|
{/* 不同排行榜选择 */}
|
|
|
{isSelectRanking && <Col><Form.Item name='dateType'>
|
|
|
<Radio.Group>
|