|
|
@@ -23,18 +23,19 @@
|
|
|
</v-chip>
|
|
|
</template>
|
|
|
<template #tag="{ item }">
|
|
|
- <m-graph-drill
|
|
|
+ <!-- <m-graph-drill
|
|
|
:id="item.tag?.id"
|
|
|
:title="`${item.tag?.name_zh}血缘图谱`"
|
|
|
- >{{ item.tag?.name_zh }}</m-graph-drill>
|
|
|
+ >{{ item.tag?.name_zh }}</m-graph-drill> -->
|
|
|
+ {{ item.tag.map(e => e.name_zh).join(',') }}
|
|
|
</template>
|
|
|
- <template #blood_count="{ item }">
|
|
|
+ <!-- <template #blood_count="{ item }">
|
|
|
<m-graph-drill
|
|
|
:id="item.id"
|
|
|
:title="`${item.name_zh}血缘图谱`"
|
|
|
:to-api="api.getMetaDataGraph"
|
|
|
>{{ item.blood_count }}</m-graph-drill>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<template v-slot:name_zh = "{item}">
|
|
|
<span class="defaultLink" @click="toDetail(item)">{{ item.name_zh }}</span>
|
|
|
</template>
|
|
|
@@ -46,10 +47,14 @@
|
|
|
import FilterList from '../../dataGovernance/components/Filter'
|
|
|
import TableList from '@/components/List/table'
|
|
|
import { api } from '@/api/dataGovernance'
|
|
|
-import MGraphDrill from '../components/mGraphDrill'
|
|
|
+// import MGraphDrill from '../components/mGraphDrill'
|
|
|
export default {
|
|
|
name: 'meta-data',
|
|
|
- components: { FilterList, TableList, MGraphDrill },
|
|
|
+ components: {
|
|
|
+ FilterList,
|
|
|
+ TableList
|
|
|
+ // MGraphDrill
|
|
|
+ },
|
|
|
data () {
|
|
|
return {
|
|
|
api,
|
|
|
@@ -57,10 +62,10 @@ export default {
|
|
|
headers: [
|
|
|
{ text: '中文名', value: 'name_zh' },
|
|
|
{ text: '英文名', value: 'name_en' },
|
|
|
- { text: '分类', value: 'category' },
|
|
|
- { text: '描述', value: 'describe' },
|
|
|
- { text: '标签', value: 'tag' },
|
|
|
- { text: '状态', value: 'status' },
|
|
|
+ { text: '分类', value: 'category', sortable: false },
|
|
|
+ { text: '描述', value: 'describe', sortable: false },
|
|
|
+ { text: '标签', value: 'tag', sortable: false },
|
|
|
+ { text: '状态', value: 'status', sortable: false },
|
|
|
{ text: '血缘关系数量', value: 'blood_count', align: 'center' },
|
|
|
{ text: '创建时间', value: 'create_time' }
|
|
|
],
|