|  | @@ -28,7 +28,7 @@ const AdAuthorize: React.FC = () => {
 | 
											
												
													
														|  |      /*************************/
 |  |      /*************************/
 | 
											
												
													
														|  |      const { groupListInit } = useModel('useLaunchAdq.useAdAuthorize')
 |  |      const { groupListInit } = useModel('useLaunchAdq.useAdAuthorize')
 | 
											
												
													
														|  |      const userInfo = useModel('@@initialState', model => model.initialState?.currentUser)
 |  |      const userInfo = useModel('@@initialState', model => model.initialState?.currentUser)
 | 
											
												
													
														|  | -    const [queryForm, setQueryForm] = useState<GetAdAccountParams>({ pageNum: 1, pageSize: 20, appType: 1 })
 |  | 
 | 
											
												
													
														|  | 
 |  | +    const [queryForm, setQueryForm] = useState<GetAdAccountParams>({ pageNum: 1, pageSize: 20, adUnitTypeList: ['NOVEL', 'NOVEL_IAA'] })
 | 
											
												
													
														|  |      const [remarkData, set_remarkData] = useState<{ visible: boolean, remark: string, data: any }>({
 |  |      const [remarkData, set_remarkData] = useState<{ visible: boolean, remark: string, data: any }>({
 | 
											
												
													
														|  |          visible: false,
 |  |          visible: false,
 | 
											
												
													
														|  |          remark: '',
 |  |          remark: '',
 | 
											
										
											
												
													
														|  | @@ -198,16 +198,20 @@ const AdAuthorize: React.FC = () => {
 | 
											
												
													
														|  |                      scroll={{ y: 600 }}
 |  |                      scroll={{ y: 600 }}
 | 
											
												
													
														|  |                      leftChild={<Space wrap>
 |  |                      leftChild={<Space wrap>
 | 
											
												
													
														|  |                          <Select
 |  |                          <Select
 | 
											
												
													
														|  | -                            style={{ width: 100 }}
 |  | 
 | 
											
												
													
														|  | 
 |  | +                            style={{ minWidth: 100 }}
 | 
											
												
													
														|  |                              placeholder="选择应用类型"
 |  |                              placeholder="选择应用类型"
 | 
											
												
													
														|  |                              onChange={(e) => {
 |  |                              onChange={(e) => {
 | 
											
												
													
														|  | -                                setQueryForm({ ...queryForm, appType: e })
 |  | 
 | 
											
												
													
														|  | 
 |  | +                                setQueryForm({ ...queryForm, adUnitTypeList: e })
 | 
											
												
													
														|  |                              }}
 |  |                              }}
 | 
											
												
													
														|  | -                            value={queryForm.appType}
 |  | 
 | 
											
												
													
														|  | 
 |  | +                            mode="multiple"
 | 
											
												
													
														|  | 
 |  | +                            maxTagCount={1}
 | 
											
												
													
														|  | 
 |  | +                            value={queryForm.adUnitTypeList}
 | 
											
												
													
														|  |                              options={[
 |  |                              options={[
 | 
											
												
													
														|  | -                                { label: '小说投放', value: 1 },
 |  | 
 | 
											
												
													
														|  | -                                { label: '游戏投放', value: 2 },
 |  | 
 | 
											
												
													
														|  | -                                { label: '短剧投放', value: 3 }
 |  | 
 | 
											
												
													
														|  | 
 |  | +                                { label: '付费小说', value: 'NOVEL' },
 | 
											
												
													
														|  | 
 |  | +                                { label: '小说IAA', value: 'NOVEL_IAA' },
 | 
											
												
													
														|  | 
 |  | +                                { label: '付费游戏', value: 'GAME' },
 | 
											
												
													
														|  | 
 |  | +                                { label: '游戏IAA', value: 'GAME_IAA' },
 | 
											
												
													
														|  | 
 |  | +                                { label: '短剧IAA', value: 'SKIT_IAA' },
 | 
											
												
													
														|  |                              ]}
 |  |                              ]}
 | 
											
												
													
														|  |                          />
 |  |                          />
 | 
											
												
													
														|  |                          <Select
 |  |                          <Select
 | 
											
										
											
												
													
														|  | @@ -256,16 +260,6 @@ const AdAuthorize: React.FC = () => {
 | 
											
												
													
														|  |                              value={queryForm?.adUnitAccount}
 |  |                              value={queryForm?.adUnitAccount}
 | 
											
												
													
														|  |                              options={[{ label: '是', value: true }, { label: '否', value: false }]}
 |  |                              options={[{ label: '是', value: true }, { label: '否', value: false }]}
 | 
											
												
													
														|  |                          />
 |  |                          />
 | 
											
												
													
														|  | -                        <Select
 |  | 
 | 
											
												
													
														|  | -                            style={{ width: 120 }}
 |  | 
 | 
											
												
													
														|  | -                            placeholder="业务单元类型"
 |  | 
 | 
											
												
													
														|  | -                            allowClear
 |  | 
 | 
											
												
													
														|  | -                            onChange={(e) => {
 |  | 
 | 
											
												
													
														|  | -                                setQueryForm({ ...queryForm, adUnitType: e })
 |  | 
 | 
											
												
													
														|  | -                            }}
 |  | 
 | 
											
												
													
														|  | -                            value={queryForm?.adUnitType}
 |  | 
 | 
											
												
													
														|  | -                            options={Object.keys(AdUnitType_Enum).filter(item => (queryForm.appType == 1 ? ['NOVEL', 'NOVEL_IAA', 'SHOP'] : queryForm.appType == 2 ? ['GAME', 'GAME_IAA'] : ['SKIT_IAA']).includes(item)).map(key => ({ label: AdUnitType_Enum[key as keyof typeof AdUnitType_Enum], value: key }))}
 |  | 
 | 
											
												
													
														|  | -                        />
 |  | 
 | 
											
												
													
														|  |                          <Button onClick={getList} type='primary' loading={getAdAccountList.loading}>搜索</Button>
 |  |                          <Button onClick={getList} type='primary' loading={getAdAccountList.loading}>搜索</Button>
 | 
											
												
													
														|  |                          <AddAccountToGroup onChange={() => getAdAccountList.refresh()} />
 |  |                          <AddAccountToGroup onChange={() => getAdAccountList.refresh()} />
 | 
											
												
													
														|  |                          {/* <Button type='primary' onClick={() => setVisible(true)}><PlusOutlined />广告账号授权</Button> */}
 |  |                          {/* <Button type='primary' onClick={() => setVisible(true)}><PlusOutlined />广告账号授权</Button> */}
 |