微调
This commit is contained in:
@@ -301,6 +301,7 @@ watch(testStatus, function (newValue, oldValue) {
|
|||||||
let count = 0
|
let count = 0
|
||||||
|
|
||||||
watch(webMsgSend, function (newValue, oldValue) {
|
watch(webMsgSend, function (newValue, oldValue) {
|
||||||
|
console.log('webMsgSend', newValue)
|
||||||
if (testStatus.value !== 'waiting') {
|
if (testStatus.value !== 'waiting') {
|
||||||
if (props.stepsActive === 4) {
|
if (props.stepsActive === 4) {
|
||||||
if (newValue.code == 10520) {
|
if (newValue.code == 10520) {
|
||||||
@@ -783,12 +784,6 @@ const updateCheckResult = (data: CheckData.ScriptChnItem) => {
|
|||||||
item.devices[i].chnResult = [...targetDevice.chnResult]
|
item.devices[i].chnResult = [...targetDevice.chnResult]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// item.devices.forEach((device, index) => {
|
|
||||||
// let targetDevice = data.devices.find(dev => dev.deviceId === device.deviceId)
|
|
||||||
// if (targetDevice !== undefined) {
|
|
||||||
// device.chnResult = [...targetDevice.chnResult]
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -947,28 +942,6 @@ function getErrorCheckItem(scriptType: string) {
|
|||||||
|
|
||||||
const updateCheckResultView = (scriptCode: string, isStart: boolean, devices: CheckData.DeviceCheckResult[] = []) => {
|
const updateCheckResultView = (scriptCode: string, isStart: boolean, devices: CheckData.DeviceCheckResult[] = []) => {
|
||||||
let scriptType = scriptData.filter(item => item.code === scriptCode)[0]?.id
|
let scriptType = scriptData.filter(item => item.code === scriptCode)[0]?.id
|
||||||
// devices = [
|
|
||||||
// {
|
|
||||||
// chnResult: [1, 1, 1, 1],
|
|
||||||
// deviceId: "e90c09c0905248ad912e19e17a8672aa",
|
|
||||||
// deviceName: "250226001"
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// chnResult: [1, 1, 1, 1],
|
|
||||||
// deviceId: "df23a4178d194467a432ddf45e835e48",
|
|
||||||
// deviceName: "240003"
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// chnResult: [1, 1, 1, 1],
|
|
||||||
// deviceId: "ae5a7628260349c0a5e7c86c81fbd417",
|
|
||||||
// deviceName: "240004"
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// chnResult: [1, 1, 1, 1],
|
|
||||||
// deviceId: "461813a4f30f4a34a1a273ecd0379458",
|
|
||||||
// deviceName: "25011407"
|
|
||||||
// }
|
|
||||||
// ]
|
|
||||||
let temp = null
|
let temp = null
|
||||||
if (isStart) {
|
if (isStart) {
|
||||||
temp = getLoadingResult(scriptType)
|
temp = getLoadingResult(scriptType)
|
||||||
|
|||||||
Reference in New Issue
Block a user