diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index 0c0ee6476..632bb4200 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -171,12 +171,12 @@ export default { }, dc: { cabinet: [ - { prop: 'asset', name: this.$t('asset.assets'), active: false }, - { prop: 'cabinet', name: this.$t('config.dc.cabinets'), active: true } + { prop: 'cabinet', name: this.$t('config.dc.cabinets'), active: true }, + { prop: 'asset', name: this.$t('asset.assets'), active: false } ], asset: [ - { prop: 'asset', name: this.$t('asset.assets'), active: true }, - { prop: 'cabinet', name: this.$t('config.dc.cabinets'), active: false } + { prop: 'cabinet', name: this.$t('config.dc.cabinets'), active: false }, + { prop: 'asset', name: this.$t('asset.assets'), active: true } ] } diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index c02b03a9b..640dda90b 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -691,7 +691,7 @@ const en = { area: 'Area', dcName: 'Data center name', selectArea: 'Select area', - cabinetNum: 'Cabinet number', + cabinetNum: 'Cabinet', assets: 'Assets', remark: 'Remark', cabinets: 'Cabinets', diff --git a/nezha-fronted/src/components/common/rightBox/administration/assetTypeBox.vue b/nezha-fronted/src/components/common/rightBox/administration/assetTypeBox.vue index 4bb12c244..ea6bac563 100644 --- a/nezha-fronted/src/components/common/rightBox/administration/assetTypeBox.vue +++ b/nezha-fronted/src/components/common/rightBox/administration/assetTypeBox.vue @@ -170,7 +170,6 @@ export default { this.$refs.assetTypeForm.validate((valid) => { if (valid) { if (this.editAssetType.id) { - console.log(this.editAssetType); this.$put(this.url, this.editAssetType).then(res => { this.prevent_opt.save = false if (res.code === 200) { @@ -198,7 +197,6 @@ export default { }) }, selectWalk (walk) { - console.log(walk); if (this.editModule.walk.indexOf(walk) != -1) { this.editModule.walk.splice(this.editModule.walk.indexOf(walk), 1) } else { @@ -208,7 +206,6 @@ export default { assetType(){ this.$get('asset/typeConf').then(res => { this.assetTypeList = res.data.list - console.log(this.assetTypeList); }) } } diff --git a/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue b/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue index ef4eb982a..5389983fa 100644 --- a/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue @@ -125,7 +125,6 @@ export default { this.$refs.modelForm.validate((valid) => { if (valid) { if (this.editModel.id) { - console.log(this.editModel) this.$put(this.url, this.editModel).then(res => { this.prevent_opt.save = false if (res.code === 200) { @@ -170,7 +169,6 @@ export default { } }, selectWalk (walk) { - console.log(walk) if (this.editModule.walk.indexOf(walk) != -1) { this.editModule.walk.splice(this.editModule.walk.indexOf(walk), 1) } else { @@ -191,7 +189,6 @@ export default { /* 获取chart列表数据 */ ChartTemplateList () { this.$get('visual/panel/chart', { pageSize: -1, varType: 1, panelId: 0 }).then(res => { - console.log(res) this.chartlList = res.data.list }) } diff --git a/nezha-fronted/src/components/common/rightBox/agentBox.vue b/nezha-fronted/src/components/common/rightBox/agentBox.vue index 053552635..cac6d6fb9 100644 --- a/nezha-fronted/src/components/common/rightBox/agentBox.vue +++ b/nezha-fronted/src/components/common/rightBox/agentBox.vue @@ -1,65 +1,61 @@