<template>
  <div class="app-container">
    <div class="Pd20">
      <span style="font-size: 20px">全部算法</span>
      <el-table
        :data="tableList"
        style="width: 100%; margin-top: 20px"
        empty-text
      >
        <el-table-column
          prop="name"
          align="center"
          label="算法ID"
        ></el-table-column>
        <el-table-column
          prop="address"
          align="center"
          label="算法版本"
        ></el-table-column>
        <el-table-column
          prop="videoAdress"
          label="算法名称"
          align="center"
        ></el-table-column>
        <el-table-column
          prop="imageUrl"
          align="center"
          label="算法等级"
        ></el-table-column>
        <el-table-column label="操作" width="200" align="center">
          <template slot-scope="scope">
            <el-button type="text" size="mini" @click="tableEdit(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>
  </div>
</template>

<script>
export default {
  name: "AlgorithmConfig",
  props: {},
  components: {},
  data() {
    return {
      tableList: [], //表格数据
      total: 0, //总条数
      queryParams: {
        //查询参数
        pageNum: 1,
        pageSize: 10,
      },
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    //编辑
    tableEdit(row) {},
    getList() {
      //获取列表
    },
  },
};
</script>

<style scoped lang="scss">
.Pd20 {
  padding: 20px;
  background: #fff;
}
</style>
