You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.8 KiB
72 lines
1.8 KiB
11 months ago
|
/** @format */
|
||
|
import { dateUtil } from '/nerv-lib/util/date-util';
|
||
|
import mockResource from './resource.json';
|
||
|
|
||
|
export const appConfig = {
|
||
|
projectType: 'web',
|
||
|
baseApi: '/api',
|
||
|
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: () => {
|
||
|
return {
|
||
|
code: 200,
|
||
|
success: true,
|
||
|
data: { userToken: 123123123 },
|
||
|
};
|
||
|
},
|
||
|
userResourceApi: () => {
|
||
|
return { data: mockResource.menus };
|
||
|
},
|
||
|
userInfoApi: () => {
|
||
|
return {
|
||
|
code: 200,
|
||
|
success: true,
|
||
|
data: {
|
||
|
accountCode: '1305107806187376793',
|
||
|
accountName: 'adm*n',
|
||
|
accountType: 'admin',
|
||
|
accountStatus: 1,
|
||
|
accountRealName: 'admin',
|
||
|
organizationCode: 'dingcloud',
|
||
|
authConfigList: [],
|
||
|
organizeResCode: [],
|
||
|
leadDepartmentUuidList: [],
|
||
|
},
|
||
|
};
|
||
|
},
|
||
|
useHistoryTag: false,
|
||
|
// 修改密码配置
|
||
|
updatePassWordInfo: {
|
||
|
title: '修改密码',
|
||
|
subtitle: '芜优出行平台',
|
||
|
api: '/api/web/objs/User/changePassword',
|
||
|
},
|
||
|
// headerBellInfo: {
|
||
|
// isShow: true,
|
||
|
// api: '/api/web/objs/bulletin/readCount',
|
||
|
// toRouterName: 'NoticeManageIndex',
|
||
|
// },
|
||
|
resourceInfo: {
|
||
|
application: {
|
||
|
version: '1.1.74',
|
||
|
label: '停车业务平台',
|
||
|
dataScope: {
|
||
|
scopeMode: 0,
|
||
|
scopeType: '',
|
||
|
dataTips: '',
|
||
|
},
|
||
|
},
|
||
|
api: '/qa/Operation/Resources/Pc/init',
|
||
|
token: `${dateUtil().format('YYYYMMDD')}1a329ffasasozozxqq66cfab7`,
|
||
|
},
|
||
|
};
|