<template>
  <div>
    <div class="normal-margin">
      <el-descriptions :column="2" labelClassName="my-label" contentClassName="my-content" border>
        <div slot="title" class="my-label__title">基本信息</div>
        <el-descriptions-item  label="编号">{{ detailData.hrcode?detailData.hrcode:"--" }}</el-descriptions-item>
        <el-descriptions-item label="业务员">{{ detailData.name?detailData.name:"--" }}</el-descriptions-item>
        <el-descriptions-item label="登录账号">{{ detailData.accountno?detailData.accountno:"--"}}</el-descriptions-item>
        <el-descriptions-item label="部门">{{ detailData.depname?detailData.depname:"--"}}</el-descriptions-item>
        <el-descriptions-item label="手机号">{{ detailData.phonenumber?detailData.phonenumber:"--" }}</el-descriptions-item>
        <el-descriptions-item label="邮箱">{{ detailData.email?detailData.email:"--" }}</el-descriptions-item>
        <el-descriptions-item label="负责区域">{{ detailData.areaname?detailData.areaname:"--" }}</el-descriptions-item>
        <el-descriptions-item label="汇报对象">{{ detailData.reporthrname?detailData.reporthrname:"--" }}</el-descriptions-item>
        <el-descriptions-item label="最低授权折扣(%)" >{{ detailData.discountrate?Math.round((detailData.discountrate*100)*100)/100:"--" }}</el-descriptions-item>
      </el-descriptions>
    </div>

    <div>
      <el-descriptions :column="2" labelClassName="my-label" contentClassName="my-content" border>
        <div slot="title" class="my-label__title">系统信息</div>
        <el-descriptions-item label="创建人">{{ detailData.createby?detailData.createby:"--" }}</el-descriptions-item>
        <el-descriptions-item label="创建时间">{{ detailData.createdate?detailData.createdate:"--" }}</el-descriptions-item>
        <el-descriptions-item label="最近编辑人">{{ detailData.changeby?detailData.changeby:"--" }}</el-descriptions-item>
        <el-descriptions-item label="最近编辑时间">{{ detailData.changedate?detailData.changedate:"--" }}</el-descriptions-item>
      </el-descriptions>
    </div>
  </div>
</template>

<script>
export default {
  name: "detailedData",
  props:["detailData"],
  data(){
    return {

    }
  },
  mounted() {
    /*this.basicData(this.data)
    this.systemData(this.data)*/
  },
  methods:{
  }
}
</script>

<style scoped>

</style>