<template>
    <!-- 指标详情模态框 -->
    <el-dialog :title="title" :visible.sync="openDetail" append-to-body>
        <el-form ref="form" :model="form" :rules="rules" label-width="80px">
            <el-form-item label-width="100px" label="指标分类编号">
                <el-input v-model="form.code"></el-input>
            </el-form-item>
            <el-form-item label-width="100px" label="指标分类名称">
                <el-input v-model="form.name"></el-input>
            </el-form-item>
            <el-form-item label-width="100px" label="备注">
                <el-input type="textarea" v-model="form.remark"></el-input>
            </el-form-item>
            <el-form-item label-width="100px" prop="status" label="状态">
                <el-radio-group v-model="form.status">
                    <el-radio label="1">启用</el-radio>
                    <el-radio label="0">不启用</el-radio>
                </el-radio-group>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="primary" @click="submitForm">确 定</el-button>
            <el-button @click="cancel">取 消</el-button>
        </div>
    </el-dialog>
</template>

<script>
export default
</script>

<style lang="scss"></style>