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 1/2] '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 @@ - + - + From 28303e4c5ff8691a8de8dba4612973ff0bb547b7 Mon Sep 17 00:00:00 2001 From: Fanzink <460995166@qq.com> Date: Wed, 8 Feb 2023 18:13:08 +0800 Subject: [PATCH 2/2] 'update' --- public/index.html | 10 +- .../base-dialog/addOrUpdate/index.vue | 2 + .../base-table/components/table-head.vue | 7 +- src/components/base-table/index.vue | 5 +- src/i18n/en.js | 151 +++---- src/i18n/zh-CN.js | 14 +- src/views/modules/job/schedule.vue | 402 +++++++++--------- src/views/modules/monitoring/equipment.vue | 1 + .../monitoring/equipmentCurrentState.vue | 1 + .../monitoring/equipmentEfficiency.vue | 1 + .../modules/monitoring/equipmentException.vue | 1 + .../modules/monitoring/equipmentGroup.vue | 1 + .../monitoring/equipmentGroupAlarm.vue | 1 + .../equipmentHistoricalParameters.vue | 59 +-- .../modules/monitoring/equipmentType.vue | 1 + .../modules/monitoring/equipmentattr.vue | 1 + src/views/modules/monitoring/factory.vue | 1 + .../modules/monitoring/productionLine.vue | 1 + .../monitoring/qualityInspectionBoxBtn.vue | 1 + .../monitoring/qualityInspectionDet.vue | 1 + .../monitoring/qualityInspectionRecord.vue | 12 +- .../monitoring/qualityInspectionType.vue | 1 + .../modules/monitoring/realtimeEquipment.vue | 4 +- .../monitoring/realtimeProductLine.vue | 33 +- .../monitoring/realtimeQualityInspection.vue | 3 +- .../modules/monitoring/reportCategory.vue | 1 + .../modules/monitoring/workShopSection.vue | 1 + .../monitoring/workshopSectionDialog.vue | 1 + .../modules/sys/dict-type-add-or-update.vue | 2 +- src/views/modules/sys/dict-type.vue | 2 +- src/views/modules/sys/log-login.vue | 31 +- src/views/modules/sys/log-operation.vue | 31 +- src/views/modules/sys/menu-add-or-update.vue | 45 +- src/views/modules/sys/menu.vue | 9 +- src/views/modules/sys/role-add-or-update.vue | 4 +- src/views/modules/sys/user-add-or-update.vue | 22 +- src/views/modules/sys/user.vue | 61 ++- 37 files changed, 580 insertions(+), 345 deletions(-) diff --git a/public/index.html b/public/index.html index 5bad048..642ec0d 100644 --- a/public/index.html +++ b/public/index.html @@ -1,3 +1,11 @@ + @@ -31,7 +39,7 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/components/base-dialog/addOrUpdate/index.vue b/src/components/base-dialog/addOrUpdate/index.vue index 605d855..3d5058b 100644 --- a/src/components/base-dialog/addOrUpdate/index.vue +++ b/src/components/base-dialog/addOrUpdate/index.vue @@ -27,11 +27,13 @@ :disabled="isDetail" /> + diff --git a/src/components/base-table/components/table-head.vue b/src/components/base-table/components/table-head.vue index c51360d..eb93613 100644 --- a/src/components/base-table/components/table-head.vue +++ b/src/components/base-table/components/table-head.vue @@ -4,20 +4,21 @@ * @Author: fzq * @Date: 2022-11-25 09:51:46 * @LastEditors: fzq - * @LastEditTime: 2023-02-03 14:30:23 + * @LastEditTime: 2023-02-08 17:16:47 -->