Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
d799ca4b
提交
d799ca4b
authored
11月 29, 2021
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:列表数据路由完善
上级
837b7a1b
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
128 行增加
和
47 行删除
+128
-47
ClassLIst.vue
src/modules/teacher/data/course/components/ClassLIst.vue
+5
-2
CourseProcessList.vue
...ules/teacher/data/course/components/CourseProcessList.vue
+0
-4
PersonalList.vue
src/modules/teacher/data/course/components/PersonalList.vue
+7
-4
List.vue
src/modules/teacher/data/course/views/List.vue
+26
-9
Finished.vue
src/modules/teacher/data/exam/components/Finished.vue
+6
-3
NoAnswer.vue
src/modules/teacher/data/exam/components/NoAnswer.vue
+6
-3
PersonalList.vue
src/modules/teacher/data/exam/components/PersonalList.vue
+5
-2
ToEvaluate.vue
src/modules/teacher/data/exam/components/ToEvaluate.vue
+5
-3
List.vue
src/modules/teacher/data/exam/views/List.vue
+38
-6
Finished.vue
src/modules/teacher/data/test/components/Finished.vue
+5
-2
NoAnswer.vue
src/modules/teacher/data/test/components/NoAnswer.vue
+6
-3
PersonalList.vue
src/modules/teacher/data/test/components/PersonalList.vue
+9
-2
ToEvaluate.vue
src/modules/teacher/data/test/components/ToEvaluate.vue
+5
-2
List.vue
src/modules/teacher/data/test/views/List.vue
+5
-2
没有找到文件。
src/modules/teacher/data/course/components/ClassLIst.vue
浏览文件 @
d799ca4b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<app-container>
<app-container>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
#
header-aside
>
<template
#
header-aside
>
<el-button
type=
"text"
style=
"margin-top:5px;font-size:24px"
>
导出
</el-button>
<el-button
type=
"text"
style=
"margin-top:5px;font-size:24px"
@
click=
"export"
>
导出
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
remote
:
{
remote
:
{
},
},
filters
:
[
filters
:
[
{
type
:
'
selec
t'
,
prop
:
'class_name'
,
placeholder
:
'班级名称'
,
label
:
'班级名称'
}
{
type
:
'
inpu
t'
,
prop
:
'class_name'
,
placeholder
:
'班级名称'
,
label
:
'班级名称'
}
],
],
columns
:
[
columns
:
[
{
label
:
'班级名称'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
{
label
:
'班级名称'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
...
@@ -34,7 +34,10 @@ export default {
...
@@ -34,7 +34,10 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
// 导出
export
()
{
}
}
}
}
}
</
script
>
</
script
>
src/modules/teacher/data/course/components/CourseProcessList.vue
浏览文件 @
d799ca4b
...
@@ -4,10 +4,6 @@
...
@@ -4,10 +4,6 @@
<template
v-slot:progress=
"
{ row }">
<template
v-slot:progress=
"
{ row }">
<el-progress
:percentage=
"row.progress"
></el-progress>
<el-progress
:percentage=
"row.progress"
></el-progress>
</
template
>
</
template
>
<!-- 操作 -->
<
template
v-slot:table-operate=
"{ row }"
>
<el-button
type=
"text"
size=
"mini"
>
查看
</el-button>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
</template>
</template>
...
...
src/modules/teacher/data/course/components/PersonalList.vue
浏览文件 @
d799ca4b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</
template
>
</
template
>
<!-- 操作 -->
<!-- 操作 -->
<
template
v-slot:table-operate=
"{ row }"
>
<
template
v-slot:table-operate=
"{ row }"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"toPersonDetail"
>
查看
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toPersonDetail
(row)
"
>
查看
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
...
@@ -25,7 +25,7 @@ export default {
...
@@ -25,7 +25,7 @@ export default {
remote
:
{
remote
:
{
},
},
filters
:
[
filters
:
[
{
type
:
'
selec
t'
,
prop
:
'class_name'
,
placeholder
:
'学生姓名'
,
label
:
'学生姓名'
}
{
type
:
'
inpu
t'
,
prop
:
'class_name'
,
placeholder
:
'学生姓名'
,
label
:
'学生姓名'
}
],
],
columns
:
[
columns
:
[
{
label
:
'学生姓名'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
{
label
:
'学生姓名'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
...
@@ -42,9 +42,12 @@ export default {
...
@@ -42,9 +42,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toPersonDetail
()
{
toPersonDetail
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/detail'
path
:
'/detail'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/course/views/List.vue
浏览文件 @
d799ca4b
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<img
:src=
"row.tableImg"
alt=
""
/>
<img
:src=
"row.tableImg"
alt=
""
/>
</
template
>
</
template
>
<
template
v-slot:table-operate=
"{ row }"
>
<
template
v-slot:table-operate=
"{ row }"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"toClassData"
>
班级数据
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toClassData
(row)
"
>
班级数据
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toPersonal"
>
个人数据
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toPersonal
(row)
"
>
个人数据
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
...
@@ -17,8 +17,9 @@
...
@@ -17,8 +17,9 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
visible
:
false
,
conditionList
:
{
currentClickRow
:
{}
courseList
:
[]
}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -28,7 +29,17 @@ export default {
...
@@ -28,7 +29,17 @@ export default {
remote
:
{
remote
:
{
},
},
filters
:
[
filters
:
[
{
type
:
'select'
,
prop
:
'class_name'
,
placeholder
:
'课程名称'
,
label
:
'课程名称'
}
{
type
:
'select'
,
prop
:
'class_name'
,
placeholder
:
'课程名称'
,
label
:
'课程名称'
,
options
:
this
.
conditionList
.
courseList
,
labelKey
:
'course_name'
,
valueKey
:
'course_id'
,
filterable
:
true
,
remote
:
true
}
],
],
columns
:
[
columns
:
[
{
label
:
'图片'
,
prop
:
'tableImg'
,
slots
:
'table-img'
},
{
label
:
'图片'
,
prop
:
'tableImg'
,
slots
:
'table-img'
},
...
@@ -46,14 +57,20 @@ export default {
...
@@ -46,14 +57,20 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toClassData
()
{
toClassData
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/classDatas'
path
:
'/classDatas'
,
query
:
{
row
:
row
}
})
})
},
},
toPersonal
()
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/personal'
path
:
'/personal'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/exam/components/Finished.vue
浏览文件 @
d799ca4b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<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
v-slot:table-name=
"
{ row }">
<el-button
type=
"text"
@
click=
"toPersonal"
>
{{
row
.
class_name
}}
</el-button>
<el-button
type=
"text"
@
click=
"toPersonal
(row)
"
>
{{
row
.
class_name
}}
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
...
@@ -41,9 +41,12 @@ export default {
...
@@ -41,9 +41,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toPersonal
()
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/PersonalList'
path
:
'/PersonalList'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/exam/components/NoAnswer.vue
浏览文件 @
d799ca4b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<app-container>
<app-container>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:class_name=
"
{ row }">
<template
v-slot:class_name=
"
{ row }">
<el-button
type=
"text"
@
click=
"toPersonal"
>
{{
row
.
class_name
}}
</el-button>
<el-button
type=
"text"
@
click=
"toPersonal
(row)
"
>
{{
row
.
class_name
}}
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
...
@@ -40,9 +40,12 @@ export default {
...
@@ -40,9 +40,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toPersonal
()
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/PersonalList'
path
:
'/PersonalList'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/exam/components/PersonalList.vue
浏览文件 @
d799ca4b
...
@@ -45,9 +45,12 @@ export default {
...
@@ -45,9 +45,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toExamData
()
{
toExamData
(
row
)
{
// this.$router.push({
// this.$router.push({
// path:''
// path: '',
// query: {
// row: row
// }
// })
// })
}
}
}
}
...
...
src/modules/teacher/data/exam/components/ToEvaluate.vue
浏览文件 @
d799ca4b
...
@@ -40,10 +40,12 @@ export default {
...
@@ -40,10 +40,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toPersonal
(
row
)
{
toPersonal
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/PersonalList'
path
:
'/PersonalList'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/exam/views/List.vue
浏览文件 @
d799ca4b
...
@@ -14,6 +14,10 @@
...
@@ -14,6 +14,10 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
conditionList
:
{
examList
:
[],
courseList
:
[]
}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -23,8 +27,28 @@ export default {
...
@@ -23,8 +27,28 @@ export default {
remote
:
{
remote
:
{
},
},
filters
:
[
filters
:
[
{
type
:
'select'
,
prop
:
'class_name'
,
placeholder
:
'考试名称'
,
label
:
'考试名称'
},
{
{
type
:
'select'
,
prop
:
'paper_title'
,
placeholder
:
'所属课程'
,
label
:
'所属课程'
}
type
:
'select'
,
prop
:
'class_name'
,
placeholder
:
'考试名称'
,
label
:
'考试名称'
,
options
:
this
.
conditionList
.
examList
,
labelKey
:
'exam_name'
,
valueKey
:
'exam_id'
,
filterable
:
true
,
remote
:
true
},
{
type
:
'select'
,
prop
:
'course'
,
placeholder
:
'所属课程'
,
label
:
'所属课程'
,
options
:
this
.
conditionList
.
courseList
,
labelKey
:
'course_name'
,
valueKey
:
'course_id'
,
filterable
:
true
,
remote
:
true
}
],
],
columns
:
[
columns
:
[
{
label
:
'考试名称'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
{
label
:
'考试名称'
,
prop
:
'paper_title'
,
slots
:
'table-name'
},
...
@@ -47,13 +71,21 @@ export default {
...
@@ -47,13 +71,21 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toExamData
()
{
toExamData
(
row
)
{
// this.$router.push({
// path: '',
// query: {
// row: row
// }
// })
},
},
// 班级数据
// 班级数据
toClassData
()
{
toClassData
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/class'
path
:
'/class'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/test/components/Finished.vue
浏览文件 @
d799ca4b
...
@@ -41,9 +41,12 @@ export default {
...
@@ -41,9 +41,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toPersonal
()
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/person'
path
:
'/person'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/test/components/NoAnswer.vue
浏览文件 @
d799ca4b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<app-container>
<app-container>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:class_name=
"
{ row }">
<template
v-slot:class_name=
"
{ row }">
<el-button
type=
"text"
@
click=
"toPersonal"
>
{{
row
.
class_name
}}
</el-button>
<el-button
type=
"text"
@
click=
"toPersonal
(row)
"
>
{{
row
.
class_name
}}
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
...
@@ -40,9 +40,12 @@ export default {
...
@@ -40,9 +40,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toPersonal
()
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/PersonalList'
path
:
'/PersonalList'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/test/components/PersonalList.vue
浏览文件 @
d799ca4b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</
template
>
</
template
>
<!-- 操作 -->
<!-- 操作 -->
<
template
v-slot:table-operate=
"{ row }"
>
<
template
v-slot:table-operate=
"{ row }"
>
<el-button
type=
"text"
size=
"mini"
>
查看
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toDetail(row)"
>
查看
</el-button>
</
template
>
</
template
>
</app-list>
</app-list>
</app-container>
</app-container>
...
@@ -43,7 +43,14 @@ export default {
...
@@ -43,7 +43,14 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toDetail
(
row
)
{
// this.$router.push({
// path:'',
// query:{
// row:row
// }
// })
}
}
}
}
}
</
script
>
</
script
>
src/modules/teacher/data/test/components/ToEvaluate.vue
浏览文件 @
d799ca4b
...
@@ -41,9 +41,12 @@ export default {
...
@@ -41,9 +41,12 @@ export default {
},
},
methods
:
{
methods
:
{
toPersonal
()
{
toPersonal
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/PersonalList'
path
:
'/PersonalList'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
src/modules/teacher/data/test/views/List.vue
浏览文件 @
d799ca4b
...
@@ -48,9 +48,12 @@ export default {
...
@@ -48,9 +48,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toClassData
()
{
toClassData
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/classList'
path
:
'/classList'
,
query
:
{
row
:
row
}
})
})
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论