| | |
| | | //表单验证 |
| | | import { rules } from '@/utils/rules' |
| | | import * as echarts from 'echarts' |
| | | import qs from 'qs' |
| | | // import VCalendar from 'v-calendar'; // 引入日历插件 |
| | | // |
| | | // Vue.use(VCalendar, { |
| | | // componentPrefix: 'vc', |
| | | // }); |
| | | |
| | | //注入全局属性$message |
| | | import { message, notification } from 'ant-design-vue' |
| | | Vue.prototype.$message = message |
| | | Vue.prototype.$notification = notification |
| | | message.config({ |
| | | }) |
| | | notification.config({ |
| | | bottom: '20px', |
| | | right: '100px' |
| | | }) |
| | | |
| | | import ElementUI from 'element-ui'; |
| | | import 'element-ui/lib/theme-chalk/index.css'; |
| | | // 将自动注册所有组件为全局组件 |
| | | import dataV from '@jiaminghi/data-view' |
| | | Vue.use(dataV) |
| | |
| | | import VueDragResize from "vue-drag-resize" |
| | | Vue.component('vue-drag-resize', VueDragResize) |
| | | |
| | | // import 'echarts-liquidfill' |
| | | Vue.prototype.$echarts = echarts |
| | | Vue.prototype.$qs = qs |
| | | Vue.prototype.rules = rules |
| | | Vue.config.productionTip = false |
| | | Vue.use(Storage, config.storageOptions) |
| | | Vue.use(Antd) |
| | | Vue.use(VueAxios, router) |
| | | Vue.use(Viser) |
| | | Vue.use(hasPermission) |
| | | Vue.use(JDictSelectTag) |
| | | Vue.use(Print) |
| | | Vue.use(ElementUI); |
| | | Vue.use(Antd) |
| | | Vue.use(preview) |
| | | Vue.use(vueBus); |
| | | Vue.use(JeecgComponents); |