This commit is contained in:
parent
f68cdedf87
commit
7cf190dff9
@ -19,6 +19,9 @@
|
|||||||
<template v-else-if="column.key === 'status'">
|
<template v-else-if="column.key === 'status'">
|
||||||
<a-tag :color="getStatusDict(record.status).color">{{getStatusDict(record.status).title}}</a-tag>
|
<a-tag :color="getStatusDict(record.status).color">{{getStatusDict(record.status).title}}</a-tag>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="column.key === 'online'">
|
||||||
|
<a-tag :color="record.online?'success':'red'">{{record.online ? '在线':'离线'}}</a-tag>
|
||||||
|
</template>
|
||||||
<template v-else-if="column.key === 'ticker'">
|
<template v-else-if="column.key === 'ticker'">
|
||||||
<span>{{record.config.ticker}}</span>
|
<span>{{record.config.ticker}}</span>
|
||||||
</template>
|
</template>
|
||||||
@ -228,13 +231,19 @@ const columns = [
|
|||||||
{
|
{
|
||||||
title: '抓取时间',
|
title: '抓取时间',
|
||||||
key: 'ticker',
|
key: 'ticker',
|
||||||
width: 250
|
width: 150
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
key: 'status',
|
key: 'status',
|
||||||
width: 250
|
width: 150
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '在线',
|
||||||
|
dataIndex: 'online',
|
||||||
|
key: 'online',
|
||||||
|
width: 150
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '备注',
|
title: '备注',
|
||||||
@ -244,6 +253,7 @@ const columns = [
|
|||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
key: 'opt',
|
key: 'opt',
|
||||||
|
width: 250
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -35,15 +35,15 @@ export default defineConfig({
|
|||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
'/api/v2/sellers': {
|
'/api/v2/sellers': {
|
||||||
target: 'http://localhost:8081/',
|
// target: 'http://localhost:8081/',
|
||||||
// target: 'https://ht.timerzz.com:20443/',
|
target: 'https://ht.timerzz.com:20443/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
'/api/v2/seller': {
|
'/api/v2/seller': {
|
||||||
target: 'http://localhost:8083/',
|
// target: 'http://localhost:8083/',
|
||||||
// target: 'https://ht.timerzz.com:20443/',
|
target: 'https://ht.timerzz.com:20443/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
ws: true,
|
ws: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user