This commit is contained in:
caozehui
2025-02-26 19:02:43 +08:00
parent 6a635246bb
commit f71963ea3b
2 changed files with 14 additions and 11 deletions

View File

@@ -945,8 +945,8 @@ const updateCheckResultView = (scriptCode: string, isStart: boolean, devices: Ch
// devices = [ // devices = [
// { // {
// chnResult: [1, 1, 1, 1], // chnResult: [1, 1, 1, 1],
// deviceId: "3250a0ff180845cc8885da4ff628261e", // deviceId: "e90c09c0905248ad912e19e17a8672aa",
// deviceName: "测试装置-0122-02" // deviceName: "250226001"
// }, // },
// { // {
// chnResult: [1, 1, 1, 1], // chnResult: [1, 1, 1, 1],
@@ -1275,8 +1275,8 @@ const todoItem = (code: string) => {
desc: '输入频率t=42.5Hz Ua=57.74%Un,相角=0.0° Ub=57.74%Un,相角=-120.0° Uc=57.74%Un,相角=120.0° Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0°,Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0° ', desc: '输入频率t=42.5Hz Ua=57.74%Un,相角=0.0° Ub=57.74%Un,相角=-120.0° Uc=57.74%Un,相角=120.0° Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0°,Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0° ',
data: [{ data: [{
chnResult: [1, 1, 1, 1], chnResult: [1, 1, 1, 1],
deviceId: "3250a0ff180845cc8885da4ff628261e", deviceId: "e90c09c0905248ad912e19e17a8672aa",
deviceName: "测试装置-0122-02" deviceName: "250226001"
}] }]
}) })
} }
@@ -1296,8 +1296,8 @@ const todoItem = (code: string) => {
desc: '输入频率t=45.5Hz Ua=57.74%Un,相角=0.0° Ub=57.74%Un,相角=-120.0° Uc=57.74%Un,相角=120.0° Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0°,Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0° ', desc: '输入频率t=45.5Hz Ua=57.74%Un,相角=0.0° Ub=57.74%Un,相角=-120.0° Uc=57.74%Un,相角=120.0° Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0°,Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0° ',
data: [{ data: [{
chnResult: [1, 1, 1, 1], chnResult: [1, 1, 1, 1],
deviceId: "3250a0ff180845cc8885da4ff628261e", deviceId: "e90c09c0905248ad912e19e17a8672aa",
deviceName: "测试装置-0122-02" deviceName: "250226001"
}] }]
}) })
} }
@@ -1317,8 +1317,8 @@ const todoItem = (code: string) => {
desc: '输入频率t=50.5Hz Ua=57.74%Un,相角=0.0° Ub=57.74%Un,相角=-120.0° Uc=57.74%Un,相角=120.0° Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0°,Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0° ', desc: '输入频率t=50.5Hz Ua=57.74%Un,相角=0.0° Ub=57.74%Un,相角=-120.0° Uc=57.74%Un,相角=120.0° Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0°,Ia=0.0%In,相角=0.0° Ib=0.0%In,相角=0.0° Ic=0.0%In,相角=0.0° ',
data: [{ data: [{
chnResult: [1, 1, 1, 1], chnResult: [1, 1, 1, 1],
deviceId: "3250a0ff180845cc8885da4ff628261e", deviceId: "e90c09c0905248ad912e19e17a8672aa",
deviceName: "测试装置-0122-02" deviceName: "250226001"
}] }]
}) })
} }
@@ -1329,8 +1329,8 @@ const todoItem = (code: string) => {
requestId: `${code}_End`, requestId: `${code}_End`,
data: [{ data: [{
chnResult: [1, 2, 1, 1], chnResult: [1, 2, 1, 1],
deviceId: "3250a0ff180845cc8885da4ff628261e", deviceId: "e90c09c0905248ad912e19e17a8672aa",
deviceName: "测试装置-0122-02" deviceName: "250226001"
}] }]
}) })
} }
@@ -1341,7 +1341,7 @@ const handleResumeTest = () => {
//activeIndex++ //activeIndex++
startData.value = new Date(); startData.value = new Date();
testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:开始重新检测!`}) testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:开始重新检测!`})
startTimer() //startTimer()
resumeTimeCount() resumeTimeCount()
console.log('开始继续检测') console.log('开始继续检测')
}; };

View File

@@ -200,6 +200,9 @@ const handleSubmit = () => {
} }
}) })
preTestStatus.value = 'start' preTestStatus.value = 'start'
// setTimeout(() => {
// preTestStatus.value = 'success'
// }, 5000)
break; break;
case 2: case 2:
timeTestStatus.value = 'start' timeTestStatus.value = 'start'