微调
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user