diff --git a/src/components/charts/BarChart.vue b/src/components/charts/BarChart.vue new file mode 100644 index 0000000..3cfbca0 --- /dev/null +++ b/src/components/charts/BarChart.vue @@ -0,0 +1,172 @@ + + + + + + + + {{ idx + 1 }} + + {{ idx + 1 }} + + {{ item.name || item.shortName }} + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/charts/GaugeChart.vue b/src/components/charts/GaugeChart.vue new file mode 100644 index 0000000..d9ad929 --- /dev/null +++ b/src/components/charts/GaugeChart.vue @@ -0,0 +1,127 @@ + + + + + + {{ ratio }}% + 已执行 + + + + + 预算总额 + {{ total }} + + + 已执行 + {{ used }} + + + 剩余可用 + {{ left }} + + + + + + + + \ No newline at end of file