Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
8d034b63
提交
8d034b63
authored
12月 08, 2021
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码更新
上级
fd2f0d54
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
21 行增加
和
134 行删除
+21
-134
Finished.vue
src/modules/teacher/data/exam/components/Finished.vue
+2
-1
RankingAll.vue
src/modules/teacher/data/exam/components/RankingAll.vue
+4
-1
TitleData.vue
src/modules/teacher/data/exam/components/TitleData.vue
+4
-1
PersonalList.vue
src/modules/teacher/data/exam/views/PersonalList.vue
+4
-1
Finished.vue
src/modules/teacher/data/test/components/Finished.vue
+0
-52
index.js
src/modules/teacher/data/test/index.js
+5
-3
List.vue
src/modules/teacher/data/test/views/List.vue
+2
-2
testData.vue
src/modules/teacher/data/test/views/testData.vue
+0
-73
没有找到文件。
src/modules/teacher/data/exam/components/Finished.vue
浏览文件 @
8d034b63
...
...
@@ -61,7 +61,8 @@ export default {
methods
:
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
path
:
'/teacher/data/exam/PersonalList'
,
path
:
this
.
paramList
.
type
===
'examination'
?
'/teacher/data/exam/PersonalList'
:
'/teacher/data/test/PersonalList'
,
query
:
{
class_id
:
row
.
class_id
,
course_id
:
this
.
paramList
.
course_id
,
...
...
src/modules/teacher/data/exam/components/RankingAll.vue
浏览文件 @
8d034b63
...
...
@@ -61,7 +61,10 @@ export default {
methods
:
{
toDetail
(
data
)
{
this
.
$router
.
push
({
path
:
'/teacher/data/exam/examData/classDetail'
,
path
:
this
.
scoreRanking
.
type
===
'examination'
?
'/teacher/data/exam/examData/classDetail'
:
'/teacher/data/test/examData/classDetail'
,
query
:
{
id
:
data
.
id
,
type
:
this
.
scoreRanking
.
type
...
...
src/modules/teacher/data/exam/components/TitleData.vue
浏览文件 @
8d034b63
...
...
@@ -168,7 +168,10 @@ export default {
},
toDetail
(
row
)
{
this
.
$router
.
push
({
path
:
'/teacher/data/exam/examData/topicData'
,
path
:
this
.
type
===
'examination'
?
'/teacher/data/exam/examData/topicData'
:
'/teacher/data/test/examData/topicData'
,
query
:
{
course_id
:
this
.
course_id
,
examination_id
:
this
.
examination_id
,
...
...
src/modules/teacher/data/exam/views/PersonalList.vue
浏览文件 @
8d034b63
...
...
@@ -64,7 +64,10 @@ export default {
methods
:
{
toExamData
(
row
)
{
this
.
$router
.
push
({
path
:
'/teacher/data/exam/examData/classDetail'
,
path
:
this
.
$route
.
query
.
type
===
'examination'
?
'/teacher/data/exam/examData/classDetail'
:
'/teacher/data/test/examData/classDetail'
,
query
:
{
id
:
row
.
id
,
type
:
this
.
$route
.
query
.
type
...
...
src/modules/teacher/data/test/components/Finished.vue
deleted
100644 → 0
浏览文件 @
fd2f0d54
<
template
>
<app-container>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:table-name=
"
{ row }">
<el-button
type=
"text"
@
click=
"toPersonal"
>
{{
row
.
class_name
}}
</el-button>
</
template
>
</app-list>
</app-container>
</template>
<
script
>
export
default
{
data
()
{
return
{}
},
computed
:
{
// 列表配置
tableOptions
()
{
return
{
remote
:
{},
columns
:
[
{
label
:
'排名'
,
prop
:
'paper_title'
,
align
:
'center'
},
{
label
:
'班级'
,
slots
:
'table-name'
,
align
:
'center'
},
{
label
:
'平均分'
,
prop
:
'cankao_num'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'客观题平均分'
,
prop
:
'ret5t'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'客观题最高分'
,
prop
:
'average_num'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'客观题最低分'
,
prop
:
'top'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'主观题平均分'
,
prop
:
'low'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'主观题最高分'
,
prop
:
'title_num'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'主观题最低分'
,
prop
:
'title_percent'
,
align
:
'center'
,
sortable
:
true
}
],
data
:
[
{
class_name
:
'121321431'
}
]
}
}
},
methods
:
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
path
:
'/teacher/data/person'
,
query
:
{
row
:
row
}
})
}
}
}
</
script
>
src/modules/teacher/data/test/index.js
浏览文件 @
8d034b63
...
...
@@ -4,9 +4,11 @@ const routes = [
component
:
()
=>
import
(
'@/components/layout/index.vue'
),
children
:
[
{
path
:
'/teacher/data/test'
,
component
:
()
=>
import
(
'./views/List.vue'
)
},
{
path
:
'/teacher/data/classList'
,
component
:
()
=>
import
(
'../exam/views/ClassList.vue'
)
},
{
path
:
'/teacher/data/person'
,
component
:
()
=>
import
(
'../exam/views/PersonalList.vue'
)
},
{
path
:
'/teacher/data/testData'
,
component
:
()
=>
import
(
'../exam/views/ExamData.vue'
)
}
{
path
:
'/teacher/data/test/classList'
,
component
:
()
=>
import
(
'../exam/views/ClassList.vue'
)
},
{
path
:
'/teacher/data/test/PersonalList'
,
component
:
()
=>
import
(
'../exam/views/PersonalList.vue'
)
},
{
path
:
'/teacher/data/test/testData'
,
component
:
()
=>
import
(
'../exam/views/ExamData.vue'
)
},
{
path
:
'/teacher/data/test/examData/classDetail'
,
component
:
()
=>
import
(
'../exam/views/classDetail.vue'
)
},
{
path
:
'/teacher/data/test/examData/topicData'
,
component
:
()
=>
import
(
'../exam/views/TopicData.vue'
)
}
]
}
]
...
...
src/modules/teacher/data/test/views/List.vue
浏览文件 @
8d034b63
...
...
@@ -79,7 +79,7 @@ export default {
},
toClassData
(
row
)
{
this
.
$router
.
push
({
path
:
'/teacher/data/classList'
,
path
:
'/teacher/data/
test/
classList'
,
query
:
{
course_id
:
row
.
course_id
,
chapter_id
:
row
.
chapter_id
,
...
...
@@ -90,7 +90,7 @@ export default {
},
toTestData
(
row
)
{
this
.
$router
.
push
({
path
:
'/teacher/data/testData'
,
path
:
'/teacher/data/test
/test
Data'
,
query
:
{
course_id
:
row
.
course_id
,
chapter_id
:
row
.
chapter_id
,
...
...
src/modules/teacher/data/test/views/testData.vue
deleted
100644 → 0
浏览文件 @
fd2f0d54
<
template
>
<div
class=
"container"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
style=
"margin-bottom: 30px"
>
<el-col><h1
style=
"padding-left: 0px; font-size: 30px"
>
模拟测试一
</h1></el-col>
<el-col
:span=
"10"
>
<!--
<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-button
type=
"text"
style=
"margin-left: 30px"
>
导出pdf
</el-button>
</el-col>
</el-row>
<el-row
:gutter=
"10"
class=
"row-bg"
>
<el-col
:span=
"8"
class=
"col"
><ExamInfo
:dataInfo=
"dataInfo"
/></el-col>
<el-col
:span=
"8"
class=
"col"
><Submission
:dataInfo=
"dataInfo"
/></el-col>
<el-col
:span=
"7"
><Score
:dataInfo=
"dataInfo"
/></el-col>
</el-row>
<el-row
:gutter=
"10"
class=
"row-bg"
>
<el-col
:span=
"12"
class=
"col"
><ScoreRanking
/></el-col>
<el-col
:span=
"11"
><TitleData
/></el-col>
</el-row>
<el-row
:gutter=
"10"
class=
"row-bg"
>
<el-col
:span=
"8"
class=
"col"
><Result
/></el-col>
<el-col
:span=
"8"
class=
"col"
><ScoreRange
/></el-col>
<el-col
:span=
"7"
><QuestionType
/></el-col>
</el-row>
</div>
</
template
>
<
script
>
import
ExamInfo
from
'../../exam/components/ExamInfo.vue'
import
Submission
from
'../../exam/components/Submission.vue'
import
Score
from
'../../exam/components/Score.vue'
import
ScoreRanking
from
'../../exam/components/ScoreRanking.vue'
import
TitleData
from
'../../exam/components/TitleData.vue'
import
Result
from
'../../exam/components/Result.vue'
import
ScoreRange
from
'../../exam/components/ScoreRange.vue'
import
QuestionType
from
'../../exam/components/QuestionType.vue'
import
{
getExamDataInfo
}
from
'../api'
export
default
{
components
:
{
ExamInfo
,
Submission
,
Score
,
ScoreRanking
,
TitleData
,
Result
,
ScoreRange
,
QuestionType
},
data
()
{
return
{
options
:
{},
dataInfo
:
{}
}
},
created
()
{
this
.
getExamDataInfo
()
},
methods
:
{
getExamDataInfo
()
{
const
params
=
{
course_id
:
this
.
$route
.
query
.
course_id
,
chapter_id
:
this
.
$route
.
query
.
chapter_id
,
type
:
'chapter'
}
getExamDataInfo
(
params
).
then
(
res
=>
{
this
.
dataInfo
=
res
.
data
})
}
}
}
</
script
>
<
style
>
.row-bg
{
margin-top
:
30px
;
padding
:
10px
0
;
}
.col
{
margin-right
:
21px
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论