预检测不显示温度框
This commit is contained in:
@@ -90,6 +90,7 @@ const handleStart = () => {
|
||||
checkStore.setCheckType(0)
|
||||
checkStore.setSelectTestItems({...formContent})
|
||||
handleClose()
|
||||
|
||||
emit('openTestDialog',checkStore.selectTestItems.test)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1023,7 +1023,7 @@ const handleTest = async (val: string) => {
|
||||
if(appSceneStore.currentScene === '0'){
|
||||
writeTHPopupRef.value?.open()
|
||||
}else{
|
||||
openTestDialog()
|
||||
openTestDialog(true)
|
||||
}
|
||||
})
|
||||
.catch((action: Action) => {
|
||||
@@ -1034,13 +1034,13 @@ const handleTest = async (val: string) => {
|
||||
if (appSceneStore.currentScene === '0') {
|
||||
writeTHPopupRef.value?.open()
|
||||
} else {
|
||||
openTestDialog()
|
||||
openTestDialog(true)
|
||||
}
|
||||
}
|
||||
})
|
||||
checkStore.setSelectTestItems({preTest: false, timeTest: false, channelsTest: false, test: true})
|
||||
} else {
|
||||
openTestDialog()
|
||||
openTestDialog(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1084,15 +1084,20 @@ const handleTest = async (val: string) => {
|
||||
}
|
||||
}
|
||||
|
||||
const openTestDialog = () => {
|
||||
const openTestDialog = (testData:any) => {
|
||||
if (appSceneStore.currentScene === '0') {
|
||||
if(testData)
|
||||
writeTHPopupRef.value?.open()
|
||||
else
|
||||
testPopup.value?.open(dialogTitle.value)
|
||||
} else {
|
||||
testPopup.value?.open(dialogTitle.value)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
const openTestDialog2 = () => {
|
||||
testPopup.value?.open(dialogTitle.value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user