修改bug

ww
wangwei 3 years ago
parent 04f7cff829
commit 4934b92ae2

@ -258,13 +258,28 @@ export default {
this.getCodeList();
},
handleCurrentChange(val) {
this.query.page = val;
this.getCodeList();
this.query.page =val;
this.getCodeList1();
},
getCodeList1() {
this.loading = true;
this.query.corpOrderId = this.idQuery.id;
codeList(this.query) //
.then((response) => {
this.loading = false;
this.codeArry = response.data.list || [];
this.total = response.data.total || 0;
})
.catch(() => {
this.loading = false;
this.list = [];
this.total = 0;
});
},
getCodeList() {
this.loading = true;
this.query.corpOrderId = this.idQuery.id;
this.query.page=1
codeList(this.query) //
.then((response) => {
this.loading = false;

Loading…
Cancel
Save