|
|
@@ -1,6 +1,6 @@
|
|
|
import ContactDetail from '@/pages/Customer/Client/components/ClientDetail'
|
|
|
import CompanyDetail from '@/pages/Customer/Company/components/CompanyDetail'
|
|
|
-import AddContact from '@/pages/Customer/Client/components/AddClient'
|
|
|
+import AddClient from '@/pages/Customer/Client/components/AddClient'
|
|
|
import ProTable from '@ant-design/pro-table'
|
|
|
import { Input, Button, message, Tooltip } from 'antd'
|
|
|
import { connect, useModel } from 'umi'
|
|
|
@@ -558,7 +558,6 @@ const Client = props => {
|
|
|
type: 'checkbox',
|
|
|
columnWidth: 25
|
|
|
}}
|
|
|
- // search={false}
|
|
|
search={{ filterType: 'light' }}
|
|
|
toolbar={{
|
|
|
search: (
|
|
|
@@ -585,7 +584,11 @@ const Client = props => {
|
|
|
showFooter={true}
|
|
|
className="hover:bg-[rgba(0,0,0,0.1)]"
|
|
|
/>,
|
|
|
- <AddContact onConfirm={handleAddClient} key="addContactBtn" />
|
|
|
+ <AddClient
|
|
|
+ onConfirm={handleAddClient}
|
|
|
+ key="addClientBtn"
|
|
|
+ reload={() => tRef.current?.reload()}
|
|
|
+ />
|
|
|
]
|
|
|
}}
|
|
|
headerTitle={
|