修改海南测试问题

This commit is contained in:
GGJ
2024-12-05 09:04:07 +08:00
parent 6dbc09ef8d
commit 9c627a5f81
21 changed files with 936 additions and 529 deletions

View File

@@ -954,7 +954,7 @@ const confirmForm = async (flag: boolean) => {
ruleFormRef.value.resetFields()
resetForm()
close()
})
}).catch(() => { loading.value = false})
} else {
// 先判断提交终端信息与监测点信息
// 提交监测点信息
@@ -994,7 +994,7 @@ const confirmForm = async (flag: boolean) => {
ruleFormRef.value.resetFields()
resetForm()
close()
})
}).catch(() => { loading.value = false})
} else {
confirmFormData.id = resendId.value
await updateMointorPointFormData(confirmFormData).then(res => {
@@ -1007,7 +1007,7 @@ const confirmForm = async (flag: boolean) => {
resetForm()
close()
}
})
}).catch(() => { loading.value = false})
}
} else {
// // console.log('表单验证失败')

View File

@@ -1167,7 +1167,7 @@ const disabledDate = time => {
const importType = ref(null)
const resendId = ref('')
const open = async (row: any) => {
console.log('🚀 ~ open ~ row:', row.row)
let flag = row.row ? true : false
importType.value = null
if (!flag) await getPowerCompanyList(false)
@@ -1273,7 +1273,7 @@ const confirmForm = async (flag: boolean) => {
resetForm()
close()
}
})
}).catch(() => { loading.value = false})
} else {
// 提交终端信息
ruleFormRef.value.validate(async (valid) => {
@@ -1311,7 +1311,7 @@ const confirmForm = async (flag: boolean) => {
resetForm()
close()
}
})
}).catch(() => { loading.value = false})
} else {
confirmFormData.reporter = adminInfo.$state.id
confirmFormData.orgId = adminInfo.$state.deptId
@@ -1328,7 +1328,7 @@ const confirmForm = async (flag: boolean) => {
resetForm()
close()
}
})
}).catch(() => { loading.value = false})
}
} else {
console.log('表单验证失败')