This commit is contained in:
xingquansheng
2019-09-21 17:08:22 +08:00
parent 52e223101a
commit 50c66e917e
36 changed files with 401 additions and 386 deletions

View File

@@ -34,7 +34,7 @@
size="mini"
highlight-current-row
border
height="380">
height="550">
<el-table-column
label="序号"
align="center"
@@ -80,7 +80,7 @@
<el-pagination
v-if="!listLoading1"
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40]"
:page-sizes="[15, 20, 30, 40]"
:page-size="pageSize"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
@@ -109,7 +109,7 @@ export default {
tableData1: [],
listLoading1: false,
total: 0, // 总条数
pageSize: 10,
pageSize: 15,
pageCurrent: 1
}
},
@@ -175,6 +175,7 @@ export default {
})
},
handleSizeChange(val) {
this.pageCurrent = 1
this.pageSize = val
this.getTableData()
},

View File

@@ -22,7 +22,7 @@
</el-select>
<span>零件图号:</span>
<el-input v-model="number" placeholder="零件号" clearable size="small" style="width: 180px;"/>
<el-button type="success" class="el-icon-search" size="small" style="margin: 10px 0 0 10px" @click="getTableData();pageCurrent=1;pageSize=10;total = 0">查询</el-button>
<el-button type="success" class="el-icon-search" size="small" style="margin: 10px 0 0 10px" @click="getTableData();pageCurrent=1;pageSize=15;total = 0">查询</el-button>
</el-card>
<el-card>
@@ -34,7 +34,7 @@
highlight-current-row
class="table"
border
height="380">
height="550">
<el-table-column
label="序号"
align="center"
@@ -85,7 +85,7 @@
<el-pagination
v-if="!listLoading1"
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40]"
:page-sizes="[15, 20, 30, 40]"
:page-size="pageSize"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
@@ -114,7 +114,7 @@ export default {
tableData1: [],
listLoading1: false,
total: 0, // 总条数
pageSize: 10,
pageSize: 15,
pageCurrent: 1
}
},
@@ -180,6 +180,7 @@ export default {
})
},
handleSizeChange(val) {
this.pageCurrent = 1
this.pageSize = val
this.getTableData()
},