Explorar o código

fix: 个人标签和协作标签的调整

outaozhen %!s(int64=4) %!d(string=hai) anos
pai
achega
96ef4cb66d

+ 2 - 2
src/pages/Customer/Client/index.jsx

@@ -268,7 +268,7 @@ const Client = props => {
       title: '个人标签',
       dataIndex: 'tagIds',
       key: 'tagIds',
-      width: 60,
+      width: 80,
       filters: true,
       search: false,
       // onFilter: true,
@@ -305,7 +305,7 @@ const Client = props => {
       title: '协作标签',
       dataIndex: 'tagCooperationIds',
       key: 'tagCooperationIds',
-      width: 60,
+      width: 80,
       filters: true,
       search: false,
       valueEnum: tag.teamTagMap,

+ 5 - 5
src/pages/Customer/Company/index.jsx

@@ -194,16 +194,16 @@ const Company = props => {
     {
       title: '个人标签',
       dataIndex: 'tagIds',
-      width: 100,
+      width: 85,
       filters: true,
       search: false,
       valueEnum: tag.personTagMap,
       render: (_, record) => (
-        <div className="items-center flex-wrap">
+        <div className="flex items-center flex-wrap">
           {record.tagIds.map(item => (
             <Tooltip title={personTags.find(i => i.id === item)?.name} key={record.id + item}>
               <span
-                className="w-12px h-12px inline-block rounded-1/2 mr-1"
+                className="inline-block w-12px h-12px rounded-1/2 mr-3px"
                 style={{ backgroundColor: personTagColorMap[item] }}
               />
             </Tooltip>
@@ -224,7 +224,7 @@ const Company = props => {
       title: '协作标签',
       dataIndex: 'tagCooperationIds',
       key: 'tagCooperationIds',
-      width: 80,
+      width: 85,
       search: false,
       filters: true,
       valueEnum: tag.teamTagMap,
@@ -234,7 +234,7 @@ const Company = props => {
             <Tooltip title={teamTags.find(i => i.id === item)?.name} key={record.id + item}>
               <span
                 key={record.id + item}
-                className="w-12px h-12px inline-block mr-1"
+                className="inline-block w-12px h-12px mr-3px"
                 style={{ backgroundColor: teamTagColorMap[item] }}
               />
             </Tooltip>