fix: 组件位置调整

This commit is contained in:
@changcode
2022-03-30 10:32:01 +08:00
parent 88a7eba7ab
commit 95d1a307b4
4 changed files with 9 additions and 11 deletions

View File

@@ -409,9 +409,7 @@ export default {
!this.isMap &&
!this.isSingleSupportStatistics &&
!this.isTwoSupportStatistics &&
!this.isAlarmInfo &&
!this.isDetectionSecurity &&
!this.isDetectionService
!this.isAlarmInfo
)
},
chartOption () {

View File

@@ -1,14 +1,14 @@
<template>
<div class="security cn-detection--list">
<div class="cn-detection-table">
<detections-table
<chart-detections-table
v-for="(data, index) in chartData"
:detection="data"
:timeFilter="timeFilter"
:key="index"
:ref="`detectionRow${index}`"
:index="index"
></detections-table>
></chart-detections-table>
</div>
<div class="cn-detection__footer" v-show="pageObj.total > 0">
<chart-detection-pagination
@@ -22,7 +22,7 @@
</template>
<script>
import detectionsTable from '@/views/detections/detectionsTable'
import chartDetectionsTable from '@/views/charts/charts/chartDetectionsTable'
import chartDetectionPagination from '@/views/charts/charts/chartDetectionPagination'
import { get } from '@/utils/http'
import { replaceUrlPlaceholder } from '@/utils/tools'
@@ -37,7 +37,7 @@ export default {
},
components: {
chartDetectionPagination,
detectionsTable
chartDetectionsTable
},
watch: {
},

View File

@@ -1,14 +1,14 @@
<template>
<div class="service cn-detection--list">
<div class="cn-detection-table">
<detections-table
<chart-detections-table
v-for="(data, index) in chartData"
:detection="data"
:timeFilter="timeFilter"
:key="index"
:ref="`detectionRow${index}`"
:index="index"
></detections-table>
></chart-detections-table>
</div>
<div class="cn-chart__footer" v-show="pageObj.total > 0">
<chart-detection-pagination
@@ -23,7 +23,7 @@
<script>
import chartDetectionPagination from '@/views/charts/charts/chartDetectionPagination'
import detectionsTable from '@/views/detections/detectionsTable'
import chartDetectionsTable from '@/views/charts/charts/chartDetectionsTable'
import { get } from '@/utils/http'
import { replaceUrlPlaceholder } from '@/utils/tools'
export default {
@@ -37,7 +37,7 @@ export default {
},
components: {
chartDetectionPagination,
detectionsTable
chartDetectionsTable
},
data () {
return {