Explorar o código

档案统计颜色修改

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
cc46b459ec

+ 1 - 0
src/views/using/components/echarts/RoundPieChart.vue

@@ -50,6 +50,7 @@ const setOptions = (AxisData) => {
         tooltip: {
             trigger: 'item'
         },
+        color: ['#5279AE','#F5CC71','#B8595A','#67B57E'],
         series: [
             {
                 type: 'pie',

+ 4 - 4
src/views/using/stats.vue

@@ -39,7 +39,7 @@
                             <HcBorderNeon align="left"/>
                             <div class="header">档案年限占比</div>
                             <div class="body" v-loading="isFixedLoading">
-                                <RoundPieChart ref="fixedChartRef" :datas="fixedChartData"/>
+                                <RoundPieChart ref="fixedChartRef" :datas="fixedChartData"  />
                             </div>
                         </div>
                         <div class="hc-chart-card-box gird">
@@ -105,7 +105,7 @@ const nativeChartRef = ref(null)
 const nativeChartConfig = {
     name: ['原生', '数字化'],
     key: ['key1', 'key2'],
-    color: ['#3187FF', '#1ACC96'],
+    color: ['#D97558', '#E4C377'],
     label: '',
 }
 
@@ -134,7 +134,7 @@ const hasBeenChartRef = ref(null)
 const hasBeenChartConfig = {
     name: ['施工', '监理', '业主'],
     key: ['key1', 'key2', 'key3'],
-    color: ['#3187FF', '#FF8F3E', '#1ACC96'],
+    color: ['#D9A67B', '#D97558', '#E4C377'],
     label: '已组案卷',
 }
 
@@ -186,7 +186,7 @@ const destroyChartRef = ref(null)
 const destroyChartConfig = {
     name: ['施工', '监理', '业主'],
     key: ['key1', 'key2', 'key3'],
-    color: ['#87ace2', '#6eb1ff', '#0e7ce5'],
+    color: ['#63686E', '#42494F', '#999FA6'],
     label: '已销毁案卷',
 }