|
@@ -1,13 +1,14 @@
|
|
|
import Contacts from '@/components/PopContent/Contacts'
|
|
import Contacts from '@/components/PopContent/Contacts'
|
|
|
import ProTable from '@ant-design/pro-table'
|
|
import ProTable from '@ant-design/pro-table'
|
|
|
// import { PageHeaderWrapper } from '@ant-design/pro-layout';
|
|
// import { PageHeaderWrapper } from '@ant-design/pro-layout';
|
|
|
-import { Button, Tag,Cascader } from 'antd'
|
|
|
|
|
|
|
+import { Button, Tag, Cascader } from 'antd'
|
|
|
import { connect } from 'dva'
|
|
import { connect } from 'dva'
|
|
|
import React, { useEffect, useState } from 'react'
|
|
import React, { useEffect, useState } from 'react'
|
|
|
import SvgIcon from '@/components/SvgIcon'
|
|
import SvgIcon from '@/components/SvgIcon'
|
|
|
import useAutoTable from '@/hooks/useAutoTable'
|
|
import useAutoTable from '@/hooks/useAutoTable'
|
|
|
import consts from '@/consts'
|
|
import consts from '@/consts'
|
|
|
import { queryContact } from '@/services/contact'
|
|
import { queryContact } from '@/services/contact'
|
|
|
|
|
+import styles from './index.less'
|
|
|
|
|
|
|
|
const Contact = props => {
|
|
const Contact = props => {
|
|
|
const [x, y] = useAutoTable(props.collapsed)
|
|
const [x, y] = useAutoTable(props.collapsed)
|
|
@@ -205,7 +206,8 @@ const Contact = props => {
|
|
|
title: '乘车',
|
|
title: '乘车',
|
|
|
dataIndex: 'ride',
|
|
dataIndex: 'ride',
|
|
|
key: 'ride',
|
|
key: 'ride',
|
|
|
- width: 100
|
|
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ ellipsis: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '地标',
|
|
title: '地标',
|
|
@@ -302,14 +304,11 @@ const Contact = props => {
|
|
|
options()
|
|
options()
|
|
|
}, [])
|
|
}, [])
|
|
|
|
|
|
|
|
-
|
|
|
|
|
return (
|
|
return (
|
|
|
// <PageHeaderWrapper></PageHeaderWrapper>
|
|
// <PageHeaderWrapper></PageHeaderWrapper>
|
|
|
<div>
|
|
<div>
|
|
|
<div className="zh-pd-24">
|
|
<div className="zh-pd-24">
|
|
|
- <Cascader
|
|
|
|
|
- onChange={onChange}
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <Cascader onChange={onChange} />
|
|
|
</div>
|
|
</div>
|
|
|
<ProTable
|
|
<ProTable
|
|
|
rowKey={record => record.id}
|
|
rowKey={record => record.id}
|
|
@@ -342,7 +341,7 @@ const Contact = props => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export default connect(({ global, loading }) => ({
|
|
export default connect(({ global, loading }) => ({
|
|
|
-// export default connect(({ contact, global, loading })
|
|
|
|
|
|
|
+ // export default connect(({ contact, global, loading })
|
|
|
// contactName: contact,
|
|
// contactName: contact,
|
|
|
// data: contact.data,
|
|
// data: contact.data,
|
|
|
// total: contact.total,
|
|
// total: contact.total,
|