From 685ffcc8345c2885ef67727bd7c704f6825cc03e Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 28 Nov 2023 16:58:35 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20add=E8=B4=A8=E6=A3=80=E5=B7=A5?= =?UTF-8?q?=E4=BD=8D/=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/stationDefectRelation.js | 44 ++ src/views/base/processStation/index.vue | 20 +- .../qualityInspectionItem/defectIndex.vue | 403 ++++++++++++++++++ src/views/base/qualityProcess/index.vue | 72 ++-- .../base/stationDefectRelation/index.vue | 15 +- src/views/base/storeInfo/index.vue | 2 +- .../report/electricalInspection/index.vue | 46 +- 7 files changed, 525 insertions(+), 77 deletions(-) create mode 100644 src/api/base/stationDefectRelation.js create mode 100644 src/views/base/qualityInspectionItem/defectIndex.vue diff --git a/src/api/base/stationDefectRelation.js b/src/api/base/stationDefectRelation.js new file mode 100644 index 0000000..907687f --- /dev/null +++ b/src/api/base/stationDefectRelation.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询质检工位/缺陷维护列表 +export function listStationDefectRelation(query) { + return request({ + url: '/base/stationDefectRelation/list', + method: 'get', + params: query + }) +} + +// 查询质检工位/缺陷维护详细 +export function getStationDefectRelation(objId) { + return request({ + url: '/base/stationDefectRelation/' + objId, + method: 'get' + }) +} + +// 新增质检工位/缺陷维护 +export function addStationDefectRelation(data) { + return request({ + url: '/base/stationDefectRelation', + method: 'post', + data: data + }) +} + +// 修改质检工位/缺陷维护 +export function updateStationDefectRelation(data) { + return request({ + url: '/base/stationDefectRelation', + method: 'put', + data: data + }) +} + +// 删除质检工位/缺陷维护 +export function delStationDefectRelation(objId) { + return request({ + url: '/base/stationDefectRelation/' + objId, + method: 'delete' + }) +} diff --git a/src/views/base/processStation/index.vue b/src/views/base/processStation/index.vue index cf22f10..932da9d 100644 --- a/src/views/base/processStation/index.vue +++ b/src/views/base/processStation/index.vue @@ -21,10 +21,10 @@ - + @@ -93,8 +93,8 @@ - - + + @@ -156,11 +156,11 @@ - - + + - - + + @@ -251,8 +251,8 @@ export default { }, columns: [ { key: 0, label: `主键标识`, visible: false }, - { key: 1, label: `工序/工位编号`, visible: true }, - { key: 2, label: `工序/工位名称`, visible: true }, + { key: 1, label: `生产工序/工位编号`, visible: true }, + { key: 2, label: `生产工序/工位名称`, visible: true }, { key: 3, label: `类别`, visible: false }, { key: 4, label: `所属产线`, visible: true }, { key: 5, label: `单位生产时间`, visible: true }, diff --git a/src/views/base/qualityInspectionItem/defectIndex.vue b/src/views/base/qualityInspectionItem/defectIndex.vue new file mode 100644 index 0000000..93cf963 --- /dev/null +++ b/src/views/base/qualityInspectionItem/defectIndex.vue @@ -0,0 +1,403 @@ + + + diff --git a/src/views/base/qualityProcess/index.vue b/src/views/base/qualityProcess/index.vue index c152f49..4e68c50 100644 --- a/src/views/base/qualityProcess/index.vue +++ b/src/views/base/qualityProcess/index.vue @@ -21,10 +21,10 @@ - + @@ -78,31 +78,31 @@ v-hasPermi="['base:processStation:export']" >导出 - - 关闭 - + + + + + + + + + - - + + - - + + @@ -125,12 +125,12 @@