From 9e980dadf8319f349b8bd86471c1fd11356a7dd6 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Tue, 24 Oct 2023 11:21:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=9F=E6=96=99=E6=A3=80=E9=AA=8C=E4=BB=BB?= =?UTF-8?q?=E5=8A=A11.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/income.js | 62 ++++- .../quality/qcIncome/checkProjectType.vue | 230 ++++++++++++++++++ src/views/quality/qcIncome/index.vue | 179 +++++++++++--- src/views/quality/qcIncome/selectUser.vue | 3 +- 4 files changed, 436 insertions(+), 38 deletions(-) create mode 100644 src/views/quality/qcIncome/checkProjectType.vue diff --git a/src/api/quality/income.js b/src/api/quality/income.js index e6b812a..b94bd51 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -68,4 +68,64 @@ export function getQcListUser(query) { method: 'get', params: query }); - } \ No newline at end of file + } + +//状态修改 +export function changeIncomeStatus(recordId, status) { + const data = { + recordId, + status + } + return request({ + url: '/quality/qcIncome/changeIncomeStatus', + method: 'put', + data: data + }) + } + +// 查询检测项列表 +export function getCkeckProjectList(query) { + return request({ + url: '/quality/qcIncome/getCkeckProjectList', + method: 'get', + params: query + }); + } + +//合格不合格 +export function changeCheckDetailStatus(recordId, status) { + const data = { + recordId, + status + } + return request({ + url: '/quality/qcIncome/changeCheckDetailStatus', + method: 'put', + data: data + }) +} + +//测量值提交 +export function commitActualValue(recordId, actualValues) { + const data = { + recordId, + actualValues + } + return request({ + url: '/quality/qcIncome/commitActualValue', + method: 'put', + data: data + }) +} + +//审核结果提交 +export function commitCheckResult(recordId) { + const data = { + recordId + } + return request({ + url: '/quality/qcIncome/commitCheckResult', + method: 'put', + data: data + }) +} diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue new file mode 100644 index 0000000..81e7736 --- /dev/null +++ b/src/views/quality/qcIncome/checkProjectType.vue @@ -0,0 +1,230 @@ + + diff --git a/src/views/quality/qcIncome/index.vue b/src/views/quality/qcIncome/index.vue index dec26a0..4b901c2 100644 --- a/src/views/quality/qcIncome/index.vue +++ b/src/views/quality/qcIncome/index.vue @@ -25,14 +25,17 @@ @keyup.enter.native="handleQuery" /> - - + + + + + @@ -66,6 +71,7 @@ v-hasPermi="['quality:qcIncome:add']" >新增 + - - - - - - + + + + + + - - + + - - - - + + + + + + - + + + + @@ -275,18 +300,25 @@ ref="itemSelectUser" @onSelected="onSelectUser" > + +