|
@@ -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'>
|