diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue index 8bd0bbd70..efa4e4129 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTabNew.vue @@ -61,7 +61,6 @@ export default { obj: { immediate: true, handler (n) { - console.log(n) if (n) { this.getTableData() } @@ -294,7 +293,6 @@ export default { delete this.searchLabel.endAt } this.tools.loading = true - console.log(this.obj,123123123123) if (this.from === fromRoute.module) { this.searchLabel.moduleIds = this.obj.id } else if (this.from === fromRoute.endpoint) { @@ -304,6 +302,8 @@ export default { } else if (this.from === fromRoute.alertRule) { this.searchLabel.ruleIds = this.obj.id } + // state 暂时默认1 + this.searchLabel.state = 1 this.$get(this.url, this.searchLabel).then(response => { this.tools.loading = false if (response.code === 200) { diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue index 1e9d93616..32288656c 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue @@ -84,7 +84,6 @@ export default { immediate: true, handler (n) { this.formatTime = new Date(bus.computeTimezoneTime(new Date())) - console.log(n) } } }, diff --git a/nezha-fronted/src/components/common/mixin/table.js b/nezha-fronted/src/components/common/mixin/table.js index ef19f6b19..643495fb7 100644 --- a/nezha-fronted/src/components/common/mixin/table.js +++ b/nezha-fronted/src/components/common/mixin/table.js @@ -64,7 +64,6 @@ export default { this.$emit('showBottomBox', targetTab, JSON.parse(JSON.stringify(row))) }, tableDataSort (item) { - console.log(item) let orderBy = '' if (item.order === 'ascending') { orderBy = item.prop @@ -72,7 +71,6 @@ export default { if (item.order === 'descending') { orderBy = '-' + item.prop } - console.log(orderBy) this.$emit('orderBy', orderBy) } } diff --git a/nezha-fronted/src/components/common/pickTime.vue b/nezha-fronted/src/components/common/pickTime.vue index 1ae9c6b25..68d3e085f 100644 --- a/nezha-fronted/src/components/common/pickTime.vue +++ b/nezha-fronted/src/components/common/pickTime.vue @@ -99,7 +99,6 @@ export default { this.visible = false this.interval = val.value this.interLabel = val.label - console.info(this.interval, val) if (!this.showTimePicker && val && val.value != -1) { this.intervalTimer = setInterval(() => { this.$emit('change', this.searchTime) diff --git a/nezha-fronted/src/components/common/popBox/selectWalk.vue b/nezha-fronted/src/components/common/popBox/selectWalk.vue index d9f623f4e..dca948dfc 100644 --- a/nezha-fronted/src/components/common/popBox/selectWalk.vue +++ b/nezha-fronted/src/components/common/popBox/selectWalk.vue @@ -104,7 +104,6 @@ export default { this.popBox.show = true }, hideDetail (data, num) { - console.log(data, num) this.tempWalk.detailShow = false }, showDetail (data, e) { diff --git a/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue b/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue index d3e9d5c74..39e761c72 100644 --- a/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue +++ b/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue @@ -626,7 +626,6 @@ export default { arr.push(obj) }) this.$put('monitor/endpoint/render', arr).then(res => { - console.log(res) if (res.code === 200) { res.data.list.forEach((item, index) => { const obj = item @@ -652,7 +651,6 @@ export default { ...obj }) }) - console.log(this.endpointTableData) } }) this.assetTableData = [...this.assetTableData] diff --git a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue index c171687eb..5c67b11c0 100644 --- a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue @@ -292,13 +292,11 @@ export default { }) }, receiverShowChange (val) { - console.log(val) if (!val.length) { this.$refs.alertRuleForm.validateField('method') } }, validateNotify (rule, value, callback) { - console.log(value) if (this.editAlertRule.receiverShow.length && value.length === 0) { callback(new Error(this.$t('validate.required'))) } else { diff --git a/nezha-fronted/src/components/common/rightBox/batchModifyEndpoint.vue b/nezha-fronted/src/components/common/rightBox/batchModifyEndpoint.vue index 07bcd12b4..cb9880b1a 100644 --- a/nezha-fronted/src/components/common/rightBox/batchModifyEndpoint.vue +++ b/nezha-fronted/src/components/common/rightBox/batchModifyEndpoint.vue @@ -551,7 +551,6 @@ export default { item.assetName = item.asset.name item.type = item.module.type }) - console.log(this.endpointTableData) } } } diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue index 5b17088c3..80c5bd42e 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue @@ -699,7 +699,6 @@ export default { deep: true, immediate: true, handler (n) { - console.log(n) if (n && n.configs) { const params = Object.assign({}, n.configs) params.params = this.paramToJson(this.editEndpoint.paramObj) diff --git a/nezha-fronted/src/components/common/table/alert/alertSilenceTable.vue b/nezha-fronted/src/components/common/table/alert/alertSilenceTable.vue index b45163cb7..ced27108c 100644 --- a/nezha-fronted/src/components/common/table/alert/alertSilenceTable.vue +++ b/nezha-fronted/src/components/common/table/alert/alertSilenceTable.vue @@ -201,7 +201,6 @@ export default { result2.push(item) } }) - console.log([...result, ...result2]) return [...result, ...result2] } } diff --git a/nezha-fronted/src/components/common/timePicker.vue b/nezha-fronted/src/components/common/timePicker.vue index 28347788e..3e436e221 100644 --- a/nezha-fronted/src/components/common/timePicker.vue +++ b/nezha-fronted/src/components/common/timePicker.vue @@ -336,7 +336,6 @@ export default { this.isCustom = true this.$refs.calendar.focus() this.$refs.calendar.pickerVisible = true - console.log(this.$refs.calendar) } } else { this.isCustom = false diff --git a/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue b/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue index 7b904b22b..6ecc2427e 100644 --- a/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue +++ b/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue @@ -260,7 +260,6 @@ export default { } else { localStorage.removeItem('endpointProjectId') } - console.log() this.tools.loading = true this.$get(this.url, params).then(response => { this.tools.loading = false @@ -286,12 +285,10 @@ export default { } this.searchCheckBox[key] = obj[key].join(',') }) - console.log(obj, this.searchCheckBox) this.getTableData() }, getTitleSearch () { this.$get('monitor/project', { pageSize: -1 }).then(res => { - console.log(res) if (res.code === 200) { res.data.list.forEach((item) => { this.titleSearchList.project.children.push( @@ -301,7 +298,6 @@ export default { } }) this.$get('monitor/module', { pageSize: -1 }).then(res => { - console.log(res) if (res.code === 200) { res.data.list.forEach((item) => { this.titleSearchList.module.children.push(