企业web检索信息展示

This commit is contained in:
2024-09-02 09:51:55 +08:00
parent 904d26bb4f
commit ff63683308
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ import { useRoute, useRouter } from "vue-router";
import { updateCount } from "@/api/admin/count";
import ReleaseForm from "../components/ReleaseForm";
import { useI18n } from "vue-i18n";
import { updateAchievement } from "@/api/admin/laboratory/achievement";
// import { updateAchievement } from "@/api/admin/laboratory/achievement";
const labelWidth = 140;
@ -65,7 +65,7 @@ if (id) {
const submitForm = async (status) => {
if (await releaseFormRef.value.validateForm()) {
if (id) {
await updateAchievement({ ...form.value, status });
await updateExpertAchievement({ ...form.value, status });
ElMessage.success(t("admin.common.editSuccess"));
// router.back();
} else {

View File

@ -41,7 +41,7 @@
{{ t("webSearch.companySize") }}
<span>{{
enterpriseOptions.find((el) => el.key == item.kind)?.[
enterpriseOptions.find((el) => el.key === item.kind)?.[
locale
] ?? t("webSearch.noData")
}}</span>
@ -64,7 +64,7 @@
</div>
<div class="keywords" style="flex: 1">
<wordcloud
:data="createdData(item.keyword.split(','))"
:data="createdData(item.keywords ?? [])"
></wordcloud>
</div>
</el-row>