|
@@ -50,27 +50,6 @@ export const params = reactive(strToParams(location.search)) as unknown as Param
|
|
|
params.caseId = Number(params.caseId)
|
|
|
params.share = Boolean(Number(params.share))
|
|
|
params.single = Boolean(Number(params.single))
|
|
|
-export enum appType {
|
|
|
- fire = "1",
|
|
|
- xmfire = "3",
|
|
|
- criminal = "2",
|
|
|
- police = "4",
|
|
|
-
|
|
|
-}
|
|
|
-export const appStyleImport = {
|
|
|
- [appType.fire]: () => import('../assets/style/fire.less'),
|
|
|
- [appType.xmfire]: () => import('../assets/style/fire.less'),
|
|
|
- [appType.criminal]: () => import('../assets/style/criminal.less'),
|
|
|
- [appType.police]: () => import('../assets/style/criminal.less'),
|
|
|
-}
|
|
|
-export const appBackRoot = {
|
|
|
- [appType.fire]: "/fire",
|
|
|
- [appType.xmfire]: "/xmfire",
|
|
|
- [appType.criminal]: "/criminal",
|
|
|
- [appType.police]: "/criminal"
|
|
|
-}
|
|
|
-export const routeIncludeFire = (type: appType) =>
|
|
|
- [appType.fire, appType.xmfire].includes(type)
|
|
|
|
|
|
export type Params = {
|
|
|
caseId: number,
|
|
@@ -79,7 +58,6 @@ export type Params = {
|
|
|
m?: string
|
|
|
share?: boolean,
|
|
|
single?: boolean
|
|
|
- app: appType
|
|
|
token?: string
|
|
|
}
|
|
|
|