diff --git a/README.md b/README.md index 4f5670d..cb2c36a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # manage-system # 基于Vue.js 2.x系列 + Element UI 的后台管理系统解决方案 + ## 前言 ## 该方案作为一套多功能的后台框架模板,适用于绝大部分的后台管理系统(Web Management System)开发。基于vue.js,使用vue-cli脚手架快速生成项目目录,引用Element UI组件库,方便开发快速简洁好看的组件。 diff --git a/package.json b/package.json index 59937cc..0e5e3e9 100644 --- a/package.json +++ b/package.json @@ -10,12 +10,11 @@ }, "dependencies": { "axios": "^0.15.3", - "chart.js": "^2.3.0", "element-ui": "^1.1.6", - "hchs-vue-charts": "^1.2.7", "vue": "^2.1.10", "vue-core-image-upload": "^2.0.5", "vue-datasource": "^1.0.4", + "vue-echarts-v3": "^1.0.2", "vue-quill-editor": "^1.1.1", "vue-router": "^2.2.0", "vue-simplemde": "^0.3.2" diff --git a/src/components/page/BaseCharts.vue b/src/components/page/BaseCharts.vue index 4622039..39a52a0 100644 --- a/src/components/page/BaseCharts.vue +++ b/src/components/page/BaseCharts.vue @@ -7,37 +7,148 @@
- vue-charts:基于vue2和chart.js的图表组件。 - 访问地址:vue-charts + vue-echarts-v3:基于vue2和eCharts.js3的图表组件。 + 访问地址:vue-echarts-v3 +
+
+ +
+
+ +
+
+ +
+
+
- - - - - \ No newline at end of file diff --git a/src/components/page/MixCharts.vue b/src/components/page/MixCharts.vue index 06f30d2..b0ed53e 100644 --- a/src/components/page/MixCharts.vue +++ b/src/components/page/MixCharts.vue @@ -7,43 +7,58 @@
- vue-charts:基于vue2和chart.js的图表组件。 - 访问地址:vue-charts + vue-echarts-v3:基于vue2和eCharts.js3的图表组件。 + 访问地址:vue-echarts-v3
-
- - - - +
+
\ No newline at end of file diff --git a/src/main.js b/src/main.js index b700185..f5526ac 100644 --- a/src/main.js +++ b/src/main.js @@ -1,14 +1,10 @@ import Vue from 'vue'; import App from './App'; import router from './router'; -// import VueCharts from 'vue-chartjs'; -require('chart.js/dist/Chart.bundle.min.js') -require('hchs-vue-charts/dist/vue-charts.js') import ElementUI from 'element-ui'; import 'element-ui/lib/theme-default/index.css'; Vue.use(ElementUI); -Vue.use(VueCharts); new Vue({ router, render: h => h(App)