wjx 1 년 전
부모
커밋
6513a0daf4

+ 0 - 3
src/pages/gameDataStatistics/pitcher/everyDayGame/tableConfig.tsx

@@ -43,9 +43,6 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
     let defaultStart = 18
     const zC = Array(90).fill('').map((_item: string, index: number) => {
         let field = `amountD${index + 1}Trend`
-        if (index === 29) [
-            field = 'amountM1Trend'
-        ]
         let data = {
             title: `D${index + 1}`,
             dataIndex: `D${index + 1}`,

+ 2 - 3
src/pages/gameDataStatistics/roleOperate/strategy/strategyModal.tsx

@@ -45,8 +45,7 @@ const StrategyModal: React.FC<Props> = ({ superGameList, initialValues, visible,
             // 客服
             let customer = await getRoleUserList.run({ authType: 'CUSTOMER' })
             let c = customer ? Object.keys(customer)?.map(key => ({ userId: key, nickname: customer[key] })) : []
-            data.concat(c)
-            setOperateList(data)
+            setOperateList(data.concat(c))
         }
         getList()
     }, [])
@@ -185,7 +184,7 @@ const StrategyModal: React.FC<Props> = ({ superGameList, initialValues, visible,
                         (option?.children as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
                     }
                 >
-                    {operateList.map((item: any) => <Select.Option value={item.userId} key={item.userId}>{item.nickname}</Select.Option>)}
+                    {operateList.map((item: any) => <Select.Option value={Number(item.userId)} key={item.userId}>{item.nickname}</Select.Option>)}
                 </Select>
             </Form.Item>
             <Form.Item label="排除指标标签" name='tagIds'>