Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
a415e920
提交
a415e920
authored
12月 02, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 数据看板 table修改
上级
e8852b0f
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
44 行增加
和
5 行删除
+44
-5
RankingAll.vue
src/modules/teacher/data/exam/components/RankingAll.vue
+42
-3
ScoreRanking.vue
src/modules/teacher/data/exam/components/ScoreRanking.vue
+1
-1
TitleData.vue
src/modules/teacher/data/exam/components/TitleData.vue
+1
-1
没有找到文件。
src/modules/teacher/data/exam/components/RankingAll.vue
浏览文件 @
a415e920
<
template
>
<app-container>
<app-list
v-bind=
"tableOptions"
ref=
"list"
>
<template
v-slot:paper_title=
"
{ row }">
<div
:class=
"`paper-title active$
{row.paper_title}`">
{{
row
.
paper_title
}}
</div>
</
template
>
<
template
v-slot:table-operate=
"{ row }"
>
<el-button
type=
"text"
@
click=
"toDetail(row)"
v-if=
"tabActive === 'finished'"
>
查看
</el-button>
<el-button
type=
"text"
@
click=
"toDetail(row)"
v-else-if=
"tabActive === 'toEvaluate'"
>
批阅
</el-button>
<div
v-else
>
-
</div>
</
template
>
</app-list>
</app-container>
</template>
<
script
>
...
...
@@ -27,7 +28,7 @@ export default {
return
{
remote
:
{},
columns
:
[
{
label
:
'排名'
,
prop
:
'paper_title'
,
align
:
'center'
},
{
label
:
'排名'
,
slots
:
'paper_title'
,
align
:
'center'
},
{
label
:
'姓名'
,
prop
:
'class_name'
,
align
:
'center'
},
{
label
:
'客观题'
,
prop
:
'cankao_num'
,
align
:
'center'
,
sortable
:
true
},
{
label
:
'主观题'
,
prop
:
'efw'
,
align
:
'center'
,
sortable
:
true
},
...
...
@@ -36,12 +37,15 @@ export default {
],
data
:
[
{
paper_title
:
'1'
,
class_name
:
'1w1e'
},
{
paper_title
:
'2'
,
class_name
:
'1w1e'
},
{
paper_title
:
'3'
,
class_name
:
'1w1e'
},
{
...
...
@@ -65,3 +69,38 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.paper-title
{
text-align
:
center
;
line-height
:
27px
;
width
:
27px
;
height
:
27px
;
// background: #E3EAFF;
color
:
#606266
;
border-radius
:
50%
;
margin
:
0
auto
;
&
.active1
{
color
:
#6C83CE
;
background
:
#E3EAFF
;
}
&
.active2
{
color
:
#8FB87A
;
background
:
#EBFCE2
;
}
&
.active3
{
color
:
#D96685
;
background
:
#FFEAEF
;
}
}
::v-deep
{
.el-table
{
th
{
padding
:
0
;
}
td
{
padding
:
0
;
height
:
41px
;
}
}
}
</
style
>
src/modules/teacher/data/exam/components/ScoreRanking.vue
浏览文件 @
a415e920
<
template
>
<el-card
style=
"height:
400
px"
>
<el-card
style=
"height:
554
px"
>
<div
slot=
"header"
class=
"clearfix"
>
<h1
style=
"color: #333; font-size: 16px; border-left: 3px solid #aa1941; padding-left: 7px"
>
分数排名
</h1>
<el-button
type=
"text"
style=
"font-size: 16px; color: #aa1941; float: right; margin-top: -30px"
>
导出
</el-button>
...
...
src/modules/teacher/data/exam/components/TitleData.vue
浏览文件 @
a415e920
<
template
>
<el-card
style=
"margin-right: -20px; height:
400
px"
>
<el-card
style=
"margin-right: -20px; height:
554
px"
>
<div
slot=
"header"
class=
"clearfix"
>
<h1
style=
"color: #333; font-size: 16px; border-left: 3px solid #aa1941; padding-left: 7px"
>
题目数据
</h1>
<el-button
type=
"text"
style=
"font-size: 16px; color: #aa1941; float: right; margin-top: -30px"
>
导出
</el-button>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论