<template>
  <div class="app-container">
    <h3 class="toolbar">
      <span class="title">列表</span>
      <div class="tool">
        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleUpload">一键上传</el-button>
        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleDownload">批量下载</el-button>
        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleBatchDelte">批量删除</el-button>
      </div>
    </h3>
    <el-table v-loading="loading" :data="list" border>
      <el-table-column label="项目编号" prop="projectNo" width="120" align="center" />
      <el-table-column label="项目名称" prop="projectName" align="center" width="120"></el-table-column>
      <el-table-column label="企业名称" prop="entName" align="center" width="120"/>
      <el-table-column label="社会信用代码" prop="license" align="center" width="120" />
      <el-table-column label="项目年份" prop="projectYear" align="center" width="120" />
      <el-table-column label="项目跨年" prop="overYearFlag" align="center" width="120"></el-table-column>
      <el-table-column label="创建时间" align="center" prop="createTime" width="160"></el-table-column>
      <el-table-column label="留存备查时间" prop="linkMobile" align="center" width="120"></el-table-column>
      <el-table-column label="资料完善度" prop="linkEmail" align="center" width="120"></el-table-column>
      <el-table-column label="负责状态" prop="createTime" align="center" width="160"></el-table-column>
      <el-table-column label="项目状态" align="center" width="120">
      </el-table-column>
      <el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button type="text" @click="handleView(scope.row)">查看</el-button>
          <el-button type="text" @click="handleEdit(scope.row)">编辑</el-button>
          <el-button type="text" @click="handleDownload(scope.row)">下载</el-button>
          <el-button type="text" @click="handleDelete(scope.row)">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"/>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        total: 0,
        list: [],
        loading: false,
        queryParams: {
          pageNum: 1,
          pageSize: 10
        }
      };
    },
    created() {

    },
    methods: {
      handleUpload() {

      },
      handleDownload() {

      },
      handleBatchDelte() {

      },
      handleView() {

      },
      handleEdit() {

      },
      handleDelete() {

      },
      getList() {
        
      }
    }
  };
  </script>

</script>

<style>
</style>
