|
@@ -167,13 +167,12 @@ const Client = props => {
|
|
|
title: '客户',
|
|
title: '客户',
|
|
|
dataIndex: 'clientName',
|
|
dataIndex: 'clientName',
|
|
|
key: 'clientName',
|
|
key: 'clientName',
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 80,
|
|
|
fixed: 'left',
|
|
fixed: 'left',
|
|
|
render: (clientName, record) => (
|
|
render: (clientName, record) => (
|
|
|
<span
|
|
<span
|
|
|
onClick={() => showDrawer(record.id)}
|
|
onClick={() => showDrawer(record.id)}
|
|
|
- className="text-primary cursor-pointer hover:text-[#967bbd]"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ className="text-primary cursor-pointer hover:text-[#967bbd]">
|
|
|
{clientName}
|
|
{clientName}
|
|
|
</span>
|
|
</span>
|
|
|
),
|
|
),
|
|
@@ -190,8 +189,7 @@ const Client = props => {
|
|
|
record.companyId !== consts.ENCRYPTION_ZERO ? (
|
|
record.companyId !== consts.ENCRYPTION_ZERO ? (
|
|
|
<span
|
|
<span
|
|
|
onClick={() => showDrawerComapny(record.companyId)}
|
|
onClick={() => showDrawerComapny(record.companyId)}
|
|
|
- className="text-primary cursor-pointer hover:text-[#967bbd]"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ className="text-primary cursor-pointer hover:text-[#967bbd]">
|
|
|
{companyName}
|
|
{companyName}
|
|
|
</span>
|
|
</span>
|
|
|
) : (
|
|
) : (
|
|
@@ -205,7 +203,7 @@ const Client = props => {
|
|
|
dataIndex: 'department',
|
|
dataIndex: 'department',
|
|
|
key: 'department',
|
|
key: 'department',
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 70,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -219,7 +217,7 @@ const Client = props => {
|
|
|
title: '办公室',
|
|
title: '办公室',
|
|
|
dataIndex: 'office',
|
|
dataIndex: 'office',
|
|
|
key: 'office',
|
|
key: 'office',
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 90,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
@@ -227,7 +225,7 @@ const Client = props => {
|
|
|
title: '电话',
|
|
title: '电话',
|
|
|
dataIndex: 'phone',
|
|
dataIndex: 'phone',
|
|
|
key: 'phone',
|
|
key: 'phone',
|
|
|
- width: 65,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
search: false,
|
|
search: false,
|
|
|
sorter: true
|
|
sorter: true
|
|
|
},
|
|
},
|
|
@@ -235,7 +233,7 @@ const Client = props => {
|
|
|
title: '手机',
|
|
title: '手机',
|
|
|
dataIndex: 'telephone',
|
|
dataIndex: 'telephone',
|
|
|
key: 'telephone',
|
|
key: 'telephone',
|
|
|
- width: 75,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
sorter: true,
|
|
sorter: true,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
@@ -243,7 +241,7 @@ const Client = props => {
|
|
|
title: 'QQ',
|
|
title: 'QQ',
|
|
|
dataIndex: 'qq',
|
|
dataIndex: 'qq',
|
|
|
key: 'qq',
|
|
key: 'qq',
|
|
|
- width: 75,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
sorter: true,
|
|
sorter: true,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
@@ -251,7 +249,7 @@ const Client = props => {
|
|
|
title: '邮箱',
|
|
title: '邮箱',
|
|
|
dataIndex: 'email',
|
|
dataIndex: 'email',
|
|
|
key: 'email',
|
|
key: 'email',
|
|
|
- width: 85,
|
|
|
|
|
|
|
+ width: 165,
|
|
|
sorter: true,
|
|
sorter: true,
|
|
|
// ellipsis: true,
|
|
// ellipsis: true,
|
|
|
search: false
|
|
search: false
|
|
@@ -260,7 +258,7 @@ const Client = props => {
|
|
|
title: '地区',
|
|
title: '地区',
|
|
|
dataIndex: 'districtName',
|
|
dataIndex: 'districtName',
|
|
|
key: 'districtName',
|
|
key: 'districtName',
|
|
|
- width: 75,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
search: false,
|
|
search: false,
|
|
|
// ellipsis: true,
|
|
// ellipsis: true,
|
|
|
// filterDropdown: filterDropdownProps => <FilterCascader {...filterDropdownProps} />,
|
|
// filterDropdown: filterDropdownProps => <FilterCascader {...filterDropdownProps} />,
|
|
@@ -270,7 +268,7 @@ const Client = props => {
|
|
|
title: '个人标签',
|
|
title: '个人标签',
|
|
|
dataIndex: 'tagIds',
|
|
dataIndex: 'tagIds',
|
|
|
key: 'tagIds',
|
|
key: 'tagIds',
|
|
|
- width: 80,
|
|
|
|
|
|
|
+ width: 160,
|
|
|
filters: true,
|
|
filters: true,
|
|
|
search: false,
|
|
search: false,
|
|
|
// onFilter: true,
|
|
// onFilter: true,
|
|
@@ -297,8 +295,7 @@ const Client = props => {
|
|
|
tagType={TagTypeEnum.PERSONTAG}
|
|
tagType={TagTypeEnum.PERSONTAG}
|
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
|
checkCallBack={refreshData}
|
|
checkCallBack={refreshData}
|
|
|
- modeType={LabelModeType.column}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ modeType={LabelModeType.column}>
|
|
|
<Add theme="filled" size="20" fill="#868e96" className="cursor-pointer" />
|
|
<Add theme="filled" size="20" fill="#868e96" className="cursor-pointer" />
|
|
|
</PersonLabel>
|
|
</PersonLabel>
|
|
|
</div>
|
|
</div>
|
|
@@ -308,7 +305,7 @@ const Client = props => {
|
|
|
title: '协作标签',
|
|
title: '协作标签',
|
|
|
dataIndex: 'tagCooperationIds',
|
|
dataIndex: 'tagCooperationIds',
|
|
|
key: 'tagCooperationIds',
|
|
key: 'tagCooperationIds',
|
|
|
- width: 80,
|
|
|
|
|
|
|
+ width: 160,
|
|
|
filters: true,
|
|
filters: true,
|
|
|
search: false,
|
|
search: false,
|
|
|
valueEnum: tag.teamTagMap,
|
|
valueEnum: tag.teamTagMap,
|
|
@@ -335,8 +332,7 @@ const Client = props => {
|
|
|
tagType={TagTypeEnum.TEAMTAG}
|
|
tagType={TagTypeEnum.TEAMTAG}
|
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
|
checkCallBack={refreshData}
|
|
checkCallBack={refreshData}
|
|
|
- modeType={LabelModeType.column}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ modeType={LabelModeType.column}>
|
|
|
<Add theme="filled" size="20" fill="#868e96" className="cursor-pointer" />
|
|
<Add theme="filled" size="20" fill="#868e96" className="cursor-pointer" />
|
|
|
</PersonLabel>
|
|
</PersonLabel>
|
|
|
</div>
|
|
</div>
|
|
@@ -356,7 +352,7 @@ const Client = props => {
|
|
|
dataIndex: 'ride',
|
|
dataIndex: 'ride',
|
|
|
key: 'ride',
|
|
key: 'ride',
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 80,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -364,7 +360,7 @@ const Client = props => {
|
|
|
dataIndex: 'landmarks',
|
|
dataIndex: 'landmarks',
|
|
|
key: 'landmarks',
|
|
key: 'landmarks',
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 80,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -372,14 +368,14 @@ const Client = props => {
|
|
|
dataIndex: 'stay',
|
|
dataIndex: 'stay',
|
|
|
key: 'stay',
|
|
key: 'stay',
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 80,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '来源',
|
|
title: '来源',
|
|
|
dataIndex: 'sourceName',
|
|
dataIndex: 'sourceName',
|
|
|
key: 'sourceName',
|
|
key: 'sourceName',
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 80,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -387,7 +383,7 @@ const Client = props => {
|
|
|
dataIndex: 'mark',
|
|
dataIndex: 'mark',
|
|
|
key: 'mark',
|
|
key: 'mark',
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 80,
|
|
|
search: false
|
|
search: false
|
|
|
},
|
|
},
|
|
|
// {
|
|
// {
|
|
@@ -402,7 +398,7 @@ const Client = props => {
|
|
|
title: '创建人',
|
|
title: '创建人',
|
|
|
dataIndex: 'staffName',
|
|
dataIndex: 'staffName',
|
|
|
key: 'staffName',
|
|
key: 'staffName',
|
|
|
- width: 50,
|
|
|
|
|
|
|
+ width: 80,
|
|
|
search: false
|
|
search: false
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
@@ -497,8 +493,7 @@ const Client = props => {
|
|
|
tagType={TagTypeEnum.PERSONTAG}
|
|
tagType={TagTypeEnum.PERSONTAG}
|
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
|
checkCallBack={toolbarOptionsChange}
|
|
checkCallBack={toolbarOptionsChange}
|
|
|
- modeType={LabelModeType.toolbar}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ modeType={LabelModeType.toolbar}>
|
|
|
{tagState.tagIds.length ? (
|
|
{tagState.tagIds.length ? (
|
|
|
<Button>
|
|
<Button>
|
|
|
{tagState.tagIds.map(item => (
|
|
{tagState.tagIds.map(item => (
|
|
@@ -523,8 +518,7 @@ const Client = props => {
|
|
|
tagType={TagTypeEnum.TEAMTAG}
|
|
tagType={TagTypeEnum.TEAMTAG}
|
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
tagColumn={TagDataTypeEnum.CLIENT}
|
|
|
checkCallBack={toolbarOptionsChange}
|
|
checkCallBack={toolbarOptionsChange}
|
|
|
- modeType={LabelModeType.toolbar}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ modeType={LabelModeType.toolbar}>
|
|
|
{tagState.tagCooperationIds.length ? (
|
|
{tagState.tagCooperationIds.length ? (
|
|
|
<Button>
|
|
<Button>
|
|
|
{tagState.tagCooperationIds.map(item => (
|
|
{tagState.tagCooperationIds.map(item => (
|