Commit 61a668ab authored by 黄奎's avatar 黄奎

页面修改

parent 8abd4c0d
......@@ -2,7 +2,7 @@
.TimeLineDiv {
margin-top: 20px;
overflow: auto;
height:620px;
height: 620px;
flex: 1;
height: 100%;
padding-right: 20px;
......@@ -10,61 +10,56 @@
</style>
<template>
<div> 我是记录
<!-- <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 data.tripDataList" :key="tIndex">
<template v-slot:title>
<div style="font-size:14px;">{{ tItem.Description }}</div>
</template>
<template v-slot:subtitle>
<div class="customUpdateTime">
<div>{{ tItem.UpdateTime }}</div>
<div>{{ tItem.UpdateByName }}</div>
</div>
</template>
<div>
<div>{{ tItem.Remark }}</div>
<div class="img_box">
<img v-for="(e,i) in tItem.ImageList" :key="i" :src="e" class="img" />
</div>
<div class="file_box">
<div v-for="(e,i) in tItem.FileList" :key="i" class="flex items-center file_name">附件:<span
style="color:#000">{{ e.FileName }}</span>
<div class="del_btn" @click="DownLoadFileByUrl(e.FileUrl,e.FileName)">下载</div>
</div>
</div>
</div>
</q-timeline-entry>
</q-timeline>
</div>
</div>
<div style="margin:20px 0;">
<q-pagination class="full-width justify-end" v-model="customTripMsg.pageIndex" color="primary"
:max="data.TripPageCount" input @update:model-value="changePage" />
</div> -->
</div>
</template>
<script>
import {
queryStudentLogPage, //日志记录
} from '../../../api/customerstudent/customerstudent';
export default {
props: {
saveObj: {
type: Object,
default: null
}
},
meta: {
title: ""
},
components: {
},
props: {
},
data() {
return {
customMsg: {
pageIndex: 1,
pageSize: 10,
StuId: 0,
},
pageCount: 0,
//日志记录信息
logData: [],
}
},
created() {
if (this.saveObj && this.saveObj.StuId > 0) {
this.customMsg.StuId = this.saveObj.StuId;
}
},
mounted() {},
mounted() {
this.getStuLogPage();
},
methods: {
getStuLogPage() {
queryStudentLogPage(customMsg).then(res => {
console.log("res", res);
if (res.Code == 1) {
this.logData = res.Data.PageData
this.pageCount = res.Data.PageCount
}
});
}
},
}
</script>
</script>
\ No newline at end of file
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