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
de4bcc75
Commit
de4bcc75
authored
Dec 09, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ccfdaf8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
8 deletions
+27
-8
student-record.vue
src/components/school/student/student-record.vue
+27
-8
No files found.
src/components/school/student/student-record.vue
View file @
de4bcc75
...
...
@@ -10,15 +10,30 @@
</
style
>
<
template
>
<div>
<template
v-for=
"(item,index) in logData"
>
<div
:key=
"index"
>
{{
item
.
CreateTimeStr
}}
<br
/>
{{
item
.
CreateByName
}}
<br
/>
{{
item
.
LogTitle
}}
<br
/>
{{
item
.
LogContent
}}
<br
/>
<div
style=
"display:flex;flex:1;flex-direction: column;overflow:hidden;"
>
<div
class=
"TimeLineDiv"
>
<q-timeline
color=
"primary"
>
<q-timeline-entry
v-for=
"(tItem,tIndex) in logData"
:key=
"tIndex"
>
<template
v-slot:title
>
<div
class=
"visit_Cont"
>
<div>
{{
tItem
.
LogTitle
}}
</div>
<div>
{{
tItem
.
LogContent
}}
</div>
</div>
</
template
>
<
template
v-slot:subtitle
>
<div
class=
"Time_TopList"
>
<div>
{{
tItem
.
CreateTimeStr
}}
</div>
<div>
{{
tItem
.
CreateByName
}}
</div>
</div>
</
template
>
</q-timeline-entry>
</q-timeline>
</div>
</
template
>
</div>
<div
style=
"margin:20px 0;"
>
<q-pagination
class=
"full-width justify-end"
v-model=
"customMsg.pageIndex"
color=
"primary"
:max=
"pageCount"
input
@
input=
"changePage"
/>
</div>
</div>
</template>
<
script
>
...
...
@@ -67,6 +82,10 @@
this
.
pageCount
=
res
.
Data
.
PageCount
}
});
},
changePage
(
val
){
this
.
customMsg
.
pageIndex
=
val
;
this
.
getStuLogPage
();
}
},
}
...
...
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