master
xy 2 years ago
parent 643fddd6de
commit 8170af3d31

@ -127,11 +127,11 @@
username: "",
password: "",
department_id: "",
},
paginations: {
page: 1,
page_size: 15,
total: 0
},
paginations: {
page: 1,
page_size: 15,
total: 0
},
rules: {
name: [{
@ -160,10 +160,10 @@
tableData: []
}
},
methods: {
handleCurrentChange(page) {
this.paginations.page = page;
this.load();
methods: {
handleCurrentChange(page) {
this.paginations.page = page;
this.load();
},
initLoad() {
var that = this;
@ -190,6 +190,7 @@
...this.searchFields
}).then(response => {
var data = response.data;
that.paginations.total = response.total
var _rolelist = [];
for (var m of data) {
_rolelist = that.roleList;

Loading…
Cancel
Save