Commit 9265ae9c authored by zhengke's avatar zhengke

修改

parent 0354312c
<style>
.classLog {
margin: 0 20px;
height: 600px;
padding-bottom:70px;
overflow: auto;
}
......@@ -46,6 +46,8 @@
</q-timeline-entry>
</template>
</q-timeline>
<q-pagination class="full-width justify-start" v-model="msg.PageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" />
</div>
</template>
<script>
......@@ -66,11 +68,12 @@
return {
msg: {
PageIndex: 1,
PageSize: 12,
PageSize: 6,
School_Id: 0,
ClassId: 0
},
dataList: [],
pageCount:0
}
},
created() {},
......@@ -84,9 +87,15 @@
queryClassLogPageList(this.msg).then(res => {
if (res.Code == 1) {
this.dataList = res.Data.PageData;
this.pageCount = res.Data.PageCount;
}
})
},
//翻页
changePage(val) {
this.msg.PageIndex = val;
this.getClassLog()
}
},
watch: {
setingObj: function (val, oldval) {
......
......@@ -107,7 +107,7 @@
emit-value map-options />
</div>
</div>
<div>
<div style="padding-bottom:50px;">
<template v-if="checkType==1">
<q-table :pagination="msg" no-data-label="暂无相关数据" flat class="sticky-column-table" separator="none"
:data="dataList" :columns="columns">
......
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