<template>
  <div class="detail-container">
    <el-form
      ref="formRef"
      label-position="right"
      label-width="150px"
      style="max-height: 60vh; overflow-y: auto; padding-right: 50px"
    >
      <el-form-item label="人员名称:">
        <el-input disabled v-model="form.xm" />
      </el-form-item>
      <el-form-item label="岗位:">
        <el-input v-model="form.gw" />
      </el-form-item>
      <el-form-item label="手机号码:">
        <el-input disabled v-model="form.sjhm" />
      </el-form-item>
      <el-form-item label="人员角色:" prop="ryjs">
        <el-select v-model="form.ryjs" placeholder="请选择角色">
          <el-option label="负责人" :value="1" />
          <el-option label="普通工作人员" :value="2" />
        </el-select>
      </el-form-item>
      <el-form-item label="创建时间:">
        <el-input disabled v-model="form.cjsj" />
      </el-form-item>
    </el-form>
  </div>
</template>
  
  <script setup>
import { ref } from "vue";
const formRef = ref(null);
defineExpose({ formRef });

const props = defineProps({
  form: {
    type: Object,
    default: () => ({}),
  },
  form: {
    type: Object,
    default: () => ({}),
  },
});
</script>
  
  <style>
</style>