<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="从政务系统来的部门id" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.tid}}
                        </el-descriptions-item>
                        <el-descriptions-item label="从政务系统来的部门name" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.tname}}
                        </el-descriptions-item>
                        <el-descriptions-item label="部门名称" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.name}}
                        </el-descriptions-item>
                        <el-descriptions-item label="从政务系统来的别名" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.simpleName}}
                        </el-descriptions-item>
                        <el-descriptions-item label="部门简称" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.deptAbb}}
                        </el-descriptions-item>
                        <el-descriptions-item label="部门电话" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.deptTelphone}}
                        </el-descriptions-item>
                        <el-descriptions-item label="部门编号" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.deptNumber}}
                        </el-descriptions-item>
                        <el-descriptions-item label="填单机展示 " label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("isAutotable", form.isAutotable) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="预约展示 " label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("isOrder", form.isOrder) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="背靠背展示 " label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("isBkb", form.isBkb) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="办事指南展示 " label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("isWorkGuide", form.isWorkGuide) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="是否使用 " label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("usValid", form.usValid) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="部门电话是否展示 " label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("isSecphone", form.isSecphone) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="是否展示英文 " label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("isEnglish", form.isEnglish) }}
                        </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:[
                    "isAutotable",
                    "isOrder",
                    "isBkb",
                    "isWorkGuide",
                    "usValid",
                    "isSecphone",
                    "isEnglish",
                ],
                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>