From 2f8c20cec4ca037bcdd73de94b0cbede4595db91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Thu, 14 Dec 2023 13:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/abnormalAlarm/RouteView.vue | 5 ----- .../abnormalAlarm/alarmCenter/alarmContactGroup/index.vue | 4 ---- src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue | 4 ---- src/views/abnormalAlarm/components/searchBar.vue | 1 - src/views/abnormalAlarm/databaseMonitor/instances/table.vue | 1 - .../abnormalAlarm/databaseMonitor/instances/tableSpace.vue | 1 - src/views/abnormalAlarm/databaseMonitor/overview/index.vue | 1 - src/views/abnormalAlarm/emailMonitor/overview/index.vue | 1 - .../abnormalAlarm/serverMonitor/instances/createRules.vue | 1 - src/views/abnormalAlarm/serverMonitor/instances/details.vue | 1 - 10 files changed, 20 deletions(-) diff --git a/src/views/abnormalAlarm/RouteView.vue b/src/views/abnormalAlarm/RouteView.vue index 512eca6..5e58073 100644 --- a/src/views/abnormalAlarm/RouteView.vue +++ b/src/views/abnormalAlarm/RouteView.vue @@ -97,17 +97,14 @@ export default { }, created() { var permissionList = this.$store.getters.permissionList - console.log('permissionList', permissionList) permissionList.forEach((f) => { if (f.name === 'abnormal-alarm') { this.menus = f.children } }) - console.log('路由信息', this.menus) // this.initDefaultKeys(this.menus[0]) // 将从缓存中取出openKeys // const openKeys = window.sessionStorage.getItem('openKeys') - // console.log(openKeys); const selectedKeys = window.sessionStorage.getItem('currMenu_alarm') if (selectedKeys) { // this.defaultSelectedKeys.push(selectedKeys) @@ -143,7 +140,6 @@ export default { methods: { // 点击菜单,路由跳转,注意的是当点击MenuItem才会触发此函数 menuClick({ item, key, keyPath }) { - console.log(item, key, keyPath) this.currSlecteKey = [] window.sessionStorage.setItem('currMenu_alarm', key) // var parentPath = item._props.parentMenu._props.eventKey; @@ -157,7 +153,6 @@ export default { }, initDefaultKeys(data) { this.currSlecteKey = [] - console.log('datadefaultOpenKeys', data) this.defaultOpenKeys.push(data.path) data.children.some((f) => { if (f.children) { diff --git a/src/views/abnormalAlarm/alarmCenter/alarmContactGroup/index.vue b/src/views/abnormalAlarm/alarmCenter/alarmContactGroup/index.vue index 5b5a5c7..c3107be 100644 --- a/src/views/abnormalAlarm/alarmCenter/alarmContactGroup/index.vue +++ b/src/views/abnormalAlarm/alarmCenter/alarmContactGroup/index.vue @@ -248,11 +248,7 @@ export default { } }) }, - // setGroupName(e) { - // this.groupName = e.target.value - // }, handleChange(targetKeys, direction, moveKeys) { - console.log(targetKeys, direction, moveKeys) this.targetKeys = targetKeys }, handleOk() { diff --git a/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue b/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue index 65b49dd..080e624 100644 --- a/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue +++ b/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue @@ -268,8 +268,6 @@ export default { let params = { startDate: obj.startDate, endDate: obj.endDate, - // startDate:"2023-07-15", - // endDate:"2023-07-21" } postAction('/alarmLog/typeAlarms', params).then((res) => { if (res.success) { @@ -292,7 +290,6 @@ export default { this.getAlarmLogTable(this.paramsArg) }, handleTabChange(key) { - console.log(key) if (key == 'alarmAnalysis') { this.$nextTick(() => { this.drawAlarmChart_pie() @@ -374,7 +371,6 @@ export default { type: obj.types, } postAction('/alarmLog/ruleTop', params).then((res) => { - console.log(res) if (res.success) { this.xData_top = res.result.yData this.yData_top = res.result.xData diff --git a/src/views/abnormalAlarm/components/searchBar.vue b/src/views/abnormalAlarm/components/searchBar.vue index 1e1b582..fa1a814 100644 --- a/src/views/abnormalAlarm/components/searchBar.vue +++ b/src/views/abnormalAlarm/components/searchBar.vue @@ -285,7 +285,6 @@ export default { } }, onSourceChange(val) { - console.log(val) this.queryParams.sources = val let length = this.sourceOptions.length if (val.length === length) { diff --git a/src/views/abnormalAlarm/databaseMonitor/instances/table.vue b/src/views/abnormalAlarm/databaseMonitor/instances/table.vue index efe18bd..99a3e6d 100644 --- a/src/views/abnormalAlarm/databaseMonitor/instances/table.vue +++ b/src/views/abnormalAlarm/databaseMonitor/instances/table.vue @@ -159,7 +159,6 @@ export default { } getAction('/sysDatabase/dbNames', params).then((res) => { if (res.success) { - console.log(res) this.dbName = res.result[0] this.ondbNameChange(this.dbName) this.dbNameOptions = res.result.map((item) => { diff --git a/src/views/abnormalAlarm/databaseMonitor/instances/tableSpace.vue b/src/views/abnormalAlarm/databaseMonitor/instances/tableSpace.vue index 950907b..83524c0 100644 --- a/src/views/abnormalAlarm/databaseMonitor/instances/tableSpace.vue +++ b/src/views/abnormalAlarm/databaseMonitor/instances/tableSpace.vue @@ -143,7 +143,6 @@ export default { } getAction('/sysDatabase/spaceInfo', params).then((res) => { if (res.success) { - console.log(res) this.dataSource = res.result } else { this.$message.warning('This operation fails. Contact your system administrator') diff --git a/src/views/abnormalAlarm/databaseMonitor/overview/index.vue b/src/views/abnormalAlarm/databaseMonitor/overview/index.vue index 4897dc5..fc83a48 100644 --- a/src/views/abnormalAlarm/databaseMonitor/overview/index.vue +++ b/src/views/abnormalAlarm/databaseMonitor/overview/index.vue @@ -497,7 +497,6 @@ export default { this.visible = false }, onRowDbclick(record) { - console.log(record) let query = { id: record.id, } diff --git a/src/views/abnormalAlarm/emailMonitor/overview/index.vue b/src/views/abnormalAlarm/emailMonitor/overview/index.vue index 3d695a0..6f59755 100644 --- a/src/views/abnormalAlarm/emailMonitor/overview/index.vue +++ b/src/views/abnormalAlarm/emailMonitor/overview/index.vue @@ -388,7 +388,6 @@ export default { onSave() { this.form.validateFields((err, values) => { if (!err) { - console.log('Received values of form: ', values) if (this.isAdd) { postAction('/sysEmail/create', values).then((res) => { if (res.success) { diff --git a/src/views/abnormalAlarm/serverMonitor/instances/createRules.vue b/src/views/abnormalAlarm/serverMonitor/instances/createRules.vue index 47c527d..cb6e70c 100644 --- a/src/views/abnormalAlarm/serverMonitor/instances/createRules.vue +++ b/src/views/abnormalAlarm/serverMonitor/instances/createRules.vue @@ -216,7 +216,6 @@ export default { } }, mounted() { - console.log(this.currServer) this.sourceOptions = this.serverList }, watch: { diff --git a/src/views/abnormalAlarm/serverMonitor/instances/details.vue b/src/views/abnormalAlarm/serverMonitor/instances/details.vue index 488854f..9481b0d 100644 --- a/src/views/abnormalAlarm/serverMonitor/instances/details.vue +++ b/src/views/abnormalAlarm/serverMonitor/instances/details.vue @@ -589,7 +589,6 @@ export default { xAxis: { label: { formatter: (params) => { - // console.log(params) const percentage = params / 100, index = parseInt((data.length - 1) * percentage)