|
@@ -22,13 +22,14 @@
|
|
|
{{ item.status ? '已启用' : '已禁用'}}
|
|
{{ item.status ? '已启用' : '已禁用'}}
|
|
|
</v-chip>
|
|
</v-chip>
|
|
|
</template>
|
|
</template>
|
|
|
- <!-- <template #tag="{ item }">
|
|
|
|
|
- <m-graph-drill
|
|
|
|
|
|
|
+ <template #tag="{ item }">
|
|
|
|
|
+ <!-- <m-graph-drill
|
|
|
:id="item.tag?.id"
|
|
:id="item.tag?.id"
|
|
|
:title="`${item.tag?.name_zh}血缘图谱`"
|
|
: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>
|
|
|
- <template #blood_count="{ item }">
|
|
|
|
|
|
|
+ <!-- <template #blood_count="{ item }">
|
|
|
<m-graph-drill
|
|
<m-graph-drill
|
|
|
:id="item.id"
|
|
:id="item.id"
|
|
|
:title="`${item.name_zh}血缘图谱`"
|
|
:title="`${item.name_zh}血缘图谱`"
|
|
@@ -61,10 +62,10 @@ export default {
|
|
|
headers: [
|
|
headers: [
|
|
|
{ text: '中文名', value: 'name_zh' },
|
|
{ text: '中文名', value: 'name_zh' },
|
|
|
{ text: '英文名', value: 'name_en' },
|
|
{ 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: 'blood_count', align: 'center' },
|
|
|
{ text: '创建时间', value: 'create_time' }
|
|
{ text: '创建时间', value: 'create_time' }
|
|
|
],
|
|
],
|