<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="80px">
      <el-form-item label="试卷名称" prop="UserName">
        <el-input v-model="queryParams.UserName" placeholder="请输入试卷名称" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-table v-loading="loading" :data="ZigePersonList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="">
        <template slot-scope="scope">
          {{ getXvhao(scope.$index, queryParams) }}
        </template>
      </el-table-column>
      <el-table-column label="试卷名称" align="center" prop="" />
      <el-table-column label="出题方式" align="center" prop="" />
      <el-table-column label="总分" align="center" prop="" />
      <el-table-column label="出卷人" align="center" prop="" />
      <el-table-column label="平均分" align="center" prop="" />
      <el-table-column label="统计" align="center" prop="">
        <template slot-scope="scope">
          <el-button type="primary" size="mini" @click="handleUpdate(scope.row)">成绩分布</el-button>
          <el-button type="primary" size="mini" @click="handleUpdate(scope.row)">知识点</el-button>
          <el-button type="primary" size="mini" @click="handleUpdate(scope.row)">题型</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      queryParams: {},
      ZigePersonList: [],
      loading: false
    };
  },
  watch: {},
  computed: {},
  created() { },

  methods: {
    handleQuery() {

    },
    resetQuery() {

    },
    handleUpdate() { },
    handleSelectionChange() { }
  },
};
</script>
<style lang="scss" scoped></style>
