|
@@ -41,6 +41,7 @@ interface Props {
|
|
|
isGameName?: boolean
|
|
|
/** 是否开启 游戏ID 搜索 */
|
|
|
isGameId?: boolean
|
|
|
+ isGameIds?: boolean
|
|
|
/** 是否开启 充值游戏ID 搜索 */
|
|
|
isOrderGameId?: boolean
|
|
|
/** 是否开启 父游戏ID 搜索 */
|
|
@@ -156,7 +157,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
|
|
|
/**************************/
|
|
|
const {
|
|
|
- onChange, initialValues, isSource, isAccount, isAccountId, isCompanyId, isAgentKey, isAgentName, isCpId, isCpName, isCpOrderId, isCpStatus, isCreateDay, isDevice, isGameName, isRechargeGameName, isGameId, isOrderGameId, isGameRoleId,
|
|
|
+ onChange, initialValues, isSource, isAccount, isAccountId, isCompanyId, isAgentKey, isAgentName, isCpId, isCpName, isCpOrderId, isCpStatus, isCreateDay, isDevice, isGameName, isRechargeGameName, isGameId, isGameIds, isOrderGameId, isGameRoleId,
|
|
|
isGameRoleName, isFirstRecharge, isSwitch, isMerchantNo, isOrderId, isMerchantOrderNo, isPayStatus, isPayWay, isProductName, isRegAgent, isAgentId, isPutAgent, isRegDay, isOs, isParentId, isProjectId, isProjectName, isPromotionId, isPromotionName,
|
|
|
isSysUserName, isRechargeDate, isBGGameClassify, isGameUserId, isSysUserId, isUserName, isUserId, isSelectRanking, isGameType, isConsumeDay, rechargeDay, isBeginDay, isType, isAdTTStatus, isUserEnterType, isServerName, isServerId, isServerDay, isAdTXStatus,
|
|
|
payTimeDay, placeAnOrderDay, isPayIntervalTime, isActiveTypes
|
|
@@ -200,10 +201,10 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
|
|
|
/** 游戏列表 */
|
|
|
useEffect(() => {
|
|
|
- if (isGameId || isOrderGameId || isParentId) {
|
|
|
+ if (isGameId || isOrderGameId || isParentId || isGameIds) {
|
|
|
getGameChoiceList.run()
|
|
|
}
|
|
|
- }, [isGameId, isOrderGameId, isParentId])
|
|
|
+ }, [isGameId, isGameIds, isOrderGameId, isParentId])
|
|
|
|
|
|
/** 投手列表 */
|
|
|
useEffect(() => {
|
|
@@ -535,6 +536,21 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
{getGameChoiceList?.data?.map((item: any) => <Select.Option value={item.id} key={item.id}>{item.name}</Select.Option>)}
|
|
|
</Select>
|
|
|
</Form.Item></Col>}
|
|
|
+ {isGameIds && <Col><Form.Item name='gameId'>
|
|
|
+ <Select
|
|
|
+ maxTagCount={1}
|
|
|
+ mode="multiple"
|
|
|
+ showSearch
|
|
|
+ style={{ minWidth: 140 }}
|
|
|
+ allowClear
|
|
|
+ placeholder={'请选择游戏'}
|
|
|
+ filterOption={(input, option) =>
|
|
|
+ (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
+ }
|
|
|
+ >
|
|
|
+ {getGameChoiceList?.data?.map((item: any) => <Select.Option value={item.id} key={item.id}>{item.name}</Select.Option>)}
|
|
|
+ </Select>
|
|
|
+ </Form.Item></Col>}
|
|
|
{/* 充值游戏ID */}
|
|
|
{isOrderGameId && <Col><Form.Item name='orderGameId'>
|
|
|
<Select
|