<template>
  <div>
    <el-card>
      <div class="filter">
        <el-button type="primary" @click="DialogVisible = true">新增</el-button>
      </div>
      <el-table :data="modelList" border style="width: 100%">
        <el-table-column prop="id" label="序号" width="80px"></el-table-column>
        <el-table-column prop="name" label="模块名称" width="200px"></el-table-column>
        <el-table-column prop="description" label="所属项目" width="300px"></el-table-column>
        <el-table-column prop="createTime" label="域名" width="200px"></el-table-column>
        <el-table-column prop="updateTime" label="描述" width="200px"></el-table-column>
        <el-table-column prop="updateTime" label="创建时间" width="200px"></el-table-column>
        <el-table-column prop="updateTime" label="修改时间" width="200px"></el-table-column>
        <el-table-column label="操作">
          <slot slot-scope="scope">
            <el-button type="success" @click="openEditDialog(scope.row)">编辑</el-button>
            <el-button type="danger" @click="delProjectFrom(scope.row)">删除</el-button>
          </slot>
        </el-table-column>
      </el-table>
      <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="queryModuleList.pageNum" :page-size="queryModuleList.pageSize" layout="total, prev, pager, next"
        :total="totalNum">
      </el-pagination>
    </el-card>
  </div>
</template>

<script>
export default {

}
</script>
