微调
This commit is contained in:
@@ -383,7 +383,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { type CascaderOption, ElMessage, type FormItemRule } from 'element-plus'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { computed, reactive, ref, watch } from 'vue'
|
||||
import { dialogBig } from '@/utils/elementBind'
|
||||
import { type Plan } from '@/api/plan/interface'
|
||||
import {
|
||||
@@ -761,7 +761,7 @@ const open = async (sign: string, data: Plan.ReqPlan, currentMode: string, plan:
|
||||
user_Result: any
|
||||
|
||||
if (mode.value === '比对式') {
|
||||
;[
|
||||
[
|
||||
PqErrSys_Result,
|
||||
pqDevList_Result,
|
||||
pqReportName_Result,
|
||||
@@ -800,8 +800,14 @@ const open = async (sign: string, data: Plan.ReqPlan, currentMode: string, plan:
|
||||
.map((user: any) => ({ ...user, disabled: false }))
|
||||
}
|
||||
}
|
||||
|
||||
// 默认选择 cp95值 作为数据处理原则
|
||||
const dataRuleDict = dictStore.getDictData('Data_Rule')
|
||||
const rule = dataRuleDict.find(item => item.code === 'Cp95_Value')
|
||||
formContent.dataRule = rule ? rule.id : ''
|
||||
|
||||
} else {
|
||||
;[pqSource_Result, PqScript_Result, PqErrSys_Result, pqDevList_Result, pqReportName_Result] =
|
||||
[pqSource_Result, PqScript_Result, PqErrSys_Result, pqDevList_Result, pqReportName_Result] =
|
||||
await Promise.all([
|
||||
getTestSourceList(data),
|
||||
getPqScriptList(data),
|
||||
|
||||
Reference in New Issue
Block a user