@@ -212,8 +212,8 @@ const RatioPanels = ({ dataType, staffIds, retioCyclical, dataPermission }) => {
0: [
{
dataIndex: 'clientName',
- title: '客户名称',
- width: '10%',
+ title: '联系人名称',
+ width: '13%',
render: (clientName, record) => (
<span
onClick={() => showDrawer(record.id)}
@@ -45,6 +45,9 @@ const Dashboard = () => {
// 展示卡片详情
const handleRatioCard = dataType => {
setModalProps({
+ zIndex: '1100',
+ closable: true,
+ onClose: () => toggleModal(),
width: '90vw',
modalRender: () => (
<RatioPanels
@@ -53,8 +56,7 @@ const Dashboard = () => {
retioCyclical={state.params.cyclical}
dataPermission={state.params.dataPermission}
/>
- ),
- onCancel: () => toggleModal()
+ )
})
toggleModal()
}