shenwu 2 rokov pred
rodič
commit
397aeacba0

+ 3 - 0
src/pages/launchSystemNew/adq/ad/index.tsx

@@ -206,6 +206,9 @@ const Ad: React.FC<Props> = (props) => {
         {/* 复制广告 */}
         {copyData.visible && <Copy selectedRows={selectedRows} {...copyData} onClose={() => setCopyData({ visible: false })} onChange={() => { setCopyData({ visible: false }); listAjax.refresh(); setSelectedRows([]) }} />}
         <Row gutter={[6, 6]} align='middle' style={{ marginBottom: 15 }}>
+            <Col>
+                {Ts && Ts()}
+            </Col>
             <Col>
                 <Input
                     placeholder='广告账号'

+ 4 - 4
src/pages/launchSystemNew/adq/log/index.tsx

@@ -6,14 +6,14 @@ import TableData from "../../components/TableData"
 import tableConfig from "./tableConfig"
 
 type Props = {
-    accountId: string,
-    adAccountId: string,
+    accountId?: string,
+    adAccountId?: string,
     userId: string,
-    queryParmas: {
+    queryParmas?: {
         accountId?: string,//账户ID
         adgroupId?: string,//广告ID
     },
-    tableIdClick: (props: {
+    tableIdClick?: (props: {
         activeKey: string, parma: {
             accountId?: string,//账户ID
             campaignId?: string,//计划ID

+ 1 - 1
src/pages/launchSystemNew/adq/log/tableConfig.tsx

@@ -5,7 +5,7 @@ import React from "react"
 
 
 
-function tableConfig(tableIdClick: (props: {
+function tableConfig(tableIdClick?: (props: {
     activeKey: string, parma: {
         accountId?: string,//账户ID
         campaignId?: string,//计划ID