字段调整

This commit is contained in:
GYYM
2024-11-08 13:09:06 +08:00
parent 50bebf451d
commit 74c03a2358
6 changed files with 213 additions and 44 deletions

View File

@@ -165,44 +165,84 @@ const testFatherPlanList: Dict[] = [
label: '检测子计划1-2',
},
]
const planData = ref<Plan.PlanBO[]>([
const planData = ref<Plan.PlanAndSourceBO[]>([
{
'id': '1',
'name': '检测计划1',
'pattern':'1',
'dataSource_Id':'1',
'script_Id':'1',
'error_Sys_Id':'1',
'test_State':'1',
'report_State':'1',
'result':'1',
},
{
'id': '2',
'name': '检测子计划2',
'pattern':'1',
'father_Plan_Id':'1',
'dataSource_Id':'2',
'script_Id':'2',
'error_Sys_Id':'2',
'test_State':'2',
'report_State':'2',
'result':'0',
},
{
'id': '3',
'name': '检测子计划1-2',
'pattern':'1',
'father_Plan_Id':'1',
'dataSource_Id':'3',
'script_Id':'3',
'error_Sys_Id':'3',
'test_State':'1',
'report_State':'1',
'result':'1',
},
'id': '1',
'name': '检测计划1',
'pattern':'1',
"testSourceName":'标准源-福禄克-6100A',
'dataSource_Id':'1',
'script_Id':'1',
'error_Sys_Id':'1',
'test_State':'1',
'report_State':'1',
'result':'1',
},
{
'id': '2',
'name': '检测计划2',
'pattern':'1',
"testSourceName":'高精度设备-PQV520-1,高精度设备-PQV520-2',
'father_Plan_Id':'1',
'dataSource_Id':'2',
'script_Id':'2',
'error_Sys_Id':'2',
'test_State':'2',
'report_State':'2',
'result':'0',
},
{
'id': '3',
'name': '检测子计划3',
'pattern':'1',
"testSourceName":'标准源-丹迪克-DKLN1',
'father_Plan_Id':'1',
'dataSource_Id':'3',
'script_Id':'3',
'error_Sys_Id':'3',
'test_State':'1',
'report_State':'1',
'result':'1',
},
])
// const planData = ref<Plan.PlanBO[]>([
// {
// 'id': '1',
// 'name': '检测计划1',
// 'pattern':'1',
// 'dataSource_Id':'1',
// 'script_Id':'1',
// 'error_Sys_Id':'1',
// 'test_State':'1',
// 'report_State':'1',
// 'result':'1',
// },
// {
// 'id': '2',
// 'name': '检测子计划2',
// 'pattern':'1',
// 'father_Plan_Id':'1',
// 'dataSource_Id':'2',
// 'script_Id':'2',
// 'error_Sys_Id':'2',
// 'test_State':'2',
// 'report_State':'2',
// 'result':'0',
// },
// {
// 'id': '3',
// 'name': '检测子计划1-2',
// 'pattern':'1',
// 'father_Plan_Id':'1',
// 'dataSource_Id':'3',
// 'script_Id':'3',
// 'error_Sys_Id':'3',
// 'test_State':'1',
// 'report_State':'1',
// 'result':'1',
// },
// ])
// const plandata = ref<Plan.PlanList[]>([
// {