|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
import useAuthStore from '@/stores/AuthStore'
|
|
|
|
|
import { pick } from '@/utils/commons'
|
|
|
|
|
import { UnorderedListOutlined, LeftOutlined } from '@ant-design/icons'
|
|
|
|
|
import { Flex, Segmented, Tree, Typography, Layout, Splitter, Button } from 'antd'
|
|
|
|
|
import { Flex, Segmented, Tree, Typography, Layout, Splitter, Button, Tooltip } from 'antd'
|
|
|
|
|
import { useEffect, useMemo, useState } from 'react'
|
|
|
|
|
import EmailDetailInline from '../Conversations/Online/Components/EmailDetailInline'
|
|
|
|
|
import OrderProfile from '@/components/OrderProfile'
|
|
|
|
@ -44,7 +44,7 @@ const deptMap = new Map([
|
|
|
|
|
|
|
|
|
|
function Follow() {
|
|
|
|
|
|
|
|
|
|
const [collapsed, setCollapsed] = useState(false)
|
|
|
|
|
const [collapsed, setCollapsed] = useState(true)
|
|
|
|
|
|
|
|
|
|
const [loginUser, isPermitted] = useAuthStore((state) => [state.loginUser, state.isPermitted])
|
|
|
|
|
const { accountList } = loginUser
|
|
|
|
@ -163,7 +163,9 @@ function Follow() {
|
|
|
|
|
</Splitter>
|
|
|
|
|
</Layout.Content>
|
|
|
|
|
|
|
|
|
|
<Tooltip title={(collapsed ? '展开' : '收起')+'订单信息'} placement='left' >
|
|
|
|
|
<Button icon={collapsed ? <LeftOutlined /> : <UnorderedListOutlined />} onClick={() => setCollapsed(!collapsed)} className={`absolute z-10 rounded-none ${collapsed ? 'right-1 top-36 rounded-l-xl' : 'right-8 top-20 rounded-l'}`} size={collapsed ? 'small' : 'middle'} />
|
|
|
|
|
</Tooltip>
|
|
|
|
|
<Layout.Sider
|
|
|
|
|
width='280'
|
|
|
|
|
theme='light'
|
|
|
|
|