This commit is contained in:
caozehui
2025-01-08 18:52:17 +08:00
parent 645fac0681
commit 34534a1dbf
2 changed files with 26 additions and 24 deletions

View File

@@ -32,13 +32,10 @@ const unit = computed(() => {
})
const phaseT = computed(() => {
let result = 0;
if (tableData.length > 0) {
result = !tableData[0].dataT ? 0 : 1;
}
return result;
return tableData[0].dataT == '/' ? 0 : 1
})
</script>
<style scoped>

View File

@@ -792,9 +792,14 @@ const setErrorCheckItem = (scriptType: string, devices: any[]) => {
const updateCheckResultView = (scriptCode: string, isStart: boolean, devices: any[] = []) => {
let scriptType = scriptData.filter(item => item.code === scriptCode)[0]?.id
// devices = [{
// chnResult: [1, 1],
// deviceId: "80b4b4f52a4c4064a18319525f8ac13c",
// deviceName: "240002"
// chnResult: [1, 1, 1, 1],
// deviceId: "df23a4178d194467a432ddf45e835e48",
// deviceName: "240003"
// },
// {
// chnResult: [1, 1, 1, 1],
// deviceId: "ae5a7628260349c0a5e7c86c81fbd417",
// deviceName: "240004"
// }]
let temp = null
if (isStart) {