Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
f094058b
提交
f094058b
authored
12月 07, 2021
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style:列表样式调整
上级
681d77f6
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
13 行增加
和
17 行删除
+13
-17
List.vue
src/modules/teacher/data/course/views/List.vue
+1
-3
Process.vue
src/modules/teacher/data/course/views/Process.vue
+1
-1
RankingAll.vue
src/modules/teacher/data/exam/components/RankingAll.vue
+2
-2
ExamData.vue
src/modules/teacher/data/exam/views/ExamData.vue
+9
-11
没有找到文件。
src/modules/teacher/data/course/views/List.vue
浏览文件 @
f094058b
...
...
@@ -2,9 +2,7 @@
<app-container>
<app-list
v-bind=
"tableOptions"
ref=
"list"
@
sort-change=
"sortChange"
>
<!-- 操作 -->
<template
v-slot:table-img=
"
{ row }">
<img
:src=
"row.course_picture"
alt=
""
style=
"width: 100px; height: 100px"
/>
</
template
>
<template
v-slot:table-img=
"
{ row }">
<img
:src=
"row.course_picture"
alt=
""
style=
"width: 100px"
/>
</
template
>
<
template
v-slot:table-operate=
"{ row }"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"toClassData(row)"
>
班级数据
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"toPersonal(row)"
>
个人数据
</el-button>
...
...
src/modules/teacher/data/course/views/Process.vue
浏览文件 @
f094058b
...
...
@@ -2,7 +2,7 @@
<app-card>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:course_picture=
"
{ row }">
<el-image
:src=
"row.course_picture"
></el-image>
<el-image
:src=
"row.course_picture"
style=
"width: 100px"
></el-image>
</
template
>
<
template
v-slot:progress=
"{ row }"
>
<el-progress
:percentage=
"row.progress"
></el-progress>
...
...
src/modules/teacher/data/exam/components/RankingAll.vue
浏览文件 @
f094058b
<
template
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
@
sort-change=
"sortChange"
>
<template
v-slot:paper_title=
"
{ row }">
<div
:class=
"`paper-title active$
{row.
paper_title}`">
{{
row
.
paper_title
}}
</div>
<div
:class=
"`paper-title active$
{row.
ranking}`">
{{
row
.
ranking
}}
</div>
</
template
>
<
template
v-slot:table_operate=
"{ row }"
>
<el-button
type=
"text"
@
click=
"toDetail(row)"
v-if=
"tabActive === 'finished'"
>
查看
</el-button>
...
...
@@ -32,7 +32,7 @@ export default {
return
{
data
:
this
.
scoreRanking
.
list
,
columns
:
[
{
label
:
'排名'
,
slots
:
'paper_title'
,
prop
:
'
paper_title
'
,
align
:
'center'
},
{
label
:
'排名'
,
slots
:
'paper_title'
,
prop
:
'
ranking
'
,
align
:
'center'
},
{
label
:
'姓名'
,
prop
:
'personal_name'
,
align
:
'center'
},
{
label
:
'客观题'
,
prop
:
'subjective'
,
align
:
'center'
,
sortable
:
'custom'
,
minWidth
:
100
},
{
label
:
'主观题'
,
prop
:
'objective'
,
align
:
'center'
,
sortable
:
'custom'
,
minWidth
:
100
},
...
...
src/modules/teacher/data/exam/views/ExamData.vue
浏览文件 @
f094058b
...
...
@@ -13,21 +13,19 @@
>
<section
slot=
"pdf-content"
:key=
"value"
>
<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"
>
{{
$route
.
query
.
examination_name
}}
<span
style=
"color: #c01540; font-size: 14px"
>
*部分数据未进行评价
</span>
</h1>
</el-col>
<el-col
:span=
"10"
>
<div
style=
"display: flex; justify-content: space-between"
>
<h1
style=
"font-size: 30px"
>
{{
$route
.
query
.
examination_name
}}
<span
style=
"color: #c01540; font-size: 14px"
>
*部分数据未进行评价
</span>
</h1>
<div
style=
"margin-right: 60px"
>
<el-select
v-model=
"value"
placeholder=
"全部数据"
@
change=
"refreshPage"
clearable
>
<el-option
v-for=
"item in dataInfo.class_map"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-select>
<el-button
type=
"text"
style=
"margin-left: 30px"
@
click=
"$refs.html2Pdf.generatePdf()"
>
导出pdf
</el-button>
</el-col>
</el-row>
<el-button
type=
"text"
style=
"margin-left: 10px"
@
click=
"$refs.html2Pdf.generatePdf()"
>
导出pdf
</el-button>
</div>
</div>
<template
v-if=
"dataInfo.paper_info"
>
<el-row
:gutter=
"10"
class=
"row-bg"
>
<el-col
:span=
"8"
class=
"col"
><exam-info
:dataInfo=
"dataInfo"
/></el-col>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论