wjx 5 ay önce
ebeveyn
işleme
17a3d6b032

+ 4 - 3
src/pages/launchSystemNew/account/components/qqAuto.tsx

@@ -138,6 +138,7 @@ function QQAuth(props: { qqVisible: boolean, callBack: () => void, adAppType: 0
                             <Radio.Group style={{ width: '100%' }} onChange={adAppIdonChange} defaultValue={data.adAppType}>
                             <Radio.Group style={{ width: '100%' }} onChange={adAppIdonChange} defaultValue={data.adAppType}>
                                 <Radio value={0}>小说</Radio> 
                                 <Radio value={0}>小说</Radio> 
                                 <Radio value={1}>游戏</Radio>
                                 <Radio value={1}>游戏</Radio>
+                                <Radio value={2}>短剧</Radio>
                             </Radio.Group>
                             </Radio.Group>
                         </Col>
                         </Col>
                     </Row>
                     </Row>
@@ -147,16 +148,16 @@ function QQAuth(props: { qqVisible: boolean, callBack: () => void, adAppType: 0
                         <Col span={3}><h3>业务类型:</h3></Col>
                         <Col span={3}><h3>业务类型:</h3></Col>
                         <Col span={20}>
                         <Col span={20}>
                             <Radio.Group style={{ width: '100%' }} onChange={adUnitTypeChange} defaultValue={data.adUnitType}>
                             <Radio.Group style={{ width: '100%' }} onChange={adUnitTypeChange} defaultValue={data.adUnitType}>
-                                {adAppType === 0 ?
+                                {data.adAppType === 0 ?
                                     <>
                                     <>
                                         <Radio value={"NOVEL"}>小说</Radio>
                                         <Radio value={"NOVEL"}>小说</Radio>
                                         <Radio value={"NOVEL_IAA"}>小说IAA</Radio>
                                         <Radio value={"NOVEL_IAA"}>小说IAA</Radio>
                                         <Radio value={"SHOP"}>电商</Radio>
                                         <Radio value={"SHOP"}>电商</Radio>
-                                    </> :
+                                    </> : data.adAppType === 1 ?
                                     <>
                                     <>
                                         <Radio value={"GAME"}>游戏</Radio>
                                         <Radio value={"GAME"}>游戏</Radio>
                                         <Radio value={"GAME_IAA"}>游戏IAA</Radio>
                                         <Radio value={"GAME_IAA"}>游戏IAA</Radio>
-                                    </>
+                                    </> : <Radio value={"SKIT_IAA"}>短剧</Radio>
                                 }
                                 }
                             </Radio.Group>
                             </Radio.Group>
                         </Col>
                         </Col>

+ 1 - 1
src/pages/launchSystemV3/account/index.tsx

@@ -269,7 +269,7 @@ const AdAuthorize: React.FC = () => {
                         <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> */}
-                        <Button type='primary' onClick={() => setNewVisible(true)}><PlusOutlined />广告业务单元批量授权</Button>
+                        <Button type='primary' onClick={() => setNewVisible(true)}><PlusOutlined />业务单元批量授权</Button>
                         {switchType === 'account' ?
                         {switchType === 'account' ?
                             (selectAccData?.length > 0 && <>
                             (selectAccData?.length > 0 && <>
                                 <Button type="primary" ghost icon={<SwapOutlined />} onClick={() => { checkAccount(selectAccData) }}>批量切号</Button>
                                 <Button type="primary" ghost icon={<SwapOutlined />} onClick={() => { checkAccount(selectAccData) }}>批量切号</Button>