Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
6d33c159
提交
6d33c159
authored
11月 30, 2021
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码提交
上级
b3eb2c11
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
50 行增加
和
38 行删除
+50
-38
ExamData.vue
src/modules/teacher/data/exam/components/ExamData.vue
+11
-9
ExamInfo.vue
...ules/teacher/data/exam/components/components/ExamInfo.vue
+1
-1
QuestionType.vue
.../teacher/data/exam/components/components/QuestionType.vue
+3
-4
Result.vue
...odules/teacher/data/exam/components/components/Result.vue
+1
-1
Score.vue
...modules/teacher/data/exam/components/components/Score.vue
+1
-1
ScoreRange.vue
...es/teacher/data/exam/components/components/ScoreRange.vue
+25
-18
Submission.vue
...es/teacher/data/exam/components/components/Submission.vue
+1
-1
List.vue
src/modules/teacher/data/exam/views/List.vue
+7
-3
没有找到文件。
src/modules/teacher/data/exam/components/ExamData.vue
浏览文件 @
6d33c159
<
template
>
<app-container>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
style=
"margin-bottom: 30px"
>
<el-col
:span=
"10"
><h1
style=
"padding-left:
8
0px; font-size: 30px"
>
模拟测试一
</h1></el-col>
<el-col
:span=
"10"
><h1
style=
"padding-left:
5
0px; font-size: 30px"
>
模拟测试一
</h1></el-col>
<el-col
:span=
"5"
>
<
!--
<el-select
v-model=
"selectValue
"
placeholder=
"请选择"
>
<
el-select
v-model=
"label
"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
-->
</el-select>
<el-button
type=
"text"
style=
"margin-left: 20px"
>
导出pdf
</el-button>
</el-col>
</el-row>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
>
<el-col
:span=
"
6
"
><ExamInfo
/></el-col>
<el-col
:span=
"
6
"
><Submission
/></el-col>
<el-col
:span=
"
6
"
><Score
/></el-col>
<el-col
:span=
"
7
"
><ExamInfo
/></el-col>
<el-col
:span=
"
7
"
><Submission
/></el-col>
<el-col
:span=
"
7
"
><Score
/></el-col>
</el-row>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
style=
"margin-top: 30px"
>
<el-col
:span=
"1
0
"
><ScoreRanking
/></el-col>
<el-col
:span=
"1
0
"
><TitleData
/></el-col>
<el-col
:span=
"1
1
"
><ScoreRanking
/></el-col>
<el-col
:span=
"1
1
"
><TitleData
/></el-col>
</el-row>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
style=
"margin-top: 30px"
>
<el-col
:span=
"7"
><Result
/></el-col>
...
...
@@ -38,7 +38,9 @@ import QuestionType from './components/QuestionType.vue'
export
default
{
components
:
{
ExamInfo
,
Submission
,
Score
,
ScoreRanking
,
TitleData
,
Result
,
ScoreRange
,
QuestionType
},
data
()
{
return
{}
return
{
options
:
{}
}
}
}
</
script
>
...
...
src/modules/teacher/data/exam/components/components/ExamInfo.vue
浏览文件 @
6d33c159
<
template
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<
span>
考试信息
</span
>
<
h1
style=
"font-size: 28px"
>
考试信息
</h1
>
</div>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
>
<el-col
:span=
"6"
...
...
src/modules/teacher/data/exam/components/components/QuestionType.vue
浏览文件 @
6d33c159
<
template
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<
span>
题型数据
</span
>
<
h1
style=
"font-size: 28px"
>
题型数据
</h1
>
</div>
<div
id=
"type"
style=
"width: 600px; height:
40
0px"
></div>
<div
id=
"type"
style=
"width: 600px; height:
36
0px"
></div>
<div>
客观题正确率76%
</div>
<div>
主观题正确率24%
</div>
</el-card>
...
...
@@ -11,7 +11,6 @@
<
script
>
import
*
as
echarts
from
'echarts'
export
default
{
data
()
{
return
{
...
...
@@ -25,7 +24,7 @@ export default {
grid
:
{
left
:
'10%'
,
right
:
'20%'
,
bottom
:
'
3
%'
,
bottom
:
'
20
%'
,
containLabel
:
true
},
xAxis
:
[
...
...
src/modules/teacher/data/exam/components/components/Result.vue
浏览文件 @
6d33c159
<
template
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<
span>
结果统计
</span
>
<
h1
style=
"font-size: 28px"
>
结果统计
</h1
>
</div>
<div
id=
"main"
style=
"width: 600px; height: 400px"
></div>
</el-card>
...
...
src/modules/teacher/data/exam/components/components/Score.vue
浏览文件 @
6d33c159
<
template
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<
span>
分数统计
</span
>
<
h1
style=
"font-size: 28px"
>
分数统计
</h1
>
</div>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
>
<el-col
:span=
"6"
...
...
src/modules/teacher/data/exam/components/components/ScoreRange.vue
浏览文件 @
6d33c159
<
template
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<
span>
考分区间
</span
>
<el-button
type=
"text"
style=
"float: right"
>
设置
</el-button>
<
h1
style=
"font-size: 28px"
>
考分区间
</h1
>
<el-button
type=
"text"
style=
"float: right
; margin-top: -40px
"
>
设置
</el-button>
</div>
<div
id=
"score"
style=
"width: 600px; height: 400px"
></div>
</el-card>
...
...
@@ -10,42 +10,49 @@
<
script
>
import
*
as
echarts
from
'echarts'
export
default
{
data
()
{
return
{
option
:
{
title
:
{
text
:
'Referer of a Website'
,
subtext
:
'Fake Data'
,
left
:
'center'
},
tooltip
:
{
trigger
:
'item'
},
legend
:
{
bottom
:
10
,
bottom
:
'5%'
,
left
:
'center'
},
series
:
[
{
name
:
'Access From'
,
type
:
'pie'
,
radius
:
'50%'
,
radius
:
[
'40%'
,
'70%'
],
avoidLabelOverlap
:
false
,
itemStyle
:
{
borderRadius
:
10
,
borderColor
:
'#fff'
,
borderWidth
:
2
},
label
:
{
show
:
false
,
position
:
'center'
},
emphasis
:
{
label
:
{
show
:
true
,
fontSize
:
'40'
,
fontWeight
:
'bold'
}
},
labelLine
:
{
show
:
false
},
data
:
[
{
value
:
1048
,
name
:
'Search Engine'
},
{
value
:
735
,
name
:
'Direct'
},
{
value
:
580
,
name
:
'Email'
},
{
value
:
484
,
name
:
'Union Ads'
},
{
value
:
300
,
name
:
'Video Ads'
}
],
emphasis
:
{
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
'rgba(0, 0, 0, 0.5)'
}
}
]
}
]
}
...
...
src/modules/teacher/data/exam/components/components/Submission.vue
浏览文件 @
6d33c159
<
template
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<
span>
交卷统计
</span
>
<
h1
style=
"font-size: 28px"
>
交卷统计
</h1
>
</div>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
>
<el-col
:span=
"6"
...
...
src/modules/teacher/data/exam/views/List.vue
浏览文件 @
6d33c159
...
...
@@ -11,6 +11,7 @@
</template>
<
script
>
// import { getExamList } from '../api'
export
default
{
data
()
{
return
{
...
...
@@ -24,11 +25,14 @@ export default {
// 列表配置
tableOptions
()
{
return
{
remote
:
{},
remote
:
{
// httpRequest: getExamList,
params
:
{}
},
filters
:
[
{
type
:
'select'
,
prop
:
'
class_name
'
,
prop
:
'
exam_id
'
,
placeholder
:
'考试名称'
,
label
:
'考试名称'
,
options
:
this
.
conditionList
.
examList
,
...
...
@@ -39,7 +43,7 @@ export default {
},
{
type
:
'select'
,
prop
:
'course'
,
prop
:
'course
_id
'
,
placeholder
:
'所属课程'
,
label
:
'所属课程'
,
options
:
this
.
conditionList
.
courseList
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论