多租户前端修改提交
This commit is contained in:
3
types/config.d.ts
vendored
3
types/config.d.ts
vendored
@ -139,6 +139,7 @@ export interface GlobConfig {
|
||||
urlPrefix?: string;
|
||||
// Project abbreviation
|
||||
shortName: string;
|
||||
tenantEnabled: boolean;
|
||||
// outlink
|
||||
outLink?: string;
|
||||
//print url
|
||||
@ -160,6 +161,8 @@ export interface GlobEnvConfig {
|
||||
//file preview
|
||||
VITE_GLOB_UPLOAD_PREVIEW?: string;
|
||||
VITE_GLOB_REPORT_URL: string;
|
||||
VITE_TENANT_ENABLED: boolean;
|
||||
VITE_CLOSE_ALERT_DISABLED: boolean;
|
||||
}
|
||||
|
||||
export interface LogoConfig {
|
||||
|
||||
8
types/store.d.ts
vendored
8
types/store.d.ts
vendored
@ -1,6 +1,7 @@
|
||||
import { ErrorTypeEnum } from '/@/enums/exceptionEnum';
|
||||
import { MenuModeEnum, MenuTypeEnum } from '/@/enums/menuEnum';
|
||||
import { RoleInfo } from '/@/api/sys/model/userModel';
|
||||
import {TenantInfo} from "/@/api/system/login/model";
|
||||
|
||||
// Lock screen information
|
||||
export interface LockInfo {
|
||||
@ -66,7 +67,14 @@ export interface UserInfo {
|
||||
postId: string;
|
||||
//岗位名称
|
||||
postName: string;
|
||||
//租户id
|
||||
tenantId: string;
|
||||
//租户名称
|
||||
tenantName: string;
|
||||
//租户编码
|
||||
tenantCode: string;
|
||||
|
||||
tenants: TenantInfo[];
|
||||
//所有部门
|
||||
departments: DepartmentInfo[];
|
||||
//所有部门
|
||||
|
||||
Reference in New Issue
Block a user