|
|
@ -17,7 +17,7 @@ import useAuthStore from '@/stores/Auth'
|
|
|
|
import { useThemeContext } from '@/stores/ThemeContext'
|
|
|
|
import { useThemeContext } from '@/stores/ThemeContext'
|
|
|
|
import { usingStorage } from '@/hooks/usingStorage'
|
|
|
|
import { usingStorage } from '@/hooks/usingStorage'
|
|
|
|
|
|
|
|
|
|
|
|
import { PERM_ACCOUNT_MANAGEMENT, PERM_ROLE_NEW, PERM_OVERSEA, PERM_AIR_TICKET } from '@/config'
|
|
|
|
import { PERM_ACCOUNT_MANAGEMENT, PERM_ROLE_NEW, PERM_OVERSEA, PERM_AIR_TICKET, PERM_PRODUCTS_MANAGEMENT } from '@/config'
|
|
|
|
|
|
|
|
|
|
|
|
const { Header, Content, Footer } = Layout;
|
|
|
|
const { Header, Content, Footer } = Layout;
|
|
|
|
const { Title } = Typography;
|
|
|
|
const { Title } = Typography;
|
|
|
@ -117,7 +117,7 @@ function App() {
|
|
|
|
isPermitted(PERM_OVERSEA) ? { key: 'feedback', label: <Link to='/feedback'>{t('menu.Feedback')}</Link> } : null,
|
|
|
|
isPermitted(PERM_OVERSEA) ? { key: 'feedback', label: <Link to='/feedback'>{t('menu.Feedback')}</Link> } : null,
|
|
|
|
isPermitted(PERM_OVERSEA) ? { key: 'report', label: <Link to='/report'>{t('menu.Report')}</Link> } : null,
|
|
|
|
isPermitted(PERM_OVERSEA) ? { key: 'report', label: <Link to='/report'>{t('menu.Report')}</Link> } : null,
|
|
|
|
isPermitted(PERM_AIR_TICKET) ? { key: 'airticket', label: <Link to='/airticket'>{t('menu.Airticket')}</Link> } : null,
|
|
|
|
isPermitted(PERM_AIR_TICKET) ? { key: 'airticket', label: <Link to='/airticket'>{t('menu.Airticket')}</Link> } : null,
|
|
|
|
{ key: 'products', label: <Link to='/products'>{t('menu.Products')}</Link> },
|
|
|
|
isPermitted(PERM_PRODUCTS_MANAGEMENT) ? { key: 'products', label: <Link to='/products'>{t('menu.Products')}</Link> } : null,
|
|
|
|
{
|
|
|
|
{
|
|
|
|
key: 'notice',
|
|
|
|
key: 'notice',
|
|
|
|
label: (
|
|
|
|
label: (
|
|
|
|