frontend/teacher/src/views/exam/list.vue

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<template>
  <div class="app-container">
    <el-form :model="queryParam"
             ref="queryForm"
             :inline="true">
      <el-form-item>
        <router-link :to="{path:'/exam/create'}"
                     class="link-left">
          <el-button type="primary">添加</el-button>
        </router-link>
      </el-form-item>
    </el-form>

    <el-table v-loading="listLoading"
              :data="items"
              border
              fit
              highlight-current-row
              style="width: 100%">
      <el-table-column prop="examName"
                       label="试卷名称"
                       min-width="220px" />
      <el-table-column prop="course.courseName"
                       label="所属课程"
                       width="180px" />
      <el-table-column prop="startTime"
                       label="开始时间"
                       width="160px" />
      <el-table-column prop="endTime"
                       label="结束时间"
                       width="160px" />
      <el-table-column label="考试时长"
                       align="center"
                       width="110px">
        <template slot-scope="scope">
          {{$utils.showTime(scope.row.duration)}}
        </template>
      </el-table-column>

      <el-table-column label="启用状态"
                       align="center"
                       width="80">
        <template slot-scope="scope">
          {{scope.row.isEnable=="1"?"已启用":"未启用"}}
        </template>
      </el-table-column>

      <el-table-column label="结束状态"
                       align="center"
                       width="80">
        <template slot-scope="scope">
          {{scope.row.isFinish=="1"?"已结束":"未结束"}}
        </template>
      </el-table-column>
      <el-table-column prop="examScore"
                       label="总分数"
                       align="center"
                       width="70px" />
      <el-table-column prop="createTime"
                       label="创建时间"
后面还有 106 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。