<template>
  <block-header title="检验项目信息">
    <div class="tables">
      <el-table
        :data="tableData"
        style="width: 100%"
        v-loading="loading"
        border
      >
        <el-table-column
          prop="id"
          header-align="center"
          label="序号"
          width="50"
        >
        </el-table-column>
        <el-table-column
          prop="dalei"
          header-align="center"
          width="80"
          label="检验大类"
        >
        </el-table-column>
        <el-table-column
          prop="project"
          width="90"
          header-align="center"
          label="检验项目"
        >
        </el-table-column>
        <el-table-column
          prop="guiding"
          header-align="center"
          label="标准规定"
        >
        </el-table-column>
        <el-table-column
          prop="jieguo"
          header-align="center"
          width="105"
          label="检验结果"
        >
        </el-table-column>
        <el-table-column
          prop="jielun"
          header-align="center"
          width="80"
          label="检验结论"
        >
        </el-table-column>
        <el-table-column
          prop="yiju"
          label="检验依据"
          header-align="center"
        >
        </el-table-column>
        <el-table-column
          prop="xuhao"
          label="检验序号"
          width="90"
          header-align="center"
        >
        </el-table-column>
        <el-table-column
          prop="leibie"
          label="报告类别"
          width="90"
          header-align="center"
        >
        </el-table-column>
        <el-table-column
          prop="bianhao"
          label="抽样编号"
          width="135"
          header-align="center"
        >
        </el-table-column>
        <el-table-column
          prop="name"
          label="药品通用名"
          header-align="center"
        >
        </el-table-column>
        <el-table-column
          prop="editdate"
          label="编辑时间"
          width="90"
          header-align="center"
        >
        </el-table-column>
        <el-table-column
          prop="update"
          label="更新时间"
          width="90"
          header-align="center"
        >
        </el-table-column>
      </el-table>
    </div>
    <div class="pagination">
      <span class="custom"
        >共{{ tableData.length }}条，显示{{
          0
        }}-{{ tableData.length }}条</span
      >
      <el-pagination
        background
        small
        @current-change="currentChange"
        @size-change="sizeChange"
        :current-page.sync="current"
        :page-size.sync="size"
        :page-sizes="[10, 15]"
        layout=" prev, pager, next, sizes, jumper"
        :total="tableData.length"
      >
      </el-pagination>
    </div>
  </block-header>
</template>
<script>
import blockHeader from "@/views/firmContent/components/blockHeader/index.vue"
export default {
  data() {
    return {
      tableData:[
        {
          id:1,
          dalei:'其他',
          project:'含量测定',
          guiding:'按无水物计算，每 1mg的效应不得少 于610红霉素单位',
          jieguo:'655单位',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'14',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:2,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'18',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:3,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'16',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:4,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'25',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:5,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'55',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:6,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'23',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:7,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'11',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:8,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'18',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:9,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'12',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },{
          id:10,
          dalei:'检查',
          project:'细菌内毒素',
          guiding:'应小于1.0EU/mg',
          jieguo:'小于1.0EU/mg',
          jielun:'符合规定',
          yiju:'《中国药典》 2015年版二部',
          xuhao:'15',
          leibie:'1',
          bianhao:'1221030412300001',
          name:'注射用乳糖酸 红霉素',
          editdate:'2021-04-23',
          update:'2021-04-23'
        },
      ],
      loading:false,
      current:1,
      size:10
    }
  },
  components:{blockHeader},
  methods:{
    currentChange(index){
      
    },
    sizeChange(index){
      
    },
  },
}
</script>
<style lang="scss" scoped>
@import "@/assets/styles/utils.scss";
.tables {
  .button {
    display: flex;
    justify-content: center;
  }
  .informant-btn {
    width: vw(44);
    height: vh(20);
    background: #e4effd;
    border: vw(1) solid #8cb9f8;
    border-radius: vw(4);
    line-height: vh(20);
    display: flex;
    justify-content: center;
    align-items: center;
    ::v-deep span {
      display: inline-block;
      color: #1e80eb;
      font-size: vw(14);
      font-family: Adobe Heiti Std;
      font-weight: normal;
    }
  }
  ::v-deep .el-table td {
    height: vh(60);
    padding: 0;
    font-size: vw(14);
    font-weight: 400;
    font-family: Source Han Sans CN;
    color: #292F38;
  }
  ::v-deep .el-table th {
    height: vh(40);
    padding: 0;
    font-size: vw(14);
    font-family: Source Han Sans CN;
    font-weight: bold;
    color: #292f38;
    line-height: vh(50);
  }
  ::v-deep .cell {
    text-align: center;
  }
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: vh(20);
  margin-top: vh(33);
  ::v-deep .el-pagination__jump {
    margin: 0;
  }
  ::v-deep .el-input--mini .el-input__inner {
    height: vw(28);
  }
  .custom {
    font-size: vw(14);
    font-family: Source Han Regular CN;
    font-weight: 400;
    color: #292f38;
    line-height: vh(28);
  }
}
</style>
