<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.ownerId}}
                        </el-descriptions-item>
                        <el-descriptions-item label="负责人名称" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.ownerName}}
                        </el-descriptions-item>
                        <el-descriptions-item label="窗口工作人员id号" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.staffId}}
                        </el-descriptions-item>
                        <el-descriptions-item label="请假类型" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("assessmentType", form.assessmentType) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="考核范围" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("assessmentScope", form.assessmentScope) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="考比较类型" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("compareScope", form.compareScope) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="比例" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.ratio}}
                        </el-descriptions-item>
                        <el-descriptions-item label="周期类型" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("periodType", form.periodType) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="年" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.year}}
                        </el-descriptions-item>
                        <el-descriptions-item label="月" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.month}}
                        </el-descriptions-item>
                        <el-descriptions-item label="半年类型" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("halfYear", form.halfYear) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="半年类型" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("halfYear", form.halfYear) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="季度类型" label-class-name="labelClass" content-class-name="contentClass">
                            {{ util_formatters("quarter", form.quarter) }}
                        </el-descriptions-item>
                        <el-descriptions-item label="负责人，多个逗号分割" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.leaders}}
                        </el-descriptions-item>
                        <el-descriptions-item label="负责人电话，多个逗号分割" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.leaderMobiles}}
                        </el-descriptions-item>
                        <el-descriptions-item label="备注" label-class-name="labelClass" content-class-name="contentClass">
                            {{form.remark}}
                        </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:[
                    "assessmentType",
                    "assessmentScope",
                    "compareScope",
                    "periodType",
                    "month",
                    "halfYear",
                    "halfYear",
                    "quarter",
                ],
                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>