|
@@ -588,6 +588,7 @@ export default {
|
|
|
/**分页*/
|
|
|
handleTabClick(tab) {
|
|
|
this.reset();
|
|
|
+ this.MeterQueryParams.pageNum = 1;
|
|
|
if (tab.name === 'area') {
|
|
|
this.showSearch = true;
|
|
|
this.getList();
|
|
@@ -848,6 +849,7 @@ export default {
|
|
|
objType = 1;
|
|
|
listDevice({ ...this.MeterQueryParams, meterCls }).then(response => {
|
|
|
this.areaUnbound = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
this.loading = false; // 关闭加载状态
|
|
|
});
|
|
|
listByObj(objType, meterCls, this.queryParams.areaCode).then(response => {
|
|
@@ -858,6 +860,7 @@ export default {
|
|
|
objType = 4;
|
|
|
listDevice({ ...this.MeterQueryParams, meterCls }).then(response => {
|
|
|
this.organUnbound = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
this.loading = false;
|
|
|
})
|
|
|
listByObj(objType, meterCls, this.queryParams.areaCode).then(response => {
|
|
@@ -870,6 +873,7 @@ export default {
|
|
|
objType = 2;
|
|
|
listDevice({ ...this.MeterQueryParams, meterCls }).then(response => {
|
|
|
this.facsUnbound = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
this.loading = false;
|
|
|
});
|
|
|
listByObj(objType, meterCls, this.queryParams.areaCode).then(response => {
|
|
@@ -880,6 +884,7 @@ export default {
|
|
|
objType = 3;
|
|
|
listDevice({ ...this.MeterQueryParams, meterCls }).then(response => {
|
|
|
this.deviceUnbound = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
this.loading = false;
|
|
|
})
|
|
|
listByObj(objType, meterCls, this.queryParams.areaCode).then(response => {
|