export interface FontendConfig{ biDesignerWebUrl: string; biDesignerApiEndpoint: string; } export interface CurrentProjectAuthTree { id?: string; name?: string; sort?: number; type?: string; fullId?: string; fullName?: string; orgId?: string; childNodes?: CurrentProjectAuthTree[]; } export interface PersonModel { id: string; key?: string; name: string; mobileNumber: string; email: string; status: number; } export interface PersonApiParams { productCode: string; isAll?: boolean; // 选择全部,false非全部 orgId?: string; // isAll=true或isDepart=true时,值为当前菜单界面选择的项目组织机构id;否则为左边组织机构树中选择的机构id isDepart?: boolean; // true为选择部门,false非部门;选择true时必须传departId departId?: string; //项目下部门id kw?: string; } export interface MenuTreeModel { id?: string; name?: string; level?: number; childMenus?: MenuTreeModel[]; } export interface AppAuthNodes { id: string; createdAt: number; updatedAt: number; name: string; level: number; tag: string; parentId: string; code: string; childMenus: AppAuthNodes[]; } // 设备告警权限 export interface DeviceTreeModel { name?: string; opt1?: string; opt2?: string; opt3?: string; isCheck1?: boolean; isCheck2?: boolean; isCheck3?: boolean; checked1?: boolean; checked2?: boolean; checked3?: boolean; indeterminate1?: boolean; indeterminate2?: boolean; indeterminate3?: boolean; childList?: DeviceAuthNodes[]; userIds?: string[]; deviceName?: string; } export interface DeviceAuthNodes { deviceName: string; deviceModelType: string; deviceModelName: string; deviceId: string; opt1?: string; opt2?: string; opt3?: string; isCheck1?: boolean; isCheck2?: boolean; isCheck3?: boolean; checked1?: boolean; checked2?: boolean; checked3?: boolean; userIds?: string[]; // childList: DeviceAuthNodes[]; } export interface DeviceAlarmModel { deviceName?: string; deviceModelType?: string; deviceId?: string; opt1?: string; opt2?: string; opt3?: string; userId?: number; projectId?: string; } export interface AddUser { deviceName: string; deviceModelType: string; deviceModelName: string; deviceId: string; opt1: string; opt2: string; opt3?: string; userIds: string[] }