From 195b58d798ad8afcb9c31f33f09545d7b9d40854 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Tue, 9 Jun 2026 19:22:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E5=AF=B9=E6=A3=80=E6=B5=8B=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/plan/planList/components/planPopup.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/plan/planList/components/planPopup.vue b/frontend/src/views/plan/planList/components/planPopup.vue index 2038f65..f5b5b2b 100644 --- a/frontend/src/views/plan/planList/components/planPopup.vue +++ b/frontend/src/views/plan/planList/components/planPopup.vue @@ -895,7 +895,7 @@ const open = async (sign: string, data: Plan.ReqPlan, currentMode: string, plan: // 默认选择 cp95值 作为数据处理原则 const dataRuleDict = dictStore.getDictData('Data_Rule') - const rule = dataRuleDict.find(item => item.code === 'Cp95_Value') + const rule = dataRuleDict.find(item => item.code === 'Avg_value') formContent.dataRule = rule ? rule.id : '' } else { [pqSource_Result, PqScript_Result, PqErrSys_Result, pqDevList_Result, pqReportName_Result] = @@ -1212,10 +1212,12 @@ const loadTestItemsForErrorSys = async (errorSysId: string) => { if (res.data && typeof res.data === 'object') { // 将返回的键值对对象转换为下拉选项格式 Object.keys(res.data).forEach(key => { + if((res.data as Record)[key]!='谐波有功功率') { secondLevelOptions.push({ - value: key, - label: (res.data as Record)[key] + value: key, + label: (res.data as Record)[key] }) + } }) formContent.testItems = secondLevelOptions .filter(option => option.label !== '闪变')