新增:批量删除菜单功能和复制菜单功能

This commit is contained in:
2024-09-01 01:59:07 +08:00
parent 41ad9a474e
commit bf43bdbab4
22 changed files with 1314 additions and 87 deletions
+12 -3
View File
@@ -23,7 +23,6 @@
<template v-if="column.key === 'domain'">
<a
v-if="record.status == 1"
class="ele-text-success"
@click="openUrl(`https://${record.domain}`)"
>{{ record.domain }}</a
>
@@ -34,6 +33,10 @@
</a-space>
</span>
</template>
<template v-if="column.key === 'type'">
<a-tag color="orange" v-if="record.type === 1">系统</a-tag>
<a-tag v-if="record.type === 0">自定义</a-tag>
</template>
<template v-if="column.key === 'hostName'">
<span class="ele-text-placeholder">{{ record.hostName }}</span>
</template>
@@ -54,10 +57,10 @@
@click="openEdit(record)"
>验证中</a-tag
>
<a-tag v-if="record.status === 1" color="green">绑定成功</a-tag>
<a-tag v-if="record.status === 1" color="green">已生效</a-tag>
</template>
<template v-if="column.key === 'action'">
<a-space>
<a-space v-if="record.type === 0">
<a-button @click="openEdit(record)" size="small">管理</a-button>
<a-popconfirm
title="确定要删除此域名吗?"
@@ -137,6 +140,12 @@
width: 240,
key: 'domain'
},
{
title: '类型',
dataIndex: 'type',
align: 'center',
key: 'type'
},
{
title: '主机记录',
dataIndex: 'hostName',