|
@@ -73,8 +73,13 @@ const ServiceRatioPanels = ({ staffIds, cyclical, dataPermission }) => {
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
dataIndex: 'mark',
|
|
dataIndex: 'mark',
|
|
|
- width: '45%',
|
|
|
|
|
|
|
+ width: '32%',
|
|
|
title: '服务内容'
|
|
title: '服务内容'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ dataIndex: 'staffName',
|
|
|
|
|
+ title: '创建人',
|
|
|
|
|
+ width: '7%'
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
|
|
|
|
@@ -143,9 +148,9 @@ const ServiceRatioPanels = ({ staffIds, cyclical, dataPermission }) => {
|
|
|
|
|
|
|
|
const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
|
// const { toggleDrawer, setDrawerProps } = useModal()
|
|
// const { toggleDrawer, setDrawerProps } = useModal()
|
|
|
- // const [state, setState] = useState({
|
|
|
|
|
|
|
+ // const state = {
|
|
|
// orderIds: []
|
|
// orderIds: []
|
|
|
- // })
|
|
|
|
|
|
|
+ // }
|
|
|
// const showDrawer = id => {
|
|
// const showDrawer = id => {
|
|
|
// setDrawerProps({
|
|
// setDrawerProps({
|
|
|
// zIndex: '1200',
|
|
// zIndex: '1200',
|
|
@@ -164,19 +169,19 @@ const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
|
{
|
|
{
|
|
|
dataIndex: 'clientName',
|
|
dataIndex: 'clientName',
|
|
|
title: '联系人名称',
|
|
title: '联系人名称',
|
|
|
- width: '13%',
|
|
|
|
|
- render: (clientName, record) => (
|
|
|
|
|
- <span
|
|
|
|
|
- onClick={() => showDrawer(record.id)}
|
|
|
|
|
- className="text-primary cursor-pointer hover:text-[#967bbd]">
|
|
|
|
|
- {clientName}
|
|
|
|
|
- </span>
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ width: '10%'
|
|
|
|
|
+ // render: (clientName, record) => (
|
|
|
|
|
+ // <span
|
|
|
|
|
+ // onClick={() => showDrawer(record.id)}
|
|
|
|
|
+ // className="text-primary cursor-pointer hover:text-[#967bbd]">
|
|
|
|
|
+ // {clientName}
|
|
|
|
|
+ // </span>
|
|
|
|
|
+ // )
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
dataIndex: 'companyName',
|
|
dataIndex: 'companyName',
|
|
|
title: '客户名称',
|
|
title: '客户名称',
|
|
|
- width: '20%'
|
|
|
|
|
|
|
+ width: '16%'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
dataIndex: 'districtName',
|
|
dataIndex: 'districtName',
|
|
@@ -199,6 +204,11 @@ const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
|
width: '5%'
|
|
width: '5%'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ dataIndex: 'staffName',
|
|
|
|
|
+ title: '创建人',
|
|
|
|
|
+ width: '7%'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
dataIndex: 'createTime',
|
|
dataIndex: 'createTime',
|
|
|
title: '创建时间',
|
|
title: '创建时间',
|
|
|
width: '7%'
|
|
width: '7%'
|
|
@@ -208,7 +218,7 @@ const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
|
{
|
|
{
|
|
|
dataIndex: 'companyName',
|
|
dataIndex: 'companyName',
|
|
|
title: '客户名称',
|
|
title: '客户名称',
|
|
|
- width: '20%'
|
|
|
|
|
|
|
+ width: '16%'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
dataIndex: 'districtName',
|
|
dataIndex: 'districtName',
|
|
@@ -219,7 +229,7 @@ const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
|
dataIndex: 'nature',
|
|
dataIndex: 'nature',
|
|
|
title: '客户性质',
|
|
title: '客户性质',
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- width: '15%'
|
|
|
|
|
|
|
+ width: '14%'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
dataIndex: 'phone',
|
|
dataIndex: 'phone',
|
|
@@ -227,9 +237,14 @@ const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
|
width: '5%'
|
|
width: '5%'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ dataIndex: 'staffName',
|
|
|
|
|
+ title: '创建人',
|
|
|
|
|
+ width: '7%'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
dataIndex: 'createTime',
|
|
dataIndex: 'createTime',
|
|
|
title: '创建时间',
|
|
title: '创建时间',
|
|
|
- width: '10%'
|
|
|
|
|
|
|
+ width: '7%'
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
2: [
|
|
2: [
|
|
@@ -254,6 +269,11 @@ const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
|
|
|
width: '5%'
|
|
width: '5%'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ dataIndex: 'staffName',
|
|
|
|
|
+ title: '创建人',
|
|
|
|
|
+ width: '7%'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
dataIndex: 'createTime',
|
|
dataIndex: 'createTime',
|
|
|
title: '创建时间',
|
|
title: '创建时间',
|
|
|
width: '7%'
|
|
width: '7%'
|