wjx 1 tahun lalu
induk
melakukan
faa90a2fd6

+ 39 - 2
src/components/QueryForm/index.tsx

@@ -217,6 +217,10 @@ interface Props {
     /** 是否开启 是否退游系统 搜索 */
     isRemoveGameForSystem?: boolean
     isOrderLy?: boolean
+    /** 是否开启 是否添加企微 搜索 */
+    isAddCorpWechat?: boolean
+    /** 是否开启 是否唤醒 搜索 */
+    isWakeUp?: boolean
 }
 /**
  * 游戏数据系统 请求参数
@@ -230,7 +234,8 @@ const QueryForm: React.FC<Props> = (props) => {
         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,
         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
+        isCustomerServerId, isOperatorId, isGsId, isServerIds, isRankingNum, isIsMergeServer, isSuperParentGameId, isGameServerName, isIp, isDeviceType, isLoginType, isServerIdUn, isSourceServerName, isProjectId1, isRemoveGame, isRemoveGameForSystem, isOrderLy, isAddCorpWechat,
+        isWakeUp
     } = props
     const [form] = Form.useForm()
     const parentId = Form.useWatch('parentId', form)
@@ -738,7 +743,7 @@ const QueryForm: React.FC<Props> = (props) => {
                     showSearch
                     style={{ minWidth: 140 }}
                     allowClear
-                    loading={getGameListNew.loading || getGameChoiceList.loading }
+                    loading={getGameListNew.loading || getGameChoiceList.loading}
                     placeholder={'请选择游戏'}
                     filterOption={(input, option) =>
                         (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
@@ -1317,6 +1322,38 @@ const QueryForm: React.FC<Props> = (props) => {
                 </Select>
             </Form.Item></Col>}
 
+            {/* 是否添加企微 */}
+            {isAddCorpWechat && <Col><Form.Item name='isAddCorpWechat'>
+                <Select
+                    showSearch
+                    allowClear
+                    style={{ width: 135 }}
+                    placeholder={'是否添加企微'}
+                    filterOption={(input, option) =>
+                        (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
+                    }
+                >
+                    <Select.Option value="1">是</Select.Option>
+                    <Select.Option value="0">否</Select.Option>
+                </Select>
+            </Form.Item></Col>}
+
+            {/* 是否唤醒 */}
+            {isWakeUp && <Col><Form.Item name='isWakeUp'>
+                <Select
+                    showSearch
+                    allowClear
+                    style={{ width: 110 }}
+                    placeholder={'是否唤醒'}
+                    filterOption={(input, option) =>
+                        (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
+                    }
+                >
+                    <Select.Option value="1">是</Select.Option>
+                    <Select.Option value="0">否</Select.Option>
+                </Select>
+            </Form.Item></Col>}
+
             {/* vip等级 */}
             {isVipLevel && <Col><Form.Item name='vipLevel'>
                 <Select

+ 2 - 0
src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/index.tsx

@@ -145,6 +145,8 @@ const RoleRechargeRanking: React.FC = () => {
                 isRemoveGame
                 isRemoveGameForSystem
                 isPayIntervalTime={{ tips: '角色累计充值金额区间(单位:元)' }}
+                isAddCorpWechat
+                isWakeUp
             />}
             scroll={{ x: 1000, y: 600 }}
             isVirtually={false}