|
|
@@ -23,17 +23,15 @@
|
|
|
<template v-if="column.key === 'updateAt'" >
|
|
|
{{dayjs(record.updateAt).format('YYYY/MM/DD HH:MM:ss')}}
|
|
|
</template>
|
|
|
+ <template v-if="column.key === 'transportType'" >
|
|
|
+ <a-tag >{{record.transportType}}</a-tag>
|
|
|
+ </template>
|
|
|
+ <template v-if="column.key === 'payloadType'" >
|
|
|
+ <a-tag color="blue">{{record.payloadType}}</a-tag>
|
|
|
+ </template>
|
|
|
<template v-if="column.key === 'action'" >
|
|
|
<a-space>
|
|
|
<a @click="goDetailPage(record.id)" >查看</a>
|
|
|
- <a-popconfirm
|
|
|
- title="确实要删除吗?"
|
|
|
- ok-text="确定"
|
|
|
- cancel-text="取消"
|
|
|
- @confirm="confirmDel(record.id)"
|
|
|
- >
|
|
|
- <a href="#">删除</a>
|
|
|
- </a-popconfirm>
|
|
|
</a-space>
|
|
|
</template>
|
|
|
</template>
|
|
|
@@ -82,10 +80,20 @@ const columns = [
|
|
|
key: 'id'
|
|
|
},
|
|
|
{
|
|
|
- title: '模型名称',
|
|
|
+ title: '名称',
|
|
|
dataIndex: 'templateLabel',
|
|
|
key: 'templateLabel'
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '传输协议',
|
|
|
+ dataIndex: 'transportType',
|
|
|
+ key: 'transportType'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '数据格式',
|
|
|
+ dataIndex: 'payloadType',
|
|
|
+ key: 'payloadType'
|
|
|
+ },
|
|
|
{
|
|
|
title: '创建时间',
|
|
|
dataIndex: 'createAt',
|