|
@@ -145,7 +145,6 @@ const Create: React.FC = () => {
|
|
|
|
|
|
/** 存为预设 */
|
|
|
const severBd = () => {
|
|
|
- // queryForm accountCreateLogs
|
|
|
localStorage.setItem('ADQADV3', JSON.stringify({
|
|
|
addelivery,
|
|
|
accountCreateLogs,
|
|
@@ -773,13 +772,9 @@ const Create: React.FC = () => {
|
|
|
<Spin spinning={createAdgroupTask.loading || getSelectTaskDetail.loading || getCreativeDetails.loading}>
|
|
|
<Card
|
|
|
size="small"
|
|
|
- title={
|
|
|
- <div>
|
|
|
- <Space>
|
|
|
- <div className={style.cardTitle}>配置区</div>
|
|
|
- </Space>
|
|
|
- </div>
|
|
|
- }
|
|
|
+ title={<Space>
|
|
|
+ <div className={style.cardTitle}>配置区</div>
|
|
|
+ </Space>}
|
|
|
className={style.createAd}
|
|
|
>
|
|
|
<Space wrap>
|
|
@@ -794,7 +789,7 @@ const Create: React.FC = () => {
|
|
|
filterOption={(input: any, option: any) => {
|
|
|
return option!.children?.toString().toLowerCase().includes(input.toLowerCase())
|
|
|
}}
|
|
|
- onChange={(e, option) => { getGroupAccountList(e) }}
|
|
|
+ onChange={(e) => { getGroupAccountList(e) }}
|
|
|
>
|
|
|
{getGroupList?.data && getGroupList?.data?.map((item: any) => <Select.Option value={item.groupId} key={item.groupId}>{item.groupName}</Select.Option>)}
|
|
|
</Select>
|
|
@@ -817,8 +812,6 @@ const Create: React.FC = () => {
|
|
|
closable
|
|
|
onClose={() => {
|
|
|
setAccountCreateLogs(accountCreateLogs?.filter(item1 => item1.accountId !== item.accountId))
|
|
|
- // setQueryForm({ ...queryForm, adqPageList: [], pageList: [], taskMediaMaps: queryForm?.taskMediaMaps?.map((item: { sysPageId: number }) => ({ ...item, sysPageId: '', accountPageIdMap: {}, cropUserGroupMap: [] })) })
|
|
|
- // clearData()
|
|
|
}}
|
|
|
>{item.accountId}</Tag>)}</span>
|
|
|
}
|
|
@@ -853,9 +846,7 @@ const Create: React.FC = () => {
|
|
|
data = data?.filter((item: any) => newAccSearch?.some(val => item!.accountId?.toString().toLowerCase()?.includes(val)))
|
|
|
}
|
|
|
}
|
|
|
- // setQueryForm({ ...queryForm, adqPageList: [], pageList: [], taskMediaMaps: queryForm?.taskMediaMaps?.map((item: { sysPageId: number }) => ({ ...item, sysPageId: '', accountPageIdMap: {}, cropUserGroupMap: [] })) })
|
|
|
setAccountCreateLogs(data?.map((item: any) => ({ accountId: item?.accountId })))
|
|
|
- // clearData()
|
|
|
}}>全选</Checkbox>
|
|
|
</Space>
|
|
|
</>
|