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 !== '闪变')