检测过程流程展示页面框架绘制
This commit is contained in:
@@ -27,6 +27,8 @@ export namespace Plan {
|
||||
// 检测计划 + 检测源
|
||||
export interface PlanAndSourceBO extends PlanBO {
|
||||
testSourceName: string;//计划所属检测源
|
||||
source_Id: string[];
|
||||
device_Id?: string[];
|
||||
testSourceList?: string[];//临时测试
|
||||
}
|
||||
// // 检测计划列表
|
||||
|
||||
@@ -165,12 +165,86 @@ const testFatherPlanList: Dict[] = [
|
||||
label: '检测子计划1-2',
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
//检测源ID及名称
|
||||
const sourceDataList: Dict[] = [
|
||||
{
|
||||
id: "1",
|
||||
label: '标准源-福禄克-6100A',
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
label: '标准源-昂立-PF2',
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
label: '标准源-丹迪克-DKLN1',
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
label: '标准源-博电源-PQC600A',
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
label: '高精度设备-PQV520-1',
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
label: '高精度设备-PQV520-2',
|
||||
},
|
||||
{
|
||||
id: "7",
|
||||
label: '高精度设备-PQV520-3',
|
||||
},
|
||||
{
|
||||
id: "8",
|
||||
label: '高精度设备-PQV520-4',
|
||||
},
|
||||
]
|
||||
|
||||
//被检设备ID及名称
|
||||
const deviceDataList: Dict[] = [
|
||||
{
|
||||
id: "1",
|
||||
label: '模拟装置1',
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
label: '模拟装置2',
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
label: '模拟装置3',
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
label: '模拟装置4',
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
label: '中电送检装置',
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
label: '易司拓测试装置',
|
||||
},
|
||||
{
|
||||
id: "7",
|
||||
label: '山大电力测试装置1',
|
||||
},
|
||||
{
|
||||
id: "8",
|
||||
label: '山大电力测试装置2',
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
const planData = ref<Plan.PlanAndSourceBO[]>([
|
||||
{
|
||||
'id': '1',
|
||||
'name': '检测计划1',
|
||||
'pattern':'1',
|
||||
"source_Id" : ['1'],
|
||||
"testSourceName":'标准源-福禄克-6100A',
|
||||
'dataSource_Id':'1',
|
||||
'script_Id':'1',
|
||||
@@ -178,12 +252,12 @@ const planData = ref<Plan.PlanAndSourceBO[]>([
|
||||
'test_State':'1',
|
||||
'report_State':'1',
|
||||
'result':'1',
|
||||
|
||||
},
|
||||
{
|
||||
'id': '2',
|
||||
'name': '检测计划2',
|
||||
'pattern':'1',
|
||||
"source_Id" : ['5','6','7','8'],
|
||||
"testSourceName":'高精度设备-PQV520-1',
|
||||
'father_Plan_Id':'1',
|
||||
'dataSource_Id':'2',
|
||||
@@ -193,13 +267,14 @@ const planData = ref<Plan.PlanAndSourceBO[]>([
|
||||
'report_State':'2',
|
||||
'result':'0',
|
||||
"testSourceList":[
|
||||
'高精度设备-PQV520-2','高精度设备-PQV520-3','高精度设备-PQV520-3'
|
||||
'高精度设备-PQV520-2','高精度设备-PQV520-3','高精度设备-PQV520-4'
|
||||
]
|
||||
},
|
||||
{
|
||||
'id': '3',
|
||||
'name': '检测子计划3',
|
||||
'pattern':'1',
|
||||
"source_Id" : ['3'],
|
||||
"testSourceName":'标准源-丹迪克-DKLN1',
|
||||
'father_Plan_Id':'1',
|
||||
'dataSource_Id':'3',
|
||||
@@ -370,4 +445,4 @@ const planData = ref<Plan.PlanAndSourceBO[]>([
|
||||
// },
|
||||
// ])
|
||||
|
||||
export {planData,dictPattern,dictTestState,dictReportState,dictResult,testPlanDataList,testSoureDataList,testScriptDataList,testErrSystDataList,testFatherPlanList}
|
||||
export {planData,dictPattern,dictTestState,dictReportState,dictResult,testPlanDataList,sourceDataList,deviceDataList,testSoureDataList,testScriptDataList,testErrSystDataList,testFatherPlanList}
|
||||
Reference in New Issue
Block a user