From 9adeb55c988a1bbc14e3ced726711745109babc4 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Tue, 9 Jan 2024 09:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A5=E6=96=99=E6=8A=BD=E6=A0=B7=E8=A7=84?= =?UTF-8?q?=E5=88=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/firstReport.js | 93 ---- src/api/quality/qcSampleRule.js | 8 + src/views/quality/firstReport/index.vue | 516 ----------------------- src/views/quality/qcSampleRule/index.vue | 94 +++-- 4 files changed, 57 insertions(+), 654 deletions(-) delete mode 100644 src/api/quality/firstReport.js delete mode 100644 src/views/quality/firstReport/index.vue diff --git a/src/api/quality/firstReport.js b/src/api/quality/firstReport.js deleted file mode 100644 index 03e3db1..0000000 --- a/src/api/quality/firstReport.js +++ /dev/null @@ -1,93 +0,0 @@ -import request from '@/utils/request' - -// 查询来料报告列表 -export function listIncome(query) { - return request({ - url: '/quality/qcFirstReport/list', - method: 'get', - params: query - }); -} - -// 查询来料报告详细 -export function getIncome(recordId) { - return request({ - url: '/quality/qcFirstReport/' + recordId, - method: 'get' - }); -} - -// 新增来料报告 -export function addIncome(data) { - return request({ - url: '/quality/qcFirstReport', - method: 'post', - data: data - }); -} - -// 修改来料报告 -export function updateIncome(data) { - return request({ - url: '/quality/qcFirstReport', - method: 'put', - data: data - }); -} - -// 删除来料报告 -export function delIncome(recordId) { - return request({ - url: '/quality/qcFirstReport/' + recordId, - method: 'delete' - }); -} - -// 查询BOM物料管理列表 -export function getQcListBom(query) { - return request({ - url: '/quality/qcFirstReport/getQcListBom', - method: 'get', - params: query - }); - } - -// 查询供应商管理列表 -export function getQcListSupplier(query) { - return request({ - url: '/quality/qcFirstReport/getQcListSupplier', - method: 'get', - params: query - }); - } - -// 查询人员列表 -export function getQcListUser(query) { - return request({ - url: '/quality/qcFirstReport/getQcListUser', - method: 'get', - params: query - }); - } - -//状态修改 -export function changeIncomeStatus(recordId, status) { - const data = { - recordId, - status - } - return request({ - url: '/quality/qcFirstReport/changeIncomeStatus', - method: 'put', - data: data - }) - } - -// 查询检测项列表 -export function getCkeckProjectList(query) { - return request({ - url: '/quality/qcFirstReport/getCkeckProjectList', - method: 'get', - params: query - }); - } diff --git a/src/api/quality/qcSampleRule.js b/src/api/quality/qcSampleRule.js index 89782bd..8c0c9f0 100644 --- a/src/api/quality/qcSampleRule.js +++ b/src/api/quality/qcSampleRule.js @@ -42,3 +42,11 @@ export function delQcSampleRule(id) { method: 'delete' }); } + +// 根据大节点获取检验节点类型 +export function getCheckType(typeCode) { + return request({ + url: '/quality/qcSampleRule/getCheckType/' + typeCode, + method: 'get', + }) +} diff --git a/src/views/quality/firstReport/index.vue b/src/views/quality/firstReport/index.vue deleted file mode 100644 index 68341b2..0000000 --- a/src/views/quality/firstReport/index.vue +++ /dev/null @@ -1,516 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/views/quality/qcSampleRule/index.vue b/src/views/quality/qcSampleRule/index.vue index 9274ed0..f6c71fe 100644 --- a/src/views/quality/qcSampleRule/index.vue +++ b/src/views/quality/qcSampleRule/index.vue @@ -1,6 +1,6 @@