|
@@ -39,7 +39,7 @@
|
|
|
<CommonListBlock
|
|
|
:showTotal="true"
|
|
|
:showSearch="false"
|
|
|
- :load="(page: number, pageSize: number) => loadSubList(page, pageSize, content, 'associationMeList')"
|
|
|
+ :load="(page: number, pageSize: number) => loadSubList(page, pageSize, content, 'worksMeList')"
|
|
|
detailsPage="/inheritor/intangible-detail"
|
|
|
:detailsParams="{
|
|
|
mainBodyColumnId: ProjectsContent.mainBodyColumnId,
|
|
@@ -73,6 +73,19 @@
|
|
|
}"
|
|
|
/>
|
|
|
</template>
|
|
|
+ <template v-if="currentTabId==6">
|
|
|
+ <!-- 相关非遗 -->
|
|
|
+ <CommonListBlock
|
|
|
+ :showTotal="true"
|
|
|
+ :showSearch="false"
|
|
|
+ :load="(page: number, pageSize: number) => loadSubList(page, pageSize, content, 'associationMeList')"
|
|
|
+ detailsPage="/inheritor/intangible-detail"
|
|
|
+ :detailsParams="{
|
|
|
+ mainBodyColumnId: ProjectsContent.mainBodyColumnId,
|
|
|
+ modelId: ProjectsContent.modelId,
|
|
|
+ }"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</TabDetailView>
|
|
|
</template>
|
|
@@ -128,9 +141,10 @@ async function loadData(id: number) {
|
|
|
{ id: 1, text: '相册', visible: d.images.length > 0 },
|
|
|
{ id: 2, text: '音频', visible: Boolean(d.audio) },
|
|
|
{ id: 3, text: '视频', visible: Boolean(d.video) },
|
|
|
- { id: 4, text: '相关非遗', visible: Boolean(d.associationMeList && (d.associationMeList as any[]).length > 0) },
|
|
|
+ { id: 4, text: '非遗作品', visible: Boolean(d.worksList && (d.worksList as any[]).length > 0) },
|
|
|
{ id: 5, text: '非遗传习中心', visible: Boolean(d.ichSitesList && (d.ichSitesList as any[]).length > 0) },
|
|
|
{ id: 6, text: '非遗传承人', visible: Boolean(d.inheritorsList && (d.inheritorsList as any[]).length > 0) },
|
|
|
+ { id: 7, text: '相关非遗', visible: Boolean(d.associationMeList && (d.associationMeList as any[]).length > 0) },
|
|
|
]
|
|
|
};
|
|
|
return d;
|