157 lines
4.8 KiB
PHP
157 lines
4.8 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @author Any
|
|
* @description KISS
|
|
* @date 2020-11-4
|
|
* @version 1.0.0
|
|
*
|
|
* _____LOG_____
|
|
*
|
|
*/
|
|
|
|
namespace app\modules\store\models;
|
|
|
|
class Menu
|
|
{
|
|
public static function getMenu()
|
|
{
|
|
return [
|
|
[
|
|
'name' => '主页',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => "store/default/index",
|
|
'icon' => 'layui-icon-home',
|
|
'children' => [
|
|
],
|
|
],
|
|
/*[
|
|
'name' => '人员管理',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => null,
|
|
'icon' => 'layui-icon-user',
|
|
'children' => [
|
|
[
|
|
'name' => '人员列表',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => 'store/store/store-user',
|
|
],
|
|
[
|
|
'name' => '创建/编辑人员',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => 'store/store/store-user-edit',
|
|
],
|
|
],
|
|
],*/
|
|
|
|
[
|
|
'name' => '报告管理',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => null,
|
|
'icon' => 'layui-icon-list',
|
|
'children' => [
|
|
[
|
|
'name' => '报告列表',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => 'store/report/index',
|
|
],
|
|
[
|
|
'name' => '上传报告',
|
|
'is_menu' => true,
|
|
'is_show' => false,
|
|
'route' => 'store/report/edit',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'name' => '设备管理',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => null,
|
|
'icon' => 'layui-icon-list',
|
|
'children' => [
|
|
[
|
|
'name' => '设备列表',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => 'store/dev/index',
|
|
],
|
|
[
|
|
'name' => '添加/编辑设备',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => 'store/dev/edit',
|
|
],
|
|
],
|
|
],
|
|
|
|
|
|
// [
|
|
// 'name' => '财务管理',
|
|
// 'is_menu' => true,
|
|
// 'is_show' => true,
|
|
// 'route' => null,
|
|
// 'icon' => 'layui-icon-rmb',
|
|
// 'children' => [
|
|
// /**
|
|
// * [
|
|
// * 'name' => '提现管理',
|
|
// * 'is_menu' => true,
|
|
// * 'is_show' => true,
|
|
// * 'route' => null,
|
|
// * 'children' => [
|
|
// * [
|
|
// * 'name' => '提现列表',
|
|
// * 'is_menu' => true,
|
|
// * 'is_show' => true,
|
|
// * 'route' => 'store/cash/index',
|
|
// * ],
|
|
// * [
|
|
// * 'name' => '提现设置',
|
|
// * 'is_menu' => true,
|
|
// * 'is_show' => true,
|
|
// * 'route' => 'store/cash/setting',
|
|
// * ],
|
|
// * ],
|
|
// * ],
|
|
// * */
|
|
// [
|
|
// 'name' => '门店收益',
|
|
// 'is_menu' => true,
|
|
// 'is_show' => true,
|
|
// 'route' => 'store/store/store-earings',
|
|
// ],
|
|
// [
|
|
// 'name' => '数据图表',
|
|
// 'is_menu' => true,
|
|
// 'is_show' => true,
|
|
// 'route' => 'store/store/bind',
|
|
// ],
|
|
//
|
|
// ],
|
|
// ],
|
|
[
|
|
'name' => '设置',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => null,
|
|
'icon' => 'layui-icon-set',
|
|
'children' => [
|
|
[
|
|
'name' => '密码修改',
|
|
'is_menu' => true,
|
|
'is_show' => true,
|
|
'route' => 'store/setting/password',
|
|
],
|
|
]
|
|
],
|
|
];
|
|
}
|
|
}
|