|
|
@@ -116,15 +116,17 @@
|
|
|
<a-list-item-meta :title="record.company" :description="record.description" />
|
|
|
</template>
|
|
|
<template #daily_income_limit="{ record }">
|
|
|
- <a-tag bordered :color="record.current_amt > record.daily_income_limit &&
|
|
|
- record.daily_income_limit > 0
|
|
|
- ? 'red'
|
|
|
- : ''
|
|
|
- ">
|
|
|
+ <a-tag bordered
|
|
|
+ :color="record.current_amt > record.daily_income_limit && record.daily_income_limit > 0 ? 'red' : ''">
|
|
|
{{ record.current_amt }} /
|
|
|
{{ record.daily_income_limit }}
|
|
|
</a-tag>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template #nodeName="{ record }">
|
|
|
+ <a-tag color="gray">{{ record.end_point }} - {{ record.nodeName }} </a-tag>
|
|
|
+ </template>
|
|
|
+
|
|
|
<template #status="{ record }">
|
|
|
<a-tag v-if="record.status" bordered color="green" @click="changeStatus(record.id, false)">
|
|
|
<template #icon>
|
|
|
@@ -142,7 +144,7 @@
|
|
|
<template #actions="{ record }">
|
|
|
<div style="margin:5px 5px 0 0;">
|
|
|
<a-tag v-if="record.enable_parse" size="mini" bordered color="red"
|
|
|
- @click="changeStatus(record.id, 'enable_parse', false)">
|
|
|
+ @click="changeAttr(record.id, 'enable_parse', false)">
|
|
|
<template #icon>
|
|
|
<icon-check />
|
|
|
</template>
|
|
|
@@ -284,7 +286,6 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
},
|
|
|
{
|
|
|
title: '每日收益限额',
|
|
|
- dataIndex: 'daily_income_limit',
|
|
|
slotName: 'daily_income_limit',
|
|
|
width: 180,
|
|
|
},
|
|
|
@@ -295,7 +296,7 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
},
|
|
|
{
|
|
|
title: '运行节点',
|
|
|
- dataIndex: 'nodeName',
|
|
|
+ slotName: 'nodeName',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|