|
@@ -37,6 +37,8 @@ import DictTag from '@/components/DictTag'
|
|
|
import VueMeta from 'vue-meta'
|
|
|
// 字典数据组件
|
|
|
import DictData from '@/components/DictData'
|
|
|
+import dataV from '@jiaminghi/data-view'
|
|
|
+import echarts from '@/api/rc/echarts.min.js'
|
|
|
|
|
|
// 全局方法挂载
|
|
|
Vue.prototype.getDicts = getDicts
|
|
@@ -48,6 +50,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
|
|
|
Vue.prototype.selectDictLabels = selectDictLabels
|
|
|
Vue.prototype.download = download
|
|
|
Vue.prototype.handleTree = handleTree
|
|
|
+Vue.prototype.echarts = echarts
|
|
|
|
|
|
// 全局组件挂载
|
|
|
Vue.component('DictTag', DictTag)
|
|
@@ -61,6 +64,7 @@ Vue.component('ImagePreview', ImagePreview)
|
|
|
Vue.use(directive)
|
|
|
Vue.use(plugins)
|
|
|
Vue.use(VueMeta)
|
|
|
+Vue.use(dataV)
|
|
|
DictData.install()
|
|
|
|
|
|
/**
|