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
1a4c8315
Commit
1a4c8315
authored
Feb 23, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cba0c3e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
class-record.vue
src/components/school/student/class-record.vue
+13
-9
No files found.
src/components/school/student/class-record.vue
View file @
1a4c8315
...
...
@@ -46,8 +46,6 @@
text-align
:
center
;
font-style
:
normal
;
}
</
style
>
<
template
>
<div>
...
...
@@ -66,32 +64,38 @@
</div>
<div>
<el-table
:data=
"chapterList"
v-loading=
"loading"
ref=
"table"
:height=
"tableHeight"
style=
"width: 100%;"
>
<el-table-column
prop=
"ChapterNo"
label=
"章节"
width=
"4
5
0"
>
<el-table-column
prop=
"ChapterNo"
label=
"章节"
width=
"4
0
0"
>
<template
slot-scope=
"scope"
>
<div
style=
"display: inline-block;"
>
<div
class=
"flex q-ml-md"
>
<div
class=
"record_cala_Num"
v-if=
"scope.row.ChapterNo.indexOf('.') == -1"
style=
"cursor:pointer;"
>
<div
class=
"record_cala_Num"
>
<span>
<i>
{{
scope
.
row
.
ChapterNo
}}
</i>
</span>
</div>
<div
style=
"margin-left: 36px;width:360px;cursor:pointer;"
class=
"ellipsis"
v-if=
"scope.row.ChapterNo.indexOf('.') == -1"
>
<div
style=
"margin-left: 36px;width:320px;"
class=
"ellipsis"
>
{{
scope
.
row
.
ChapterName
}}
</div>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"State"
label=
"状态"
width=
"
10
0"
>
<el-table-column
prop=
"State"
label=
"状态"
width=
"
7
0"
>
<
template
slot-scope=
"scope"
>
<div
class=
"text-positive"
v-if=
"scope.row.State == 1"
>
正常上课
<div
v-if=
"scope.row.State == 1"
>
<span
class=
"text-warning"
v-if=
"scope.row.AppointState==1"
>
待确认
</span>
<span
class=
"text-info"
v-if=
"scope.row.AppointState==2"
>
待上课
</span>
<span
class=
"text-positive"
v-if=
"scope.row.AppointState==3"
>
已上课
</span>
</div>
<div
class=
"text-warning"
v-if=
"scope.row.State == 2"
>
补课
</div>
<div
class=
"text-negative"
v-if=
"scope.row.State == 3"
>
缺课
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"AgainNum"
label=
"重学次数"
width=
"80"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
AgainNum
}}
</
template
>
</el-table-column>
</el-table>
</div>
...
...
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