diff --git a/nezha-fronted/src/components/common/detailView/list/alertRule/alertRuleDetail.vue b/nezha-fronted/src/components/common/detailView/list/alertRule/alertRuleDetail.vue index 6296eb1bf..6b56dc43f 100644 --- a/nezha-fronted/src/components/common/detailView/list/alertRule/alertRuleDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/alertRule/alertRuleDetail.vue @@ -233,101 +233,5 @@ export default { } diff --git a/nezha-fronted/src/components/common/detailView/list/asset/assetDetail.vue b/nezha-fronted/src/components/common/detailView/list/asset/assetDetail.vue index 8627ba0f1..0a1d89b06 100644 --- a/nezha-fronted/src/components/common/detailView/list/asset/assetDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/asset/assetDetail.vue @@ -27,11 +27,7 @@ @mouseleave="labelHover(item, 'asset', false)">
- - - - - + {{item.name}}
{{item.manageIp}}
@@ -178,92 +174,5 @@ export default { diff --git a/nezha-fronted/src/components/common/detailView/list/dc/dcDetail.vue b/nezha-fronted/src/components/common/detailView/list/dc/dcDetail.vue index d63dcc8a7..d73c24a4d 100644 --- a/nezha-fronted/src/components/common/detailView/list/dc/dcDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/dc/dcDetail.vue @@ -161,101 +161,5 @@ export default { diff --git a/nezha-fronted/src/components/common/detailView/list/detailList.scss b/nezha-fronted/src/components/common/detailView/list/detailList.scss new file mode 100644 index 000000000..d773512ce --- /dev/null +++ b/nezha-fronted/src/components/common/detailView/list/detailList.scss @@ -0,0 +1,101 @@ +.order-box{ + display: flex; + height:40px; + padding: 0 15px; + line-height: 40px; + align-items: center; + /*.detail-select{*/ + /* height: 30px;*/ + /* line-height: 30px;*/ + /* flex: 1;*/ + /* /deep/ .el-input--small{*/ + /* height: 30px;*/ + /* line-height: 30px;*/ + /* background-color: rgba(9,30,66,0.08);*/ + /* border: none;*/ + /* color: #344563;*/ + /* input{*/ + /* height: 30px;*/ + /* line-height: 30px;*/ + /* background-color: rgba(9,30,66,0.08);*/ + /* border: none;*/ + /* color: #344563;*/ + /* }*/ + /* }*/ + /*}*/ + /*.detail-select:hover{*/ + /* /deep/ .el-input--small{*/ + /* input{*/ + /* background-color: rgba(9,30,66,0.13);*/ + /* }*/ + /* }*/ + /*}*/ + /*.detail-button{*/ + /* height: 28px;*/ + /* line-height: 28px;*/ + /* background-color: rgba(9,30,66,0.08);*/ + /* border: none;*/ + /* .nz-icon{*/ + /* color: #344563;*/ + /* }*/ + /*}*/ + /*.detail-button:hover{*/ + /* background-color: rgba(9,30,66,0.13);*/ + /*}*/ +} +.detail-row-box{ + height: calc(100% - 40px); + overflow: hidden; + overflow-y: auto; +} +.detail-row{ + width: 245px; + padding: 0px 0 0px 15px; + height: 60px; + border-bottom: 1px solid #E7EAED; + cursor: pointer; +} +.detail-row:last-of-type{ + border-bottom: none +} +.detail-row-info{ + display: flex; + height: 100%; + width: calc(100% - 15px); + justify-content:center; + flex-direction: column; + > div{ + width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .asset-manageIp{ + font-size: 16px; + color: #333333; + font-weight: 400; + .nz-icon{ + font-size: 14px; + padding-right: 2px; + } + } + .asset-name { + padding-left: 22px; + width: calc(100% - 22px); + font-size: 14px; + color: #999999; + font-weight: 400; + } +} +.selected{ + background: #FFFBF6; +} +.colorEF7458{ + color: #EF7458; +} +.color23BF9A{ + color: #23BF9A; +} +.colorFA901C{ + color: #fa901c; +} diff --git a/nezha-fronted/src/components/common/detailView/list/endpoint/endpointDetail.vue b/nezha-fronted/src/components/common/detailView/list/endpoint/endpointDetail.vue index 57d577692..209d3d2f7 100644 --- a/nezha-fronted/src/components/common/detailView/list/endpoint/endpointDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/endpoint/endpointDetail.vue @@ -158,101 +158,5 @@ export default { diff --git a/nezha-fronted/src/components/common/detailView/list/module/moduleDetail.vue b/nezha-fronted/src/components/common/detailView/list/module/moduleDetail.vue index 14416bb4d..ae20f35e2 100644 --- a/nezha-fronted/src/components/common/detailView/list/module/moduleDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/module/moduleDetail.vue @@ -140,101 +140,5 @@ export default { diff --git a/nezha-fronted/src/components/common/detailView/list/terminalLogDetail/terminalLogDetail.vue b/nezha-fronted/src/components/common/detailView/list/terminalLogDetail/terminalLogDetail.vue index e63798ee0..43ca6523e 100644 --- a/nezha-fronted/src/components/common/detailView/list/terminalLogDetail/terminalLogDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/terminalLogDetail/terminalLogDetail.vue @@ -163,101 +163,5 @@ export default { diff --git a/nezha-fronted/src/components/common/detailView/list/userDetail/userDetail.vue b/nezha-fronted/src/components/common/detailView/list/userDetail/userDetail.vue index efc6cdc5a..c967ce4cf 100644 --- a/nezha-fronted/src/components/common/detailView/list/userDetail/userDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/userDetail/userDetail.vue @@ -138,101 +138,5 @@ export default { diff --git a/nezha-fronted/src/components/common/mixin/dataList.js b/nezha-fronted/src/components/common/mixin/dataList.js index d5a7cc187..824bda99b 100644 --- a/nezha-fronted/src/components/common/mixin/dataList.js +++ b/nezha-fronted/src/components/common/mixin/dataList.js @@ -225,6 +225,7 @@ export default { } else { this.dataListLayout.push('clickSearch') } + localStorage.setItem('dataList-layout' + this.tableId, JSON.stringify(this.dataListLayout)) }, addSilence (row, type) { this.blankSilenceObject.startAt = bus.timeFormate(bus.getOffsetTimezoneData(), 'yyyy-MM-dd hh:mm:ss') diff --git a/nezha-fronted/src/components/common/project/L5/topoTooltip.vue b/nezha-fronted/src/components/common/project/L5/topoTooltip.vue index 27d4ef319..d805c9dad 100644 --- a/nezha-fronted/src/components/common/project/L5/topoTooltip.vue +++ b/nezha-fronted/src/components/common/project/L5/topoTooltip.vue @@ -460,16 +460,17 @@ export default {