shenwu 11 ماه پیش
والد
کامیت
121f942127

+ 18 - 14
src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/roleCz.tsx

@@ -26,7 +26,7 @@ const RoleCz: React.FC<Props> = ({ data = [], visible, onClose, onChange }) => {
 
     useEffect(() => {
         if (data?.length === 1) {
-            const { user_wechat, user_phone, is_remove_game, is_wake_up ,remark, add_corp_user_id, is_add_corp_wechat, is_change_game_type} = data[0]
+            const { user_wechat, user_phone, is_remove_game, is_wake_up, remark, add_corp_user_id, is_add_corp_wechat, is_change_game_type,gsAccount,corpId,external_user_id } = data[0]
             form.setFieldsValue({
                 userWechat: user_wechat,
                 userPhone: user_phone,
@@ -35,7 +35,10 @@ const RoleCz: React.FC<Props> = ({ data = [], visible, onClose, onChange }) => {
                 remark,
                 add_corp_user_id,
                 isAddCorpWechat: is_add_corp_wechat,
-                isChangeGameType: is_change_game_type
+                isChangeGameType: is_change_game_type,
+                gsAccount,
+                corpId,
+                externalUserId:external_user_id
             })
         }
     }, [data])
@@ -103,18 +106,19 @@ const RoleCz: React.FC<Props> = ({ data = [], visible, onClose, onChange }) => {
                     </Form.Item>
                 </Col>
                 <Col span={12}>
-                    {/* <Form.Item label="投手" name='putUserId'>
-                        <Select
-                            showSearch
-                            allowClear
-                            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> */}
+                    <Form.Item label="GS账号" name="gsAccount">
+                        <Input placeholder="请输入GS账号" />
+                    </Form.Item>
+                </Col>
+                <Col span={12}>
+                    <Form.Item label="企业ID" name="corpId">
+                        <Input placeholder="请输入企业id" />
+                    </Form.Item>
+                </Col>
+                <Col span={12}>
+                    <Form.Item label="企微客户ID" name="externalUserId">
+                        <Input placeholder="请输入企微客户id" />
+                    </Form.Item>
                 </Col>
                 <Col span={12}>
                     <Form.Item name='isAddCorpWechat' label="是否添加企微">

+ 9 - 0
src/pages/gameDataStatistics/roleOperate/roleRechargeRanking/tableConfig.tsx

@@ -287,6 +287,15 @@ function columns12(
                         return <WidthEllipsis value={a} />
                     },
                 },
+                {
+                    title: 'GS账号', dataIndex: 'gsAccount', label: '客户运营操作', align: 'center', width: 80,ellipsis: true
+                },
+                {
+                    title: '企业ID', dataIndex: 'corpId', label: '客户运营操作', align: 'center', width: 80, ellipsis: true
+                },
+                {
+                    title: '企微客户ID', dataIndex: 'external_user_id', label: '客户运营操作', align: 'center', width: 80, ellipsis: true
+                },
                 // {
                 //     title: '角色操作',
                 //     dataIndex: 'rolecz',