navigations.js 5.71 KB
Newer Older
Giang Tran committed
1 2 3 4 5 6 7 8
export const navigations = [
    {
        name: 'Dashboard',
        path: '/dashboard',
        icon: 'dashboard',
        id: 'DASHBOARD',
        hide: false,
    },
tdgiang committed
9

Giang Tran committed
10
    {
tdgiang committed
11 12 13 14
        name: 'Quản lý merchant',
        path: '/merchant',
        icon: 'apartment',
        id: 'MERCHANT',
tdgiang committed
15
        hide: true,
tdgiang committed
16 17 18 19 20 21
    },

    {
        name: 'Quản lý cây xăng',
        path: '/gas-station',
        icon: 'local_gas_station',
tdgiang committed
22 23
        id: 'GAS-STATION',
        hide: true,
Giang Tran committed
24
    },
tdgiang committed
25

Giang Tran committed
26 27 28
    {
        name: 'Quản lý sản phẩm',
        icon: 'wb_iridescent',
tdgiang committed
29
        hide: true,
Giang Tran committed
30 31 32 33 34 35
        children: [
            {
                name: 'Sản phẩm',
                path: '/product',
                iconText: 'EM',
                //icon: 'group',
tdgiang committed
36 37
                hide: true,
                id: 'PRODUCT',
Giang Tran committed
38 39 40 41 42
            },
            {
                name: 'Loại sản phẩm',
                iconText: 'FN',
                path: '/product-type',
tdgiang committed
43 44
                hide: true,
                id: 'PRODUCT-TYPE',
Giang Tran committed
45 46 47
            },
        ],
    },
tdgiang committed
48 49 50
    {
        name: 'Quản lý giao dịch',
        path: '/transations',
tdgiang committed
51
        icon: 'receipt_long',
tdgiang committed
52 53
        id: 'TRANSATIONS',
        hide: true,
tdgiang committed
54 55 56 57 58 59
    },

    {
        name: 'Quản lý thu phí',
        path: '/list-fee',
        icon: 'diamond',
tdgiang committed
60 61
        id: 'LIST-FEE',
        hide: true,
tdgiang committed
62
    },
Giang Tran committed
63 64 65 66

    {
        name: 'Quản lý hệ thống',
        icon: 'wb_iridescent',
tdgiang committed
67
        hide: true,
Giang Tran committed
68 69 70 71 72
        children: [
            {
                name: 'Nhân viên',
                path: '/employee',
                iconText: 'EM',
tdgiang committed
73
                //icon: 'group',
tdgiang committed
74
                hide: true,
Giang Tran committed
75 76 77 78 79 80
                id: 'EMPLOYEE',
            },
            {
                name: 'Chức năng',
                iconText: 'FN',
                path: '/function',
tdgiang committed
81
                hide: true,
Giang Tran committed
82 83 84 85 86 87
                id: 'FUNCTION',
            },
            {
                name: 'Hành động',
                iconText: 'RO',
                path: '/role',
tdgiang committed
88
                hide: true,
Giang Tran committed
89 90 91 92 93 94
                id: 'ROLE',
            },
            {
                name: 'Nhóm quyền',
                iconText: 'GR',
                path: '/group-role',
tdgiang committed
95 96
                hide: true,
                id: 'GROUP-ROLE',
Giang Tran committed
97 98 99 100 101 102
            },

            {
                name: 'Log login,logout',
                iconText: 'NO',
                path: '/system/log-auth',
tdgiang committed
103
                hide: true,
Giang Tran committed
104 105 106 107 108 109
                id: 'LOG_AUTH',
            },
            {
                name: 'Log Hành động',
                iconText: 'SM',
                path: '/system/log-action',
tdgiang committed
110
                hide: true,
Giang Tran committed
111 112 113 114 115 116
                id: 'LOG_ACTION',
            },
            {
                name: 'Log Api',
                iconText: 'SM',
                path: '/system/log-api',
tdgiang committed
117
                hide: true,
Giang Tran committed
118 119 120 121 122 123 124 125 126 127 128 129 130 131
                id: 'LOG_API',
            },
        ],
    },
]

export const navigationsAdmin = [
    {
        name: 'Dashboard',
        path: '/dashboard',
        icon: 'dashboard',
        id: 'DASHBOARD',
        hide: false,
    },
tdgiang committed
132 133 134 135 136 137 138 139 140

    {
        name: 'Quản lý merchant',
        path: '/merchant',
        icon: 'apartment',
        id: 'MERCHANT',
        hide: false,
    },

Giang Tran committed
141
    {
tdgiang committed
142
        name: 'Quản lý cây xăng',
tdgiang committed
143
        path: '/gas-station',
tdgiang committed
144 145
        icon: 'local_gas_station',
        id: 'GAS_STATION',
Giang Tran committed
146 147
        hide: false,
    },
tdgiang committed
148

Giang Tran committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
    {
        name: 'Quản lý sản phẩm',
        icon: 'wb_iridescent',
        hide: false,
        children: [
            {
                name: 'Sản phẩm',
                path: '/product',
                iconText: 'EM',
                //icon: 'group',
                hide: false,
                id: 'EMPLOYEE',
            },
            {
                name: 'Loại sản phẩm',
                iconText: 'FN',
                path: '/product-type',
                hide: false,
                id: 'FUNCTION',
            },
        ],
    },
tdgiang committed
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
    {
        name: 'Quản lý giao dịch',
        path: '/transations',
        icon: 'receipt_long',
        id: 'DASHBOARD',
        hide: false,
    },

    {
        name: 'Quản lý thu phí',
        path: '/list-fee',
        icon: 'diamond',
        id: 'DASHBOARD',
        hide: false,
    },
Giang Tran committed
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245

    {
        name: 'Quản lý hệ thống',
        icon: 'wb_iridescent',
        hide: false,
        children: [
            {
                name: 'Nhân viên',
                path: '/employee',
                iconText: 'EM',
                //icon: 'group',
                hide: false,
                id: 'EMPLOYEE',
            },
            {
                name: 'Chức năng',
                iconText: 'FN',
                path: '/function',
                hide: false,
                id: 'FUNCTION',
            },
            {
                name: 'Hành động',
                iconText: 'RO',
                path: '/role',
                hide: false,
                id: 'ROLE',
            },
            {
                name: 'Nhóm quyền',
                iconText: 'GR',
                path: '/group-role',
                hide: false,
                id: 'GROUP_ROLE',
            },

            {
                name: 'Log login,logout',
                iconText: 'NO',
                path: '/system/log-auth',
                hide: false,
                id: 'LOG_AUTH',
            },
            {
                name: 'Log Hành động',
                iconText: 'SM',
                path: '/system/log-action',
                hide: false,
                id: 'LOG_ACTION',
            },
            {
                name: 'Log Api',
                iconText: 'SM',
                path: '/system/log-api',
                hide: false,
                id: 'LOG_API',
            },
        ],
    },
]