|
@@ -284,6 +284,8 @@ interface Props {
|
|
isRemark?: boolean
|
|
isRemark?: boolean
|
|
/** 是否 公会 查找 */
|
|
/** 是否 公会 查找 */
|
|
isCountry?: boolean
|
|
isCountry?: boolean
|
|
|
|
+ /** 是否 区服ID单个 查找 */
|
|
|
|
+ isServerIdDg?: boolean
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* 游戏数据系统 请求参数
|
|
* 游戏数据系统 请求参数
|
|
@@ -298,7 +300,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, isXjRole, isRemark
|
|
|
|
|
|
+ isWakeUp, isUserPhoneStatus, isBackStatus, isGameDimension, isUserLastRegTime, isUserLastRegAgentId, isUserLastPitcherId, isRechargeAmountWithin24h, isRechargeTotalAmountWithin24h, isRegisterType, isConfiguredStatus, isIpCity, isIpProv, isLoginIpCity, isLoginIpProv, isXjRole, isRemark, isServerIdDg
|
|
} = props
|
|
} = props
|
|
const [form] = Form.useForm()
|
|
const [form] = Form.useForm()
|
|
const parentId = Form.useWatch('parentId', form)
|
|
const parentId = Form.useWatch('parentId', form)
|
|
@@ -936,7 +938,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
(option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
(option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
}
|
|
}
|
|
onChange={(e) => {
|
|
onChange={(e) => {
|
|
- if (isServerIds && e) {
|
|
|
|
|
|
+ if ((isServerIds && e) || (isServerIdDg && e)) {
|
|
form.setFieldsValue({ serverIds: undefined })
|
|
form.setFieldsValue({ serverIds: undefined })
|
|
getGameServerList.run({ gameId: e })
|
|
getGameServerList.run({ gameId: e })
|
|
getGameUnMergeServerList.run({ gameId: e })
|
|
getGameUnMergeServerList.run({ gameId: e })
|
|
@@ -971,7 +973,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
getGameServerList?.data && getGameServerList.mutate([])
|
|
getGameServerList?.data && getGameServerList.mutate([])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (isServerIdUn) {
|
|
|
|
|
|
+ if (isServerIdUn || isServerIdDg) {
|
|
form.setFieldsValue({ serverId: undefined })
|
|
form.setFieldsValue({ serverId: undefined })
|
|
if (option?.['data-super-id']) {
|
|
if (option?.['data-super-id']) {
|
|
getGameServerUnList.run({ gameId: option['data-super-id'] })
|
|
getGameServerUnList.run({ gameId: option['data-super-id'] })
|
|
@@ -1064,6 +1066,26 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
{getGameServerUnList?.data?.filter((item: { isSourceServer: any }) => item.isSourceServer)?.map((item: any) => <Select.Option value={item.serverId} key={item.serverId}>{item.serverName}</Select.Option>)}
|
|
{getGameServerUnList?.data?.filter((item: { isSourceServer: any }) => item.isSourceServer)?.map((item: any) => <Select.Option value={item.serverId} key={item.serverId}>{item.serverName}</Select.Option>)}
|
|
</Select>
|
|
</Select>
|
|
</Form.Item></Col>}
|
|
</Form.Item></Col>}
|
|
|
|
+
|
|
|
|
+ {/* 区服id */}
|
|
|
|
+ {isServerIdDg && <Col><Form.Item name='serverId'>
|
|
|
|
+ <Select
|
|
|
|
+ maxTagCount={1}
|
|
|
|
+ showSearch
|
|
|
|
+ disabled={serverName}
|
|
|
|
+ style={{ minWidth: 140 }}
|
|
|
|
+ allowClear
|
|
|
|
+ placeholder={'请选择区服'}
|
|
|
|
+ filterOption={(input, option) =>
|
|
|
|
+ (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
+ }
|
|
|
|
+ loading={getGameServerList.loading}
|
|
|
|
+ >
|
|
|
|
+ {(isIsParticipateMerge && isParticipateMerge)
|
|
|
|
+ ? getGameUnMergeServerList?.data?.filter((item: { isSourceServer: any }) => (isIsMergeServer && ((!isMergeServer && item.isSourceServer) || (isMergeServer && !item.isSourceServer))) || !isIsMergeServer)?.map((item: any) => <Select.Option value={item.serverId} key={item.serverId}>{item.serverName}</Select.Option>)
|
|
|
|
+ : getGameServerList?.data?.filter((item: { isSourceServer: any }) => (isIsMergeServer && ((!isMergeServer && item.isSourceServer) || (isMergeServer && !item.isSourceServer))) || !isIsMergeServer)?.map((item: any) => <Select.Option value={item.serverId} key={item.serverId}>{item.serverName}</Select.Option>)}
|
|
|
|
+ </Select>
|
|
|
|
+ </Form.Item></Col>}
|
|
</>}
|
|
</>}
|
|
|
|
|
|
{/* 游戏应用类型搜索 */}
|
|
{/* 游戏应用类型搜索 */}
|