From 2f97b2570c124711e3fb67943407b75f8f074c02 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Thu, 15 Aug 2024 11:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=89=AF=E6=8F=8F=E8=BF=B0=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict/data.js | 9 +++++ .../quality/qcIncome/checkProjectType.vue | 36 +++++++++++++++---- 2 files changed, 38 insertions(+), 7 deletions(-) diff --git a/src/api/system/dict/data.js b/src/api/system/dict/data.js index 6c9eb79..cc5fa8c 100644 --- a/src/api/system/dict/data.js +++ b/src/api/system/dict/data.js @@ -9,6 +9,15 @@ export function listData(query) { }) } +// 查询字典数据列表无分页,可筛选 +export function getDictData(query) { + return request({ + url: '/system/dict/data/getDictData', + method: 'get', + params: query + }) +} + // 查询字典数据详细 export function getData(dictCode) { return request({ diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue index 8540428..4880428 100644 --- a/src/views/quality/qcIncome/checkProjectType.vue +++ b/src/views/quality/qcIncome/checkProjectType.vue @@ -51,7 +51,7 @@ - + @@ -60,7 +60,15 @@ --> - + + + + @@ -162,7 +170,7 @@ /> - + { + if (response.code === 200) { + this.remarkList = response.data; + } + }); + }, + /** 搜索按钮操作 */ handleQuery() { this.queryParams.pageNum = 1; @@ -506,7 +528,7 @@ export default { if(this.typeCode=='material' || this.typeCode =='product'){//只有来料和成品有自动判定 debugger //自动判定开始(仅使用范围形) - getAutoJudge(this.quality, + getAutoJudge(this.quality, this.dynamicValidateForm.checkLevel, this.dynamicValidateForm.sampleAql, actualValues, @@ -522,7 +544,7 @@ export default { ); }); - //结束 + //结束 }else{//不需要自动判定的情况 this.commitActualValueFun(this.recordId, actualValues,autoStatus,null,null,null,null); } @@ -542,7 +564,7 @@ export default { this.getList(); }); }, - + resetForm(formName) { this.$refs[formName].resetFields(); },