项目调整

This commit is contained in:
xuziqiang
2024-05-20 10:03:09 +08:00
parent 142721b1c3
commit 7cb6d585b4
11 changed files with 121 additions and 143 deletions

View File

@@ -4,27 +4,31 @@ import { dateUtil } from '/nerv-lib/util/date-util';
export const appConfig = {
projectType: 'web',
baseApi: '/api',
enablePermissions: true,
enablePermissions: false,
// siderPosition: 'left',
baseHeader: '/parkingManage',
baseRouter: '/parkingManage/parkingLotManage',
userCustomRouterGuard: (to, from, next, whiteNameList, authorizationStore, appConfig) => {
console.log({ to, from, next, whiteNameList, authorizationStore, appConfig }, 'routeConfig');
next();
},
customUpdatePwd: () => import('/@/view/updatePassword/updatePassword.vue'),
timeout: 60 * 1000,
userLoginApi: 'api/web/objs/Login',
userResourceApi: '/api/web/objs/User/Resource',
userInfoApi: 'api/web/objs/CurrentUser',
useHistoryTag: true,
// userResourceApi: '/api/web/objs/User/Resource',
// userInfoApi: 'api/web/objs/CurrentUser',
useHistoryTag: false,
// 修改密码配置
updatePassWordInfo: {
title: '修改密码',
subtitle: '芜优出行平台',
api: '/api/web/objs/User/changePassword',
},
headerBellInfo: {
isShow: true,
api: '/api/web/objs/bulletin/readCount',
toRouterName: 'NoticeManageIndex',
},
// headerBellInfo: {
// isShow: true,
// api: '/api/web/objs/bulletin/readCount',
// toRouterName: 'NoticeManageIndex',
// },
resourceInfo: {
application: {
version: '1.1.74',