From 349870ce5d6904d7f5fa55b82b507f8a277e3046 Mon Sep 17 00:00:00 2001 From: g7hoo Date: Mon, 29 Aug 2022 09:36:42 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9F=A5=E8=AF=A2=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/monitoring/equipment.vue | 2 +- .../modules/monitoring/equipmentGroup.vue | 26 ++------------ src/views/modules/monitoring/equipmentPlc.vue | 2 +- .../monitoring/equipmentPlcConnect.vue | 2 +- .../modules/monitoring/equipmentType.vue | 35 ++++--------------- src/views/modules/monitoring/factory.vue | 2 +- src/views/modules/monitoring/product.vue | 2 +- .../modules/monitoring/productionLine.vue | 30 ++-------------- .../monitoring/qualityInspectionDet.vue | 25 ++----------- .../monitoring/qualityInspectionRecord.vue | 4 +-- .../monitoring/qualityInspectionType.vue | 30 ++-------------- .../modules/monitoring/reportCategory.vue | 6 ++-- src/views/modules/monitoring/reportDetail.vue | 6 ++-- .../modules/monitoring/workShopSection.vue | 29 ++------------- 14 files changed, 30 insertions(+), 171 deletions(-) diff --git a/src/views/modules/monitoring/equipment.vue b/src/views/modules/monitoring/equipment.vue index 30fb4f8..2cf6074 100644 --- a/src/views/modules/monitoring/equipment.vue +++ b/src/views/modules/monitoring/equipment.vue @@ -2,7 +2,7 @@
- + 查询 diff --git a/src/views/modules/monitoring/equipmentGroup.vue b/src/views/modules/monitoring/equipmentGroup.vue index bb2a3c0..5f39a10 100644 --- a/src/views/modules/monitoring/equipmentGroup.vue +++ b/src/views/modules/monitoring/equipmentGroup.vue @@ -2,36 +2,14 @@
- + 查询 新增 - + - + 查询 diff --git a/src/views/modules/monitoring/equipmentPlcConnect.vue b/src/views/modules/monitoring/equipmentPlcConnect.vue index df39b20..cc9ca88 100644 --- a/src/views/modules/monitoring/equipmentPlcConnect.vue +++ b/src/views/modules/monitoring/equipmentPlcConnect.vue @@ -2,7 +2,7 @@
- + 查询 diff --git a/src/views/modules/monitoring/equipmentType.vue b/src/views/modules/monitoring/equipmentType.vue index d24c968..da8dc78 100644 --- a/src/views/modules/monitoring/equipmentType.vue +++ b/src/views/modules/monitoring/equipmentType.vue @@ -2,38 +2,14 @@
- + 查询 新增 - + import('@/components/base-upload'), - props: { // 上传组件需要的 props - url: "/monitoring/attachment/uploadFileFormData", - extraParams: { typeCode: "EquipmentTypeFile" }, + props: { + // 上传组件需要的 props + url: '/monitoring/attachment/uploadFileFormData', + extraParams: { typeCode: 'EquipmentTypeFile' }, buttonContent: '点击上传', tip: '上传文件大小不要超过 2mb (2048kb)' } diff --git a/src/views/modules/monitoring/factory.vue b/src/views/modules/monitoring/factory.vue index 607d463..9e3d8db 100644 --- a/src/views/modules/monitoring/factory.vue +++ b/src/views/modules/monitoring/factory.vue @@ -2,7 +2,7 @@
- + 查询 diff --git a/src/views/modules/monitoring/product.vue b/src/views/modules/monitoring/product.vue index 277bda0..c0704c3 100644 --- a/src/views/modules/monitoring/product.vue +++ b/src/views/modules/monitoring/product.vue @@ -2,7 +2,7 @@
- + 查询 diff --git a/src/views/modules/monitoring/productionLine.vue b/src/views/modules/monitoring/productionLine.vue index 5a5164c..545b354 100644 --- a/src/views/modules/monitoring/productionLine.vue +++ b/src/views/modules/monitoring/productionLine.vue @@ -2,40 +2,14 @@
- + 查询 新增 - + - + 查询 新增 - +
- + 查询 新增 diff --git a/src/views/modules/monitoring/qualityInspectionType.vue b/src/views/modules/monitoring/qualityInspectionType.vue index 1ee5e4f..07c84ea 100644 --- a/src/views/modules/monitoring/qualityInspectionType.vue +++ b/src/views/modules/monitoring/qualityInspectionType.vue @@ -2,34 +2,14 @@
- + 查询 新增 - + - + 查询 @@ -65,7 +65,7 @@ export default { tableConfigs, addOrUpdateConfigs, dataForm: { - key: '' + name: '' }, dataList: [], pageIndex: 1, @@ -101,7 +101,7 @@ export default { params: this.$http.adornParams({ page: this.pageIndex, limit: this.pageSize, - key: this.dataForm.key + name: this.dataForm.name }) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/reportDetail.vue b/src/views/modules/monitoring/reportDetail.vue index 7642fd1..9dce731 100644 --- a/src/views/modules/monitoring/reportDetail.vue +++ b/src/views/modules/monitoring/reportDetail.vue @@ -2,7 +2,7 @@
- + 查询 @@ -89,7 +89,7 @@ export default { addOrUpdateConfigs, tableConfigs: [], dataForm: { - key: '' + name: '' }, dataList: [], pageIndex: 1, @@ -179,7 +179,7 @@ export default { const queries = { page: this.pageIndex, limit: this.pageSize, - key: this.dataForm.key + name: this.dataForm.name } if (this.$route.query.category) { queries['category'] = this.$route.query.category diff --git a/src/views/modules/monitoring/workShopSection.vue b/src/views/modules/monitoring/workShopSection.vue index 1b3b6b2..874cc8e 100644 --- a/src/views/modules/monitoring/workShopSection.vue +++ b/src/views/modules/monitoring/workShopSection.vue @@ -2,39 +2,14 @@
- + 查询 新增 - +