Commit 23cb6351 by chenyu

update: update

parent 81f4643f
......@@ -47,7 +47,8 @@ export default {
projectName: 'gic-web',
pageParams: {
currentPage: 1,
pageSize: 20
pageSize: 20,
time: ''
},
total: 0,
tableList: [],
......@@ -71,6 +72,7 @@ export default {
delete params.time;
}
let res = await getPageSignLog(params);
console.log(res);
if (res.errorCode === 0 && res.result) {
this.tableList = res.result.result || [];
this.total = res.result.totalCount;
......@@ -80,6 +82,7 @@ export default {
}
this.loading = false;
} catch (err) {
console.log(3);
this.loading = false;
}
},
......@@ -104,15 +107,16 @@ export default {
this.storeDialog = false;
this.refresh();
},
handleSizeChange(val) {
this.pageParams.currentPage = 1;
this.pageParams.pageSize = val;
this.fetch();
},
handleCurrentChange(val) {
this.pageParams.currentPage = val;
this.fetch();
},
formatDateTimeByType
},
handleSizeChange(val) {
this.pageParams.pageSize = val;
this.fetch();
},
handleCurrentChange(val) {
this.pageParams.currentPage = val;
this.fetch();
}
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment