| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- // 接口地址
- export const API_BASE_URL = process.env.VUE_APP_API_BASE_URL;
- // 项目名称
- export const PROJECT_NAME = process.env.VUE_APP_NAME;
- // 不显示侧栏的路由
- export const HIDE_SIDEBARS = [];
- // 不显示页脚的路由
- export const HIDE_FOOTERS = [
- '/system/dictionary',
- '/system/organization',
- '/form/advanced'
- ];
- // 页签同路由不同参数可重复打开的路由
- export const REPEATABLE_TABS = [];
- // 不需要登录的路由
- export const WHITE_LIST = ['/login', '/forget'];
- // 开启 KeepAlive 后仍然不需要缓存的路由地址
- export const KEEP_ALIVE_EXCLUDES = [];
- // 开启 KeepAlive 后需要缓存的路由地址
- export const KEEP_ALIVE_INCLUDE = [
- 'equipmentIndex',
- 'boatIndex',
- 'meterIndex',
- 'mouldIndex',
- 'accountingLedgerIndex',
- 'turnoverCarIndex',
- 'turnoverDisksIndex',
- 'sparepartIndex',
- 'dryAreaIndex',
- 'accountingLedgerIndex'
- ];
- // 直接指定菜单数据
- export const USER_MENUS = undefined;
- // [
- // {
- // path: '/dashboard',
- // redirect: '/dashboard/user',
- // meta: { title: '流程管理', icon: 'el-icon-setting' }
- // },
- // {
- // path: '/system',
- // redirect: '/system/user',
- // meta: { title: '流程管理', icon: 'el-icon-setting' },
- // children: [
- // {
- // path: '/system/user',
- // component: '/system/user',
- // meta: { title: '流程定义', icon: 'el-icon-user', hide: false }
- // },
- // {
- // path: '/system/user',
- // component: '/system/user',
- // meta: { title: '流程审批', icon: 'el-icon-user', hide: false }
- // },
- // {
- // path: '/system/user',
- // component: '/system/user',
- // meta: { title: '流程实列', icon: 'el-icon-user', hide: false }
- // }
- // ]
- // },
- // {
- // path: '/system',
- // redirect: '/system/user',
- // meta: { title: '授权管理', icon: 'el-icon-setting' },
- // children: [
- // {
- // path: '/system/user',
- // component: '/system/user',
- // meta: { title: '用户管理', icon: 'el-icon-user', hide: false }
- // },
- // {
- // path: '/system/user',
- // component: '/system/user',
- // meta: { title: '角色管理', icon: 'el-icon-user', hide: false }
- // },
- // {
- // path: '/system/user',
- // component: '/system/user',
- // meta: { title: '租户管理', icon: 'el-icon-user', hide: false }
- // },
- // {
- // path: '/system/user',
- // component: '/system/user',
- // meta: { title: '菜单管理', icon: 'el-icon-user', hide: false }
- // }
- // ]
- // }
- // ];
- // 首页名称, 为空则取第一个菜单的名称
- export const HOME_TITLE = undefined;
- // 首页路径, 为空则取第一个菜单的地址
- export const HOME_PATH = undefined;
- // 外层布局的路由地址
- export const LAYOUT_PATH = '/';
- // 刷新路由的路由地址
- export const REDIRECT_PATH = '/redirect';
- // 开启页签栏是否缓存组件
- //export const TAB_KEEP_ALIVE = process.env.NODE_ENV !== 'development';
- export const TAB_KEEP_ALIVE = true;
- // token 传递的 header 名称
- export const TOKEN_HEADER_NAME = 'Authorization';
- // token 存储的名称
- export const TOKEN_STORE_NAME = 'access_token';
- // 主题配置存储的名称
- export const THEME_STORE_NAME = 'theme';
- // i18n 缓存的名称
- export const I18N_CACHE_NAME = 'i18n-lang';
- // 是否开启国际化功能
- export const I18N_ENABLE = true;
- // 高德地图 key , 自带的只能用于测试, 正式项目请自行到高德地图官网申请 key
- export const MAP_KEY = '006d995d433058322319fa797f2876f5';
- // EleAdmin 授权码, 自带的只能用于演示, 正式项目请更换为自己的授权码
- export const LICENSE_CODE =
- 'dk9mcwJyetRWQlxWRiojIqJWdzJCLi4Wa4MDNxojI0NWZlJiOiQWaiwCMsICOyRjTEZGWi42bpNnclZnI0nIxEjLxIiO0NW=';
|