diff --git a/src/components/base-dialog/addOrUpdate/index.vue b/src/components/base-dialog/addOrUpdate/index.vue index 8f7cd52..c6639bd 100644 --- a/src/components/base-dialog/addOrUpdate/index.vue +++ b/src/components/base-dialog/addOrUpdate/index.vue @@ -383,14 +383,14 @@ export default { }).then(({ data: res }) => { if (res && res.code === 0) { const dataFormKeys = Object.keys(this.dataForm) - console.log('data form keys: ', dataFormKeys, pick(res.data, dataFormKeys)) + // console.log('data form keys: ', dataFormKeys, pick(res.data, dataFormKeys)) this.dataForm = pick(res.data, dataFormKeys) // LABEL: FILE_RELATED /** 对文件下载进行分流 */ this.fileList = {} if (this.dataForm.files) { - console.log('files: ', this.dataForm.files) + // console.log('files: ', this.dataForm.files) this.dataForm.files.forEach(file => { // const fileName = file.fileUrl.split('/').pop() /** [1] 处理 fileList */ @@ -465,7 +465,7 @@ export default { this.$set(this.dataForm, 'fileIds', fileIds) } - console.log('before send: ', this.dataForm) + // console.log('before send: ', this.dataForm) this.$http({ url: this.$http.adornUrl(urls[btn.name].url), diff --git a/src/i18n/en.js b/src/i18n/en.js index 86863aa..9386e26 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -208,6 +208,7 @@ t.alarm.level = 'Alarm Level' t.alarm.content = 'Alarm Content' t.alarm.source = 'Alarm Source' t.alarm.det = 'Alarm Details' +t.alarm.externalCode = 'External Code' t.report = {} t.report.name = 'Report Name' diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index 049d9a1..185f19c 100644 --- a/src/i18n/zh-CN.js +++ b/src/i18n/zh-CN.js @@ -214,6 +214,7 @@ t.alarm.level = '报警级别' t.alarm.content = '报警内容' t.alarm.source = '报警来源' t.alarm.det = '报警详细内容' +t.alarm.externalCode = '外部编码' t.report = {} t.report.name = '报表名称' diff --git a/src/views/modules/monitoring/equipmentGroupAlarm.vue b/src/views/modules/monitoring/equipmentGroupAlarm.vue index 6df3a32..c906148 100644 --- a/src/views/modules/monitoring/equipmentGroupAlarm.vue +++ b/src/views/modules/monitoring/equipmentGroupAlarm.vue @@ -2,26 +2,38 @@
- {{ $route.params.groupName }}{{ $route.params.groupName || '--' }} - {{ $route.params.groupCode }} + {{ $route.params.groupCode || '--' }}
- - {{ $t('add') }} + + + + + {{ $t('query') }} + {{ $t('add') }}
- + { if (data && data.code === 0) { this.dataList = data.data.list