Merge remote-tracking branch 'origin/main'

dev/full-email
Lei OT 5 months ago
commit f41cd0d058

@ -1,7 +1,7 @@
import { Link } from 'react-router-dom'
import { Form, Input, Button, DatePicker, Select, Table } from 'antd'
import dayjs from 'dayjs'
import { ReadIcon, DeliverIcon, SentIcon } from '@/components/Icons'
import { ReadIcon, DeliverIcon, SentIcon ,WaitingIcon,FailedIcon} from '@/components/Icons'
import useCustomerRelationStore from '@/stores/CustomerRelationStore'
const { RangePicker } = DatePicker
@ -12,9 +12,9 @@ const statusIconMap = {
read: <ReadIcon title='read' />,
delivered: <DeliverIcon title='delivered' />,
sent: <SentIcon title='sent' />,
failed: <span title='failed'></span>,
accepted: <span title='accepted'>🕒</span>,
default: <span title='waiting'>🕒</span>,
failed: <FailedIcon title='failed' />,
accepted: <WaitingIcon title='accepted' />,
default: <WaitingIcon title='waiting' />
}
const Index = () => {
@ -93,7 +93,7 @@ const Index = () => {
render: (text, record) => {
if (text) {
const icon = statusIconMap[record.msg_status] || statusIconMap['default']
return <Link to={`/order/chat/${record.crt_coli_id}`}>查看会话 {icon}</Link>
return <Link to={`/order/chat/${record.crt_coli_sn}`}>查看会话 {icon}</Link>
}
},
},

Loading…
Cancel
Save