| | |
| | | |
| | | import Element from 'element-ui' |
| | | import './assets/styles/element-variables.scss' |
| | | |
| | | import '@/assets/styles/custom.scss' // 自定义样式 |
| | | import '@/assets/styles/index.scss' // global css |
| | | import '@/assets/styles/ruoyi.scss' // ruoyi css |
| | | import App from './App' |
| | |
| | | import VueMeta from 'vue-meta' |
| | | // 字典数据组件 |
| | | import DictData from '@/components/DictData' |
| | | |
| | | // 弹出层组件 |
| | | import Dialog from '@/components/Dialog/index' |
| | | //下载附件 |
| | | import { downFile } from '@/utils/down.js' |
| | | // 全局方法挂载 |
| | | Vue.prototype.getDicts = getDicts |
| | | Vue.prototype.getConfigKey = getConfigKey |
| | |
| | | Vue.prototype.selectDictLabels = selectDictLabels |
| | | Vue.prototype.download = download |
| | | Vue.prototype.handleTree = handleTree |
| | | Vue.prototype.downFile = downFile |
| | | |
| | | // 全局组件挂载 |
| | | Vue.component('DictTag', DictTag) |
| | |
| | | Vue.component('Editor', Editor) |
| | | Vue.component('FileUpload', FileUpload) |
| | | Vue.component('ImageUpload', ImageUpload) |
| | | Vue.component('Dialog', Dialog) |
| | | |
| | | Vue.use(directive) |
| | | Vue.use(plugins) |