|
@@ -94,6 +94,7 @@ interface Props {
|
|
|
isSysUserName?: boolean
|
|
|
/** 是否开启 投手ID 搜索 */
|
|
|
isSysUserId?: boolean
|
|
|
+ isSysUserIds?: boolean
|
|
|
/** 是否开启 玩家账号 搜索 */
|
|
|
isUserName?: boolean
|
|
|
/** 是否开启 用户ID 搜索 */
|
|
@@ -232,7 +233,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, isGameIds, isOrderGameId, isGameRoleId,
|
|
|
isGameRoleName, isFirstRecharge, isSwitch, isMerchantNo, isOrderId, isMerchantOrderNo, isPayStatus, isPayWay, isProductName, isRegAgent, isAgentId, isPutAgent, isRegDay, isOs, isParentId, isProjectId, isProjectName, isPromotionId, isPromotionId1, isPromotionName,
|
|
|
- isSysUserName, isRechargeDate, isBGGameClassify, isGameUserId, isSysUserId, isUserName, isUserId, isSelectRanking, isGameType, isConsumeDay, rechargeDay, isBeginDay, isType, isAdTTStatus, isUserEnterType, isServerName, isServerId, isServerDay, isAdTXStatus,
|
|
|
+ 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
|
|
@@ -352,7 +353,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
|
|
|
/** 投手列表 */
|
|
|
useEffect(() => {
|
|
|
- if (isSysUserId) {
|
|
|
+ if (isSysUserId || isSysUserIds) {
|
|
|
if (['BG_OLD', 'BG_NEW', 'ZX_SDK'].includes(sourceSystem)) {
|
|
|
getPitcherListNew.run({ sourceSystem }).then(res => {
|
|
|
setUserIdList(res?.map((item: { pitcherId: any; pitcherName: any }) => ({ userId: item.pitcherId, nickname: item.pitcherName })))
|
|
@@ -363,7 +364,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
- }, [isSysUserId, sourceSystem])
|
|
|
+ }, [isSysUserId, isSysUserIds, sourceSystem])
|
|
|
|
|
|
/** 推广渠道 */
|
|
|
useEffect(() => {
|
|
@@ -759,6 +760,7 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
showSearch
|
|
|
style={{ minWidth: 140 }}
|
|
|
allowClear
|
|
|
+ loading={getGameListNew.loading || getGameChoiceList.loading}
|
|
|
placeholder={'请选择游戏'}
|
|
|
filterOption={(input, option) =>
|
|
|
(option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
@@ -1097,6 +1099,22 @@ const QueryForm: React.FC<Props> = (props) => {
|
|
|
{userIdList.map((item: any) => <Select.Option value={item.userId} key={item.userId}>{item.nickname}</Select.Option>)}
|
|
|
</Select>
|
|
|
</Form.Item></Col>}
|
|
|
+ {isSysUserIds && <Col><Form.Item name='pitcherId'>
|
|
|
+ <Select
|
|
|
+ maxTagCount={1}
|
|
|
+ showSearch
|
|
|
+ style={{ minWidth: 120 }}
|
|
|
+ allowClear
|
|
|
+ mode="multiple"
|
|
|
+ loading={getSubUserWithSelfList.loading || getPitcherListNew.loading}
|
|
|
+ placeholder={'请选择投手'}
|
|
|
+ filterOption={(input, option) =>
|
|
|
+ (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
+ }
|
|
|
+ >
|
|
|
+ {userIdList.map((item: any) => <Select.Option value={item.userId} key={item.userId}>{item.nickname}</Select.Option>)}
|
|
|
+ </Select>
|
|
|
+ </Form.Item></Col>}
|
|
|
{/* 客服ID */}
|
|
|
{isCustomerServerId && <Col><Form.Item name='customerServerId'>
|
|
|
<Select
|