|
@@ -48,6 +48,7 @@ interface Props {
|
|
/** 是否开启 最近活跃时间 搜索 */
|
|
/** 是否开启 最近活跃时间 搜索 */
|
|
isLastActiveTime?: {
|
|
isLastActiveTime?: {
|
|
ranges?: any
|
|
ranges?: any
|
|
|
|
+ placeholder?: [string, string]
|
|
}
|
|
}
|
|
/** 是否开启 操作设备 搜索 */
|
|
/** 是否开启 操作设备 搜索 */
|
|
isDevice?: boolean
|
|
isDevice?: boolean
|
|
@@ -276,6 +277,8 @@ interface Props {
|
|
isLoginIpCity?: boolean
|
|
isLoginIpCity?: boolean
|
|
/** 最新登录归属地 */
|
|
/** 最新登录归属地 */
|
|
isLoginIpProv?: boolean
|
|
isLoginIpProv?: boolean
|
|
|
|
+ /** 是否仙剑指定表 */
|
|
|
|
+ isXjRole?: boolean
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* 游戏数据系统 请求参数
|
|
* 游戏数据系统 请求参数
|
|
@@ -290,7 +293,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
isSysUserName, isRechargeDate, LastRechargeDay, isBGGameClassify, isGameUserId, isSysUserId, isSysUserIds, isUserName, isUserId, isSelectRanking, isGameType, isConsumeDay, rechargeDay, isBeginDay, isType, isAdTTStatus, isUserEnterType, isServerName, isServerId, isServerDay, isAdTXStatus,
|
|
isSysUserName, isRechargeDate, LastRechargeDay, 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, isRoleLevel, isCreateRoleDay, isLastActiveTime, isIsChange, isIsSendMail, isWeChatCompany, isWeChat,
|
|
payTimeDay, placeAnOrderDay, isPayIntervalTime, isActiveTypes, isNickname, isMobile, isRegIp, isIsAuth, isIsBindMobile, isIsRecharge, isUserStatus, isCreateRole, isRoleCount, isVipLevel, isRoleLevel, isCreateRoleDay, isLastActiveTime, isIsChange, isIsSendMail, isWeChatCompany, isWeChat,
|
|
isCustomerServerId, isOperatorId, isGsId, isServerIds, isRankingNum, isIsMergeServer, isIsParticipateMerge, isSuperParentGameId, isGameServerName, isIp, isDeviceType, isLoginType, isServerIdUn, isSourceServerName, isProjectId1, isDynamicCreativeId, isRemoveGame, isRemoveGameForSystem, isOrderLy, isAddCorpWechat,
|
|
isCustomerServerId, isOperatorId, isGsId, isServerIds, isRankingNum, isIsMergeServer, isIsParticipateMerge, isSuperParentGameId, isGameServerName, isIp, isDeviceType, isLoginType, isServerIdUn, isSourceServerName, isProjectId1, isDynamicCreativeId, isRemoveGame, isRemoveGameForSystem, isOrderLy, isAddCorpWechat,
|
|
- isWakeUp, isUserPhoneStatus, isBackStatus, isGameDimension, isUserLastRegTime, isUserLastRegAgentId, isUserLastPitcherId, isRechargeAmountWithin24h, isRechargeTotalAmountWithin24h, isRegisterType, isConfiguredStatus, isIpCity, isIpProv, isLoginIpCity, isLoginIpProv
|
|
|
|
|
|
+ isWakeUp, isUserPhoneStatus, isBackStatus, isGameDimension, isUserLastRegTime, isUserLastRegAgentId, isUserLastPitcherId, isRechargeAmountWithin24h, isRechargeTotalAmountWithin24h, isRegisterType, isConfiguredStatus, isIpCity, isIpProv, isLoginIpCity, isLoginIpProv, isXjRole
|
|
} = props
|
|
} = props
|
|
const [form] = Form.useForm()
|
|
const [form] = Form.useForm()
|
|
const parentId = Form.useWatch('parentId', form)
|
|
const parentId = Form.useWatch('parentId', form)
|
|
@@ -544,6 +547,14 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
return current && current > moment().endOf('day');
|
|
return current && current > moment().endOf('day');
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ useEffect(() => {
|
|
|
|
+ if (isXjRole && superParentGameId) {
|
|
|
|
+ form.setFieldsValue({ serverIds: undefined })
|
|
|
|
+ getGameServerList.run({ gameId: superParentGameId })
|
|
|
|
+ getGameUnMergeServerList.run({ gameId: superParentGameId })
|
|
|
|
+ }
|
|
|
|
+ }, [isXjRole, superParentGameId])
|
|
|
|
+
|
|
return <Form layout="inline" className='queryForm' initialValues={initialValues} name="basic" form={form} onFinish={onFinish}>
|
|
return <Form layout="inline" className='queryForm' initialValues={initialValues} name="basic" form={form} onFinish={onFinish}>
|
|
<Row gutter={[0, 6]}>
|
|
<Row gutter={[0, 6]}>
|
|
{/* 数据源搜索 */}
|
|
{/* 数据源搜索 */}
|
|
@@ -904,7 +915,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
</Form.Item></Col>}
|
|
</Form.Item></Col>}
|
|
|
|
|
|
{/* 超父游戏ID */}
|
|
{/* 超父游戏ID */}
|
|
- {isSuperParentGameId && <Col><Form.Item name='superParentGameId'>
|
|
|
|
|
|
+ {isSuperParentGameId && <Col><Form.Item name='superParentGameId' hidden={isXjRole}>
|
|
<Select
|
|
<Select
|
|
maxTagCount={1}
|
|
maxTagCount={1}
|
|
showSearch
|
|
showSearch
|
|
@@ -999,7 +1010,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
{isServerIds && <Col><Form.Item name='serverIds'>
|
|
{isServerIds && <Col><Form.Item name='serverIds'>
|
|
<Select
|
|
<Select
|
|
maxTagCount={1}
|
|
maxTagCount={1}
|
|
- mode="multiple"
|
|
|
|
|
|
+ mode={isXjRole ? undefined : 'multiple'}
|
|
showSearch
|
|
showSearch
|
|
disabled={serverName}
|
|
disabled={serverName}
|
|
style={{ minWidth: 140 }}
|
|
style={{ minWidth: 140 }}
|