This commit is contained in:
GYYM
2024-12-04 10:20:55 +08:00
parent f99aa94b8f
commit aa86c5e662
3 changed files with 66 additions and 32 deletions

View File

@@ -170,19 +170,19 @@ const testFatherPlanList: Dict[] = [
const sourceDataList: Dict[] = [ const sourceDataList: Dict[] = [
{ {
id: "1", id: "1",
label: '标准源-福禄克-6100A', label: '标准源-福禄克6100A-1',
}, },
{ {
id: "2", id: "2",
label: '标准源-昂立-PF2', label: '标准源-昂立PF2-1',
}, },
{ {
id: "3", id: "3",
label: '标准源-丹迪克-DKLN1', label: '标准源-丹迪克DKLN1-1',
}, },
{ {
id: "4", id: "4",
label: '标准源-博电源-PQC600A', label: '标准源-博电PQC600A-1',
}, },
{ {
id: "5", id: "5",
@@ -206,38 +206,72 @@ const sourceDataList: Dict[] = [
const deviceDataList: Dict[] = [ const deviceDataList: Dict[] = [
{ {
id: "1", id: "1",
label: '模拟装置1', label: '240001',
}, },
{ {
id: "2", id: "2",
label: '模拟装置2', label: '240002',
}, },
{ {
id: "3", id: "3",
label: '模拟装置3', label: '240003',
}, },
{ {
id: "4", id: "4",
label: '模拟装置4', label: '240004',
}, },
{ {
id: "5", id: "5",
label: '中电送检装置', label: '240005',
}, },
{ {
id: "6", id: "6",
label: '易司拓测试装置', label: '240006',
}, },
{ {
id: "7", id: "7",
label: '山大电力测试装置1', label: '240007',
}, },
{ {
id: "8", id: "8",
label: '山大电力测试装置2', label: '240008',
}, },
] ]
// 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[]>([ const planData = ref<Plan.PlanAndSourceBO[]>([
{ {
@@ -274,14 +308,14 @@ const planData = ref<Plan.PlanAndSourceBO[]>([
}, },
{ {
'id': '3', 'id': '3',
'name': '保定分布式光伏电能质量试点', 'name': '浙江分布式光伏电能质量试点',
'pattern':'1', 'pattern':'1',
"source_Id" : ['3'], "source_Id" : ['3'],
"testSourceName":'标准源-丹迪克DKLN1-1', "testSourceName":'标准源-丹迪克DKLN1-1',
'father_Plan_Id':'1', 'father_Plan_Id':'1',
'dataSource_Id':['1'], 'dataSource_Id':['1'],
'dataSource_Ids':'实时数据', 'dataSource_Ids':'实时数据',
'script_Id':'3', 'script_Id':'4',
'error_Sys_Id':'3', 'error_Sys_Id':'3',
'test_State':'1', 'test_State':'1',
'report_State':'1', 'report_State':'1',

View File

@@ -38,7 +38,7 @@
{ {
"id": 9, "id": 9,
"pid": 2, "pid": 2,
"name": "保定分布式光伏电能质量试点" "name": "浙江分布式光伏电能质量试点"
} }
], ],
"id": 2 "id": 2

View File

@@ -47,20 +47,20 @@
const generateData = () => { const generateData = () => {
const data: Option[] = [] const data: Option[] = []
const states = [ const states = [
'模拟装置1', '240001',
'模拟装置2', '240002',
'模拟装置3', '240003',
'模拟装置4', '240004',
'中电送检装置', '240005',
'易司拓测试装置', '240006',
'山大电力测试装置1', '240007',
'山大电力测试装置2', '240008',
'滚动条测试1', '240009',
'滚动条测试2', '240010',
'滚动条测试3', '240011',
'滚动条测试4', '240012',
'滚动条测试5', '240013',
'滚动条测试6', '240014',
] ]
const initials = ['CA', 'IL', 'MD', 'TX', 'FL', 'CO', 'CT', 'GT', 'IL', 'MD', 'TX', 'FL', 'CO', 'CT', 'GT'] const initials = ['CA', 'IL', 'MD', 'TX', 'FL', 'CO', 'CT', 'GT', 'IL', 'MD', 'TX', 'FL', 'CO', 'CT', 'GT']
states.forEach((city, index) => { states.forEach((city, index) => {
@@ -77,8 +77,8 @@
const generateValue = () => { const generateValue = () => {
const data: number[] = [] const data: number[] = []
const states = [ const states = [
'山大电力测试装置1', '240001',
'山大电力测试装置2', '240002',
] ]
const initials = ['AB', 'CD'] const initials = ['AB', 'CD']
states.forEach((city, index) => { states.forEach((city, index) => {