Commit de4bcc75 authored by zhengke's avatar zhengke

1

parent ccfdaf8b
...@@ -10,15 +10,30 @@ ...@@ -10,15 +10,30 @@
</style> </style>
<template> <template>
<div> <div>
<template v-for="(item,index) in logData"> <div style="display:flex;flex:1;flex-direction: column;overflow:hidden;">
<div :key="index"> <div class="TimeLineDiv">
{{item.CreateTimeStr}} <br /> <q-timeline color="primary">
{{item.CreateByName}} <br /> <q-timeline-entry v-for="(tItem,tIndex) in logData" :key="tIndex">
{{item.LogTitle}} <br /> <template v-slot:title>
{{item.LogContent}} <br /> <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> </div>
</div>
</template> <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> </div>
</template> </template>
<script> <script>
...@@ -67,6 +82,10 @@ ...@@ -67,6 +82,10 @@
this.pageCount = res.Data.PageCount this.pageCount = res.Data.PageCount
} }
}); });
},
changePage(val){
this.customMsg.pageIndex = val;
this.getStuLogPage();
} }
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment