企业web检索信息展示
This commit is contained in:
@ -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 {
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user