diff --git a/src/views/components/echarts/catePie.vue b/src/views/components/echarts/catePie.vue
new file mode 100644
index 0000000..1eb6c68
--- /dev/null
+++ b/src/views/components/echarts/catePie.vue
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
diff --git a/src/views/components/echarts/lendAcross.vue b/src/views/components/echarts/lendAcross.vue
new file mode 100644
index 0000000..026976e
--- /dev/null
+++ b/src/views/components/echarts/lendAcross.vue
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
diff --git a/src/views/components/echarts/typePie.vue b/src/views/components/echarts/typePie.vue
new file mode 100644
index 0000000..4144465
--- /dev/null
+++ b/src/views/components/echarts/typePie.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
diff --git a/src/views/system/archiveStatistics/index.vue b/src/views/system/archiveStatistics/index.vue
index db92888..4a0f6c7 100644
--- a/src/views/system/archiveStatistics/index.vue
+++ b/src/views/system/archiveStatistics/index.vue
@@ -3,13 +3,18 @@
-
-
+
-
-
-
-
+
-
-
+
+
-
-
-
-
-
+
+
-
+
-
-
+
@@ -55,11 +82,23 @@
diff --git a/src/views/system/archiveStatistics/module/acrossBar.vue b/src/views/system/archiveStatistics/module/acrossBar.vue
new file mode 100644
index 0000000..c65f57f
--- /dev/null
+++ b/src/views/system/archiveStatistics/module/acrossBar.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
diff --git a/src/views/system/archiveStatistics/module/barEcharts.vue b/src/views/system/archiveStatistics/module/barEcharts.vue
index 76d8a69..2503f0a 100644
--- a/src/views/system/archiveStatistics/module/barEcharts.vue
+++ b/src/views/system/archiveStatistics/module/barEcharts.vue
@@ -1,6 +1,7 @@
@@ -15,7 +16,7 @@ export default {
methods: {
drawChart() {
const app = {}
- const chartDom = document.getElementById('main')
+ const chartDom = document.getElementById('main1')
const myChart = echarts.init(chartDom)
let option = null
@@ -110,30 +111,28 @@ export default {
type: 'shadow'
}
},
- legend: {
- data: ['Forest', 'Steppe']
- },
- toolbox: {
- show: true,
- orient: 'vertical',
- left: 'right',
- top: 'center',
- feature: {
- mark: { show: true },
- dataView: { show: true, readOnly: false },
- magicType: { show: true, type: ['line', 'bar', 'stack'] },
- restore: { show: true },
- saveAsImage: { show: true }
+ legend: { // 图例
+ data: ['出库', '入库'],
+ right: 60,
+ icon: 'circle',
+ textStyle: {
+ color: '#fff'
}
},
+ grid: {
+ left: '3%',
+ right: '3%',
+ bottom: '8%',
+ top: '15%',
+ containLabel: true
+ },
xAxis: [{
type: 'category',
axisTick: { show: false },
data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
axisLine: {// 轴线的颜色以及宽度
lineStyle: {
- color: '#113D72',
- type: 'solid'
+ color: '#113D72'
}
},
axisLabel: {// x轴文字的配置
@@ -181,7 +180,7 @@ export default {
emphasis: {
focus: 'series'
},
- data: [320, 332, 301, 334, 390],
+ data: [320, 332, 401, 334, 390, 320, 332, 301, 334, 390, 320, 332],
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
{
offset: 0,
@@ -202,7 +201,7 @@ export default {
emphasis: {
focus: 'series'
},
- data: [220, 182, 191, 234, 290],
+ data: [220, 182, 191, 234, 290, 220, 182, 191, 234, 290, 220, 182],
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
{
offset: 0,
@@ -224,8 +223,8 @@ export default {
diff --git a/src/views/system/archiveStatistics/module/lineEchart.vue b/src/views/system/archiveStatistics/module/lineEchart.vue
new file mode 100644
index 0000000..d8c3ca1
--- /dev/null
+++ b/src/views/system/archiveStatistics/module/lineEchart.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+