查看分解单

This commit is contained in:
Mr.Z
2021-08-18 12:35:14 +08:00
parent dc5418c91d
commit 8f2a1ef1fd
@@ -621,16 +621,22 @@
<loading :loading="tableLoading">数据加载中...</loading>
</div>
<pagination
:page="page7"
:total="total7"
@pageChange="pageChange7"
@pageSizeChange="pageSizeChange7"></pagination>
<el-pagination
@size-change="pageSizeChange"
@current-change="pageChange"
:current-page="1"
:page-sizes="[10, 20, 30, 50]"
:page-size="100"
layout="sizes, prev, pager, next, jumper"
:total="standitemTotal">
</el-pagination>
<!-- <el-pagination-->
<!-- @size-change="pageSizeChange"-->
<!-- @current-change="pageChange"-->
<!-- :current-page="1"-->
<!-- :page-sizes="[10, 20, 30, 50]"-->
<!-- :page-size="100"-->
<!-- layout="sizes, prev, pager, next, jumper"-->
<!-- :total="standitemTotal">-->
<!-- </el-pagination>-->
<!-- <pagination :total="standitemTotal" @pageChange="pageChange"-->
<!-- @pageSizeChange="pageSizeChange"></pagination>-->
@@ -1243,6 +1249,8 @@ export default {
knowType: '',
KnowTitle: '',
knowIdList: '',
total7: 0,
page7: 1,
addForm: {
title: '',
content: '',
@@ -1759,6 +1767,15 @@ export default {
this.knowId = ''
this.AddKnowledgDialog = false
},
//查看分解单分页
pageChange7(page) {
this.page7 = page
this.selectSarStandItems()
},
pageSizeChange7(pageSize){
this.pageSize7 = pageSize
this.selectSarStandItems()
},
// 知识点分页
pageChange1(page) {
this.pageNo = page
@@ -2317,12 +2334,9 @@ export default {
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', this.standItemSearch, {}, res => {
this.selectedItemList = []
if (res.ok) {
this.standItemList = res.data.list;
console.log("standItemList");
console.log(this.standItemList);
console.log("res.data");
this.standItemList = res.data;
console.log(res.data);
this.standitemTotal = res.data.count // 分页需要
this.total7 = res.data.length // 分页需要
}
}, e => {
})