2019-07-02 08:21:51 +00:00
|
|
|
|
<template>
|
|
|
|
|
<a-drawer
|
|
|
|
|
title="域信息"
|
|
|
|
|
:maskClosable="false"
|
|
|
|
|
width=650
|
|
|
|
|
placement="right"
|
|
|
|
|
:closable="true"
|
|
|
|
|
@close="close"
|
|
|
|
|
:visible="domainInfoVisible"
|
|
|
|
|
style="height: calc(100% - 55px);overflow: auto;padding-bottom: 53px;">
|
2019-07-10 09:43:58 +00:00
|
|
|
|
<p><a-icon type="crown" /> 域名称:{{domainInfoData.name}}</p>
|
|
|
|
|
<p :title="domainInfoData.description"><a-icon type="book" /> 域描述:{{domainInfoData.description}}</p>
|
2019-07-02 08:21:51 +00:00
|
|
|
|
<p><a-icon type="clock-circle" /> 创建时间:{{domainInfoData.createTime}}</p>
|
|
|
|
|
<p><a-icon type="clock-circle" /> 修改时间:{{domainInfoData.modifyTime? domainInfoData.modifyTime : '暂未修改'}}</p>
|
|
|
|
|
</a-drawer>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: 'DomainInfo',
|
|
|
|
|
props: {
|
|
|
|
|
domainInfoVisible: {
|
|
|
|
|
require: true,
|
|
|
|
|
default: false
|
|
|
|
|
},
|
|
|
|
|
domainInfoData: {
|
|
|
|
|
require: true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data () {
|
|
|
|
|
return {
|
|
|
|
|
key: +new Date(),
|
|
|
|
|
loading: true,
|
|
|
|
|
checkedKeys: [],
|
|
|
|
|
menuTreeData: []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
close () {
|
|
|
|
|
this.$emit('close')
|
|
|
|
|
this.checkedKeys = []
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|