|
@@ -127,6 +127,16 @@
|
|
|
<a-tag color="gray">{{ record.end_point }} - {{ record.nodeName }} </a-tag>
|
|
<a-tag color="gray">{{ record.end_point }} - {{ record.nodeName }} </a-tag>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+ <template #suspended_endpoint="{ record }">
|
|
|
|
|
+ <a-tag v-if="record.suspended_endpoint" size="small" bordered color="red"
|
|
|
|
|
+ @click="changeAttr(record.id, 'check_status', true)">
|
|
|
|
|
+ 暂停:{{ record.suspended_endpoint }}</a-tag>
|
|
|
|
|
+
|
|
|
|
|
+ <a-tag v-else size="small" bordered color="gray"
|
|
|
|
|
+ @click="changeAttr(record.id, 'check_status', true)">
|
|
|
|
|
+ 正常</a-tag>
|
|
|
|
|
+
|
|
|
|
|
+ </template>
|
|
|
<template #status="{ record }">
|
|
<template #status="{ record }">
|
|
|
<a-tag v-if="record.status" bordered color="green" @click="changeStatus(record.id, false)">
|
|
<a-tag v-if="record.status" bordered color="green" @click="changeStatus(record.id, false)">
|
|
|
<template #icon>
|
|
<template #icon>
|
|
@@ -178,14 +188,26 @@
|
|
|
</a-tag>
|
|
</a-tag>
|
|
|
</span>
|
|
</span>
|
|
|
|
|
|
|
|
- <a-tag v-if="record.enable_promotionQuery" size="small" bordered color="orangered"
|
|
|
|
|
- @click="changeAttr(record.id, 'enable_promotionQuery', false)">
|
|
|
|
|
- 搜同款
|
|
|
|
|
|
|
+ <span style="margin:0 5px;">
|
|
|
|
|
+ <a-tag v-if="record.enable_promotionQuery" size="small" bordered color="orangered"
|
|
|
|
|
+ @click="changeAttr(record.id, 'enable_promotionQuery', false)">
|
|
|
|
|
+ 搜同款
|
|
|
|
|
+ </a-tag>
|
|
|
|
|
+ <a-tag v-else size="small" bordered color="gray"
|
|
|
|
|
+ @click="changeAttr(record.id, 'enable_promotionQuery', true)">
|
|
|
|
|
+ 搜同款
|
|
|
|
|
+ </a-tag>
|
|
|
|
|
+ </span>
|
|
|
|
|
+
|
|
|
|
|
+ <a-tag v-if="record.enable_deep_url" size="small" bordered color="blue"
|
|
|
|
|
+ @click="changeAttr(record.id, 'enable_deep_url', false)">
|
|
|
|
|
+ 下探网址
|
|
|
</a-tag>
|
|
</a-tag>
|
|
|
<a-tag v-else size="small" bordered color="gray"
|
|
<a-tag v-else size="small" bordered color="gray"
|
|
|
- @click="changeAttr(record.id, 'enable_promotionQuery', true)">
|
|
|
|
|
- 搜同款
|
|
|
|
|
|
|
+ @click="changeAttr(record.id, 'enable_deep_url', true)">
|
|
|
|
|
+ 下探网址
|
|
|
</a-tag>
|
|
</a-tag>
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
<template #time="{ record }">
|
|
<template #time="{ record }">
|
|
|
<div style="color:gray;">
|
|
<div style="color:gray;">
|
|
@@ -317,6 +339,11 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
slotName: 'nodeName',
|
|
slotName: 'nodeName',
|
|
|
width: 120,
|
|
width: 120,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '挂起节点',
|
|
|
|
|
+ slotName: 'suspended_endpoint',
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
title: '状态',
|
|
title: '状态',
|
|
|
slotName: 'status',
|
|
slotName: 'status',
|
|
@@ -325,7 +352,7 @@ const columns = computed<TableColumnData[]>(() => [
|
|
|
{
|
|
{
|
|
|
title: '分类',
|
|
title: '分类',
|
|
|
slotName: 'actions',
|
|
slotName: 'actions',
|
|
|
- width: 330,
|
|
|
|
|
|
|
+ width: 400,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|