fix: 统一命名
This commit is contained in:
@@ -42,8 +42,8 @@
|
|||||||
@import './views/chartHeader';
|
@import './views/chartHeader';
|
||||||
@import './views/charts/chartMap';
|
@import './views/charts/chartMap';
|
||||||
@import 'views/charts/chartRelationShipList';
|
@import 'views/charts/chartRelationShipList';
|
||||||
@import './views/report/builtinReport';
|
@import 'views/report/report';
|
||||||
@import './components/rightBox/report/builtinReportBox';
|
@import 'components/rightBox/report/reportBox';
|
||||||
|
|
||||||
@import './views/charts2/panel';
|
@import './views/charts2/panel';
|
||||||
@import './views/charts2/networkOverviewLine';
|
@import './views/charts2/networkOverviewLine';
|
||||||
|
|||||||
@@ -1,21 +1,22 @@
|
|||||||
.cn-builtin {
|
.cn-report {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
height: calc(100% - 20px) !important;
|
height: calc(100% - 20px) !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
.cn-builtin-left {
|
.cn-report-left {
|
||||||
width: 288px;
|
width: 288px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-right: 1px solid #E7EAED;
|
border-right: 1px solid #E7EAED;
|
||||||
position: relative;
|
position: relative;
|
||||||
.cn-builtin-left-title {
|
overflow: auto;
|
||||||
|
.cn-report-left-title {
|
||||||
padding: 28px 0 26px 13px;
|
padding: 28px 0 26px 13px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
}
|
}
|
||||||
.cn-builtin-left-menu {
|
.cn-report-left-menu {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
@@ -25,13 +26,13 @@
|
|||||||
padding: 14px;
|
padding: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.cn-builtin-left-menu.cn-active {
|
.cn-report-left-menu.cn-active {
|
||||||
background: #F4FAFF;
|
background: #F4FAFF;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #0091FF;
|
color: #0091FF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.cn-builtin-right {
|
.cn-report-right {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
.list-page .main-container {
|
.list-page .main-container {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -21,7 +21,7 @@ const routes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/report/builtIn',
|
path: '/report/builtIn',
|
||||||
component: () => import('@/views/report/reportTest')
|
component: () => import('@/views/report/Report')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/entityExplorer',
|
path: '/entityExplorer',
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="cn-builtin">
|
<div class="cn-report">
|
||||||
<div class="cn-builtin-left">
|
<div class="cn-report-left">
|
||||||
<loading :loading="builtinLeftLoading"></loading>
|
<loading :loading="builtinLeftLoading"></loading>
|
||||||
<div class="cn-builtin-left-title">
|
<div class="cn-report-left-title">
|
||||||
{{$t('report.category')}}
|
{{$t('report.category')}}
|
||||||
</div>
|
</div>
|
||||||
<div class="cn-builtin-left-menu" :class="{'cn-active': !builtinId}" @click="builtinTabs(null)">
|
<div class="cn-report-left-menu" :class="{'cn-active': !builtinId}" @click="builtinTabs(null)">
|
||||||
{{$t('dns.all')}}
|
{{$t('dns.all')}}
|
||||||
</div>
|
</div>
|
||||||
<div class="cn-builtin-left-menu" :class="{'cn-active': builtinId === item.id}" v-for="item in builtinReportLeftMenu" :key="item.id" @click="builtinTabs(item.id)">
|
<div class="cn-report-left-menu" :class="{'cn-active': builtinId === item.id}" v-for="item in builtinReportLeftMenu" :key="item.id" @click="builtinTabs(item.id)">
|
||||||
{{item.name}}
|
{{item.name}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cn-builtin-right">
|
<div class="cn-report-right">
|
||||||
<cn-data-list
|
<cn-data-list
|
||||||
ref="dataList"
|
ref="dataList"
|
||||||
:tableId="tableId"
|
:tableId="tableId"
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #default>
|
<template #default>
|
||||||
<loading :loading="builtinRightLoading"></loading>
|
<loading :loading="builtinRightLoading"></loading>
|
||||||
<builtin-report-table
|
<report-table
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { get } from '@/utils/http'
|
import { get } from '@/utils/http'
|
||||||
import builtinReportTable from '@/components/table/report/reportTestTable'
|
import ReportTable from '@/components/table/report/ReportTable'
|
||||||
import cnDataList from '@/components/table/CnDataList'
|
import cnDataList from '@/components/table/CnDataList'
|
||||||
import dataListMixin from '@/mixins/data-list'
|
import dataListMixin from '@/mixins/data-list'
|
||||||
import { api } from '@/utils/api'
|
import { api } from '@/utils/api'
|
||||||
@@ -148,7 +148,7 @@ export default {
|
|||||||
'report.november',
|
'report.november',
|
||||||
'report.december'
|
'report.december'
|
||||||
],
|
],
|
||||||
tableId: 'builtinReportTable',
|
tableId: 'reportTable',
|
||||||
builtinLeftLoading: false,
|
builtinLeftLoading: false,
|
||||||
builtinRightLoading: false,
|
builtinRightLoading: false,
|
||||||
getNum: -1
|
getNum: -1
|
||||||
@@ -171,7 +171,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
Loading,
|
Loading,
|
||||||
cnDataList,
|
cnDataList,
|
||||||
builtinReportTable,
|
ReportTable,
|
||||||
ReportBox
|
ReportBox
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
Reference in New Issue
Block a user