From c74dcb8dca7b9e3eded0d20299f19a26a6b70974 Mon Sep 17 00:00:00 2001
From: wujian <14790700720@163.com>
Date: 星期三, 31 一月 2024 12:48:45 +0800
Subject: [PATCH] add 追溯报表

---
 jcdm-ui/src/views/index.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/jcdm-ui/src/views/index.vue b/jcdm-ui/src/views/index.vue
index fc6881d..c0abca2 100644
--- a/jcdm-ui/src/views/index.vue
+++ b/jcdm-ui/src/views/index.vue
@@ -1,14 +1,16 @@
 <template>
   <div class="dashboard-editor-container">
 
-    <panel-group @handleSetLineChartData="handleSetLineChartData" />
+    <panel-group style="margin-bottom: 10px" @handleSetLineChartData="handleSetLineChartData" />
 
-    <el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
+    <el-row style="background:#fff;padding:16px 16px 0; width: 1292px">
       <el-col :xs="24" :sm="12">
         <pie-chart />
       </el-col>
+
       <el-col :xs="24" :sm="12">
         <line-chart :chart-data="lineChartData" />
+
       </el-col>
     </el-row>
 
@@ -19,6 +21,7 @@
 import PanelGroup from './dashboard/PanelGroup'
 import LineChart from './dashboard/LineChart'
 import PieChart from './dashboard/PieChart'
+import pieChart from "@/views/dashboard/PieChart.vue";
 
 const lineChartData = {
   newVisitis: {
@@ -41,6 +44,11 @@
 
 export default {
   name: 'Index',
+  computed: {
+    pieChart() {
+      return pieChart
+    }
+  },
   components: {
     PanelGroup,
     LineChart,
@@ -61,7 +69,7 @@
 
 <style lang="scss" scoped>
 .dashboard-editor-container {
-  padding: 32px;
+  padding: 20px;
   background-color: rgb(240, 242, 245);
   position: relative;
 

--
Gitblit v1.9.3