Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
5ad4fadb
Commit
5ad4fadb
authored
Aug 20, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a1635d64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
22 deletions
+37
-22
examPaper.vue
src/pages/exam/examPaper.vue
+37
-22
No files found.
src/pages/exam/examPaper.vue
View file @
5ad4fadb
...
...
@@ -36,25 +36,31 @@
.Exam_PaperName
i
{
font-size
:
18px
;
}
.examPaper
.el-table
th
{
.examPaper
.el-table
th
{
background-color
:
#F5F6F7
;
}
.examPNav
{
margin
:
10px
0
;
color
:
#3A8BFF
;
font-size
:
12px
;
.examPNav
{
margin
:
10px
0
;
color
:
#3A8BFF
;
font-size
:
12px
;
}
.examPNav
span
{
.examPNav
span
{
cursor
:
pointer
;
}
.examPNav
span
:hover
{
.examPNav
span
:hover
{
text-decoration
:
underline
;
}
.lastExam
{
color
:
#6B89B3
;
cursor
:
default
!important
;
.lastExam
{
color
:
#6B89B3
;
cursor
:
default
!important
;
pointer-events
:
none
;
}
</
style
>
<!--试卷库管理-->
<
template
>
...
...
@@ -86,25 +92,24 @@
</div>
<div
class=
"page-content examPaper"
>
<div
v-if=
"navList&&navList.length>0"
class=
"examPNav"
>
<span
@
click=
"getPaperChild(0)"
>
全部
</span>
>
<template
v-for=
"(item,index) in navList"
>
<span
@
click=
"getPaperChild(item.PaperId)"
:class=
"
{'lastExam':index==navList.length-1}" :key="index">
{{
item
.
PaperName
}}
</span>
<span
v-if=
"index!=navList.length-1"
:key=
"index"
>
>
</span>
</
template
>
<span
@
click=
"getPaperChild(0)"
>
全部
</span>
>
<template
v-for=
"(item,index) in navList"
>
<span
@
click=
"getPaperChild(item.PaperId)"
:class=
"
{'lastExam':index==navList.length-1}" :key="index">
{{
item
.
PaperName
}}
</span>
<span
v-if=
"index!=navList.length-1"
:key=
"index"
>
>
</span>
</
template
>
</div>
<el-table
:data=
"dataList"
v-loading=
"loading"
>
<el-table-column
prop=
"PaperName"
label=
"文件夹/试卷"
width=
"400"
>
<
template
slot-scope=
"scope"
>
<div
class=
"Exam_PaperName"
>
<i
v-if=
"scope.row.PaperType==1"
title=
"文件夹"
class=
"iconfont icon-weibiaoti5"
style=
"color:#85CDFD;"
></i>
<i
v-if=
"scope.row.PaperType==2"
title=
"试卷"
class=
"iconfont icon-icon-test1"
style=
"color:#85CDFD;"
></i>
<i
v-if=
"scope.row.PaperType==1"
title=
"文件夹"
class=
"iconfont icon-weibiaoti5"
style=
"color:#85CDFD;"
></i>
<i
v-if=
"scope.row.PaperType==2"
title=
"试卷"
class=
"iconfont icon-icon-test1"
style=
"color:#85CDFD;"
></i>
<div
class=
"Exam_PaperName"
>
<template
v-if=
"scope.row.PaperType==1"
>
<span
style=
"cursor:pointer;"
@
click=
"getPaperChild(scope.row.PaperId)"
>
{{
scope
.
row
.
PaperName
}}
</span>
<span
style=
"cursor:pointer;"
@
click=
"getPaperChild(scope.row.PaperId)"
>
{{
scope
.
row
.
PaperName
}}
</span>
</
template
>
<
template
v-else
>
{{
scope
.
row
.
PaperName
}}
...
...
@@ -155,6 +160,16 @@
{{
scope
.
row
.
CreateTimeStr
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"ReviewerName"
label=
"审核人"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
ReviewerName
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"ExamineStatusStr"
label=
"审核状态"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
ExamineStatusStr
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.PaperType==1"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment