This commit is contained in:
liuyuan
2025-05-23 17:26:50 +08:00
parent 4bd20d9037
commit b54c3be506
8 changed files with 14 additions and 11 deletions

View File

@@ -90,6 +90,8 @@
<span>创建日期{{ scope.row.createTime }}<br /></span>
<span v-if="scope.row.state >= 1">开班日期{{ scope.row.startTime }}<br /></span>
<span v-if="scope.row.state == 2">结班日期{{ scope.row.endTime }}<br /></span>
<span v-if="scope.row.examStartTime">考试周开始日期{{ scope.row.examStartTime }}<br /></span>
<span v-if="scope.row.examEndTime">考试周结束日期{{ scope.row.examEndTime }}<br /></span>
<!-- <img
v-if="scope.row.avatar && scope.row.avatar != ''"
:src="scope.row.avatar"

View File

@@ -264,6 +264,7 @@ export default {
}).then(({ data }) => {
if (data && data.code === 0) {
this.dataList = data.list;
this.totalPage = this.dataList.length;
}
this.dataListLoading = false;
});

View File

@@ -148,7 +148,7 @@
:current-page="pageIndex"
:page-sizes="[10, 20, 50, 100]"
:page-size="pageSize"
:total="totalPage"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
>
</el-pagination>
@@ -328,7 +328,7 @@ export default {
dataList: [],
pageIndex: 1,
pageSize: 10,
totalPage: 0,
total: 0,
dataListLoading: false,
addOrUpdateVisible: false,
titlesub: '新增',
@@ -402,7 +402,7 @@ export default {
}).then(({ data }) => {
if (data && data.code === 0) {
this.dataList = data.trainingClassList.records;
this.totalPage = data.trainingClassList.total;
this.total = data.trainingClassList.total;
}
this.dataListLoading = false;
});

View File

@@ -193,7 +193,7 @@
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
:current-page="pageIndex"
:page-sizes="[50, 100, 200]"
:page-sizes="[10, 20, 50, 100]"
:page-size="pageSize"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
@@ -403,7 +403,7 @@ export default {
pageIndex: 1,
pageSize: 10,
totalPage: 0,
total: 0,
total: '',
totalLaoding: false,
dataListLoading: false,
dataListSelections: [],
@@ -441,7 +441,7 @@ export default {
},
activated() {
this.userId = this.$route.query.id;
this.init();
//this.init();
// this.getDataList()
// this.getcourpeList()
},