|
|
@ -5,24 +5,10 @@ import store from "./store"; |
|
|
|
import ElementUI from 'element-ui' |
|
|
|
import ElementUI from 'element-ui' |
|
|
|
import util from '@/util' |
|
|
|
import util from '@/util' |
|
|
|
import '@/styles/index.scss'; |
|
|
|
import '@/styles/index.scss'; |
|
|
|
const systemId = util.getCookie('systemId') |
|
|
|
const systemId = util.getCookie('systemId') ? Number(util.getCookie('systemId')) : 1 |
|
|
|
if (systemId == 1) { |
|
|
|
console.log('main', systemId, `@/styles/theme/theme${systemId}.scss`) |
|
|
|
require('@/styles/theme/theme1.scss') |
|
|
|
// require(`@/styles/theme/theme${systemId}.scss`)
|
|
|
|
} else if (systemId == 4) { |
|
|
|
require(`@/styles/theme/theme1.scss`) |
|
|
|
require('@/styles/theme/theme4.scss') |
|
|
|
|
|
|
|
} else if (systemId == 5) { |
|
|
|
|
|
|
|
require('@/styles/theme/theme5.scss') |
|
|
|
|
|
|
|
} else if (systemId == 6) { |
|
|
|
|
|
|
|
require('@/styles/theme/theme6.scss') |
|
|
|
|
|
|
|
} else if (systemId == 7) { |
|
|
|
|
|
|
|
require('@/styles/theme/theme7.scss') |
|
|
|
|
|
|
|
} else if (systemId == 8) { |
|
|
|
|
|
|
|
require('@/styles/theme/theme8.scss') |
|
|
|
|
|
|
|
} else if (systemId == 9) { |
|
|
|
|
|
|
|
require('@/styles/theme/theme9.scss') |
|
|
|
|
|
|
|
} else if (systemId == 10) { |
|
|
|
|
|
|
|
require('@/styles/theme/theme10.scss') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
import api from './api'; |
|
|
|
import api from './api'; |
|
|
|
import { |
|
|
|
import { |
|
|
|
post, |
|
|
|
post, |
|
|
|