diff --git a/package.json b/package.json index 92d07b6..f3ba594 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "ahooks": "^3.7.8", - "antd": "^5.12.8", + "antd": "^5.14.0", "crypto-js": "^4.2.0", "dayjs": "^1.11.10", "react": "^18.2.0", diff --git a/src/views/Conversations/Components/CustomerProfile.jsx b/src/views/Conversations/Components/CustomerProfile.jsx index 8656976..689b64c 100644 --- a/src/views/Conversations/Components/CustomerProfile.jsx +++ b/src/views/Conversations/Components/CustomerProfile.jsx @@ -1,8 +1,8 @@ -import { Card, Flex, Avatar, Typography, Radio, Button, Table } from 'antd'; +import { Card, Flex, Select, Typography, Radio, Button, Table } from 'antd'; import { useAuthContext } from '@/stores/AuthContext.js'; // import { useConversationState } from '@/stores/ConversationContext'; import { useLocation, useParams } from 'react-router-dom' -import { HomeOutlined, LoadingOutlined, SettingFilled, SmileOutlined, SyncOutlined, PhoneOutlined, MailOutlined, WhatsAppOutlined, SmileTwoTone } from '@ant-design/icons'; +import { UserOutlined, EditOutlined, EllipsisOutlined, SmileOutlined, SyncOutlined, PhoneOutlined, MailOutlined, WhatsAppOutlined, SmileTwoTone } from '@ant-design/icons'; import CreatePayment from './CreatePayment'; import QuotesHistory from './QuotesHistory'; @@ -36,24 +36,44 @@ const CustomerProfile = (() => {
{}} optionType='button' buttonStyle={'solid'} />}> - {}} optionType='button' buttonStyle={'solid'} />} - description={ {}} optionType='button' buttonStyle={'solid'} />} - /> + title={'Albee240210036'} + actions={[ + + ]} + > - {/* */} - {contact?.[0]?.name} - {contact?.[0]?.phone && {contact?.[0]?.phone}} - {contact?.[0]?.email && {contact?.[0]?.email}} - {contact?.[0]?.whatsapp_phone_number && {contact?.[0]?.whatsapp_phone_number}} - {/*
{order?.order_no}
*/} - {/*
- {order?.location} {order?.local_datetime} -
-
*/} + {'Tyler-Jane Ines (R2)'} + {'0118754786932'} + {'tyler-jane@gmail.com'} + {'0118754786932'}
@@ -65,12 +85,7 @@ const CustomerProfile = (() => { - {/*
 */}
       

- {/* - 沟通记录 - - */} ); });