generated from liutk/owl-admin-base
补充菜单icon
parent
826cbb379c
commit
c9a7c25efc
|
|
@ -27,7 +27,9 @@ class AdminPermissionSeeder extends Seeder
|
|||
'name' => '主页',
|
||||
'icon' => 'line-md:home-twotone-alt',
|
||||
'uri' => '/dashboard',
|
||||
'is_home' => 1,
|
||||
'children' => [],
|
||||
'order' => 1,
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
@ -37,50 +39,59 @@ class AdminPermissionSeeder extends Seeder
|
|||
*/
|
||||
'store' => [
|
||||
'name' => '门店管理',
|
||||
'icon' => 'material-symbols:store-rounded',
|
||||
'icon' => 'material-symbols:store-outline',
|
||||
'uri' => '/store',
|
||||
'order' =>2,
|
||||
'children' => [
|
||||
'stores' => [
|
||||
'name' => '门店管理',
|
||||
'icon' => '',
|
||||
'name' => '门店列表',
|
||||
'icon' => 'ic:outline-storefront',
|
||||
'uri' => '/store/stores',
|
||||
'resource' => true,
|
||||
'order' => 1,
|
||||
],
|
||||
'employees' => [
|
||||
'name' => '店员管理',
|
||||
'icon' => '',
|
||||
'icon' => 'ic:baseline-people-outline',
|
||||
'uri' => '/store/employees',
|
||||
'resource' => ['list', 'create', 'delete'],
|
||||
'order' => 2,
|
||||
],
|
||||
'categories' => [
|
||||
'name' => '门店分类',
|
||||
'icon' => '',
|
||||
'icon' => 'tabler:category',
|
||||
'uri' => '/store/categories?parent_key=store_category',
|
||||
'resource' => true,
|
||||
'order' => 3,
|
||||
],
|
||||
'levels' => [
|
||||
'name' => '门店等级',
|
||||
'icon' => '',
|
||||
'icon' => 'carbon:skill-level',
|
||||
'uri' => '/store/levels?parent_key=store_levels',
|
||||
'resource' => true,
|
||||
'order' => 4,
|
||||
|
||||
],
|
||||
'business' => [
|
||||
'name' => '经营类别',
|
||||
'icon' => '',
|
||||
'icon' => 'mingcute:certificate-line',
|
||||
'uri' => '/store/business?parent_key=store_business',
|
||||
'resource' => true,
|
||||
'order' => 5,
|
||||
],
|
||||
'devices' => [
|
||||
'name' => '彩票机管理',
|
||||
'icon' => '',
|
||||
'icon' => 'streamline:money-cashier-shop-shopping-pay-payment-cashier-store-cash-register-machine',
|
||||
'uri' => '/store/devices',
|
||||
'resource' => true,
|
||||
'order' => 6,
|
||||
],
|
||||
'lottery-types' => [
|
||||
'name' => '彩种类型',
|
||||
'icon' => '',
|
||||
'icon' => 'mingcute:sunflower-line',
|
||||
'uri' => '/store/lottery-types?parent_key=lottery_type',
|
||||
'resource' => true,
|
||||
'order' => 7,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
@ -92,65 +103,75 @@ class AdminPermissionSeeder extends Seeder
|
|||
*/
|
||||
'hr' => [
|
||||
'name' => '人事管理',
|
||||
'icon' => 'flowbite:user-settings-solid',
|
||||
'icon' => 'material-symbols:deployed-code-account-outline',
|
||||
'uri' => '/hr',
|
||||
'order' => 3,
|
||||
'children' => [
|
||||
'employees' => [
|
||||
'name' => '员工管理',
|
||||
'icon' => '',
|
||||
'icon' => 'material-symbols:user-attributes-outline',
|
||||
'uri' => '/hr/employees',
|
||||
'resource' => true,
|
||||
'children' => [
|
||||
'leave' => '离职',
|
||||
],
|
||||
'order' => 1,
|
||||
],
|
||||
'jobs' => [
|
||||
'name' => '职位管理',
|
||||
'icon' => '',
|
||||
'icon' => 'material-symbols:frame-person-outline-sharp',
|
||||
'uri' => '/hr/jobs?parent_key=job',
|
||||
'resource' => true,
|
||||
'order' => 2,
|
||||
],
|
||||
'rests' => [
|
||||
'name' => '休息管理',
|
||||
'icon' => '',
|
||||
'name' => '休息日管理',
|
||||
'icon' => 'material-symbols-light:timelapse-outline-rounded',
|
||||
'uri' => '/hr/rests',
|
||||
'resource' => ['list', 'create', 'delete'],
|
||||
'order' => 3,
|
||||
],
|
||||
'signs' => [
|
||||
'name' => '考勤打卡',
|
||||
'icon' => '',
|
||||
'icon' => 'material-symbols:calendar-clock-outline',
|
||||
'uri' => '/hr/signs',
|
||||
'resource' => ['list', 'view'],
|
||||
'order' => 4,
|
||||
],
|
||||
'repairs' => [
|
||||
'name' => '补卡申请',
|
||||
'icon' => '',
|
||||
'icon' => 'mdi:table-clock',
|
||||
'uri' => '/hr/repairs',
|
||||
'resource' => true,
|
||||
'order' => 5,
|
||||
],
|
||||
'holiday' => [
|
||||
'name' => '请假申请',
|
||||
'icon' => '',
|
||||
'icon' => 'ic:outline-more-time',
|
||||
'uri' => '/hr/holiday',
|
||||
'resource' => true,
|
||||
'order' => 6,
|
||||
],
|
||||
'overtime' => [
|
||||
'name' => '加班申请',
|
||||
'icon' => '',
|
||||
'icon' => 'ic:round-add-alarm',
|
||||
'uri' => '/hr/overtime',
|
||||
'resource' => true,
|
||||
'order' => 7,
|
||||
],
|
||||
'business' => [
|
||||
'name' => '出差报备',
|
||||
'icon' => '',
|
||||
'icon' => 'material-symbols:car-tag-outline',
|
||||
'uri' => '/hr/business',
|
||||
'resource' => true,
|
||||
'order' => 8,
|
||||
],
|
||||
'promotion' => [
|
||||
'name' => '升职申请',
|
||||
'icon' => '',
|
||||
'icon' => 'fluent:people-star-32-regular',
|
||||
'uri' => '/hr/promotion',
|
||||
'resource' => true,
|
||||
'order' => 9,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
@ -161,13 +182,14 @@ class AdminPermissionSeeder extends Seeder
|
|||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'plan' => [
|
||||
'name' => '任务计划',
|
||||
'icon' => 'flowbite:user-settings-solid',
|
||||
'uri' => '/hr',
|
||||
'name' => '任务管理',
|
||||
'icon' => 'mingcute:send-plane-line',
|
||||
'uri' => '/plan',
|
||||
'order' => 4,
|
||||
'children' => [
|
||||
'plans' => [
|
||||
'name' => '任务计划',
|
||||
'icon' => '',
|
||||
'name' => '任务列表',
|
||||
'icon' => 'tdesign:task',
|
||||
'uri' => '/plan/plans',
|
||||
'resource' => true,
|
||||
'children' => [],
|
||||
|
|
@ -184,6 +206,7 @@ class AdminPermissionSeeder extends Seeder
|
|||
'name' => '投诉意见',
|
||||
'icon' => 'mdi:star-four-points-box-outline',
|
||||
'uri' => '/complaint',
|
||||
'order' => 5,
|
||||
'children' => [
|
||||
'complaints' => [
|
||||
'name' => '举报投诉',
|
||||
|
|
@ -214,6 +237,7 @@ class AdminPermissionSeeder extends Seeder
|
|||
'name' => '财务报表',
|
||||
'icon' => 'material-symbols:finance-mode',
|
||||
'uri' => '/finance',
|
||||
'order' => 6,
|
||||
'children' => [
|
||||
'ledgers' => [
|
||||
'name' => '上报数据',
|
||||
|
|
@ -270,24 +294,25 @@ class AdminPermissionSeeder extends Seeder
|
|||
|
||||
'train' => [
|
||||
'name' => '培训管理',
|
||||
'icon' => '',
|
||||
'icon' => 'solar:people-nearby-broken',
|
||||
'uri' => '/train',
|
||||
'order' => 7,
|
||||
'children' => [
|
||||
'books' => [
|
||||
'name' => '课件管理',
|
||||
'icon' => '',
|
||||
'icon' => 'material-symbols:library-books-outline-rounded',
|
||||
'uri' => '/train/books',
|
||||
'resource' => true,
|
||||
],
|
||||
'questions' => [
|
||||
'name' => '题库管理',
|
||||
'icon' => '',
|
||||
'icon' => 'ph:books-duotone',
|
||||
'uri' => '/train/questions',
|
||||
'resource' => true,
|
||||
],
|
||||
'examinations' => [
|
||||
'name' => '考试管理',
|
||||
'icon' => '',
|
||||
'icon' => 'material-symbols:checkbook-outline',
|
||||
'uri' => '/train/examinations',
|
||||
'resource' => true,
|
||||
],
|
||||
|
|
@ -295,7 +320,7 @@ class AdminPermissionSeeder extends Seeder
|
|||
],
|
||||
'agreement' => [
|
||||
'name' => '合同管理',
|
||||
'icon' => '',
|
||||
'icon' => 'flowbite:inbox-full-outline',
|
||||
'uri' => '/agreement',
|
||||
'resource' => true,
|
||||
'children' => [
|
||||
|
|
@ -360,7 +385,7 @@ class AdminPermissionSeeder extends Seeder
|
|||
],
|
||||
'workflows' => [
|
||||
'name' => '审核流程',
|
||||
'icon' => '',
|
||||
'icon' => 'carbon:flow-data',
|
||||
'uri' => '/system/workflows',
|
||||
'resource' => true,
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue