<template>
  <div>
    <el-form :model="auditForm">
      <el-form-item label="违纪类型">
        <el-select v-model="auditForm.disciplineType" placeholder="请选择">
          <el-option
            v-for="item in disciplineTypeList"
            :key="item.name"
            :label="item.desc"
            :value="item.name"
          >
          </el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="详情描述">
        <el-input
          v-model="auditForm.disciplineDetail"
          type="textarea"
          :autosize="{ minRows: 6, maxRows: 10 }"
          placeholder="请输入内容"
        >
        </el-input>
      </el-form-item>
    </el-form>
    <slot></slot>
  </div>
</template>
<script>
import { DISCIPLINE_TYPE_LIST } from "../constants/constants";
export default {
  props: ["auditForm"],
  data() {
    return {
      disciplineTypeList: DISCIPLINE_TYPE_LIST
    };
  }
};
</script>
