微调
This commit is contained in:
@@ -32,13 +32,10 @@ const unit = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const phaseT = computed(() => {
|
const phaseT = computed(() => {
|
||||||
let result = 0;
|
return tableData[0].dataT == '/' ? 0 : 1
|
||||||
if (tableData.length > 0) {
|
|
||||||
result = !tableData[0].dataT ? 0 : 1;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
@@ -792,9 +792,14 @@ const setErrorCheckItem = (scriptType: string, devices: any[]) => {
|
|||||||
const updateCheckResultView = (scriptCode: string, isStart: boolean, devices: any[] = []) => {
|
const updateCheckResultView = (scriptCode: string, isStart: boolean, devices: any[] = []) => {
|
||||||
let scriptType = scriptData.filter(item => item.code === scriptCode)[0]?.id
|
let scriptType = scriptData.filter(item => item.code === scriptCode)[0]?.id
|
||||||
// devices = [{
|
// devices = [{
|
||||||
// chnResult: [1, 1],
|
// chnResult: [1, 1, 1, 1],
|
||||||
// deviceId: "80b4b4f52a4c4064a18319525f8ac13c",
|
// deviceId: "df23a4178d194467a432ddf45e835e48",
|
||||||
// deviceName: "240002"
|
// deviceName: "240003"
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// chnResult: [1, 1, 1, 1],
|
||||||
|
// deviceId: "ae5a7628260349c0a5e7c86c81fbd417",
|
||||||
|
// deviceName: "240004"
|
||||||
// }]
|
// }]
|
||||||
let temp = null
|
let temp = null
|
||||||
if (isStart) {
|
if (isStart) {
|
||||||
|
|||||||
Reference in New Issue
Block a user