<template>
  <div class="detail-container">
    <el-form
      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="detailData.xm" />
      </el-form-item>
      <el-form-item label="岗位:">
        <el-input disabled v-model="detailData.gw" />
      </el-form-item>
      <el-form-item label="手机号码:">
        <el-input disabled v-model="detailData.sjhm" />
      </el-form-item>
      <el-form-item label="人员角色:">
        <el-input disabled :value="detailData.ryjs === 1 ? '管理员' : '普通用户'" />
      </el-form-item>
      <el-form-item label="创建时间:">
        <el-input disabled v-model="detailData.cjsj" />
      </el-form-item>
    </el-form>
  </div>
</template>

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

<style>
</style>