1.修复第二页查询无数据问题

2.修复设备领用审核页面查询设备详情错误问题
zhairh
x_z 3 years ago
parent aff0ea0749
commit 291d4ba1cb

@ -168,6 +168,7 @@ export default {
this.getList(); this.getList();
}, },
onSubmit() { onSubmit() {
this.filterQuery.page = 1;
this.getList(); this.getList();
}, },
handleSizeChange(val) { handleSizeChange(val) {
@ -282,7 +283,7 @@ export default {
}) })
}, },
handleChange(row) { handleChange(row) {
this.detailList = { this.detailQuery = {
orderIdFk: row.orderId, orderIdFk: row.orderId,
page: 1, page: 1,
limit: 20 limit: 20

@ -149,6 +149,7 @@ export default {
this.getList(); this.getList();
}, },
onSubmit() { onSubmit() {
this.filterQuery.page = 1;
this.getList(); this.getList();
}, },
handleSizeChange(val) { handleSizeChange(val) {

@ -162,6 +162,7 @@ export default {
this.getList(); this.getList();
}, },
onSubmit() { onSubmit() {
this.filterQuery.page = 1;
this.getList(); this.getList();
}, },
handleSizeChange(val) { handleSizeChange(val) {
@ -233,7 +234,6 @@ export default {
} }
}) })
}).catch((error) => { }).catch((error) => {
this.$message.error(error.message);
}); });
}, },
getDepts() { getDepts() {

@ -139,6 +139,7 @@ export default {
this.getList(); this.getList();
}, },
onSubmit() { onSubmit() {
this.filterQuery.page = 1;
this.getList(); this.getList();
}, },
handleSizeChange(val) { handleSizeChange(val) {

Loading…
Cancel
Save