Blame view

src/views/analysis/test/page/testdetail.vue 1.66 KB
a61d16e2   jack   1.更新文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  <template>
    <div>
      <Dec :content="content" />
      <div class="testdetail">
        <div class="titlebox">
          <el-row>
            <el-col :span="18">
              <p><span class="bold">试卷名称:</span>【第六章-经济学人】测试试卷(中) </p>
              <p><span class="bold">班级:</span>三年二班</p>
            </el-col>
            <el-col :span="4" style="line-height:84px">
              <el-button type="primary" size="small">导出EXCEL</el-button>
            </el-col>
          </el-row>
  
        </div>
        <el-table
          :data="tableData"
          style="width: 100%"
        >
          <el-table-column label="题号">
            <el-table-column label="题型">
              <el-table-column label="正确答案">
                <el-table-column label="正确率" prop="student" />
              </el-table-column>
            </el-table-column>
          </el-table-column>
          <el-table-column label="第1题">
            <el-table-column label="单选">
              <el-table-column label="A">
                <el-table-column label="90%" prop="q1" />
              </el-table-column>
            </el-table-column>
          </el-table-column>
        </el-table>
      </div>
    </div>
  </template>
  <script>
  import Dec from '@/components/Dec'
  export default {
    name: 'Testdetail',
    components: {
      Dec
    },
    data() {
      return {
        content: '',
        tableData: [
          {
            student: '张三',
            q1: 'A'
          }
        ]
      }
    }
  }
  </script>
  <style scoped>
  .testdetail{
      max-width: 1100px;
      height:calc(100vh - 115px);
      margin:0 auto;
      background: #fff;
      margin-top:15px;
      padding:20px;
  }
  .bold{
      font-weight: bold
  }
  </style>