diff --git a/src/views/dataAnalysis/Bar/BarChart.vue b/src/views/dataAnalysis/Bar/BarChart.vue new file mode 100644 index 0000000000000000000000000000000000000000..be8dbc6e3dc4706d66d65271671be9508dd57582 --- /dev/null +++ b/src/views/dataAnalysis/Bar/BarChart.vue @@ -0,0 +1,178 @@ + + + diff --git a/src/views/dataAnalysis/Pie/PieChart.vue b/src/views/dataAnalysis/Pie/PieChart.vue index 7b2115370dc56969a548b2faeab6f8206934929b..5bf12b1d58738aa6f0389be125a9b84f42749d06 100644 --- a/src/views/dataAnalysis/Pie/PieChart.vue +++ b/src/views/dataAnalysis/Pie/PieChart.vue @@ -27,15 +27,15 @@ export default { }, height: { type: String, - default: "350px", + default: "300px", }, autoResize: { type: Boolean, default: true, }, chartData: { - type: Object, - required: true, + // type: Object, + // required: true, }, }, data() { @@ -94,10 +94,7 @@ export default { name: this.title, type: "pie", radius: "50%", - data: [ - { value: 1048, name: "男性" }, - { value: 735, name: "女性" }, - ], + data: this.chartData, emphasis: { itemStyle: { shadowBlur: 10, diff --git a/src/views/dataAnalysis/Pie/PieChartFour.vue b/src/views/dataAnalysis/Pie/PieChartFour.vue new file mode 100644 index 0000000000000000000000000000000000000000..6f865e61fe9fca1c11a715b77840e333c7171b22 --- /dev/null +++ b/src/views/dataAnalysis/Pie/PieChartFour.vue @@ -0,0 +1,154 @@ + + + diff --git a/src/views/dataAnalysis/Pie/PieChartTwo.vue b/src/views/dataAnalysis/Pie/PieChartTwo.vue new file mode 100644 index 0000000000000000000000000000000000000000..8d7e0608276f25cec6b79f677eb7eccec8dd4ea9 --- /dev/null +++ b/src/views/dataAnalysis/Pie/PieChartTwo.vue @@ -0,0 +1,149 @@ + + + diff --git a/src/views/dataAnalysis/index.vue b/src/views/dataAnalysis/index.vue index 9a3e49de50d467aa36d02190377621930eaa378f..c12b6cb8afab793f4e4b3d274229fbb30278fcf8 100644 --- a/src/views/dataAnalysis/index.vue +++ b/src/views/dataAnalysis/index.vue @@ -70,22 +70,92 @@ :height="'300px'" :title="'筛查人群性别分布'" :total-num="sexNum" - :chart-data="{}" + :chart-data="pieData1" :colorList="colorList1" > -
-
-
+
+ +
+
+ +
+
+ +
+ + +
+
内镜检出疾病情况
+
+
+
+ +
+
+ +
+
+
胃癌内镜检出率
+ +
+
+
早期胃癌占比
+ +