Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
18cd13a1
提交
18cd13a1
authored
12月 09, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'vite' of
https://gitlab.ezijing.com/ezijing/x-learn
into vite
上级
c6264268
fbbee220
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
22 行增加
和
14 行删除
+22
-14
AppList.vue
src/components/base/AppList.vue
+0
-1
RankingAll.vue
src/modules/teacher/data/exam/components/RankingAll.vue
+1
-4
ScoreRanking.vue
src/modules/teacher/data/exam/components/ScoreRanking.vue
+0
-1
TitleData.vue
src/modules/teacher/data/exam/components/TitleData.vue
+19
-6
ClassList.vue
src/modules/teacher/data/exam/views/ClassList.vue
+1
-1
ExamData.vue
src/modules/teacher/data/exam/views/ExamData.vue
+1
-1
没有找到文件。
src/components/base/AppList.vue
浏览文件 @
18cd13a1
...
@@ -202,7 +202,6 @@ export default {
...
@@ -202,7 +202,6 @@ export default {
}
}
},
},
beforeMount
()
{
beforeMount
()
{
console
.
log
(
this
.
limit
,
'-----'
)
this
.
fetchList
()
this
.
fetchList
()
}
}
}
}
...
...
src/modules/teacher/data/exam/components/RankingAll.vue
浏览文件 @
18cd13a1
...
@@ -66,12 +66,9 @@ export default {
...
@@ -66,12 +66,9 @@ export default {
// })
// })
}
}
},
},
mounted
()
{
console
.
log
(
this
.
pass_score
,
'----'
)
},
methods
:
{
methods
:
{
scoreRow
(
row
,
index
)
{
scoreRow
(
row
,
index
)
{
console
.
log
(
row
,
'ffff'
)
if
(
row
.
row
.
score
<
this
.
pass_score
)
{
if
(
row
.
row
.
score
<
this
.
pass_score
)
{
return
'warning-row'
return
'warning-row'
}
else
{
}
else
{
...
...
src/modules/teacher/data/exam/components/ScoreRanking.vue
浏览文件 @
18cd13a1
...
@@ -95,7 +95,6 @@ export default {
...
@@ -95,7 +95,6 @@ export default {
methods
:
{
methods
:
{
handleResCount
(
val
)
{
handleResCount
(
val
)
{
this
.
count
=
val
this
.
count
=
val
console
.
log
(
this
.
count
.
list
.
length
,
'123'
)
},
},
// 导出
// 导出
exportScore
()
{
exportScore
()
{
...
...
src/modules/teacher/data/exam/components/TitleData.vue
浏览文件 @
18cd13a1
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
</div>
</div>
<app-list
v-bind=
"tableOptions"
ref=
"list"
@
sort-change=
"sortChange"
>
<app-list
v-bind=
"tableOptions"
ref=
"list"
@
sort-change=
"sortChange"
>
<template
v-slot:title=
"
{ row }">
<template
v-slot:title=
"
{ row }">
<a
class=
"title_row"
type=
"text"
@
click=
"toDetail(row)"
v-html=
"row.title"
:title=
"row.title"
></a>
<a
class=
"title_row"
type=
"text"
@
click=
"toDetail(row)"
v-html=
"row.title"
:title=
"row.title
.slice(3, -4)
"
></a>
</
template
>
</
template
>
</app-list>
</app-list>
</el-card>
</el-card>
...
@@ -90,7 +90,21 @@ export default {
...
@@ -90,7 +90,21 @@ export default {
},
},
columns
:
[
columns
:
[
{
label
:
'排序'
,
prop
:
'ranking'
,
align
:
'center'
},
{
label
:
'排序'
,
prop
:
'ranking'
,
align
:
'center'
},
{
label
:
'题干简述'
,
prop
:
'title'
,
align
:
'left'
,
slots
:
'title'
,
minWidth
:
200
},
{
label
:
'题干简述'
,
prop
:
'title'
,
align
:
'left'
,
slots
:
'title'
,
minWidth
:
200
// computed({ row }) {
// if (row.title.includes('
<
p
>
')) {
// console.log('
---
13213
')
// return row.title.slice(3, -4)
// } else {
// return row.title
// }
// }
},
{
{
label: '
题型
',
label: '
题型
',
prop: '
type
',
prop: '
type
',
...
@@ -203,9 +217,8 @@ export default {
...
@@ -203,9 +217,8 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
{
::v-deep
{
.table-list-filter
{
.table-list-filter
{
display
:
none
;
display
:
none
;
}
}
.el-table
{
.el-table
{
...
@@ -223,7 +236,7 @@ export default {
...
@@ -223,7 +236,7 @@ export default {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
color
:
#c01540
;
color
:
#c01540
;
text-align
:
left
;
text-align
:
left
;
p
{
p
{
text-align
:
left
;
text-align
:
left
;
width
:
200px
;
width
:
200px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
...
@@ -231,6 +244,6 @@ export default {
...
@@ -231,6 +244,6 @@ export default {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
color
:
#c01540
;
color
:
#c01540
;
}
}
}
}
}
}
</
style
>
</
style
>
src/modules/teacher/data/exam/views/ClassList.vue
浏览文件 @
18cd13a1
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</h1>
</h1>
<el-button
type=
"text"
style=
"float: right; margin-top: -40px"
@
click=
"exportClassList"
>
导出
</el-button>
<el-button
type=
"text"
style=
"float: right; margin-top: -40px"
@
click=
"exportClassList"
>
导出
</el-button>
<el-tabs
v-model=
"tabActive"
style=
"margin-top: 30px"
>
<el-tabs
v-model=
"tabActive"
style=
"margin-top: 30px"
>
<el-tab-pane
:label=
"`已
结束
$
{count.checked_count}`" name="finished">
</el-tab-pane>
<el-tab-pane
:label=
"`已
完成
$
{count.checked_count}`" name="finished">
</el-tab-pane>
<el-tab-pane
:label=
"`待评价$
{count.commit_count}`" name="toEvaluate" lazy>
</el-tab-pane>
<el-tab-pane
:label=
"`待评价$
{count.commit_count}`" name="toEvaluate" lazy>
</el-tab-pane>
<el-tab-pane
:label=
"`未作答$
{count.no_sheet_count}`" name="noAnswer" lazy>
</el-tab-pane>
<el-tab-pane
:label=
"`未作答$
{count.no_sheet_count}`" name="noAnswer" lazy>
</el-tab-pane>
<el-tab-pane
:label=
"`未提交$
{count.cache_count}`" name="toSubmit" lazy>
</el-tab-pane>
<el-tab-pane
:label=
"`未提交$
{count.cache_count}`" name="toSubmit" lazy>
</el-tab-pane>
...
...
src/modules/teacher/data/exam/views/ExamData.vue
浏览文件 @
18cd13a1
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"container"
>
<div
class=
"container"
>
<div
style=
"display: flex; justify-content: space-between"
>
<div
style=
"display: flex; justify-content: space-between"
>
<h1
style=
"font-size: 30px"
>
<h1
style=
"font-size: 30px"
>
{{
$route
.
query
.
examination_name
}}
<span
style=
"color: #c01540; font-size: 14px"
>
*部分数据未进行评价
</span>
{{
$route
.
query
.
examination_name
}}
</h1>
</h1>
<div
style=
"margin-right: 60px"
>
<div
style=
"margin-right: 60px"
>
<el-select
v-model=
"value"
placeholder=
"全部数据"
@
change=
"refreshPage"
clearable
>
<el-select
v-model=
"value"
placeholder=
"全部数据"
@
change=
"refreshPage"
clearable
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论