fix:ping trace 样式调整
This commit is contained in:
@@ -151,7 +151,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.data-bottom{
|
.data-bottom{
|
||||||
height: calc(100% - 50px) !important;
|
height: 100% !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.details{
|
.details{
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
@@ -159,6 +159,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.nz-table2{
|
||||||
|
flex: 1 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap{
|
.wrap{
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
|
.ping-popover.el-popover {
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
.trace{
|
.trace{
|
||||||
.top-tool-left{
|
.top-tool-left{
|
||||||
// align-items: center;
|
// align-items: center;
|
||||||
}
|
}
|
||||||
.ipInput{
|
.ipInput{
|
||||||
width:250px;
|
width:280px;
|
||||||
min-height: 36px;
|
min-height: 36px;
|
||||||
max-height: 62px;
|
max-height: 128px;
|
||||||
}
|
}
|
||||||
.ti-tag-input{
|
.ti-tag-input{
|
||||||
background: transparent ;
|
background: transparent ;
|
||||||
@@ -13,7 +17,8 @@
|
|||||||
.vue-tags-input,.ti-new-tag-input {
|
.vue-tags-input,.ti-new-tag-input {
|
||||||
.ti-input {
|
.ti-input {
|
||||||
min-height: 36px;
|
min-height: 36px;
|
||||||
max-height: 62px;
|
//max-height: 62px;
|
||||||
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
@@ -26,6 +31,7 @@
|
|||||||
color: $--color-text-regular !important;
|
color: $--color-text-regular !important;
|
||||||
}
|
}
|
||||||
.ti-tags{
|
.ti-tags{
|
||||||
|
height: 24px;
|
||||||
.ti-tag{
|
.ti-tag{
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
@@ -145,7 +151,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.data-bottom{
|
.data-bottom{
|
||||||
height: calc(100% - 50px) !important;
|
height: 100% !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.details{
|
.details{
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
@@ -153,6 +159,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.nz-table2{
|
||||||
|
flex: 1 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap{
|
.wrap{
|
||||||
|
|||||||
@@ -131,6 +131,9 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$set(item, 'alertNumtooltipShow', flag)
|
this.$set(item, 'alertNumtooltipShow', flag)
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
rowKey (row) { // ping trace的 唯一key
|
||||||
|
return row.ip + '-' + row.dc.id
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
<el-table
|
<el-table
|
||||||
id="pingTable"
|
id="pingTable"
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:height="height"
|
:height="'calc(100% - 10px)'"
|
||||||
|
:row-key="rowKey"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
border
|
border
|
||||||
@header-dragend="dragend"
|
@header-dragend="dragend"
|
||||||
@@ -105,7 +106,8 @@ export default {
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
minWidth: 200
|
minWidth: 200
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
expandRowKeys: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
<el-table
|
<el-table
|
||||||
id="traceTable"
|
id="traceTable"
|
||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:height="height"
|
:height="'calc(100% - 10px)'"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
|
:row-key="rowKey"
|
||||||
border
|
border
|
||||||
@header-dragend="dragend"
|
@header-dragend="dragend"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -86,14 +86,14 @@
|
|||||||
<el-collapse v-show="!showIntroduce" v-model="collapseValue" class="explore-collapse" @change="logsCollapseChange">
|
<el-collapse v-show="!showIntroduce" v-model="collapseValue" class="explore-collapse" @change="logsCollapseChange">
|
||||||
<!--metric-->
|
<!--metric-->
|
||||||
<template v-if="showMetrics">
|
<template v-if="showMetrics">
|
||||||
<el-collapse-item name="1" title="Graph" class="el-collapse-item__height">
|
<el-collapse-item name="1" :title="$t('explore.graph')" class="el-collapse-item__height">
|
||||||
<div class="chart-room">
|
<div class="chart-room">
|
||||||
<chart ref="exploreChart" :unit="chartUnit"></chart>
|
<chart ref="exploreChart" :unit="chartUnit"></chart>
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
<el-collapse-item class="el-collapse-item__height" name="2" title="Table">
|
<el-collapse-item class="el-collapse-item__height" name="2" title="Table">
|
||||||
<div slot="title" class="explore-table-title">
|
<div slot="title" class="explore-table-title">
|
||||||
Table
|
{{$t('dashboard.panel.chartForm.typeVal.table.label')}}
|
||||||
<i
|
<i
|
||||||
class="nz-icon-gear nz-icon"
|
class="nz-icon-gear nz-icon"
|
||||||
style="position: absolute;right: 10px;top: 8px"
|
style="position: absolute;right: 10px;top: 8px"
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<!--log-->
|
<!--log-->
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<el-collapse-item v-if="showTab.indexOf('1') > -1" name="1" title="Graph" class="el-collapse-item__height">
|
<el-collapse-item v-if="showTab.indexOf('1') > -1" name="1" :title="$t('explore.graph')" class="el-collapse-item__height">
|
||||||
<div class="chart-room">
|
<div class="chart-room">
|
||||||
<chart ref="logChart" :unit="chartUnit" v-my-loading="chartLoading"></chart>
|
<chart ref="logChart" :unit="chartUnit" v-my-loading="chartLoading"></chart>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -128,7 +128,6 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
v-my-loading="loading"
|
v-my-loading="loading"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="mainTableHeight"
|
|
||||||
:table-data="tableData"
|
:table-data="tableData"
|
||||||
>
|
>
|
||||||
</ping-table>
|
</ping-table>
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Title</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
<script>
|
|
||||||
const nums = 34567
|
|
||||||
function sun () {
|
|
||||||
let flag = true
|
|
||||||
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
Reference in New Issue
Block a user