|
@@ -57,14 +57,18 @@
|
|
<div class="title">查验通过率分析
|
|
<div class="title">查验通过率分析
|
|
<a-date-picker v-model:value="state.date4"/>
|
|
<a-date-picker v-model:value="state.date4"/>
|
|
</div>
|
|
</div>
|
|
- <div class="content">
|
|
|
|
|
|
+ <div class="content" style="display: flex">
|
|
<pie2Chart :data="state.arr4" :color="state.color4" :index="0"/>
|
|
<pie2Chart :data="state.arr4" :color="state.color4" :index="0"/>
|
|
|
|
+ <pie2Chart :data="state.arr4" :color="state.color6" :index="1"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="statistic-block">
|
|
<div class="statistic-block">
|
|
<div class="title">平均查验时间分析
|
|
<div class="title">平均查验时间分析
|
|
<a-date-picker v-model:value="state.date5"/>
|
|
<a-date-picker v-model:value="state.date5"/>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="content">
|
|
|
|
+ <barChart :data="state.arr5" :color="state.color5"/>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="statistic-tr">
|
|
<div class="statistic-tr">
|
|
@@ -72,6 +76,10 @@
|
|
<div class="title">拦截成功率分析
|
|
<div class="title">拦截成功率分析
|
|
<a-date-picker v-model:value="state.date6"/>
|
|
<a-date-picker v-model:value="state.date6"/>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="content" style="display: flex">
|
|
|
|
+ <pie2Chart :data="state.arr6" :color="state.color4" :index="0"/>
|
|
|
|
+ <pie2Chart :data="state.arr6" :color="state.color6" :index="1"/>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="statistic-block">
|
|
<div class="statistic-block">
|
|
<div class="title">风险趋势分析
|
|
<div class="title">风险趋势分析
|
|
@@ -90,6 +98,7 @@ import basicApi from '@/api/gsc/basic'
|
|
import pieChart from './chart/pie.vue'
|
|
import pieChart from './chart/pie.vue'
|
|
import lineChart from './chart/line.vue'
|
|
import lineChart from './chart/line.vue'
|
|
import pie2Chart from './chart/pie2.vue'
|
|
import pie2Chart from './chart/pie2.vue'
|
|
|
|
+import barChart from './chart/bar.vue'
|
|
|
|
|
|
const {proxy} = getCurrentInstance()
|
|
const {proxy} = getCurrentInstance()
|
|
const state = reactive({
|
|
const state = reactive({
|
|
@@ -111,6 +120,8 @@ const state = reactive({
|
|
color2: ['rgba(1, 255, 246, 1)', 'rgba(1, 255, 246, 0)'],
|
|
color2: ['rgba(1, 255, 246, 1)', 'rgba(1, 255, 246, 0)'],
|
|
color3: ['rgba(14, 156, 255, 1)', 'rgba(14, 156, 255, 0)'],
|
|
color3: ['rgba(14, 156, 255, 1)', 'rgba(14, 156, 255, 0)'],
|
|
color4: ['rgba(0, 194, 255, 1)', 'rgba(255, 0, 61, 1)'],
|
|
color4: ['rgba(0, 194, 255, 1)', 'rgba(255, 0, 61, 1)'],
|
|
|
|
+ color5: ['#00A8FF', '#0F3352'],
|
|
|
|
+ color6: ['#00A3FF', '#BDFF00'],
|
|
color7: ['#16C843', '#00EAFF', '#FB9A04', '#00A2FF', '#9966FF', '#FC6767', '#ABB2B4'],
|
|
color7: ['#16C843', '#00EAFF', '#FB9A04', '#00A2FF', '#9966FF', '#FC6767', '#ABB2B4'],
|
|
})
|
|
})
|
|
const initData = () => {
|
|
const initData = () => {
|