This commit is contained in:
parent
ac8fe80b61
commit
563de85aa7
@ -17,7 +17,6 @@ export default function Index({ title = '未回访工单' }) {
|
|||||||
{
|
{
|
||||||
show: (
|
show: (
|
||||||
<>
|
<>
|
||||||
{' '}
|
|
||||||
{item.is_visited === 0 && (
|
{item.is_visited === 0 && (
|
||||||
<WorkOrderShow item={item} title="回访" reload={action?.reload} />
|
<WorkOrderShow item={item} title="回访" reload={action?.reload} />
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { MyPageContainer } from '@/common';
|
import { MyPageContainer } from '@/common';
|
||||||
import { useNavigate, useSearchParams } from '@umijs/max';
|
import { useNavigate, useSearchParams } from '@umijs/max';
|
||||||
import type { TabsProps } from 'antd';
|
import type { TabsProps } from 'antd';
|
||||||
import { Button, Tabs } from 'antd';
|
import { Tabs } from 'antd';
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import IsVisited from './components/IsVisited';
|
import IsVisited from './components/IsVisited';
|
||||||
import NoVisited from './components/NoVisited';
|
import NoVisited from './components/NoVisited';
|
||||||
@ -36,21 +36,7 @@ export default function Index({ title = '工单回访' }) {
|
|||||||
tabKey="visited"
|
tabKey="visited"
|
||||||
tabLabel={title}
|
tabLabel={title}
|
||||||
>
|
>
|
||||||
<Tabs
|
<Tabs defaultActiveKey={activeKey} items={items} type="card" />
|
||||||
defaultActiveKey={activeKey}
|
|
||||||
items={items}
|
|
||||||
type="card"
|
|
||||||
tabBarExtraContent={{
|
|
||||||
right: (
|
|
||||||
<Button
|
|
||||||
type="primary"
|
|
||||||
onClick={() => navigate('/work_order/work_bi')}
|
|
||||||
>
|
|
||||||
返回工单BI
|
|
||||||
</Button>
|
|
||||||
),
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</MyPageContainer>
|
</MyPageContainer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user