<template>
    <layout-view>
        <el-descriptions  :title="title" :column="column" :size="size" :colon="false" border>
            <template slot="title">
                <i class="el-icon-tickets"></i>
                基本详细信息
            </template>
            <template slot="extra">
                <el-button type="primary" @click="$router.go(-1)" size="small">返回</el-button>
            </template>
                                    <el-descriptions-item label="私钥地址" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.licensePriPath}}
                        </el-descriptions-item>
                        <el-descriptions-item label="公钥" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.licensePubPath}}
                        </el-descriptions-item>
                        <el-descriptions-item label="许可证密钥或代码" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.licenseKeyPath}}
                        </el-descriptions-item>
                        <el-descriptions-item label="许可证编码，如服务器mac地址" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.licenseCode}}
                        </el-descriptions-item>
                        <el-descriptions-item label="许可证颁发日期" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatterDate(form.startTime)}}
                        </el-descriptions-item>
                        <el-descriptions-item label="许可证过期日期" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatterDate(form.endTime)}}
                        </el-descriptions-item>
                        <el-descriptions-item label="许可证状态" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("licenseStatus", form.licenseStatus) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="备注" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.remark}}
                        </el-descriptions-item>
                        <el-descriptions-item label="项目名称" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.name}}
                        </el-descriptions-item>
        </el-descriptions>

    </layout-view>
</template>

<script>
    import view from "@/assets/mixins/view";
    export default {
        mixins: [view],
        components: {
        },
        methods: {

        },
        data() {
            return {
                size:"small",
                column:2,
                toString:[
                ],
                toArrays: [

                ],
                toDate: [

                ]
            }
        }
    }
</script>
<style lang="less">
    .labelClass{
        width: 200px;
    }
    .el-descriptions__body{
        margin-left: 5px;
        margin-right: 5px;
        color: #606266;
        background-color: #FFF;
    }
    .contentClass{
        width: 600px;
    }
</style>