|
@@ -225,6 +225,8 @@ interface Props {
|
|
|
isWakeUp?: boolean
|
|
|
/** 是否开启 回传状态 搜索 */
|
|
|
isBackStatus?: boolean
|
|
|
+ /** 是否开启 选择游戏维度 搜索 */
|
|
|
+ isGameDimension?: boolean
|
|
|
}
|
|
|
/**
|
|
|
* 游戏数据系统 请求参数
|
|
@@ -239,7 +241,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
|
|
|
+ isWakeUp, isBackStatus, isGameDimension
|
|
|
} = props
|
|
|
const [form] = Form.useForm()
|
|
|
const parentId = Form.useWatch('parentId', form)
|
|
@@ -249,6 +251,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
const serverIds = Form.useWatch('serverIds', form)
|
|
|
const sourceSystem = Form.useWatch('sourceSystem', form)
|
|
|
const parentGameIds = Form.useWatch('parentGameIds', form)
|
|
|
+ const gameDimension = Form.useWatch('gameDimension', form)
|
|
|
const [accountList, setAccountList] = useState<any[]>([])
|
|
|
const [userIdList, setUserIdList] = useState<any[]>([])
|
|
|
const [gsList, setGsList] = useState<any[]>([])
|
|
@@ -386,7 +389,6 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
}
|
|
|
}
|
|
|
}, [isAgentId, sourceSystem])
|
|
|
- console.log('agentData--->', agentData)
|
|
|
|
|
|
/** 游戏应用类型 */
|
|
|
useEffect(() => {
|
|
@@ -742,6 +744,10 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
{isGameName && <Col><Form.Item name='gameName'>
|
|
|
<Input placeholder="游戏名" allowClear style={{ width: 140 }} />
|
|
|
</Form.Item></Col>}
|
|
|
+ {/* 是否 开启 添加父游戏维度筛选 */}
|
|
|
+ {isGameDimension && <Col><Form.Item name='gameDimension' valuePropName="checked">
|
|
|
+ <Checkbox onChange={() => form.setFieldsValue({ gameId: undefined })}>是否父游戏</Checkbox>
|
|
|
+ </Form.Item></Col>}
|
|
|
{/* 游戏ID搜索 */}
|
|
|
{isGameId && <Col><Form.Item name='gameId'>
|
|
|
<Select
|
|
@@ -771,7 +777,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
(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>)}
|
|
|
+ {gameDimension ? parentGameList?.map((item: any) => <Select.Option value={item.parent_game_id} key={item.parent_game_id} data-super-id={item.super_game_id}>{item.parent_game_name}</Select.Option>) : getGameChoiceList?.data?.map((item: any) => <Select.Option value={item.id} key={item.id}>{item.name}</Select.Option>)}
|
|
|
</Select>
|
|
|
</Form.Item></Col>}
|
|
|
{/* 充值游戏ID */}
|