微调
This commit is contained in:
@@ -857,7 +857,7 @@ const handleTest = async (val: string) => {
|
||||
ElMessage.success('不合格项复检')
|
||||
checkStore.setReCheckType(0)
|
||||
// 控制是否显示温度湿度输入框
|
||||
if (appSceneStore.currentScene === '0') {
|
||||
if (appSceneStore.currentScene === '0' && modeStore.currentMode != '比对式') {
|
||||
writeTHPopupRef.value?.open()
|
||||
} else {
|
||||
selectTestItemPopupRef.value?.open()
|
||||
@@ -867,7 +867,7 @@ const handleTest = async (val: string) => {
|
||||
if (action === 'cancel') {
|
||||
ElMessage.success('全部复检')
|
||||
checkStore.setReCheckType(1)
|
||||
if (appSceneStore.currentScene === '0') {
|
||||
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||
writeTHPopupRef.value?.open()
|
||||
} else {
|
||||
selectTestItemPopupRef.value?.open()
|
||||
@@ -895,7 +895,7 @@ const handleTest = async (val: string) => {
|
||||
.then(() => {
|
||||
ElMessage.success('不合格项复检')
|
||||
checkStore.setReCheckType(0)
|
||||
if (appSceneStore.currentScene === '0') {
|
||||
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||
writeTHPopupRef.value?.open()
|
||||
} else {
|
||||
openTestDialog(true)
|
||||
@@ -905,7 +905,7 @@ const handleTest = async (val: string) => {
|
||||
if (action === 'cancel') {
|
||||
ElMessage.success('全部复检')
|
||||
checkStore.setReCheckType(1)
|
||||
if (appSceneStore.currentScene === '0') {
|
||||
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||
writeTHPopupRef.value?.open()
|
||||
} else {
|
||||
openTestDialog(true)
|
||||
@@ -950,7 +950,7 @@ const handleTest = async (val: string) => {
|
||||
}
|
||||
|
||||
const openTestDialog = (testData: any) => {
|
||||
if (appSceneStore.currentScene === '0') {
|
||||
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
|
||||
if (testData) {
|
||||
writeTHPopupRef.value?.open()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user