|
@@ -108,8 +108,7 @@ const CompanyTabList = ({
|
|
|
if (key !== defaultSelectedKey) {
|
|
if (key !== defaultSelectedKey) {
|
|
|
changePriority(key, id)
|
|
changePriority(key, id)
|
|
|
}
|
|
}
|
|
|
- }}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }}>
|
|
|
<Menu.Item key="1">1</Menu.Item>
|
|
<Menu.Item key="1">1</Menu.Item>
|
|
|
<Menu.Item key="2">2</Menu.Item>
|
|
<Menu.Item key="2">2</Menu.Item>
|
|
|
<Menu.Item key="3">3</Menu.Item>
|
|
<Menu.Item key="3">3</Menu.Item>
|
|
@@ -122,7 +121,7 @@ const CompanyTabList = ({
|
|
|
{
|
|
{
|
|
|
title: '优先级',
|
|
title: '优先级',
|
|
|
dataIndex: 'priority',
|
|
dataIndex: 'priority',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 80,
|
|
|
headerCellStyle: {
|
|
headerCellStyle: {
|
|
|
backgroundColor: '#fafafa'
|
|
backgroundColor: '#fafafa'
|
|
|
},
|
|
},
|
|
@@ -131,8 +130,7 @@ const CompanyTabList = ({
|
|
|
<Dropdown
|
|
<Dropdown
|
|
|
overlay={priorityMenu(text, record.id)}
|
|
overlay={priorityMenu(text, record.id)}
|
|
|
trigger="click"
|
|
trigger="click"
|
|
|
- className="hover:cursor-pointer"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ className="hover:cursor-pointer">
|
|
|
<span>
|
|
<span>
|
|
|
{text} <DownOutlined />
|
|
{text} <DownOutlined />
|
|
|
</span>
|
|
</span>
|
|
@@ -149,7 +147,7 @@ const CompanyTabList = ({
|
|
|
title: '所有部门',
|
|
title: '所有部门',
|
|
|
dataIndex: 'department',
|
|
dataIndex: 'department',
|
|
|
onFilter: true,
|
|
onFilter: true,
|
|
|
- width: '18%',
|
|
|
|
|
|
|
+ width: 100,
|
|
|
headerCellStyle: {
|
|
headerCellStyle: {
|
|
|
backgroundColor: '#fafafa'
|
|
backgroundColor: '#fafafa'
|
|
|
},
|
|
},
|
|
@@ -164,7 +162,7 @@ const CompanyTabList = ({
|
|
|
{
|
|
{
|
|
|
title: '姓名',
|
|
title: '姓名',
|
|
|
dataIndex: 'clientName',
|
|
dataIndex: 'clientName',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 85,
|
|
|
headerCellStyle: {
|
|
headerCellStyle: {
|
|
|
backgroundColor: '#fafafa'
|
|
backgroundColor: '#fafafa'
|
|
|
},
|
|
},
|
|
@@ -179,7 +177,7 @@ const CompanyTabList = ({
|
|
|
{
|
|
{
|
|
|
title: '昵称',
|
|
title: '昵称',
|
|
|
dataIndex: 'niceName',
|
|
dataIndex: 'niceName',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 85,
|
|
|
headerCellStyle: {
|
|
headerCellStyle: {
|
|
|
backgroundColor: '#fafafa'
|
|
backgroundColor: '#fafafa'
|
|
|
},
|
|
},
|
|
@@ -208,23 +206,21 @@ const CompanyTabList = ({
|
|
|
{
|
|
{
|
|
|
title: '锁号',
|
|
title: '锁号',
|
|
|
dataIndex: 'keyNum',
|
|
dataIndex: 'keyNum',
|
|
|
- width: '20%',
|
|
|
|
|
|
|
+ width: 90,
|
|
|
render: (clientName, record) => (
|
|
render: (clientName, record) => (
|
|
|
<>
|
|
<>
|
|
|
{record.preserveStatus === 3 ? (
|
|
{record.preserveStatus === 3 ? (
|
|
|
<Text delete type="secondary">
|
|
<Text delete type="secondary">
|
|
|
<span
|
|
<span
|
|
|
onClick={() => showLongleDrawer(record.id)}
|
|
onClick={() => showLongleDrawer(record.id)}
|
|
|
- className="cursor-pointer hover:text-hex-967bbd"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ className="cursor-pointer hover:text-hex-967bbd">
|
|
|
{clientName}
|
|
{clientName}
|
|
|
</span>
|
|
</span>
|
|
|
</Text>
|
|
</Text>
|
|
|
) : (
|
|
) : (
|
|
|
<span
|
|
<span
|
|
|
onClick={() => showLongleDrawer(record.id)}
|
|
onClick={() => showLongleDrawer(record.id)}
|
|
|
- className="text-primary cursor-pointer hover:text-hex-967bbd"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ className="text-primary cursor-pointer hover:text-hex-967bbd">
|
|
|
{clientName}
|
|
{clientName}
|
|
|
</span>
|
|
</span>
|
|
|
)}
|
|
)}
|
|
@@ -233,7 +229,7 @@ const CompanyTabList = ({
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '产品',
|
|
title: '产品',
|
|
|
- width: '40%',
|
|
|
|
|
|
|
+ width: 240,
|
|
|
dataIndex: 'product',
|
|
dataIndex: 'product',
|
|
|
render: (_, record) => (
|
|
render: (_, record) => (
|
|
|
<>
|
|
<>
|
|
@@ -249,7 +245,7 @@ const CompanyTabList = ({
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '销售状态',
|
|
title: '销售状态',
|
|
|
- width: '10%',
|
|
|
|
|
|
|
+ width: 60,
|
|
|
dataIndex: 'sellStatus',
|
|
dataIndex: 'sellStatus',
|
|
|
render: (_, record) => (
|
|
render: (_, record) => (
|
|
|
<>
|
|
<>
|
|
@@ -267,7 +263,7 @@ const CompanyTabList = ({
|
|
|
title: '维护状态',
|
|
title: '维护状态',
|
|
|
dataIndex: 'preserveStatus',
|
|
dataIndex: 'preserveStatus',
|
|
|
key: 'preserveStatus',
|
|
key: 'preserveStatus',
|
|
|
- width: '10%',
|
|
|
|
|
|
|
+ width: 60,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
render: (_, record) => (
|
|
render: (_, record) => (
|
|
|
<>
|
|
<>
|
|
@@ -286,7 +282,7 @@ const CompanyTabList = ({
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '责任人',
|
|
title: '责任人',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 70,
|
|
|
dataIndex: 'responsible',
|
|
dataIndex: 'responsible',
|
|
|
render: (_, record) => (
|
|
render: (_, record) => (
|
|
|
<>
|
|
<>
|
|
@@ -305,34 +301,33 @@ const CompanyTabList = ({
|
|
|
{
|
|
{
|
|
|
title: '商机名称',
|
|
title: '商机名称',
|
|
|
dataIndex: 'name',
|
|
dataIndex: 'name',
|
|
|
- width: '30%',
|
|
|
|
|
|
|
+ width: 185,
|
|
|
render: (text, record) => (
|
|
render: (text, record) => (
|
|
|
<span
|
|
<span
|
|
|
onClick={() => showDrawerBusiness(record.id)}
|
|
onClick={() => showDrawerBusiness(record.id)}
|
|
|
- className="text-primary cursor-pointer hover:text-[#967bbd]"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ className="text-primary cursor-pointer hover:text-[#967bbd]">
|
|
|
{text}
|
|
{text}
|
|
|
</span>
|
|
</span>
|
|
|
)
|
|
)
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '状态',
|
|
title: '状态',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 90,
|
|
|
dataIndex: 'businessStatusName'
|
|
dataIndex: 'businessStatusName'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '负责人',
|
|
title: '负责人',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 90,
|
|
|
dataIndex: 'responsible'
|
|
dataIndex: 'responsible'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '商机金额',
|
|
title: '商机金额',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 90,
|
|
|
dataIndex: 'price'
|
|
dataIndex: 'price'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '预计成交',
|
|
title: '预计成交',
|
|
|
- width: '15%',
|
|
|
|
|
|
|
+ width: 90,
|
|
|
dataIndex: 'finalTime'
|
|
dataIndex: 'finalTime'
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|