<template>
  <div>
    <el-dialog title="借阅详情" :visible.sync="detailVisible">
      <span class="dialog-right-top" />
      <span class="dialog-left-bottom" />
      <div class="setting-dialog">
        <div class="dpflex">
          <p class="left"><span class="color-blue">借阅人:</span><span class="color-white">{{ rowData.borrowerName }}</span></p>
          <p class="center"><span class="color-blue">所属部门:</span><span class="color-white">{{ rowData.borrowerDepartment }}</span></p>
          <p class="right no-lend"><span class="color-blue">借阅状态:</span><span class="cell-lend">待借阅</span></p>
        </div>
        <div class="dpflex">
          <p class="left"><span class="color-blue">证件类型:</span><span class="color-white">{{ rowData.borrowerIdType }}</span></p>
          <p class="center"><span class="color-blue">证件号码:</span><span class="color-white">{{ rowData.borrowerIdNum }}</span></p>
          <p class="right"><span class="color-blue">电话号码:</span><span class="color-white">{{ rowData.borrowerTel }}</span></p>
        </div>
        <div class="dpflex">
          <p class="left"><span class="color-blue">借阅目的:</span><span class="color-white">{{ rowData.borrowGoal }}</span></p>
          <p class="center"><span class="color-blue">借阅日期:</span><span class="color-white">{{ rowData.borrowDays }}</span></p>
          <p class="right"><span class="color-blue">操作时间:</span><span class="color-white">{{ rowData.operationTime }}</span></p>
        </div>
      </div>
      <el-table :data="tableData" style="margin-top:15px">
        <el-table-column type="index" label="序号" align="center" width="55" />
        <el-table-column prop="categoryName" label="所属门类" min-width="100" />
        <el-table-column prop="titleName" label="题名" min-width="140" />
        <el-table-column prop="archivesID" label="档号" min-width="130" />
        <el-table-column prop="fieldName" label="盒名称" min-width="80" />
        <el-table-column prop="storagePath" label="存放位置" min-width="140" />
      </el-table>
    </el-dialog>
  </div>
</template>

<script>
export default {
  data() {
    return {
      detailVisible: false,
      rowData: {},
      tableData: []
    }
  }
}
</script>

<style lang="scss" scoped>
@import '~@/assets/styles/lend-manage.scss';
::v-deep .el-dialog__body{
  padding: 60px 40px 80px 40px;
}
::v-deep .el-dialog{
  width: 1200px;
}
::v-deep .el-dialog .el-dialog__header .el-dialog__close::before{
    position: absolute;
    right: -283px;
    bottom: -10px;
}
p{
  display: flex;
  height: 40px;
  align-items: center;
  .color-blue{
    color: #3A99FD;
    width: 70px;
    height: 19px;
    text-align: right;
  }
  .color-white{
    color: white;
    padding: 0 0 0 20px;
  }
}
.dpflex{
  display: flex;
  .left{
    flex: 1;
  }
  .center{
    flex:1;
  }
  .right{
    flex: 1;
    .cell-lend{
      margin-left: 20px;
      width: 76px;
    }
  }
}

</style>
