bug
lohir
2024-10-16 eb010c8d0f12c4861d2fde556f8ca441ba5e10d9
src/views/education/cheat/list.vue
@@ -10,8 +10,8 @@
    </el-form>
    <el-table v-loading="listLoading" :data="tableData" border fit highlight-current-row style="width: 100%">
      <el-table-column align="center" prop="cheatUserName" label="作弊人名称" show-overflow-tooltip />
      <el-table-column align="center" prop="examName" label="考试名称" />
      <el-table-column align="center" prop="cheatUserName" label="姓名" show-overflow-tooltip />
      <el-table-column align="center" prop="examName" label="考试" />
      <el-table-column align="center" prop="createTime" label="作弊时间" />
      <!-- <el-table-column label="操作" align="center">
        <template slot-scope="{row}">
@@ -19,7 +19,7 @@
        </template>
      </el-table-column> -->
    </el-table>
    <pagination v-show="total > 0" :total="total" :page.sync="queryParam.pageIndex" :limit.sync="queryParam.pageSize"
    <pagination v-show="total > 0" :total="total" :page.sync="queryParam.currentPage" :limit.sync="queryParam.pageSize"
      @pagination="search" />
    <el-dialog :visible.sync="visible" width="400px">
@@ -53,7 +53,7 @@
      listLoading: true,
      queryParam: {
        name: '',
        pageIndex: 1,
        currentPage: 1,
        pageSize: 10
      },
      formLoading: false,
@@ -97,7 +97,6 @@
      })
    },
    edit(row) {
      if (row) {
        cheatApi.select(row.id).then(re => {
          if (re.code === 1) {
            this.form = re.data;
@@ -106,10 +105,6 @@
            this.$message.error(re.message)
          }
        })
      } else {
        this.getItemOrder();
        this.visible = true;
      }
    },
    status(row) {
      let question = {