|
@@ -236,11 +236,11 @@ const Contact = props => {
|
|
|
showArrow: true
|
|
showArrow: true
|
|
|
},
|
|
},
|
|
|
render: (_, record) => (
|
|
render: (_, record) => (
|
|
|
- <div className="zh-align-center zh-flex-wrap">
|
|
|
|
|
|
|
+ <div className="flex items-center flex-wrap">
|
|
|
{record.tagIds.map(item => (
|
|
{record.tagIds.map(item => (
|
|
|
<Tooltip title={personTags.find(i => i.id === item)?.name} key={record.id + item}>
|
|
<Tooltip title={personTags.find(i => i.id === item)?.name} key={record.id + item}>
|
|
|
<span
|
|
<span
|
|
|
- className="zh-circle-icon zh-mg-right-3"
|
|
|
|
|
|
|
+ className="zh-circle-icon mr-3px"
|
|
|
style={{ backgroundColor: personTagColorMap[item] }}
|
|
style={{ backgroundColor: personTagColorMap[item] }}
|
|
|
/>
|
|
/>
|
|
|
</Tooltip>
|
|
</Tooltip>
|
|
@@ -252,7 +252,13 @@ const Contact = props => {
|
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
|
checkCallBack={refreshData}
|
|
checkCallBack={refreshData}
|
|
|
modeType={LabelModeType.column}>
|
|
modeType={LabelModeType.column}>
|
|
|
- <IconPark type="add" theme="filled" size="20" fill="#868e96" className="zh-pointer" />
|
|
|
|
|
|
|
+ <IconPark
|
|
|
|
|
+ type="add"
|
|
|
|
|
+ theme="filled"
|
|
|
|
|
+ size="20"
|
|
|
|
|
+ fill="#868e96"
|
|
|
|
|
+ className="cursor-pointer"
|
|
|
|
|
+ />
|
|
|
</PersonLabel>
|
|
</PersonLabel>
|
|
|
</div>
|
|
</div>
|
|
|
)
|
|
)
|
|
@@ -272,12 +278,12 @@ const Contact = props => {
|
|
|
showArrow: true
|
|
showArrow: true
|
|
|
},
|
|
},
|
|
|
render: (_, record) => (
|
|
render: (_, record) => (
|
|
|
- <div className="zh-align-center zh-flex-wrap">
|
|
|
|
|
|
|
+ <div className="flex items-center flex-wrap">
|
|
|
{record.tagCooperationIds.map(item => (
|
|
{record.tagCooperationIds.map(item => (
|
|
|
<Tooltip title={teamTags.find(i => i.id === item)?.name} key={record.id + item}>
|
|
<Tooltip title={teamTags.find(i => i.id === item)?.name} key={record.id + item}>
|
|
|
<span
|
|
<span
|
|
|
key={record.id + item}
|
|
key={record.id + item}
|
|
|
- className="zh-square-icon zh-mg-right-3"
|
|
|
|
|
|
|
+ className="zh-square-icon mr-3px"
|
|
|
style={{ backgroundColor: teamTagColorMap[item] }}
|
|
style={{ backgroundColor: teamTagColorMap[item] }}
|
|
|
/>
|
|
/>
|
|
|
</Tooltip>
|
|
</Tooltip>
|
|
@@ -289,7 +295,13 @@ const Contact = props => {
|
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
|
checkCallBack={refreshData}
|
|
checkCallBack={refreshData}
|
|
|
modeType={LabelModeType.column}>
|
|
modeType={LabelModeType.column}>
|
|
|
- <IconPark type="add" theme="filled" size="20" fill="#868e96" className="zh-pointer" />
|
|
|
|
|
|
|
+ <IconPark
|
|
|
|
|
+ type="add"
|
|
|
|
|
+ theme="filled"
|
|
|
|
|
+ size="20"
|
|
|
|
|
+ fill="#868e96"
|
|
|
|
|
+ className="cursor-pointer"
|
|
|
|
|
+ />
|
|
|
</PersonLabel>
|
|
</PersonLabel>
|
|
|
</div>
|
|
</div>
|
|
|
)
|
|
)
|
|
@@ -483,8 +495,8 @@ const Contact = props => {
|
|
|
|
|
|
|
|
const renderTableAlert = ({ selectedRowKeys }) => {
|
|
const renderTableAlert = ({ selectedRowKeys }) => {
|
|
|
return (
|
|
return (
|
|
|
- <div className="zh-flex-row">
|
|
|
|
|
- <div className="zh-mg-right-5">
|
|
|
|
|
|
|
+ <div className="flex flex-row">
|
|
|
|
|
+ <div className="mr-5px">
|
|
|
<PersonLabel
|
|
<PersonLabel
|
|
|
tagType={TagTypeEnum.PERSONTAG}
|
|
tagType={TagTypeEnum.PERSONTAG}
|
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
@@ -495,7 +507,7 @@ const Contact = props => {
|
|
|
{tagState.tagIds.map(item => (
|
|
{tagState.tagIds.map(item => (
|
|
|
<span
|
|
<span
|
|
|
key={item}
|
|
key={item}
|
|
|
- className="zh-circle-icon zh-mg-right-3"
|
|
|
|
|
|
|
+ className="zh-circle-icon mr-3"
|
|
|
style={{ backgroundColor: personTagColorMap[item] }}
|
|
style={{ backgroundColor: personTagColorMap[item] }}
|
|
|
/>
|
|
/>
|
|
|
))}
|
|
))}
|
|
@@ -509,7 +521,7 @@ const Contact = props => {
|
|
|
)}
|
|
)}
|
|
|
</PersonLabel>
|
|
</PersonLabel>
|
|
|
</div>
|
|
</div>
|
|
|
- <div className="zh-mg-right-5">
|
|
|
|
|
|
|
+ <div className="mr-5">
|
|
|
<PersonLabel
|
|
<PersonLabel
|
|
|
tagType={TagTypeEnum.TEAMTAG}
|
|
tagType={TagTypeEnum.TEAMTAG}
|
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
tagColumn={TagDataTypeEnum.CONTACT}
|
|
@@ -520,7 +532,7 @@ const Contact = props => {
|
|
|
{tagState.tagCooperationIds.map(item => (
|
|
{tagState.tagCooperationIds.map(item => (
|
|
|
<span
|
|
<span
|
|
|
key={item}
|
|
key={item}
|
|
|
- className="zh-square-icon zh-mg-right-3"
|
|
|
|
|
|
|
+ className="zh-square-icon mr-3"
|
|
|
style={{ backgroundColor: teamTagColorMap[item] }}
|
|
style={{ backgroundColor: teamTagColorMap[item] }}
|
|
|
/>
|
|
/>
|
|
|
))}
|
|
))}
|