<template>
  <el-card class="box-card" style="margin-left: 0px">
    <div slot="header" class="clearfix">
      <span>办结业务</span>
      <el-button style="float: right; padding: 3px 0;color: #202020;" type="text" @click="more">更多</el-button>
    </div>
  <el-table class="body" :data="doneList" :header-cell-style="{background:'#eee',width:'100%'}">
        <el-table-column type="index" label="序号" width="50" align="center"></el-table-column>
        <el-table-column prop="fwtitle" label="业务名称"  align="left"></el-table-column>
        <el-table-column prop="createtime" label="完成时间" width="180" align="center"></el-table-column>
 </el-table>
 </el-card>
</template>

<script>
 export default {
      data() {
        return {
          doneList: [],
          raddarParams: {
            pageNum: 1,
            pageSize: 5,
            // orderByColumn: "createtime",
            // isAsc:"desc",//排序方式
          },
        }
      },
   methods:{
     getList() {
       this.loading = true;
       havedInfo(this.raddarParams).then(response => {
         this.doneList = response.rows;
         this.loading = false;
       });
     },
     more(){
       this.$router.replace('/havedone')
     },
   }
    }
</script>
<style lang="less" scoped>
  .clearfix{
    color:#1890ff;
  }
  .el-card__header{
    background: #f5f5f5;
  }
  .body{
    height: 319px;
  }
  .el-card__body {
    padding: 15px 20px 20px 20px;
    height: 354px;
  }

</style>
