research update

This commit is contained in:
2023-06-09 17:31:39 +08:00
parent a76aa5eddb
commit ead6700f2c
34 changed files with 4722 additions and 983 deletions

View File

@ -31,7 +31,7 @@ const submitForm = async () => {
if (!agentFormRef.value) return
const valid = await agentFormRef.value.validateForm()
if (valid) {
// TODO: submit laboratory
// TODO: submit agent
}
}
</script>

View File

@ -36,10 +36,10 @@ const submitForm = async () => {
form.value.researchDirection = form.value.researchs?.join(",") ?? null
await insertLaboratory(form.value)
router.go(-1);
ElMessage.success("实验室入驻成功")
ElMessage.success("已申请实验室入驻")
} catch (e) {
console.error(e)
ElMessage.error("入驻失败")
// ElMessage.error("申请入驻失败")
}
}
}