develop #2

Merged
zsq merged 2 commits from develop into main 2026-01-27 20:20:16 +08:00
2 changed files with 2 additions and 17 deletions
Showing only changes of commit 563de85aa7 - Show all commits

View File

@ -17,7 +17,6 @@ export default function Index({ title = '未回访工单' }) {
{
show: (
<>
{' '}
{item.is_visited === 0 && (
<WorkOrderShow item={item} title="回访" reload={action?.reload} />
)}

View File

@ -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>
);
}