|  | @@ -16,6 +16,7 @@ type Props = {
 | 
	
		
			
				|  |  |      accountId?: string,
 | 
	
		
			
				|  |  |      adAccountId?: string,
 | 
	
		
			
				|  |  |      userId: string,
 | 
	
		
			
				|  |  | +    Ts?: any,
 | 
	
		
			
				|  |  |      queryParmas?: {
 | 
	
		
			
				|  |  |          accountId?: string,//账户ID
 | 
	
		
			
				|  |  |          campaignId?: string,//计划ID
 | 
	
	
		
			
				|  | @@ -39,7 +40,7 @@ type Props = {
 | 
	
		
			
				|  |  |  const Ad: React.FC<Props> = (props) => {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /***********************/
 | 
	
		
			
				|  |  | -    let { accountId, adAccountId, userId, tableIdClick, queryParmas } = props
 | 
	
		
			
				|  |  | +    let { accountId, adAccountId, userId, tableIdClick, queryParmas, Ts } = props
 | 
	
		
			
				|  |  |      const [selectedRows, setSelectedRows] = useState<any[]>([])
 | 
	
		
			
				|  |  |      const [update, setUpdate] = useState<{ visible: boolean, title: string }>({ visible: false, title: '' })
 | 
	
		
			
				|  |  |      const [model, setModel] = useState(true)
 | 
	
	
		
			
				|  | @@ -75,7 +76,7 @@ const Ad: React.FC<Props> = (props) => {
 | 
	
		
			
				|  |  |          //     campaignIdList: campaignId ? [campaignId] : [],
 | 
	
		
			
				|  |  |          //     adgroupIdList: adgroupId ? [adgroupId] : []
 | 
	
		
			
				|  |  |          // }
 | 
	
		
			
				|  |  | -        getList({ pageNum: 1, pageSize: 20})
 | 
	
		
			
				|  |  | +        getList({ pageNum: 1, pageSize: 20 })
 | 
	
		
			
				|  |  |      }, [accountId, userId, queryParmas])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // 获取列表
 | 
	
	
		
			
				|  | @@ -201,7 +202,10 @@ 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}}>
 | 
	
		
			
				|  |  | +        <Row gutter={[6, 6]} align='middle' style={{ marginBottom: 15 }}>
 | 
	
		
			
				|  |  | +            <Col>
 | 
	
		
			
				|  |  | +                {Ts && Ts()}
 | 
	
		
			
				|  |  | +            </Col>
 | 
	
		
			
				|  |  |              <Col>
 | 
	
		
			
				|  |  |                  <Input
 | 
	
		
			
				|  |  |                      placeholder='广告账号'
 | 
	
	
		
			
				|  | @@ -355,7 +359,7 @@ const Ad: React.FC<Props> = (props) => {
 | 
	
		
			
				|  |  |          </Row>
 | 
	
		
			
				|  |  |          <TableData
 | 
	
		
			
				|  |  |              isCard={false}
 | 
	
		
			
				|  |  | -            columns={() => tableConfig(onChange, details, handleSave, tableIdClick)}
 | 
	
		
			
				|  |  | +            columns={() => tableConfig(onChange, details, handleSave)}
 | 
	
		
			
				|  |  |              ajax={listAjax}
 | 
	
		
			
				|  |  |              syncAjax={sync}
 | 
	
		
			
				|  |  |              fixed={{ left: 2, right: 4 }}
 | 
	
	
		
			
				|  | @@ -416,8 +420,8 @@ const Ad: React.FC<Props> = (props) => {
 | 
	
		
			
				|  |  |                  let { current, pageSize } = pagination
 | 
	
		
			
				|  |  |                  // console.log(pagination)
 | 
	
		
			
				|  |  |                  // console.log({...queryFrom, pageNum: current, pageSize })
 | 
	
		
			
				|  |  | -                set_queryFrom({...queryFrom,pageNum:current,pageSize})
 | 
	
		
			
				|  |  | -                getList({...queryFrom, pageNum: current, pageSize })
 | 
	
		
			
				|  |  | +                set_queryFrom({ ...queryFrom, pageNum: current, pageSize })
 | 
	
		
			
				|  |  | +                getList({ ...queryFrom, pageNum: current, pageSize })
 | 
	
		
			
				|  |  |              }}
 | 
	
		
			
				|  |  |          />
 | 
	
		
			
				|  |  |          {detailShow && <PlanDetail visible={detailShow} onClose={() => { setDetailShow(false) }} data={detailData} />}
 |