This commit is contained in:
sjl
2025-02-14 09:16:07 +08:00
parent e799dd2f08
commit 305c30d725
2 changed files with 10 additions and 3 deletions

View File

@@ -428,10 +428,20 @@ const handleDevTypeChange = (value: string) => {
formContent.value.devVolt = dev.devVolt; // 默认值为1
formContent.value.icdId = dev.icd
formContent.value.power = dev.power
if(dev.name.includes('882B')){
formContent.value.ip = '172.17.102.220'
}else if(dev.name.includes('882A')){
formContent.value.ip = '172.17.102.221'
}else{
formContent.value.ip = '172.17.102.200'
}
} else {
formContent.value.devChns = 1; // 默认值为1
formContent.value.devCurr = 1; // 默认值为1
formContent.value.devVolt = 57.74; // 默认值为1
formContent.value.ip = '172.17.102.200'
}
}

View File

@@ -394,9 +394,6 @@ const showDeviceOpen = (row: Partial<Plan.ReqPlan> = {}) => {
const myDict = new Map<string, any[]>();
// 引用图表容器
const chartContainer = ref<HTMLElement | null>(null);
let myChart: echarts.ECharts | null = null;
const statisticalAnalysis = async (row: Partial<Plan.ReqPlan> = {}) => {
// const response = await getTestConfig() as unknown as Base.ResTestConfig
// const maxTime= response.data.maxTime//检测最大次数