企业web检索信息展示
This commit is contained in:
@ -31,7 +31,7 @@ import { useRoute, useRouter } from "vue-router";
|
|||||||
import { updateCount } from "@/api/admin/count";
|
import { updateCount } from "@/api/admin/count";
|
||||||
import ReleaseForm from "../components/ReleaseForm";
|
import ReleaseForm from "../components/ReleaseForm";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
import { updateAchievement } from "@/api/admin/laboratory/achievement";
|
// import { updateAchievement } from "@/api/admin/laboratory/achievement";
|
||||||
|
|
||||||
const labelWidth = 140;
|
const labelWidth = 140;
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ if (id) {
|
|||||||
const submitForm = async (status) => {
|
const submitForm = async (status) => {
|
||||||
if (await releaseFormRef.value.validateForm()) {
|
if (await releaseFormRef.value.validateForm()) {
|
||||||
if (id) {
|
if (id) {
|
||||||
await updateAchievement({ ...form.value, status });
|
await updateExpertAchievement({ ...form.value, status });
|
||||||
ElMessage.success(t("admin.common.editSuccess"));
|
ElMessage.success(t("admin.common.editSuccess"));
|
||||||
// router.back();
|
// router.back();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -41,7 +41,7 @@
|
|||||||
{{ t("webSearch.companySize") }}
|
{{ t("webSearch.companySize") }}
|
||||||
:
|
:
|
||||||
<span>{{
|
<span>{{
|
||||||
enterpriseOptions.find((el) => el.key == item.kind)?.[
|
enterpriseOptions.find((el) => el.key === item.kind)?.[
|
||||||
locale
|
locale
|
||||||
] ?? t("webSearch.noData")
|
] ?? t("webSearch.noData")
|
||||||
}}</span>
|
}}</span>
|
||||||
@ -64,7 +64,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="keywords" style="flex: 1">
|
<div class="keywords" style="flex: 1">
|
||||||
<wordcloud
|
<wordcloud
|
||||||
:data="createdData(item.keyword.split(','))"
|
:data="createdData(item.keywords ?? [])"
|
||||||
></wordcloud>
|
></wordcloud>
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
Reference in New Issue
Block a user