|
@@ -37,7 +37,8 @@ const ReminderList = props => {
|
|
|
{
|
|
{
|
|
|
title: '服务内容',
|
|
title: '服务内容',
|
|
|
dataIndex: 'serviceContent',
|
|
dataIndex: 'serviceContent',
|
|
|
- width: '20%'
|
|
|
|
|
|
|
+ width: '20%',
|
|
|
|
|
+ ellipsis: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '备忘时间',
|
|
title: '备忘时间',
|
|
@@ -47,7 +48,8 @@ const ReminderList = props => {
|
|
|
{
|
|
{
|
|
|
title: '备忘内容',
|
|
title: '备忘内容',
|
|
|
dataIndex: 'memoContent',
|
|
dataIndex: 'memoContent',
|
|
|
- width: '20%'
|
|
|
|
|
|
|
+ width: '20%',
|
|
|
|
|
+ ellipsis: true
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
const customerColumns = [
|
|
const customerColumns = [
|
|
@@ -74,7 +76,8 @@ const ReminderList = props => {
|
|
|
{
|
|
{
|
|
|
title: '服务内容',
|
|
title: '服务内容',
|
|
|
dataIndex: 'serviceContent',
|
|
dataIndex: 'serviceContent',
|
|
|
- width: '20%'
|
|
|
|
|
|
|
+ width: '20%',
|
|
|
|
|
+ ellipsis: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '备忘时间',
|
|
title: '备忘时间',
|
|
@@ -84,7 +87,8 @@ const ReminderList = props => {
|
|
|
{
|
|
{
|
|
|
title: '备忘内容',
|
|
title: '备忘内容',
|
|
|
dataIndex: 'memoContent',
|
|
dataIndex: 'memoContent',
|
|
|
- width: '20%'
|
|
|
|
|
|
|
+ width: '20%',
|
|
|
|
|
+ ellipsis: true
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
const businessColumns = [
|
|
const businessColumns = [
|
|
@@ -106,7 +110,8 @@ const ReminderList = props => {
|
|
|
{
|
|
{
|
|
|
title: '服务内容',
|
|
title: '服务内容',
|
|
|
dataIndex: 'serviceContent',
|
|
dataIndex: 'serviceContent',
|
|
|
- width: '25%'
|
|
|
|
|
|
|
+ width: '25%',
|
|
|
|
|
+ ellipsis: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '备忘时间',
|
|
title: '备忘时间',
|
|
@@ -116,7 +121,8 @@ const ReminderList = props => {
|
|
|
{
|
|
{
|
|
|
title: '备忘内容',
|
|
title: '备忘内容',
|
|
|
dataIndex: 'memoContent',
|
|
dataIndex: 'memoContent',
|
|
|
- width: '25%'
|
|
|
|
|
|
|
+ width: '25%',
|
|
|
|
|
+ ellipsis: true
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
const dataMap = {
|
|
const dataMap = {
|
|
@@ -134,6 +140,12 @@ const ReminderList = props => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ const titleMap = {
|
|
|
|
|
+ 0: { title: '联系人' },
|
|
|
|
|
+ 1: { title: '客户' },
|
|
|
|
|
+ 2: { title: '商机' }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
const closeModal = () => {
|
|
const closeModal = () => {
|
|
|
dispatch({
|
|
dispatch({
|
|
|
type: 'single/changeModal'
|
|
type: 'single/changeModal'
|
|
@@ -141,7 +153,7 @@ const ReminderList = props => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <CustomModal>
|
|
|
|
|
|
|
+ <CustomModal title={titleMap[dataType].title}>
|
|
|
<div className="mx-4">
|
|
<div className="mx-4">
|
|
|
<ProTable
|
|
<ProTable
|
|
|
size="small"
|
|
size="small"
|