4c4f7640
梁保满
路由表,路由前端文件
|
1
|
<template>
|
e371f2dc
梁保满
软件下载,学校,班级老师等报表导入...
|
2
|
<div ref="main" class="page-container">
|
f356590c
阿宝
即时测列表,分析页面
|
3
4
|
<back-box>
<template slot="title">
|
e17ec739
梁保满
随堂问,即时测导出爆表修改
|
5
|
<span>{{ type == 1 ? '单卷测练报表' : type == 2 ? subjectName + "汇总报表" : type == 3 ? "多科汇总报表" :
|
079cb4cf
梁保满
即时测导出
|
6
|
`多班_${subjectName}_${title}_测练成绩对比分析` }}</span>
|
f356590c
阿宝
即时测列表,分析页面
|
7
8
|
</template>
</back-box>
|
079cb4cf
梁保满
即时测导出
|
9
10
11
12
|
<Test v-if="type == 1" :role="role" :id="id" :classId="classId" :subjectName="subjectName" :title="title" />
<MultipleTest v-else-if="type == 2" :role="role" :ids="ids" :classId="classId" :subjectName="subjectName" />
<MultipleSubTest v-else-if="type == 3" :role="role" :ids="ids" :classId="classId" :subjectName="subjectName" />
<Contrast v-else-if="type == 4" :role="role" :ids="ids" :subjectName="subjectName" :title="title" />
|
f356590c
阿宝
即时测列表,分析页面
|
13
|
</div>
|
4c4f7640
梁保满
路由表,路由前端文件
|
14
15
16
|
</template>
<script>
|
079cb4cf
梁保满
即时测导出
|
17
18
19
20
|
import Test from "./components/test.vue"
import MultipleTest from "./components/multipleTest.vue"
import MultipleSubTest from "./components/multipleSubTest.vue"
import Contrast from "./components/contrast.vue"
|
4c4f7640
梁保满
路由表,路由前端文件
|
21
|
export default {
|
079cb4cf
梁保满
即时测导出
|
22
23
24
25
26
27
|
components: {
Test,
MultipleTest,
MultipleSubTest,
Contrast
},
|
f356590c
阿宝
即时测列表,分析页面
|
28
29
|
data() {
return {
|
167079c6
梁保满
班主任隐藏查看题目
|
30
|
role: "",
|
f356590c
阿宝
即时测列表,分析页面
|
31
|
id: "",
|
079cb4cf
梁保满
即时测导出
|
32
|
ids: [],
|
e5e4a3e6
梁保满
v1.3
|
33
|
type: 0,
|
079cb4cf
梁保满
即时测导出
|
34
35
36
|
classId: "",
subjectName: '',
title: ''
|
f356590c
阿宝
即时测列表,分析页面
|
37
38
39
|
};
},
created() {
|
167079c6
梁保满
班主任隐藏查看题目
|
40
41
42
|
this.role =
this.$store.getters.info.showRole ||
this.$store.getters.info.permissions[0].role;
|
079cb4cf
梁保满
即时测导出
|
43
|
this.id = this.$route.query.id || "";
|
22095aba
梁保满
接口联调
|
44
|
this.ids = this.$route.query.ids && this.$route.query.ids.split(",") || "";
|
079cb4cf
梁保满
即时测导出
|
45
|
this.type = this.$route.query.type
|
3ac930bd
梁保满
低分设置
|
46
|
this.classId = this.$route.query.classId || "";
|
079cb4cf
梁保满
即时测导出
|
47
|
this.title = this.$route.query.title || ""
|
e17ec739
梁保满
随堂问,即时测导出爆表修改
|
48
|
this.subjectName = this.$route.query.subjectName || ""
|
f356590c
阿宝
即时测列表,分析页面
|
49
50
|
},
methods: {
|
e371f2dc
梁保满
软件下载,学校,班级老师等报表导入...
|
51
|
|
079cb4cf
梁保满
即时测导出
|
52
|
}
|
f356590c
阿宝
即时测列表,分析页面
|
53
|
};
|
4c4f7640
梁保满
路由表,路由前端文件
|
54
|
</script>
|
f356590c
阿宝
即时测列表,分析页面
|
55
|
<style lang="scss" scoped>
|
9309dc5d
梁保满
任课老师接口完成
|
56
57
|
.page-container {
position: relative;
|
255e2506
梁保满
飞书bug及优化
|
58
|
height: 100%;
|
079cb4cf
梁保满
即时测导出
|
59
|
|
255e2506
梁保满
飞书bug及优化
|
60
61
62
|
.table-box {
min-height: 100%;
}
|
079cb4cf
梁保满
即时测导出
|
63
|
|
9309dc5d
梁保满
任课老师接口完成
|
64
|
&.active {
|
9309dc5d
梁保满
任课老师接口完成
|
65
66
|
overflow: hidden;
}
|
079cb4cf
梁保满
即时测导出
|
67
68
|
|
533a17d8
梁保满
备题组卷添加批量设置答案
|
69
|
}
|
079cb4cf
梁保满
即时测导出
|
70
|
|
9309dc5d
梁保满
任课老师接口完成
|
71
72
73
|
.error {
color: #f30;
}
|
079cb4cf
梁保满
即时测导出
|
74
|
|
f356590c
阿宝
即时测列表,分析页面
|
75
76
77
|
.page-content {
padding: 20px 20px 0;
}
|
079cb4cf
梁保满
即时测导出
|
78
79
|
|
9309dc5d
梁保满
任课老师接口完成
|
80
81
82
83
84
85
|
.down {
padding-top: 20px;
width: 100%;
display: flex;
justify-content: space-between;
}
|
4c4f7640
梁保满
路由表,路由前端文件
|
86
|
</style>
|