+
-
diff --git a/src/components/charts/panel.scss b/src/components/charts/panel.scss
index 327648ce..4b69728f 100644
--- a/src/components/charts/panel.scss
+++ b/src/components/charts/panel.scss
@@ -41,13 +41,6 @@
height: 100%;
width: 100%;
}
- &>.cn-chart.cn-chart__echarts--statistics {
- border: none;
- box-shadow: none;
- .cn-chart__header {
- border-bottom: none;
- }
- }
&>.cn-chart__echarts, &>.cn-chart__table, &>.cn-chart__map {
display: flex;
flex-direction: column;
@@ -178,6 +171,36 @@
}
}
}
+ &>.cn-chart__single-value.cn-chart__single-value--chart {
+ display: flex;
+ padding: 13px 20px;
+
+ .single-value__content {
+ display: flex;
+ height: 100%;
+ width: 100%;
+ flex-direction: column;
+
+ .content__title {
+ display: flex;
+ align-items: center;
+ height: 30%;
+ font-size: 16px;
+ color: #666666;
+ }
+ .content__data {
+ display: flex;
+ align-items: center;
+ height: 25%;
+ font-size: 24px;
+ color: #333333;
+ font-weight: bold;
+ }
+ .content__chart {
+ flex: auto
+ }
+ }
+ }
&>.cn-chart__title {
display: flex;
align-items: center;
@@ -409,6 +432,13 @@
}
}
}
+.cn-panel>.cn-chart__tabs>.el-tabs__content>.el-tab-pane>.cn-chart {
+ border: none;
+ box-shadow: none;
+ .cn-chart__header {
+ border-bottom: none;
+ }
+}
.option-popper {
.el-select-dropdown__item {
height: 24px;
diff --git a/src/components/entities/EntityList.vue b/src/components/entities/EntityList.vue
index d72820b1..4cbc0097 100644
--- a/src/components/entities/EntityList.vue
+++ b/src/components/entities/EntityList.vue
@@ -5,23 +5,23 @@
-
-
+
+
{{$t('entities.reputationLevel')}}:
{{d.reputationLevel || '-'}}
-
+
{{$t('entities.risk')}}:
{{d.appRisk || '-'}}
-
+
{{$t('overall.country')}}:
{{d.country || '-'}}
@@ -37,7 +37,7 @@
{{$t('overall.detail')}}>
-
+
{{$t('entities.Group')}}:
{{d.categoryGroup || '-'}}
@@ -52,7 +52,7 @@
{{$t('overall.detail')}}>
-
+
APP ID:
{{d.appId || '-'}}
@@ -79,7 +79,6 @@
:currentPage="pageObj.pageNo"
:page-size="pageObj.pageSize"
:total="pageObj.total"
- :page-sizes="[30, 50, 100]"
layout="total, prev, pager, next"
>
@@ -91,7 +90,7 @@ export default {
name: 'EntityList',
props: {
listData: Array,
- entityType: String,
+ from: String,
pageObj: Object
},
data () {
@@ -103,7 +102,7 @@ export default {
computed: {
circleColor () {
let color
- switch (this.entityType) {
+ switch (this.from) {
case ('ip'): {
color = '#E8FBF9'
break
@@ -122,7 +121,7 @@ export default {
},
iconClass () {
let className
- switch (this.entityType) {
+ switch (this.from) {
case ('ip'): {
className = 'cn-icon cn-icon-ip ip-green'
break
@@ -160,11 +159,7 @@ export default {
scrollbarToTop () {
this.$nextTick(() => {
const wraps = document.querySelectorAll('.el-table__body-wrapper')
- wraps.forEach(wrap => {
- if (wrap._ps_) {
- wrap.scrollTop = 0
- }
- })
+ wraps.scrollTop = 0
})
},
entityDetail (params, tabs = []) {
diff --git a/src/components/entities/LeftFilter.vue b/src/components/entities/LeftFilter.vue
index 72245331..620bb4e2 100644
--- a/src/components/entities/LeftFilter.vue
+++ b/src/components/entities/LeftFilter.vue
@@ -87,6 +87,8 @@ export default {
} else {
this.currentDataBottom = this.$_.cloneDeep(data)
}
+ console.info(this.currentDataTop)
+ console.info(this.currentDataBottom)
this.$emit('select', data, node, index, column)
},
showMore (filterData) {
@@ -94,8 +96,6 @@ export default {
this.$emit('showMore', filterData.column)
}
},
- loadFilter (node, resolve, f) {
- },
dataEqual (obj1, obj2) {
if (!obj1 || !obj2) {
return false
diff --git a/src/components/entities/entities.scss b/src/components/entities/entities.scss
index 18c87111..ac588429 100644
--- a/src/components/entities/entities.scss
+++ b/src/components/entities/entities.scss
@@ -144,7 +144,7 @@
margin-top: 23px;
.el-pager {
- li:last-of-type {
+ .btn-quicknext + li {
display: none;
}
}
diff --git a/src/components/layout/Header.vue b/src/components/layout/Header.vue
index 027ecdb7..00b9acf8 100644
--- a/src/components/layout/Header.vue
+++ b/src/components/layout/Header.vue
@@ -2,15 +2,26 @@