Blame view

src/views/basic/test/list.vue 17.1 KB
079cb4cf   梁保满   即时测导出
1
2
3
4
5
6
7
  <template>
    <div ref="main" class="page-container">
      <back-box v-show="!isDetail">
        <template slot="title">
          <span>即时测-数据报表</span>
        </template>
        <template slot="btns">
58744c8c   梁保满   即时测多班淡斑逻辑修改
8
9
10
11
12
13
14
15
16
17
18
19
20
21
          <el-tooltip
            v-if="!code && gdClass"
            effect="dark"
            content="已归档试卷"
            placement="bottom"
          >
            <el-button
              type="primary"
              icon="fa fa-archive"
              size="mini"
              plain
              circle
              @click="toArchiving"
            ></el-button>
079cb4cf   梁保满   即时测导出
22
23
24
25
          </el-tooltip>
        </template>
      </back-box>
      <div v-show="!isDetail" class="table-box" v-loading="loading">
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
26
27
        <div>
          <p v-if="!isMultipleClass" class="btn-box">
58744c8c   梁保满   即时测多班淡斑逻辑修改
28
29
30
            <el-button type="primary" round @click="linkToDetail2"
              >查看汇总报表</el-button
            >
079cb4cf   梁保满   即时测导出
31
          </p>
58744c8c   梁保满   即时测多班淡斑逻辑修改
32
33
34
35
36
          <el-table
            :data="tableData"
            :max-height="tableMaxHeight"
            border
            style="width: 100%"
58744c8c   梁保满   即时测多班淡斑逻辑修改
37
          >
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
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
            <template v-if="isMultipleClass">
              <el-table-column
                prop="subjectName"
                label="科目"
                align="center"
              ></el-table-column>
              <el-table-column prop="classList" label="班级" align="center">
                <template slot-scope="scoped">
                  <span v-for="(item, index) in scoped.row.classNames">{{
                    `${index == 0 ? "" : "/"}` + item
                  }}</span>
                </template>
              </el-table-column>
              <el-table-column
                prop="title"
                label="试卷名称"
                align="center"
              ></el-table-column>
              <el-table-column
                prop="examPaperScore"
                label="卷面分"
                align="center"
              ></el-table-column>
              <el-table-column label="操作" align="center">
                <template slot-scope="scoped">
58744c8c   梁保满   即时测多班淡斑逻辑修改
63
64
65
66
                  <el-button
                    type="primary"
                    circle
                    size="mini"
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
67
68
                    icon="el-icon-arrow-right"
                    @click="linkContrast(scoped.row)"
58744c8c   梁保满   即时测多班淡斑逻辑修改
69
                  ></el-button>
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
                </template>
              </el-table-column>
            </template>
            <template v-if="!isMultipleClass">
              <el-table-column width="48">
                <template slot-scope="scope">
                  <el-checkbox
                    v-model="multipleSelection"
                    :label="scope.row.id"
                    :disabled="checkboxDisabled(scope.row)"
                    ><span></span
                  ></el-checkbox>
                </template>
              </el-table-column>
              <el-table-column
                prop="subjectName"
                label="科目"
                align="center"
              ></el-table-column>
              <el-table-column
                prop="className"
                label="班级"
                align="center"
              ></el-table-column>
              <el-table-column
                prop="title"
                label="试卷名称"
                align="center"
              ></el-table-column>
              <el-table-column
                prop="examPaperScore"
                label="卷面分"
                align="center"
              ></el-table-column>
              <el-table-column label="测验人数/班级人数" align="center">
                <template slot-scope="scoped">{{
                  `${scoped.row.answeredNum}/${scoped.row.classPersonNum}`
                }}</template>
              </el-table-column>
              <el-table-column
                prop="examStartTime"
                label="测验开始时间"
                align="center"
              ></el-table-column>
              <el-table-column label="操作" align="center">
                <template slot-scope="scoped">
58744c8c   梁保满   即时测多班淡斑逻辑修改
116
                  <el-tooltip
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
117
                    v-if="
ab315758   梁保满   即时测主观题列表设置操作
118
119
120
                      scoped.row.answerNum != 0 ||
                      (scoped.row.recordStatus != 0 &&
                        scoped.row.subjectiveScore == scoped.row.examPaperScore)
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
121
                    "
58744c8c   梁保满   即时测多班淡斑逻辑修改
122
                    effect="dark"
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
123
                    content="详情"
58744c8c   梁保满   即时测多班淡斑逻辑修改
124
125
126
127
128
129
                    placement="top"
                  >
                    <el-button
                      type="primary"
                      circle
                      size="mini"
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
130
131
                      icon="fa fa-arrow-right"
                      @click="linkTo(scoped.row)"
58744c8c   梁保满   即时测多班淡斑逻辑修改
132
                    ></el-button>
079cb4cf   梁保满   即时测导出
133
                  </el-tooltip>
ab315758   梁保满   即时测主观题列表设置操作
134
135
136
137
138
139
                  <template
                    v-if="
                      scoped.row.answerNum == 0 &&
                      scoped.row.subjectiveScore != scoped.row.examPaperScore
                    "
                  >
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
                    <el-tooltip
                      v-if="role != 'ROLE_BANZHUREN'"
                      effect="dark"
                      content="设置答案"
                      placement="top"
                    >
                      <el-button
                        type="primary"
                        circle
                        size="mini"
                        icon="fa fa-file-text"
                        @click="edit(scoped.row)"
                      ></el-button>
                    </el-tooltip>
                    <template v-else>未设置答案</template>
                  </template>
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
156
                  <el-tooltip
ab315758   梁保满   即时测主观题列表设置操作
157
158
159
160
                    v-if="
                      scoped.row.subjectiveScore == scoped.row.examPaperScore ||
                      scoped.row.answerNum != 0
                    "
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
161
162
163
                    effect="dark"
                    content="答卷录分"
                    placement="top"
58744c8c   梁保满   即时测多班淡斑逻辑修改
164
                  >
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
                    <el-button
                      type="primary"
                      circle
                      size="mini"
                      @click="openScoreSet(scoped.row)"
                      >分</el-button
                    >
                  </el-tooltip>
                  <el-popconfirm
                    v-if="role != 'ROLE_BANZHUREN'"
                    title="确定删除吗?"
                    @confirm="removeReport(scoped.row, scoped.$index)"
                  >
                    <el-button
                      class="remove-test"
                      slot="reference"
                      type="danger"
                      circle
                      size="mini"
                      icon="el-icon-delete"
                      :loading="scoped.row.loading"
                    ></el-button>
                  </el-popconfirm>
                </template>
              </el-table-column>
            </template>
079cb4cf   梁保满   即时测导出
191
192
          </el-table>
          <div class="pagination-box">
58744c8c   梁保满   即时测多班淡斑逻辑修改
193
194
195
196
197
198
199
200
201
            <el-pagination
              small=""
              layout="total,prev, pager, next"
              :hide-on-single-page="true"
              :total="total"
              @current-change="changePage"
              :current-page="page"
              :page-size="size"
            >
079cb4cf   梁保满   即时测导出
202
203
            </el-pagination>
          </div>
58744c8c   梁保满   即时测多班淡斑逻辑修改
204
205
206
207
208
209
210
211
          <ScoreSet
            v-show="diaScoreSet"
            :diaScoreSet="diaScoreSet"
            :role="role"
            :id="examId"
            :title="examTitlt"
            :examScore="examScore"
            @closeScoreSet="closeScoreSet"
b248db27   梁保满   课件模版区分,错别字修改,录分成功...
212
            @SuccessScoreSet="SuccessScoreSet"
58744c8c   梁保满   即时测多班淡斑逻辑修改
213
          />
079cb4cf   梁保满   即时测导出
214
        </div>
079cb4cf   梁保满   即时测导出
215
216
217
218
219
220
      </div>
      <router-view v-show="isDetail"></router-view>
    </div>
  </template>
  
  <script>
58744c8c   梁保满   即时测多班淡斑逻辑修改
221
  import ScoreSet from "./components/scoreSet.vue";
079cb4cf   梁保满   即时测导出
222
223
  export default {
    components: {
58744c8c   梁保满   即时测多班淡斑逻辑修改
224
      ScoreSet,
079cb4cf   梁保满   即时测导出
225
226
227
228
229
230
231
232
233
    },
    data() {
      return {
        code: "",
        gdClass: 0, //已归档班级数量
        tableMaxHeight: null,
        role: "",
        loading: false,
        diaScoreSet: false,
58744c8c   梁保满   即时测多班淡斑逻辑修改
234
235
236
        examId: "", //当前操作试卷
        examTitlt: "", //当前操作试卷名称
        examScore: 0, //当前操作试卷卷面总分
079cb4cf   梁保满   即时测导出
237
238
239
240
241
242
243
244
        query: {
          //搜索条件
          classId: [],
          subjectNames: [],
          startDay: "",
          endDay: "",
        },
        multipleSelection: [],
079cb4cf   梁保满   即时测导出
245
246
247
248
249
250
251
252
253
        tableData: [],
        page: 1,
        size: 20,
        total: 0,
        isMultipleClass: false,
      };
    },
    computed: {
      isDetail: function () {
58744c8c   梁保满   即时测多班淡斑逻辑修改
254
255
256
        let bol = this.$route.name == "即时测报表分析" ? true : false;
        return bol;
      },
079cb4cf   梁保满   即时测导出
257
258
    },
    async created() {
7812e986   梁保满   班主任查看报表添加额外信息
259
      this.code = this.$store.getters.csCode;
58744c8c   梁保满   即时测多班淡斑逻辑修改
260
      this.init();
079cb4cf   梁保满   即时测导出
261
262
263
264
265
266
267
268
    },
    mounted() {
      this.tableMaxHeight = this.$refs.main.offsetHeight;
    },
    watch: {
      "$route.query.params": function (nVal) {
        let isFromTestDetail = sessionStorage.getItem("isFromTestDetail");
        if (!isFromTestDetail && nVal) {
58744c8c   梁保满   即时测多班淡斑逻辑修改
269
          this.init();
079cb4cf   梁保满   即时测导出
270
        }
58744c8c   梁保满   即时测多班淡斑逻辑修改
271
      },
079cb4cf   梁保满   即时测导出
272
273
274
275
    },
    methods: {
      //初始化
      init() {
58744c8c   梁保满   即时测多班淡斑逻辑修改
276
277
278
279
280
281
282
        const queryData = this.$route.query.params;
        queryData
          ? (this.query = { ...this.query, ...JSON.parse(queryData) })
          : "";
        console.log(this.query);
        this.$store.commit("setClasses", this.query.classId.join(","));
        this.isMultipleClass = false;
079cb4cf   梁保满   即时测导出
283
284
285
286
        this.role =
          this.$store.getters.info.showRole ||
          this.$store.getters.info.permissions[0].role;
        if (this.role != "ROLE_PERSONAL") {
58744c8c   梁保满   即时测多班淡斑逻辑修改
287
          this._QueryGdClass();
079cb4cf   梁保满   即时测导出
288
        }
58744c8c   梁保满   即时测多班淡斑逻辑修改
289
290
291
292
        this.page = 1;
        this.total = 0;
        this.tableData = [];
        this._QueryData();
079cb4cf   梁保满   即时测导出
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
      },
      //归档列表
      toArchiving() {
        this.$router.push({
          path: "/testArchiving",
        });
      },
      //跳转单卷分析
      linkTo(obj) {
        //去详情
        this.$router.push({
          path: "/testAnalysis",
          query: {
            id: obj.id,
            title: obj.title,
            score: obj.examPaperScore || 0,
ab315758   梁保满   即时测主观题列表设置操作
309
            type: 1, //试卷类型
22095aba   梁保满   接口联调
310
311
            subjectName: obj.subjectName,
            classId: this.query.classId[0],
58744c8c   梁保满   即时测多班淡斑逻辑修改
312
            params: this.$route.query.params,
03cd547e   梁保满   单体型以及其他类型试卷修改答案逻辑
313
            examType: obj.examPaperId == 0 ? 1 : 2,
079cb4cf   梁保满   即时测导出
314
315
316
317
318
319
          },
        });
      },
      //汇总跳转-多卷
      linkToDetail2() {
        if (this.multipleSelection.length == 0) {
58744c8c   梁保满   即时测多班淡斑逻辑修改
320
321
322
323
          this.$message.warning("请选择试卷!");
          return;
        }
        let subjectArr = [];
b0cd2598   梁保满   fix:测试问题
324
325
326
327
328
329
330
331
        let classIds = "";
        let multipleData = [];
        this.tableData.map((item) => {
          if (this.multipleSelection.includes(item.id)) {
            subjectArr.push(item.subjectName);
            multipleData.push(item);
            classIds = item.classId;
          }
58744c8c   梁保满   即时测多班淡斑逻辑修改
332
333
334
        });
        subjectArr = [...new Set(subjectArr)];
        console.log(subjectArr);
b0cd2598   梁保满   fix:测试问题
335
        if (this.multipleSelection.length == 1) {
68875fba   梁保满   即时测多班汇总(删除)
336
337
338
          this.$router.push({
            path: "/testAnalysis",
            query: {
b0cd2598   梁保满   fix:测试问题
339
              id: this.multipleSelection[0],
c410e3c4   梁保满   init
340
341
              title: multipleData[0].title,
              score: multipleData[0].examPaperScore || 0,
68875fba   梁保满   即时测多班汇总(删除)
342
343
              type: 1,
              subjectName: subjectArr.join(),
b0cd2598   梁保满   fix:测试问题
344
              classId: classIds,
68875fba   梁保满   即时测多班汇总(删除)
345
346
347
348
              params: this.$route.query.params,
            },
          });
        } else {
079cb4cf   梁保满   即时测导出
349
350
351
352
          //去详情
          this.$router.push({
            path: "/testAnalysis",
            query: {
b0cd2598   梁保满   fix:测试问题
353
354
              ids: this.multipleSelection.join(),
              classId: classIds,
68875fba   梁保满   即时测多班汇总(删除)
355
              type: subjectArr.length == 1 ? 2 : 3,
22095aba   梁保满   接口联调
356
              subjectName: subjectArr.join(),
58744c8c   梁保满   即时测多班淡斑逻辑修改
357
              params: this.$route.query.params,
079cb4cf   梁保满   即时测导出
358
359
            },
          });
079cb4cf   梁保满   即时测导出
360
361
362
363
        }
      },
      // 多班对比
      linkContrast(obj) {
58744c8c   梁保满   即时测多班淡斑逻辑修改
364
        console.log(obj);
079cb4cf   梁保满   即时测导出
365
366
367
        this.$router.push({
          path: "/testAnalysis",
          query: {
58744c8c   梁保满   即时测多班淡斑逻辑修改
368
369
            ids: obj.ids.join(","),
            classId: obj.classIds.join(","),
079cb4cf   梁保满   即时测导出
370
371
            subjectName: obj.subjectName,
            title: obj.title,
049db2b2   梁保满   接口联调
372
            type: 4,
c7461233   梁保满   多班对比传递页面总分
373
            examPaperScore: obj.examPaperScore,
58744c8c   梁保满   即时测多班淡斑逻辑修改
374
            params: this.$route.query.params,
079cb4cf   梁保满   即时测导出
375
376
377
          },
        });
      },
c3c2b127   梁保满   即时测多班汇总
378
379
      // 班主任教学班不能与行政班汇总
      checkboxDisabled(obj) {
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
380
381
382
383
384
385
386
387
388
        if (this.role == "ROLE_BANZHUREN") {
          let id = this.multipleSelection[0] || "";
          if (id) {
            let classId;
            for (let i = 0; i < this.tableData.length; i++) {
              if (this.tableData[i].id == id) {
                classId = this.tableData[i].classId;
                break;
              }
c3c2b127   梁保满   即时测多班汇总
389
            }
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
390
391
392
            return obj.classId == classId ? false : true;
          } else {
            return false;
c3c2b127   梁保满   即时测多班汇总
393
          }
b248db27   梁保满   课件模版区分,错别字修改,录分成功...
394
395
396
397
398
399
        } else {
          if (obj.examStartTime) {
            return false;
          } else {
            return true;
          }
c3c2b127   梁保满   即时测多班汇总
400
401
        }
      },
079cb4cf   梁保满   即时测导出
402
403
404
405
406
      handleSelectionChange(val) {
        this.multipleSelection = val;
      },
      //打开答卷录分
      openScoreSet(obj) {
58744c8c   梁保满   即时测多班淡斑逻辑修改
407
        console.log(obj);
77da338a   梁保满   自测问题修改
408
        this.examId = String(obj.id);
079cb4cf   梁保满   即时测导出
409
        this.examTitlt = obj.title;
384a2a54   梁保满   请求头添加班主任信息,bug修改
410
        this.examScore = obj.examPaperScore;
079cb4cf   梁保满   即时测导出
411
412
413
414
        this.diaScoreSet = true;
      },
      //关闭设置分数
      closeScoreSet() {
58744c8c   梁保满   即时测多班淡斑逻辑修改
415
        this.diaScoreSet = false;
079cb4cf   梁保满   即时测导出
416
      },
b248db27   梁保满   课件模版区分,错别字修改,录分成功...
417
418
419
420
421
      //修改分数成功
      SuccessScoreSet() {
        this._QueryData();
        this.closeScoreSet();
      },
079cb4cf   梁保满   即时测导出
422
423
424
425
426
427
428
      //修改答案
      edit(item) {
        this.$router.push({
          path: "/examinationPaperEdit",
          query: {
            paperId: item.id,
            title: item.title,
ab315758   梁保满   即时测主观题列表设置操作
429
            type: 2, //搜索题目详情类型
7f5613f1   梁保满   设置答案问题
430
            examType: item.examPaperId == 0 ? 1 : 2,
079cb4cf   梁保满   即时测导出
431
432
433
          },
        });
      },
a9f5dfcf   梁保满   修改知识点匹配,删除即时测报表
434
435
436
437
438
439
440
441
      //删除即时测考试
      async removeReport(obj, index) {
        this.tableData[index].loading = true;
        const { data, status, info } = await this.$request.deleteReport({
          id: obj.id,
        });
        if (status === 0) {
          this.$message.success("删除成功!");
a736cb8b   梁保满   fix:教师管理班级权限问题,删除...
442
          this._QueryData();
a9f5dfcf   梁保满   修改知识点匹配,删除即时测报表
443
444
445
446
        } else {
          this.$message.error(info);
        }
      },
079cb4cf   梁保满   即时测导出
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
  
      async _QueryGdClass() {
        const fetchClassList =
          this.role == "ROLE_BANZHUREN"
            ? this.$request.cTClassList
            : this.$request.tClassList;
        const { data, status, info } = await fetchClassList({ status: 1 });
        if (status === 0) {
          this.gdClass = data?.list?.length || 0;
        } else {
          this.$message.error(info);
        }
      },
      changePage(page) {
        this.page = page;
        this._QueryData();
      },
      async _QueryData() {
        this.loading = true;
        let query = {};
        for (let key in this.query) {
          if (this.query[key] != "") {
58744c8c   梁保满   即时测多班淡斑逻辑修改
469
            if (key == "classId") {
7812e986   梁保满   班主任查看报表添加额外信息
470
              if (this.query.classId?.length == 1) {
58744c8c   梁保满   即时测多班淡斑逻辑修改
471
                query.classId = this.query[key][0];
22095aba   梁保满   接口联调
472
              } else {
58744c8c   梁保满   即时测多班淡斑逻辑修改
473
                query.classIds = [...this.query[key]];
22095aba   梁保满   接口联调
474
475
476
477
              }
            } else {
              query[key] = this.query[key];
            }
079cb4cf   梁保满   即时测导出
478
479
          }
        }
58744c8c   梁保满   即时测多班淡斑逻辑修改
480
481
482
483
        const examReportList =
          this.role == "ROLE_PERSONAL"
            ? this.$request.pExamReportList
            : this.$request.examReportList;
079cb4cf   梁保满   即时测导出
484
485
486
487
488
489
490
        const { data, status, info } = await examReportList({
          ...query,
          page: this.page,
          size: this.size,
        });
        this.loading = false;
        if (status === 0) {
58744c8c   梁保满   即时测多班淡斑逻辑修改
491
          if (this.role == "ROLE_BANZHUREN") {
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
492
            this.isMultipleClass = false;
58744c8c   梁保满   即时测多班淡斑逻辑修改
493
494
495
            this.tableData = (data?.list && [...data?.list]) || [];
            this.total = data?.count || 0;
          } else {
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
496
497
            if (this.query.classId.length > 1) {
              this.isMultipleClass = true;
58744c8c   梁保满   即时测多班淡斑逻辑修改
498
499
500
              //多班级
              let tableObj = {};
              data?.list?.map((item) => {
b0cd2598   梁保满   fix:测试问题
501
                if (tableObj[item.examPaperId] && item.examPaperId != 0) {
58744c8c   梁保满   即时测多班淡斑逻辑修改
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
                  // 没有班级考试的添加
                  if (
                    !tableObj[item.examPaperId].classIds.includes(item.classId)
                  ) {
                    tableObj[item.examPaperId].ids.push(item.id);
                    tableObj[item.examPaperId].classIds.push(item.classId);
                    tableObj[item.examPaperId].classNames.push(item.className);
                  } else {
                    //已经考过班级的新的替换老的
                    let idx = tableObj[item.examPaperId].classIds.indexOf(
                      item.classId
                    );
                    if (tableObj[item.examPaperId].ids[idx] < item.id) {
                      tableObj[item.examPaperId].ids[idx] = [item.id];
                      tableObj[item.examPaperId].title = item.title;
                    }
384a2a54   梁保满   请求头添加班主任信息,bug修改
518
                  }
58744c8c   梁保满   即时测多班淡斑逻辑修改
519
520
521
522
523
524
525
526
527
528
                } else {
                  tableObj[item.examPaperId] = {
                    ids: [item.id],
                    examPaperId: item.examPaperId,
                    classIds: [item.classId],
                    classNames: [item.className],
                    title: item.title,
                    examPaperScore: item.examPaperScore,
                    subjectName: item.subjectName,
                  };
384a2a54   梁保满   请求头添加班主任信息,bug修改
529
                }
58744c8c   梁保满   即时测多班淡斑逻辑修改
530
531
532
533
              });
              Object.keys(tableObj).map((keys) => {
                if (tableObj[keys].classIds.length > 1) {
                  this.tableData.push(tableObj[keys]);
7812e986   梁保满   班主任查看报表添加额外信息
534
                }
58744c8c   梁保满   即时测多班淡斑逻辑修改
535
536
              });
            } else {
1410e5cd   梁保满   即时测随堂问多班汇总逻辑
537
              this.isMultipleClass = false;
58744c8c   梁保满   即时测多班淡斑逻辑修改
538
539
540
              this.tableData = (data?.list && [...data?.list]) || [];
              this.total = data?.count || 0;
            }
7812e986   梁保满   班主任查看报表添加额外信息
541
          }
079cb4cf   梁保满   即时测导出
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
        } else {
          this.$message.error(info);
        }
      },
    },
  };
  </script>
  
  <style>
  div::-webkit-scrollbar {
    width: 3px;
    height: 10px;
  }
  
  div::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #ccc;
  }
  </style>
  <style lang="scss" scoped>
a9f5dfcf   梁保满   修改知识点匹配,删除即时测报表
562
563
564
565
  .remove-test {
    margin-left: 10px;
  }
  
079cb4cf   梁保满   即时测导出
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
  .page-container {
    position: relative;
    height: 100%;
  
    &.active {
      overflow: hidden;
    }
  }
  
  .table-box {
    margin: 20px;
    border-radius: 5px;
  
    :deep(.fa-arrow-right) {
      padding-left: 2px;
    }
  
    :deep(.fa-file-text) {
      padding-left: 2px;
    }
  }
  
  .down {
    padding-top: 16px;
  }
  
  .click-b {
    cursor: pointer;
    color: #409eff;
    text-decoration: underline;
  }
  
  .btn-box {
    text-align: right;
    padding: 0 12px 16px;
  }
  </style>