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