123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- /*
- * @FilePath: store.d.ts
- * @Author: 旭颖
- * @Date: 2022-10-31 14:56:49
- * @LastEditors: liangxvying 1615026511@qq.com
- * @LastEditTime: 2024-12-09 16:49:19
- */
- import { VabRouteMeta, VabRouteRecord } from '/#/router'
- declare interface AclModuleType {
- admin: boolean
- role: string[]
- permission: string[]
- }
- declare interface ErrorLogModuleType {
- errorLogs: any[]
- }
- declare interface RoutesModuleType {
- tab: {
- data: string | undefined
- }
- tabMenu: string | undefined
- activeMenu: {
- data: string | undefined
- }
- routes: VabRouteRecord[]
- }
- declare type DeviceType = 'mobile' | 'desktop'
- declare type LanguageType = 'zh' | 'en'
- declare interface SettingsModuleType {
- theme: ThemeType
- device: DeviceType
- collapse: boolean
- language: LanguageType
- lock: boolean
- logo: string
- title: string
- echartsGraphic1: string[]
- echartsGraphic2: string[]
- }
- declare interface TabsModuleType {
- visitedRoutes: VabRouteRecord[]
- }
- declare interface OptionType {
- name?: string
- title?: string
- meta: VabRouteMeta
- }
- declare interface UserModuleType {
- token: string | boolean
- username: string
- name: string
- avatar: string
- id: number
- type: number
- factories: Arrary
- shop_id: number
- supplier_id: number
- }
|