|
@@ -11,6 +11,11 @@
|
|
id: 6,
|
|
id: 6,
|
|
name: '非遗项目',
|
|
name: '非遗项目',
|
|
visible: true,
|
|
visible: true,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id: 7,
|
|
|
|
+ name: '传习所',
|
|
|
|
+ visible: true,
|
|
}
|
|
}
|
|
]"
|
|
]"
|
|
:showHead="false"
|
|
:showHead="false"
|
|
@@ -33,6 +38,19 @@
|
|
}"
|
|
}"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template v-else-if="tabCurrentId==6">
|
|
|
|
+ <!-- 传习所 -->
|
|
|
|
+ <CommonListPage
|
|
|
|
+ :showSearch="false"
|
|
|
|
+ :hasBg="false"
|
|
|
|
+ :load="(page: number, pageSize: number) => loadSubList(page, pageSize, content, 'ichSitesList')"
|
|
|
|
+ detailsPage="/pages/inhert/intangible/details"
|
|
|
|
+ :detailsParams="{
|
|
|
|
+ mainBodyColumnId: SeminarContent.mainBodyColumnId,
|
|
|
|
+ modelId: SeminarContent.modelId,
|
|
|
|
+ }"
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
</template>
|
|
</template>
|
|
<template #title="{ content }">
|
|
<template #title="{ content }">
|
|
<view class="d-flex flex-col">
|
|
<view class="d-flex flex-col">
|
|
@@ -86,7 +104,7 @@
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '传承人级别',
|
|
label: '传承人级别',
|
|
- value: content.levelLext || '暂无',
|
|
|
|
|
|
+ value: content.levelText || '暂无',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '公布批次',
|
|
label: '公布批次',
|
|
@@ -102,6 +120,7 @@ import type { TabControlItem } from "@/common/composeabe/TabControl";
|
|
import type { Ref } from "vue";
|
|
import type { Ref } from "vue";
|
|
import RoundTags from "@/pages/parts/RoundTags.vue";
|
|
import RoundTags from "@/pages/parts/RoundTags.vue";
|
|
import commonParserStyle from "@/common/style/commonParserStyle";
|
|
import commonParserStyle from "@/common/style/commonParserStyle";
|
|
|
|
+import SeminarContent from "@/api/inheritor/SeminarContent";
|
|
import InheritorContent from "@/api/inheritor/InheritorContent";
|
|
import InheritorContent from "@/api/inheritor/InheritorContent";
|
|
import ProjectsContent from "@/api/inheritor/ProjectsContent";
|
|
import ProjectsContent from "@/api/inheritor/ProjectsContent";
|
|
import IntroBlock from "@/pages/article/common/IntroBlock.vue";
|
|
import IntroBlock from "@/pages/article/common/IntroBlock.vue";
|
|
@@ -112,6 +131,7 @@ async function load(id: number, tabsArray: Ref<TabControlItem[]>) {
|
|
const d = await InheritorContent.getContentDetail(id);
|
|
const d = await InheritorContent.getContentDetail(id);
|
|
tabsArray.value[4].visible = Boolean(d.prize);
|
|
tabsArray.value[4].visible = Boolean(d.prize);
|
|
tabsArray.value[5].visible = Boolean(d.associationMeList && d.associationMeList.length > 0);
|
|
tabsArray.value[5].visible = Boolean(d.associationMeList && d.associationMeList.length > 0);
|
|
|
|
+ tabsArray.value[6].visible = Boolean(d.ichSitesList && (d.ichSitesList as any[]).length > 0);
|
|
return d;
|
|
return d;
|
|
}
|
|
}
|
|
async function loadSubList(page: number, pageSize: number, content: any, subList: string) {
|
|
async function loadSubList(page: number, pageSize: number, content: any, subList: string) {
|