|
@@ -91,13 +91,14 @@ export default {
|
|
|
}
|
|
|
}).then(function (res) {
|
|
|
console.log(res)
|
|
|
-
|
|
|
if (res.data.code == 200) {
|
|
|
debugger
|
|
|
that.tableData = res.data.data.deleClient;
|
|
|
that.tableDatas = that.tableData;
|
|
|
that.delegations = res.data.data.delegations
|
|
|
- that.DiId = that.delegations[0].id
|
|
|
+ if(that.DiId==0){
|
|
|
+ that.DiId = that.delegations[0].id
|
|
|
+ }
|
|
|
if (that.tableDatas.slice((that.currentPage - 1) * that.pageSize, that.currentPage * that.pageSize).length == 0) {
|
|
|
if (that.currentPage > 1) {
|
|
|
that.currentPage = that.currentPage - 1;
|