Blame view

src/views/test/index.vue 17.5 KB
4c4f7640   梁保满   路由表,路由前端文件
1
  <template>
9309dc5d   梁保满   任课老师接口完成
2
    <div class="page-container" :class="dialogVisible ? 'active' : ''">
f356590c   阿宝   即时测列表,分析页面
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
      <back-box>
        <template slot="title">
          <span>即时测-数据报表</span>
        </template>
      </back-box>
      <div class="answer-header">
        <div class="sel-box">
          <el-select
            class="sel"
            v-model="query.classId"
            placeholder="选择班级"
            @change="changClazz"
          >
            <el-option
              v-for="item in classList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
          <el-select
            v-if="role == 'ROLE_BANZHUREN'"
            class="sel"
            multiple
9309dc5d   梁保满   任课老师接口完成
28
            v-model="query.subjectNames"
45504a95   阿宝   即时测页面,以及小题修改答案
29
            placeholder="选择科目"
f356590c   阿宝   即时测列表,分析页面
30
31
32
33
34
35
36
37
38
39
40
41
42
            @change="_QueryData"
          >
            <el-option
              v-for="item in subjectList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
          <el-select
            v-else
            class="sel"
9309dc5d   梁保满   任课老师接口完成
43
            v-model="query.subjectNames"
45504a95   阿宝   即时测页面,以及小题修改答案
44
            placeholder="选择科目"
f356590c   阿宝   即时测列表,分析页面
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
            @change="_QueryData"
          >
            <el-option
              v-for="item in subjectList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
          <div class="d1">
            <el-date-picker
              v-model="query.startDay"
              type="date"
              @change="handleChangeTimeStart"
              placeholder="选择日期时间"
              value-format="yyyy-MM-dd"
            >
            </el-date-picker>
            ~
            <el-date-picker
              v-model="query.endDay"
              type="date"
              placeholder="选择日期时间"
              @change="handleChangeTimeEnd"
              value-format="yyyy-MM-dd"
            >
            </el-date-picker>
          </div>
          <p class="p1">
            <span @click="setDate(1)" :class="[date == 1 ? 'active' : '', 's1']"
              >今天</span
            >
            <span @click="setDate(2)" :class="[date == 2 ? 'active' : '', 's1']"
              >本周</span
            >
            <span @click="setDate(3)" :class="[date == 3 ? 'active' : '', 's1']"
              >本月</span
            >
            <span @click="setDate(4)" :class="[date == 4 ? 'active' : '', 's1']"
              >本季度</span
            >
          </p>
          <el-button type="primary" round @click="_QueryData()">筛选</el-button>
        </div>
      </div>
      <div class="table-box">
9309dc5d   梁保满   任课老师接口完成
92
93
94
95
96
        <el-radio-group
          v-model="tabIndex"
          @change="changeTab"
          style="margin-bottom: 20px"
        >
f356590c   阿宝   即时测列表,分析页面
97
98
99
          <el-radio-button :label="1">单卷测练报表</el-radio-button>
          <el-radio-button :label="2">阶段测练报表</el-radio-button>
        </el-radio-group>
9309dc5d   梁保满   任课老师接口完成
100
101
        <div v-if="tabIndex == 1" v-loading="loading">
          <el-table :data="tableData" border style="width: 100%">
f356590c   阿宝   即时测列表,分析页面
102
103
104
105
106
107
            <el-table-column
              prop="title"
              label="试卷名称"
              align="center"
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
108
              prop="examPaperScore"
f356590c   阿宝   即时测列表,分析页面
109
110
111
112
113
              label="卷面分"
              align="center"
              width="100"
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
114
              prop="answeredNum"
f356590c   阿宝   即时测列表,分析页面
115
116
117
118
              label="测验人数"
              align="center"
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
119
              prop="examStartTime"
f356590c   阿宝   即时测列表,分析页面
120
121
122
123
              label="测验时间"
              align="center"
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
124
              prop="avgScore"
f356590c   阿宝   即时测列表,分析页面
125
126
127
128
              label="班平均分"
              align="center"
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
129
              prop="highestScore"
f356590c   阿宝   即时测列表,分析页面
130
131
132
133
              label="班最高分"
              align="center"
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
134
              prop="lowestScore"
f356590c   阿宝   即时测列表,分析页面
135
136
137
138
              label="班最低分"
              align="center"
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
139
              prop="excellenRate"
f356590c   阿宝   即时测列表,分析页面
140
141
142
143
              label="优秀数(率)"
              sortable
              align="center"
              ><template slot-scope="scoped"
9309dc5d   梁保满   任课老师接口完成
144
                >{{ scoped.row.excellenRate }}%</template
f356590c   阿宝   即时测列表,分析页面
145
146
147
              ></el-table-column
            >
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
148
              prop="goodRate"
f356590c   阿宝   即时测列表,分析页面
149
150
151
152
              label="良好数(率)"
              sortable
              align="center"
              ><template slot-scope="scoped"
9309dc5d   梁保满   任课老师接口完成
153
                >{{ scoped.row.goodRate }}%</template
f356590c   阿宝   即时测列表,分析页面
154
155
156
              ></el-table-column
            >
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
157
              prop="passRate"
f356590c   阿宝   即时测列表,分析页面
158
159
160
161
              label="及格数(率)"
              sortable
              align="center"
              ><template slot-scope="scoped"
9309dc5d   梁保满   任课老师接口完成
162
                >{{ scoped.row.passRate }}%</template
f356590c   阿宝   即时测列表,分析页面
163
164
165
              ></el-table-column
            >
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
166
              prop="failedRate"
f356590c   阿宝   即时测列表,分析页面
167
168
169
170
              label="不及格数(率)"
              sortable
              align="center"
              ><template slot-scope="scoped"
9309dc5d   梁保满   任课老师接口完成
171
                >{{ scoped.row.failedRate }}%</template
f356590c   阿宝   即时测列表,分析页面
172
173
174
175
              ></el-table-column
            >
            <el-table-column label="操作" align="center">
              <template slot-scope="scoped">
45504a95   阿宝   即时测页面,以及小题修改答案
176
                <el-tooltip effect="dark" content="详情" placement="top">
f356590c   阿宝   即时测列表,分析页面
177
178
179
180
181
182
183
184
                  <el-button
                    type="primary"
                    circle
                    size="mini"
                    icon="fa fa-arrow-right"
                    @click="linkTo(scoped.row)"
                  ></el-button>
                </el-tooltip>
45504a95   阿宝   即时测页面,以及小题修改答案
185
                <el-tooltip effect="dark" content="修改答案" placement="top">
f356590c   阿宝   即时测列表,分析页面
186
187
188
189
190
191
192
193
194
195
196
                  <el-button
                    type="primary"
                    circle
                    size="mini"
                    icon="fa fa-file-text"
                    @click="edit(scoped.row)"
                  ></el-button>
                </el-tooltip>
              </template>
            </el-table-column>
          </el-table>
9309dc5d   梁保满   任课老师接口完成
197
198
199
200
201
202
203
204
205
206
207
208
          <div class="pagination-box">
            <el-pagination
              small=""
              layout="total,prev, pager, next"
              :hide-on-single-page="true"
              :total="total"
              @current-change="changePage"
              :current-page="page"
              :page-size="size"
            >
            </el-pagination>
          </div>
f356590c   阿宝   即时测列表,分析页面
209
        </div>
9309dc5d   梁保满   任课老师接口完成
210
211
        <div v-if="tabIndex == 2" v-loading="loading">
          <el-table :data="tableData" border style="width: 100%">
f356590c   阿宝   即时测列表,分析页面
212
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
213
              prop="studentCode"
f356590c   阿宝   即时测列表,分析页面
214
215
216
217
218
              label="学号"
              align="center"
              fixed
            ></el-table-column>
            <el-table-column
9309dc5d   梁保满   任课老师接口完成
219
              prop="studentName"
f356590c   阿宝   即时测列表,分析页面
220
221
222
223
              label="姓名"
              fixed
              align="center"
            ></el-table-column>
f356590c   阿宝   即时测列表,分析页面
224
225
226
227
228
229
230
            <el-table-column
              align="center"
              v-for="(item, index) in answerList"
              :key="index"
              :label="item.title"
            >
              <el-table-column
9309dc5d   梁保满   任课老师接口完成
231
232
                :prop="'score' + index"
                label="总分/成绩"
f356590c   阿宝   即时测列表,分析页面
233
234
235
                align="center"
              ></el-table-column>
              <el-table-column
9309dc5d   梁保满   任课老师接口完成
236
                :prop="'classRank' + index"
f356590c   阿宝   即时测列表,分析页面
237
238
239
240
241
242
243
244
245
246
247
248
                label="班名"
                align="center"
              ></el-table-column>
            </el-table-column>
          </el-table>
        </div>
        <p class="down" v-if="tabIndex == 2">
          <el-button type="info" plain round icon="fa fa-cloud-download"
            >导出报表</el-button
          >
        </p>
      </div>
aed43d3a   阿宝   即时测修改答案
249
      <div class="edit-dia" v-show="dialogVisible" height="100%">
9309dc5d   梁保满   任课老师接口完成
250
251
252
253
254
255
256
        <editAnswer
          :id="form.id"
          :title="form.title"
          :score="form.examPaperScore"
          @cancel="cancel"
          @saveSuccess="saveSuccess"
        />
aed43d3a   阿宝   即时测修改答案
257
      </div>
4c4f7640   梁保满   路由表,路由前端文件
258
259
260
261
    </div>
  </template>
  
  <script>
9309dc5d   梁保满   任课老师接口完成
262
263
  import { formatDate } from "utils";
  import editAnswer from "./editAnswer.vue";
4c4f7640   梁保满   路由表,路由前端文件
264
  export default {
9309dc5d   梁保满   任课老师接口完成
265
    components: { editAnswer },
f356590c   阿宝   即时测列表,分析页面
266
267
268
269
270
    data() {
      return {
        role: "",
        loading: false,
        dialogVisible: false,
9309dc5d   梁保满   任课老师接口完成
271
272
273
274
        form: {
          id: "",
          title: "",
          examPaperScore: "",
aed43d3a   阿宝   即时测修改答案
275
        },
f356590c   阿宝   即时测列表,分析页面
276
277
278
279
        date: "", //今天-昨天-本周
        query: {
          //搜索条件
          classId: "",
9309dc5d   梁保满   任课老师接口完成
280
          subjectNames: "",
f356590c   阿宝   即时测列表,分析页面
281
282
283
284
285
286
287
          startDay: "",
          endDay: "",
          day: "",
        },
        classList: [], //班级
        subjectList: [], //科目
        tabIndex: 1, //选项卡
9309dc5d   梁保满   任课老师接口完成
288
289
290
291
292
        tableData: [],
        answerList: [], //设置多卷内容供tableStage表格数据用
        page: 1,
        size: 20,
        total: 0,
f356590c   阿宝   即时测列表,分析页面
293
294
295
      };
    },
    async created() {
45504a95   阿宝   即时测页面,以及小题修改答案
296
297
298
      this.role = this.$store.getters.info.permissions.find(
        (item) => item.roleName == this.$store.getters.info.showRoleName
      )?.role;
f356590c   阿宝   即时测列表,分析页面
299
300
      await this._QueryClassList();
      await this._QuerySubjectList();
9309dc5d   梁保满   任课老师接口完成
301
      await this.setDate(1);
f356590c   阿宝   即时测列表,分析页面
302
303
304
305
306
307
308
309
310
311
312
313
314
      let startDay = this.query?.startDay;
      if (!startDay) {
        this.query.startDay = new Date();
        this.query.endDay = new Date();
      }
    },
    methods: {
      linkTo(obj) {
        //去详情
        this.$router.push({
          path: "/testAnalysis",
          query: {
            id: obj.id,
9309dc5d   梁保满   任课老师接口完成
315
316
            title: obj.title,
            score: obj.examPaperScore,
f356590c   阿宝   即时测列表,分析页面
317
318
319
          },
        });
      },
9309dc5d   梁保满   任课老师接口完成
320
321
      cancel() {
        this.dialogVisible = false;
aed43d3a   阿宝   即时测修改答案
322
      },
9309dc5d   梁保满   任课老师接口完成
323
324
325
      saveSuccess() {
        this.dialogVisible = false;
        this._QueryData();
aed43d3a   阿宝   即时测修改答案
326
      },
f356590c   阿宝   即时测列表,分析页面
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
      setDate(index) {
        const that = this;
        this.date = index == this.date ? "" : index;
        let aYear = new Date().getFullYear();
        let aMonth = new Date().getMonth() + 1;
        that.query.day = "";
        that.query.startDay = "";
        that.query.endDay = "";
        switch (index) {
          case 1:
            that.query.day = formatDate(new Date(), "yyyy-MM-dd");
            that.query.startDay = that.query.day;
            that.query.endDay = that.query.day;
            break;
          case 2:
            let day = new Date().getDay();
            if (day == 0) {
              //中国式星期天是一周的最后一天
              day = 7;
            }
            let aTime = new Date().getTime() - 24 * 60 * 60 * 1000 * day;
            that.query.startDay = formatDate(new Date(aTime), "yyyy-MM-dd");
            that.query.endDay = formatDate(new Date(), "yyyy-MM-dd");
            break;
          case 3:
            aMonth = aMonth < 10 ? "0" + aMonth : aMonth;
            that.query.startDay = `${aYear}-${aMonth}-01`;
            that.query.endDay = formatDate(new Date(), "yyyy-MM-dd");
            break;
          case 4:
9309dc5d   梁保满   任课老师接口完成
357
            if (aMonth > 0 && aMonth < 4) {
f356590c   阿宝   即时测列表,分析页面
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
              aMonth = "01";
            } else if (aMonth > 3 && aMonth < 7) {
              aMonth = "04";
            } else if (aMonth > 6 && aMonth < 10) {
              aMonth = "07";
            } else {
              aMonth = "10";
            }
  
            aMonth = aMonth < 10 ? "0" + aMonth : aMonth;
            that.query.startDay = `${aYear}-${aMonth}-01`;
            that.query.endDay = formatDate(new Date(), "yyyy-MM-dd");
            break;
        }
        this.page = 1;
        this._QueryData();
      },
      handleChangeTimeStart(val) {
        this.query.day = "";
        this.date = "";
        if (this.query.endDay) {
          if (new Date(val).getTime() > new Date(this.query.endDay).getTime()) {
            this.$message.error("任务结束时间不能任务开始时间前面,请重新设置");
            this.query.startDay = "";
          }
        }
      },
      handleChangeTimeEnd(val) {
        this.query.day = "";
        this.date = "";
        if (this.query.startDay) {
          if (new Date(val).getTime() < new Date(this.query.startDay).getTime()) {
            this.$message.error("任务结束时间不能任务开始时间前面,请重新设置");
            this.query.endDay = "";
          }
        }
      },
9309dc5d   梁保满   任课老师接口完成
395
396
397
      changePage(page) {
        this.page = page;
        this._QueryData();
aed43d3a   阿宝   即时测修改答案
398
      },
f356590c   阿宝   即时测列表,分析页面
399
      edit(item) {
9309dc5d   梁保满   任课老师接口完成
400
        this.form = { ...item };
f356590c   阿宝   即时测列表,分析页面
401
402
        this.dialogVisible = true;
      },
9309dc5d   梁保满   任课老师接口完成
403
404
405
      changeTab() {
        this.page = 1;
        this._QueryData();
aed43d3a   阿宝   即时测修改答案
406
      },
f356590c   阿宝   即时测列表,分析页面
407
      async changClazz() {
9309dc5d   梁保满   任课老师接口完成
408
        this.page = 1;
f356590c   阿宝   即时测列表,分析页面
409
        await this._QuerySubjectList();
9309dc5d   梁保满   任课老师接口完成
410
        await this._QueryData();
f356590c   阿宝   即时测列表,分析页面
411
412
      },
      async _QueryClassList() {
9309dc5d   梁保满   任课老师接口完成
413
414
415
416
417
        const fetchClassList =
          this.role == "ROLE_BANZHUREN"
            ? this.$request.cTClassList
            : this.$request.tClassList;
        const { data, status, info } = await fetchClassList();
f356590c   阿宝   即时测列表,分析页面
418
419
420
421
        if (status === 0) {
          this.classList = data.list.map((item) => {
            return {
              value: item.classId,
45504a95   阿宝   即时测页面,以及小题修改答案
422
              label: item.className,
f356590c   阿宝   即时测列表,分析页面
423
424
425
426
427
428
429
430
            };
          });
          this.query.classId = this.classList[0]?.value;
        } else {
          this.$message.error(info);
        }
      },
      async _QuerySubjectList() {
9309dc5d   梁保满   任课老师接口完成
431
432
433
434
435
436
        const fetchSubjectList =
          this.role == "ROLE_BANZHUREN"
            ? this.$request.cTSubjectList
            : this.$request.tSubjectList;
  
        const { data, status, info } = await fetchSubjectList({
f356590c   阿宝   即时测列表,分析页面
437
438
439
440
          classId: this.query.classId,
        });
        if (status === 0) {
          this.subjectList =
45504a95   阿宝   即时测页面,以及小题修改答案
441
            data.subjectNames?.map((item) => {
f356590c   阿宝   即时测列表,分析页面
442
              return {
45504a95   阿宝   即时测页面,以及小题修改答案
443
444
                value: item,
                label: item,
f356590c   阿宝   即时测列表,分析页面
445
446
              };
            }) || [];
aed43d3a   阿宝   即时测修改答案
447
          if (this.role == "ROLE_BANZHUREN") {
f356590c   阿宝   即时测列表,分析页面
448
            this.subjectList.unshift({
9309dc5d   梁保满   任课老师接口完成
449
              value: "全部",
f356590c   阿宝   即时测列表,分析页面
450
451
              label: "全部",
            });
9309dc5d   梁保满   任课老师接口完成
452
            this.query.subjectNames.push(this.subjectList[0]?.value);
aed43d3a   阿宝   即时测修改答案
453
          } else {
9309dc5d   梁保满   任课老师接口完成
454
            this.query.subjectNames = this.subjectList[0]?.value;
f356590c   阿宝   即时测列表,分析页面
455
          }
f356590c   阿宝   即时测列表,分析页面
456
457
458
459
460
        } else {
          this.$message.error(info);
        }
      },
      async _QueryData() {
9309dc5d   梁保满   任课老师接口完成
461
462
463
464
465
466
467
468
469
        this.tableData = [];
        if (this.tabIndex == 1) {
          this.examReportList();
        } else {
          this.phaseExamReport();
        }
      },
      //单卷测练
      async examReportList() {
f356590c   阿宝   即时测列表,分析页面
470
        this.loading = true;
f356590c   阿宝   即时测列表,分析页面
471
472
473
474
475
476
        let query = {};
        for (let key in this.query) {
          if (this.query[key] != "") {
            query[key] = this.query[key];
          }
        }
9309dc5d   梁保满   任课老师接口完成
477
478
479
480
481
482
483
484
485
486
487
488
489
490
        if (this.role != "ROLE_BANZHUREN") {
          query.subjectNames = [query.subjectNames];
        } else {
          if (
            query["subjectNames"].length == 1 &&
            query["subjectNames"][0] == "全部"
          ) {
            query["subjectNames"] = this.subjectList.map((item) => {
              return item.value;
            });
            query["subjectNames"].shift();
          }
        }
        const { data, status, info } = await this.$request.examReportList({
f356590c   阿宝   即时测列表,分析页面
491
          ...query,
9309dc5d   梁保满   任课老师接口完成
492
493
          page: this.page,
          size: this.size,
f356590c   阿宝   即时测列表,分析页面
494
495
496
        });
        this.loading = false;
        if (status === 0) {
9309dc5d   梁保满   任课老师接口完成
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
          this.tableData = (data?.list && [...data?.list]) || [];
          this.total = data.count;
        } else {
          this.$message.error(info);
        }
      },
      //多卷测练
      async phaseExamReport() {
        this.loading = true;
        let query = {};
        for (let key in this.query) {
          if (this.query[key] != "") {
            if (key == "subjectNames" && this.role != "ROLE_BANZHUREN") {
              query["subjectName"] = this.query[key];
            } else {
              query[key] = this.query[key];
            }
          }
        }
        if (this.role == "ROLE_BANZHUREN") {
          if (
            query["subjectNames"].length == 1 &&
            query["subjectNames"][0] == "全部"
          ) {
            query["subjectNames"] = this.subjectList.map((item) => {
              return item.value;
            });
            query["subjectNames"].shift();
          }
        }
        const phaseExamReport =
          this.role == "ROLE_BANZHUREN"
            ? this.$request.cTPhaseExamReport
            : this.$request.phaseExamReport;
        const { data, status, info } = await phaseExamReport({
          ...query,
        });
        this.loading = false;
        if (status === 0) {
          this.total = data.count;
          let dataIdsList = [],
            dataList = [];
          data?.list.map((item) => {
            item.examList.map((items) => {
              if (this.role == "ROLE_JITUAN") {
                // if (!dataIdsList.includes(items.grade)) {
                //   dataIdsList.push(items.grade);
                //   dataList.push(items);
                // }
              } else {
                if (!dataIdsList.includes(items.title)) {
                  dataIdsList.push(items.title);
                  dataList.push(items);
                }
              }
            });
          });
          console.log(dataList);
          this.tableData = data?.list.map((item) => {
            let params = {};
            dataIdsList.map((ids, index) => {
              params["score" + index] = "--";
              params["classRank" + index] = "--";
              item.examList.map((items) => {
                if (this.role == "ROLE_JITUAN") {
                  if (items.title == ids) {
                  }
                } else {
                  if (items.title == ids) {
                    params["score" + index] = items.score;
                    params["classRank" + index] = items.classRank;
                  }
                }
              });
            });
            return {
              ...item,
              ...params,
            };
          });
          this.answerList = dataList;
f356590c   阿宝   即时测列表,分析页面
578
579
580
581
582
583
        } else {
          this.$message.error(info);
        }
      },
    },
  };
4c4f7640   梁保满   路由表,路由前端文件
584
585
  </script>
  
9309dc5d   梁保满   任课老师接口完成
586
587
588
589
590
591
592
593
594
595
  <style>
  div::-webkit-scrollbar {
    width: 3px;
    height: 10px;
  }
  div::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #ccc;
  }
  </style>
f356590c   阿宝   即时测列表,分析页面
596
  <style lang="scss" scoped>
9309dc5d   梁保满   任课老师接口完成
597
598
599
600
601
602
603
  .page-container {
    position: relative;
    &.active {
      height: 100%;
      overflow: hidden;
    }
  }
f356590c   阿宝   即时测列表,分析页面
604
605
606
607
608
609
610
611
612
613
614
615
  .table-box {
    margin: 0 20px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 5px;
    :deep(.fa-arrow-right) {
      padding-left: 2px;
    }
    :deep(.fa-file-text) {
      padding-left: 2px;
    }
  }
f356590c   阿宝   即时测列表,分析页面
616
617
618
  .down {
    padding-top: 16px;
  }
aed43d3a   阿宝   即时测修改答案
619
620
621
622
623
624
625
  .edit-dia {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
9309dc5d   梁保满   任课老师接口完成
626
    height: calc(100vh - 70px);
aed43d3a   阿宝   即时测修改答案
627
628
629
    background: #fff;
    overflow-y: auto;
    z-index: 10;
aed43d3a   阿宝   即时测修改答案
630
  }
4c4f7640   梁保满   路由表,路由前端文件
631
  </style>