From bbe5e630759a7f660c34e6bae14af3455eed3fea Mon Sep 17 00:00:00 2001 From: Fanzink <460995166@qq.com> Date: Mon, 6 Feb 2023 10:25:01 +0800 Subject: [PATCH] 'update' --- .../modules/monitoring/equipmentCurrentState.vue | 4 ++-- src/views/modules/monitoring/equipmentEfficiency.vue | 4 ++-- src/views/modules/monitoring/equipmentException.vue | 2 +- .../monitoring/equipmentHistoricalParameters.vue | 11 ++++++----- .../modules/monitoring/equipmentTimesequence.vue | 6 +++--- .../modules/monitoring/workshopSectionDialog.vue | 2 +- .../monitoring/workshopSectionDialogAttrForm.vue | 2 +- src/views/modules/sys/user-add-or-update.vue | 2 +- 8 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/views/modules/monitoring/equipmentCurrentState.vue b/src/views/modules/monitoring/equipmentCurrentState.vue index e0dfe88..a9c78cc 100644 --- a/src/views/modules/monitoring/equipmentCurrentState.vue +++ b/src/views/modules/monitoring/equipmentCurrentState.vue @@ -5,7 +5,7 @@ {{ $t('pl.name') }} - + @@ -13,7 +13,7 @@ {{ $t('eq.name') }} - + diff --git a/src/views/modules/monitoring/equipmentEfficiency.vue b/src/views/modules/monitoring/equipmentEfficiency.vue index 70df6b5..df5614e 100644 --- a/src/views/modules/monitoring/equipmentEfficiency.vue +++ b/src/views/modules/monitoring/equipmentEfficiency.vue @@ -8,7 +8,7 @@ - + @@ -17,7 +17,7 @@ {{ $t('pl.title') }} - + diff --git a/src/views/modules/monitoring/equipmentException.vue b/src/views/modules/monitoring/equipmentException.vue index dcdb8e8..522be9d 100644 --- a/src/views/modules/monitoring/equipmentException.vue +++ b/src/views/modules/monitoring/equipmentException.vue @@ -14,7 +14,7 @@ {{ $t('pl.title') }} - + diff --git a/src/views/modules/monitoring/equipmentHistoricalParameters.vue b/src/views/modules/monitoring/equipmentHistoricalParameters.vue index dce0dab..b1e4409 100644 --- a/src/views/modules/monitoring/equipmentHistoricalParameters.vue +++ b/src/views/modules/monitoring/equipmentHistoricalParameters.vue @@ -22,6 +22,7 @@ + @@ -56,7 +57,7 @@ export default { mouted() { this.getDataList() }, - created(){ + created() { // console.log('params',this.$route.params) }, methods: { @@ -73,7 +74,9 @@ export default { url: this.$http.adornUrl(`/monitoring/equipmentValueMonitor/runLog/${this.$route.params.id}`), method: 'get' }).then(({ data: res }) => { - console.log('res',res) + console.log('res', res) + this.equipmentName = res.data[0].data[0].equName + this.equipmentCode = res.data[0].data[0].equCode if ( res && res.code === 0 && @@ -84,9 +87,7 @@ export default { res.data[0].data && res.data[0].data.length > 0 ) { - this.equipmentName = res.data[0].data[0].equName - this.equipmentCode = res.data[0].data[0].equCode - console.log(this.equipmentName) + // console.log(this.equipmentName) this.setTableProps(res.data[0].nameData) this.setTableData(res.data[0].data) } else { diff --git a/src/views/modules/monitoring/equipmentTimesequence.vue b/src/views/modules/monitoring/equipmentTimesequence.vue index ed44d5b..a2a715f 100644 --- a/src/views/modules/monitoring/equipmentTimesequence.vue +++ b/src/views/modules/monitoring/equipmentTimesequence.vue @@ -7,7 +7,7 @@ {{ $t('pl.title') }} - + @@ -18,7 +18,7 @@ - + @@ -47,7 +47,7 @@ - +
diff --git a/src/views/modules/monitoring/workshopSectionDialog.vue b/src/views/modules/monitoring/workshopSectionDialog.vue index db912b0..560218a 100644 --- a/src/views/modules/monitoring/workshopSectionDialog.vue +++ b/src/views/modules/monitoring/workshopSectionDialog.vue @@ -20,7 +20,7 @@ - + diff --git a/src/views/modules/monitoring/workshopSectionDialogAttrForm.vue b/src/views/modules/monitoring/workshopSectionDialogAttrForm.vue index ac66350..da4b922 100644 --- a/src/views/modules/monitoring/workshopSectionDialogAttrForm.vue +++ b/src/views/modules/monitoring/workshopSectionDialogAttrForm.vue @@ -5,7 +5,7 @@ - + - +