改造文章管理系统
This commit is contained in:
@@ -47,14 +47,16 @@
|
||||
<a-tag v-if="record.version === 30">永久授权</a-tag>
|
||||
</template>
|
||||
<template v-if="column.key === 'status'">
|
||||
<a-tag v-if="record.status === 0" color="green">正常</a-tag>
|
||||
<a-tag v-if="record.status === 1" color="red">已过期</a-tag>
|
||||
<a-tag v-if="record.status === 0" color="red">未开通</a-tag>
|
||||
<a-tag v-if="record.status === 1" color="green">运行中</a-tag>
|
||||
<a-tag v-if="record.status === 2" color="orange">维护中</a-tag>
|
||||
<a-tag v-if="record.status === 3" color="red">已关闭</a-tag>
|
||||
<a-tag v-if="record.status === 4" color="red">已欠费停机</a-tag>
|
||||
<a-tag v-if="record.status === 5" color="red">违规关停</a-tag>
|
||||
</template>
|
||||
<template v-if="column.key === 'action'">
|
||||
<a-space>
|
||||
<a @click="openUrl(`${record.prefix}${record.domain}`)">首页</a>
|
||||
<a-divider type="vertical" />
|
||||
<a @click="openUrl(record.adminUrl)">后台</a>
|
||||
<a @click="openEdit(record)">编辑</a>
|
||||
</a-space>
|
||||
</template>
|
||||
</template>
|
||||
@@ -138,7 +140,7 @@
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: '主域名',
|
||||
title: '域名',
|
||||
dataIndex: 'domain',
|
||||
key: 'domain',
|
||||
align: 'center'
|
||||
|
||||
Reference in New Issue
Block a user