查看分解单

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