From ec418ca3bdc999f814a211beb288dad1f4ba1ce5 Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Thu, 30 Apr 2026 10:39:39 +0800 Subject: [PATCH] =?UTF-8?q?qms=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/qc/qc.js | 3 +++ src/views/modules/qc/FAIResultEntry.vue | 28 ++++++++++++++++++++++++ src/views/modules/qc/FQCResultEntry.vue | 28 ++++++++++++++++++++++++ src/views/modules/qc/IPQCResultEntry.vue | 28 ++++++++++++++++++++++++ src/views/modules/qc/SQCResultEntry.vue | 4 +++- 5 files changed, 90 insertions(+), 1 deletion(-) diff --git a/src/api/qc/qc.js b/src/api/qc/qc.js index 70d7cb5..a5d9cd7 100644 --- a/src/api/qc/qc.js +++ b/src/api/qc/qc.js @@ -199,6 +199,9 @@ export const disposalMeasuresSearch = data => createAPI(`/pms/qc/disposalMeasure export const searchItemFileUrl = data => createAPI(`/pms/qc/searchItemFileUrl`,'post',data) export const imageDelete = data => createAPI(`/pms/qc/imageDelete`,'post',data) export const iqcRecordOverLoad = data => createAPI(`/pms/qc/iqcRecordOverLoad`,'post',data) +export const faiRecordOverLoad = data => createAPI(`/pms/qc/faiRecordOverLoad`,'post',data) +export const ipqcRecordOverLoad = data => createAPI(`/pms/qc/ipqcRecordOverLoad`,'post',data) +export const fqcRecordOverLoad = data => createAPI(`/pms/qc/fqcRecordOverLoad`,'post',data) export const uploadSopFile = data => createAPI(`/pms/qc/upload`,'post',data) export const getSiteAndBuByUserName = data => createAPI(`/pms/qc/getSiteAndBuByUserName`,'post',data) export const searchSeqInfo = data => createAPI(`/pms/qc/searchSeqInfo`,'post',data) diff --git a/src/views/modules/qc/FAIResultEntry.vue b/src/views/modules/qc/FAIResultEntry.vue index b581a93..3f8f6c8 100644 --- a/src/views/modules/qc/FAIResultEntry.vue +++ b/src/views/modules/qc/FAIResultEntry.vue @@ -87,6 +87,7 @@ 审核 取消审核 删除 + 任务重载 打印 { + faiRecordOverLoad({ submitList: this.FAISelections }).then(({data}) => { + if (data && data.code === 0) { + this.$message.success('操作成功') + this.getDataList() + this.FAISelections = [] + } else { + this.$message.warning(data.msg || '操作失败') + } + }) + }).catch(() => {}) + }, + Transfer (type) { if (type === '2') { if (this.detailData.inspectionResult === '' || this.detailData.inspectionResult == null) { @@ -4168,11 +4194,13 @@ export default { let detailFlag = this.isAuth(this.menuId + ":detail") let fileFlag = this.isAuth(this.menuId + ":file") let cancelCheckFlag = this.isAuth(this.menuId + ":cancelCheck") + let overLoadFlag = this.isAuth(this.menuId + ":overLoad") //处理页面的权限数据 this.authSearch = !searchFlag this.authCheck = !checkFlag this.authSave = !saveFlag this.authDelete = !deleteFlag + this.authOverLoad = !overLoadFlag this.authDetail = !detailFlag this.authFile = !fileFlag this.authCancelCheck = !cancelCheckFlag diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue index a3c5ad4..ad5d16f 100644 --- a/src/views/modules/qc/FQCResultEntry.vue +++ b/src/views/modules/qc/FQCResultEntry.vue @@ -87,6 +87,7 @@ 审核 取消审核 删除 + 任务重载 打印 { + fqcRecordOverLoad({ submitList: this.FAISelections }).then(({data}) => { + if (data && data.code === 0) { + this.$message.success('操作成功') + this.getDataList() + this.FAISelections = [] + } else { + this.$message.warning(data.msg || '操作失败') + } + }) + }).catch(() => {}) + }, + Transfer (type) { if (type === '2') { if (this.detailData.inspectionResult === '' || this.detailData.inspectionResult == null) { @@ -4136,11 +4162,13 @@ let detailFlag = this.isAuth(this.menuId + ":detail") let fileFlag = this.isAuth(this.menuId + ":file") let cancelCheckFlag = this.isAuth(this.menuId + ":cancelCheck") + let overLoadFlag = this.isAuth(this.menuId + ":overLoad") //处理页面的权限数据 this.authSearch = !searchFlag this.authCheck = !checkFlag this.authSave = !saveFlag this.authDelete = !deleteFlag + this.authOverLoad = !overLoadFlag this.authDetail = !detailFlag this.authFile = !fileFlag this.authCancelCheck = !cancelCheckFlag diff --git a/src/views/modules/qc/IPQCResultEntry.vue b/src/views/modules/qc/IPQCResultEntry.vue index 8167c72..273596d 100644 --- a/src/views/modules/qc/IPQCResultEntry.vue +++ b/src/views/modules/qc/IPQCResultEntry.vue @@ -91,6 +91,7 @@ 审核 取消审核 删除 + 任务重载 打印 { + ipqcRecordOverLoad({ submitList: this.IPQCSelections }).then(({data}) => { + if (data && data.code === 0) { + this.$message.success('操作成功') + this.getDataList() + this.IPQCSelections = [] + } else { + this.$message.warning(data.msg || '操作失败') + } + }) + }).catch(() => {}) + }, + Transfer (type) { if (type === '2') { if (this.detailData.inspectionResult === '' || this.detailData.inspectionResult == null) { @@ -4202,11 +4228,13 @@ let detailFlag = this.isAuth(this.menuId + ":detail") let fileFlag = this.isAuth(this.menuId + ":file") let cancelCheckFlag = this.isAuth(this.menuId + ":cancelCheck") + let overLoadFlag = this.isAuth(this.menuId + ":overLoad") //处理页面的权限数据 this.authSearch = !searchFlag this.authCheck = !checkFlag this.authSave = !saveFlag this.authDelete = !deleteFlag + this.authOverLoad = !overLoadFlag this.authDetail = !detailFlag this.authFile = !fileFlag this.authCancelCheck = !cancelCheckFlag diff --git a/src/views/modules/qc/SQCResultEntry.vue b/src/views/modules/qc/SQCResultEntry.vue index 319e60e..1837ce2 100644 --- a/src/views/modules/qc/SQCResultEntry.vue +++ b/src/views/modules/qc/SQCResultEntry.vue @@ -91,7 +91,7 @@ 审核 取消审核 删除 - + 任务重载 打印