Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
940bf31c
提交
940bf31c
authored
12月 02, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'vite' of
https://gitlab.ezijing.com/ezijing/x-learn
into vite
上级
f878d9c9
cda16b9b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
30 行增加
和
27 行删除
+30
-27
List.vue
src/modules/teacher/data/exam/views/List.vue
+2
-2
PersonalList.vue
src/modules/teacher/data/exam/views/PersonalList.vue
+6
-10
List.vue
src/modules/teacher/data/test/views/List.vue
+22
-15
没有找到文件。
src/modules/teacher/data/exam/views/List.vue
浏览文件 @
940bf31c
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
filters
:
[
filters
:
[
{
{
type
:
'select'
,
type
:
'select'
,
prop
:
'examination_
list
'
,
prop
:
'examination_
id
'
,
placeholder
:
'考试名称'
,
placeholder
:
'考试名称'
,
label
:
'考试名称'
,
label
:
'考试名称'
,
options
:
this
.
conditionList
.
examination_list
,
options
:
this
.
conditionList
.
examination_list
,
...
@@ -46,7 +46,7 @@ export default {
...
@@ -46,7 +46,7 @@ export default {
},
},
{
{
type
:
'select'
,
type
:
'select'
,
prop
:
'course_
list
'
,
prop
:
'course_
id
'
,
placeholder
:
'所属课程'
,
placeholder
:
'所属课程'
,
label
:
'所属课程'
,
label
:
'所属课程'
,
options
:
this
.
conditionList
.
course_list
,
options
:
this
.
conditionList
.
course_list
,
...
...
src/modules/teacher/data/exam/views/PersonalList.vue
浏览文件 @
940bf31c
<
template
>
<
template
>
<app-container>
<app-container>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:table-name=
"
{ row }"
>
<template
#
header-aside
>
<el-
link
type=
"primary"
>
{{
row
.
paper_title
}}
</el-link
>
<el-
button
type=
"text"
size=
"mini"
@
click=
"toExamData(row)"
>
导出
</el-button
>
</
template
>
</
template
>
<!-- 操作 -->
<!-- 操作 -->
<
template
v-slot:table-operate=
"{ row }"
>
<
template
v-slot:table-operate=
"{ row }"
>
...
@@ -15,18 +15,14 @@
...
@@ -15,18 +15,14 @@
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{}
}
},
},
computed
:
{
computed
:
{
// 列表配置
// 列表配置
tableOptions
()
{
tableOptions
()
{
return
{
return
{
remote
:
{
remote
:
{},
},
filters
:
[{
type
:
'input'
,
prop
:
'paper_title'
,
placeholder
:
'学生姓名'
,
label
:
'学生姓名'
}],
filters
:
[
{
type
:
'input'
,
prop
:
'paper_title'
,
placeholder
:
'学生姓名'
,
label
:
'学生姓名'
}
],
columns
:
[
columns
:
[
{
label
:
'学生姓名'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
{
label
:
'学生姓名'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
{
label
:
'总得分'
,
prop
:
'class_name'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'总得分'
,
prop
:
'class_name'
,
align
:
'center'
,
sortable
:
true
},
...
@@ -47,7 +43,7 @@ export default {
...
@@ -47,7 +43,7 @@ export default {
methods
:
{
methods
:
{
toExamData
(
row
)
{
toExamData
(
row
)
{
// this.$router.push({
// this.$router.push({
// path: '',
// path: '
/teacher/data/exam/classDetail
',
// query: {
// query: {
// row: row
// row: row
// }
// }
...
...
src/modules/teacher/data/test/views/List.vue
浏览文件 @
940bf31c
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
getConditionList
}
from
'../api'
import
{
getConditionList
,
getTestList
}
from
'../api'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -22,11 +22,18 @@ export default {
...
@@ -22,11 +22,18 @@ export default {
// 列表配置
// 列表配置
tableOptions
()
{
tableOptions
()
{
return
{
return
{
remote
:
{},
remote
:
{
httpRequest
:
getTestList
,
params
:
{
type
:
'chapter'
,
course_id
:
''
,
examination_id
:
''
}
},
filters
:
[
filters
:
[
{
{
type
:
'select'
,
type
:
'select'
,
prop
:
'examination_
list
'
,
prop
:
'examination_
id
'
,
placeholder
:
'考试名称'
,
placeholder
:
'考试名称'
,
label
:
'练习名称'
,
label
:
'练习名称'
,
options
:
this
.
conditionList
.
examination_list
,
options
:
this
.
conditionList
.
examination_list
,
...
@@ -36,7 +43,7 @@ export default {
...
@@ -36,7 +43,7 @@ export default {
},
},
{
{
type
:
'select'
,
type
:
'select'
,
prop
:
'course_
list
'
,
prop
:
'course_
id
'
,
placeholder
:
'所属课程'
,
placeholder
:
'所属课程'
,
label
:
'所属课程'
,
label
:
'所属课程'
,
options
:
this
.
conditionList
.
course_list
,
options
:
this
.
conditionList
.
course_list
,
...
@@ -46,18 +53,18 @@ export default {
...
@@ -46,18 +53,18 @@ export default {
}
}
],
],
columns
:
[
columns
:
[
{
label
:
'练习名称'
,
prop
:
'paper_title'
,
align
:
'center'
},
{
label
:
'练习名称'
,
prop
:
'examination_name'
,
align
:
'center'
},
{
label
:
'所属章节'
,
prop
:
'class_name'
,
align
:
'center'
},
{
label
:
'所属章节'
,
prop
:
'parent_name'
,
align
:
'center'
},
{
label
:
'练习总人数'
,
prop
:
'commit_num'
,
align
:
'center'
},
{
label
:
'所属课程'
,
prop
:
'course_name'
,
align
:
'center'
},
{
label
:
'联系率'
,
prop
:
'deterg'
,
align
:
'center'
},
{
label
:
'练习总人数'
,
prop
:
'join_num'
,
align
:
'center'
},
{
label
:
'平均得分'
,
prop
:
'grehrtj'
,
align
:
'center'
},
{
label
:
'练习率'
,
prop
:
'join_rate'
,
align
:
'center'
},
{
label
:
'最高分'
,
prop
:
'jyj5uy'
,
align
:
'center'
},
{
label
:
'平均得分'
,
prop
:
'average'
,
align
:
'center'
},
{
label
:
'最低分'
,
prop
:
'et43453'
,
align
:
'center'
},
{
label
:
'最高分'
,
prop
:
'max'
,
align
:
'center'
},
{
label
:
'题目总数'
,
prop
:
'rwr2rq'
,
align
:
'center'
},
{
label
:
'最低分'
,
prop
:
'min'
,
align
:
'center'
},
{
label
:
'及格率'
,
prop
:
'dwefw'
,
align
:
'center'
},
{
label
:
'题目总数'
,
prop
:
'question_num'
,
align
:
'center'
},
{
label
:
'及格率'
,
prop
:
'pass_rate'
,
align
:
'center'
},
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
width
:
'150'
}
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
width
:
'150'
}
],
]
data
:
[{
paper_title
:
'adsada'
}]
}
}
}
}
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论