secgateway/ControlPlatform/web/src/views/system/domain/DomainInfo.vue

45 lines
1.1 KiB
Vue
Raw Normal View History

<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;">
<p><a-icon type="crown" />&nbsp;&nbsp;域名称{{domainInfoData.name}}</p>
<p :title="domainInfoData.description"><a-icon type="book" />&nbsp;&nbsp;域描述{{domainInfoData.description}}</p>
<p><a-icon type="clock-circle" />&nbsp;&nbsp;创建时间{{domainInfoData.createTime}}</p>
<p><a-icon type="clock-circle" />&nbsp;&nbsp;修改时间{{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>