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" > + +