检测首页增加不同入口的默认选择状态和禁止选择状态

This commit is contained in:
GYYM
2024-11-07 20:41:32 +08:00
parent 4695a82b38
commit 9804baf8a3
11 changed files with 425 additions and 214 deletions

View File

@@ -150,6 +150,22 @@ const testErrSystDataList: Dict[] = [
},
]
//父计划ID及名称
const testFatherPlanList: Dict[] = [
{
id: "1",
label: '检测计划1',
},
{
id: "2",
label: '检测子计划2',
},
{
id: "3",
label: '检测子计划1-2',
},
]
const planData = ref<Plan.PlanBO[]>([
{
'id': '1',
@@ -172,7 +188,7 @@ const planData = ref<Plan.PlanBO[]>([
'error_Sys_Id':'2',
'test_State':'2',
'report_State':'2',
'result':'2',
'result':'0',
},
{
'id': '3',
@@ -182,9 +198,9 @@ const planData = ref<Plan.PlanBO[]>([
'dataSource_Id':'3',
'script_Id':'3',
'error_Sys_Id':'3',
'test_State':'3',
'report_State':'3',
'result':'3',
'test_State':'1',
'report_State':'1',
'result':'1',
},
])
@@ -310,4 +326,4 @@ const planData = ref<Plan.PlanBO[]>([
// },
// ])
export {planData,dictPattern,dictTestState,dictReportState,dictResult,testPlanDataList,testSoureDataList,testScriptDataList,testErrSystDataList}
export {planData,dictPattern,dictTestState,dictReportState,dictResult,testPlanDataList,testSoureDataList,testScriptDataList,testErrSystDataList,testFatherPlanList}