diff --git a/nezha-fronted/src/assets/css/font/iconfont.css b/nezha-fronted/src/assets/css/font/iconfont.css index 00d107d99..40a58c08d 100644 --- a/nezha-fronted/src/assets/css/font/iconfont.css +++ b/nezha-fronted/src/assets/css/font/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "nz-icon"; /* Project id 2030432 */ - src: url('iconfont.woff2?t=1631239483571') format('woff2'), - url('iconfont.woff?t=1631239483571') format('woff'), - url('iconfont.ttf?t=1631239483571') format('truetype'); + src: url('iconfont.woff2?t=1634120008778') format('woff2'), + url('iconfont.woff?t=1634120008778') format('woff'), + url('iconfont.ttf?t=1634120008778') format('truetype'); } .nz-icon { @@ -13,6 +13,22 @@ -moz-osx-font-smoothing: grayscale; } +.nz-icon-guide1:before { + content: "\e744"; +} + +.nz-icon-wailian:before { + content: "\e745"; +} + +.nz-icon-liebiao:before { + content: "\e742"; +} + +.nz-icon-xiangxishitu:before { + content: "\e743"; +} + .nz-icon-dingshishijian:before { content: "\e73f"; } @@ -109,10 +125,6 @@ content: "\e63e"; } -.nz-icon-guide:before { - content: "\e669"; -} - .nz-icon-more3:before { content: "\e725"; } diff --git a/nezha-fronted/src/assets/css/font/iconfont.ttf b/nezha-fronted/src/assets/css/font/iconfont.ttf index 4e01758f9..bd1c1a2aa 100644 Binary files a/nezha-fronted/src/assets/css/font/iconfont.ttf and b/nezha-fronted/src/assets/css/font/iconfont.ttf differ diff --git a/nezha-fronted/src/assets/css/font/iconfont.woff b/nezha-fronted/src/assets/css/font/iconfont.woff index 87f7024b7..794fc2ff8 100644 Binary files a/nezha-fronted/src/assets/css/font/iconfont.woff and b/nezha-fronted/src/assets/css/font/iconfont.woff differ diff --git a/nezha-fronted/src/assets/css/font/iconfont.woff2 b/nezha-fronted/src/assets/css/font/iconfont.woff2 index 85302bbe1..cb72bc811 100644 Binary files a/nezha-fronted/src/assets/css/font/iconfont.woff2 and b/nezha-fronted/src/assets/css/font/iconfont.woff2 differ diff --git a/nezha-fronted/src/assets/css/nzIcon.css b/nezha-fronted/src/assets/css/nzIcon.css index f80c173c5..44e906b11 100644 --- a/nezha-fronted/src/assets/css/nzIcon.css +++ b/nezha-fronted/src/assets/css/nzIcon.css @@ -1,8 +1,8 @@ @font-face { font-family: "nz-icon"; /* Project id 2030432 */ - src: url('./font/iconfont.woff2?t=1631239483571') format('woff2'), - url('./font/iconfont.woff?t=1631239483571') format('woff'), - url('./font/iconfont.ttf?t=1631239483571') format('truetype'); + src: url('./font/iconfont.woff2?t=1634120008778') format('woff2'), + url('./font/iconfont.woff?t=1634120008778') format('woff'), + url('./font/iconfont.ttf?t=1634120008778') format('truetype'); } .nz-icon { @@ -13,6 +13,22 @@ -moz-osx-font-smoothing: grayscale; } +.nz-icon-guide1:before { + content: "\e744"; +} + +.nz-icon-wailian:before { + content: "\e745"; +} + +.nz-icon-liebiao:before { + content: "\e742"; +} + +.nz-icon-xiangxishitu:before { + content: "\e743"; +} + .nz-icon-dingshishijian:before { content: "\e73f"; } @@ -109,10 +125,6 @@ content: "\e63e"; } -.nz-icon-guide:before { - content: "\e669"; -} - .nz-icon-more3:before { content: "\e725"; } diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue index 4ab5b6d33..e19291bd6 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue @@ -359,6 +359,9 @@ export default { if (state) { this.state = state } + if (this.orderBy) { + this.$set(this.searchLabel, 'orderBy', this.orderBy) + } this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.$set(this.searchLabel, 'state', this.state) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue index 52fb5cf62..0a315709c 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue @@ -218,6 +218,9 @@ export default { this.$set(this.searchLabel, key, params[key]) } } + if (this.orderBy) { + this.$set(this.searchLabel, 'orderBy', this.orderBy) + } this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.$set(this.searchLabel, 'pids', this.obj.id) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue index c1a71bc94..a9fd0b500 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue @@ -218,6 +218,9 @@ export default { this.$set(this.searchLabel, key, params[key]) } } + if (this.orderBy) { + this.$set(this.searchLabel, 'orderBy', this.orderBy) + } this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) if (this.from === fromRoute.model) { diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue index caf1c13e7..5c17dcc01 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/cabinetTab.vue @@ -125,6 +125,9 @@ export default { this.$set(this.searchLabel, key, params[key]) } } + if (this.orderBy) { + this.$set(this.searchLabel, 'orderBy', this.orderBy) + } this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.tools.loading = true diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointTabNew.vue index df3a5fe64..05361bf26 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointTabNew.vue @@ -112,6 +112,9 @@ export default { }, methods: { getTableData () { + if (this.orderBy) { + this.$set(this.searchLabel, 'orderBy', this.orderBy) + } const params = { ...this.searchLabel, pageNo: this.pageObj.pageNo, diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue index 81d213316..31d6e10ca 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/operationLogTab.vue @@ -120,6 +120,9 @@ export default { this.$set(this.searchLabel, key, params[key]) } } + if (this.orderBy) { + this.$set(this.searchLabel, 'orderBy', this.orderBy) + } this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.tools.loading = true diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue index 036b2c380..d4e1d572b 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue @@ -124,6 +124,9 @@ export default { this.$set(this.searchLabel, key, params[key]) } } + if (this.orderBy) { + this.$set(this.searchLabel, 'orderBy', this.orderBy) + } this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) this.tools.loading = true diff --git a/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue b/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue index 6ab782cdf..11686d938 100644 --- a/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue +++ b/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue @@ -22,7 +22,7 @@ -
+
{{item3.name}} @@ -51,10 +51,10 @@ -
+
- {{item3.name}} + {{item3.name}} {{item4.name}} @@ -109,8 +109,20 @@ export default { }, methods: { searchStrChange (val, key) { - this.detailSearchListCopy[key].searchStr = val - this.detailSearchListCopy[key].children = this.detailSearchListCopy[key].oldChildren.filter(children => children.name.indexOf(val) !== -1) + if (this.detailSearchListCopy[key].type === 'checkBox') { + this.detailSearchListCopy[key].searchStr = val + this.detailSearchListCopy[key].children = this.detailSearchListCopy[key].oldChildren.filter(children => children.name.indexOf(val) !== -1) + } else { + this.detailSearchListCopy[key].searchStr = val + const arr = [] + this.detailSearchListCopy[key].oldChildren.forEach(item => { + const children = item.children.filter(children => children.name.indexOf(val) !== -1) + if (children && children.length) { + arr.push({ ...item, children: children }) + } + }) + this.detailSearchListCopy[key].children = arr + } }, getSearchStr (oldChildren, label) { const arr = label.split('-') @@ -179,6 +191,7 @@ export default { max-height: 300px; overflow-y: auto; .el-dropdown-menu__item{ + background: #fff !important; padding: 0; max-width: 200px; overflow: hidden; @@ -197,6 +210,22 @@ export default { white-space: nowrap; } } + .el-checkbox:hover{ + color: #fa901c; + background-color: #fafafa !important; + } + .children-title-name{ + width: calc(100% - 20px); + height: 36px; + padding-left: 20px; + font-size: 12px; + color: #909399; + line-height: 30px; + } + } + .el-dropdown-menu__item:not(.is-disabled):hover{ + color: #606266; + background: #fff !important; } } .clear-all-select{ 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 4c1270204..05cfd6e93 100644 --- a/nezha-fronted/src/components/common/detailView/list/asset/assetDetail.vue +++ b/nezha-fronted/src/components/common/detailView/list/asset/assetDetail.vue @@ -1,16 +1,21 @@