|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
import React, { useEffect, useState } from 'react';
|
|
|
|
|
import { useParams, useNavigate } from 'react-router-dom';
|
|
|
|
|
import { Dropdown, Input, Button, Tag, Popover, Form } from 'antd';
|
|
|
|
|
import { Dropdown, Input, Button, Tag, Popover, Form, Tooltip } from 'antd';
|
|
|
|
|
import { CloseCircleOutlined, MinusCircleOutlined } from '@ant-design/icons';
|
|
|
|
|
import { fetchConversationItemClose, fetchConversationsSearch, fetchConversationItemUnread, fetchConversationItemTop, postConversationTags, deleteConversationTags } from '@/actions/ConversationActions';
|
|
|
|
|
import { ChatItem } from 'react-chat-elements';
|
|
|
|
@ -17,9 +17,9 @@ import { whatsappMsgTypeMapped } from '@/channel/bubbleMsgUtils';
|
|
|
|
|
|
|
|
|
|
const OrderSignEmoji = ({ item }) => (
|
|
|
|
|
<>
|
|
|
|
|
{OrderLabelDefaultOptionsMapped[String(item.order_label_id)]?.emoji}
|
|
|
|
|
{OrderStatusDefaultOptionsMapped[String(item.order_state_id)]?.emoji}
|
|
|
|
|
{item.intour === 1 && item.order_state_id===5 ? '👣' : ''}
|
|
|
|
|
<Tooltip color={'cyan'} title={OrderLabelDefaultOptionsMapped[String(item.order_label_id)]?.label}>{OrderLabelDefaultOptionsMapped[String(item.order_label_id)]?.emoji}</Tooltip>
|
|
|
|
|
<Tooltip color={'orange'} title={OrderStatusDefaultOptionsMapped[String(item.order_state_id)]?.label}>{OrderStatusDefaultOptionsMapped[String(item.order_state_id)]?.emoji}</Tooltip>
|
|
|
|
|
<Tooltip color={'volcano'} title={'走团中'}>{item.intour === 1 && item.order_state_id === 5 ? '👣' : ''}</Tooltip>
|
|
|
|
|
</>
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|