wjx il y a 1 an
Parent
commit
bd1553948d

+ 7 - 1
src/components/QueryForm/index.tsx

@@ -144,6 +144,8 @@ interface Props {
     isUserEnterType?: boolean
     /** 是否开启 区服名称 搜索 */
     isServerName?: boolean
+    /** 是否开启 所在原始服务器名称 搜索 */
+    isSourceServerName?: boolean
     /** 是否开启区服ID 搜索 */
     isServerId?: boolean
     /** 是否开启 开服时间 搜索 */
@@ -219,7 +221,7 @@ const QueryForm: React.FC<Props> = (props) => {
         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, 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
+        isCustomerServerId, isOperatorId, isGsId, isServerIds, isRankingNum, isIsMergeServer, isSuperParentGameId, isGameServerName, isIp, isDeviceType, isLoginType, isServerIdUn, isSourceServerName
     } = props
     const [form] = Form.useForm()
     const parentId = Form.useWatch('parentId', form)
@@ -476,6 +478,10 @@ const QueryForm: React.FC<Props> = (props) => {
                     <Radio.Button value="30days">30日排行</Radio.Button>
                 </Radio.Group>
             </Form.Item></Col>}
+            {/* 所在原始服务器名称 */}
+            {isSourceServerName && <Col><Form.Item name='sourceServerName'>
+                <Input placeholder="原始服务器名称" allowClear style={{ width: 140 }} />
+            </Form.Item></Col>}
             {/* 广告区服名称 */}
             {isServerName && <Col><Form.Item name='serverName'>
                 <Input placeholder="区服名称" allowClear style={{ width: 140 }} />

+ 1 - 0
src/pages/gameDataStatistics/order/index.tsx

@@ -93,6 +93,7 @@ const Order: React.FC = () => {
                 isProductName
                 isGameRoleName
                 isServerName
+                isSourceServerName
                 isPayStatus
                 isGameUserId
                 isUserName