Commit adeccec43531f1aea41a828777423b34ba25875e

Authored by fengtao
1 parent 76ce45e4

fix:DEFECT-423 修复设备页面,点击组织筛选返回后,在上拉加载下一页数据错误问题

Showing 1 changed file with 3 additions and 1 deletions
@@ -232,6 +232,7 @@ export default { @@ -232,6 +232,7 @@ export default {
232 /*下拉刷新的回调 */ 232 /*下拉刷新的回调 */
233 downCallback() { 233 downCallback() {
234 this.deviceName = ''; 234 this.deviceName = '';
  235 + this.orgId = '';
235 //联网加载数据 236 //联网加载数据
236 this.list = []; 237 this.list = [];
237 this.page.num = 1; 238 this.page.num = 1;
@@ -251,7 +252,8 @@ export default { @@ -251,7 +252,8 @@ export default {
251 deviceState: deviceState.type ? deviceState.type : undefined, 252 deviceState: deviceState.type ? deviceState.type : undefined,
252 deviceType: deviceType.type ? deviceType.type : undefined, 253 deviceType: deviceType.type ? deviceType.type : undefined,
253 alarmStatus: alarmStatus.type === '0' || alarmStatus.type === '1' ? alarmStatus.type : undefined, 254 alarmStatus: alarmStatus.type === '0' || alarmStatus.type === '1' ? alarmStatus.type : undefined,
254 - name: this.deviceName == null ? null : this.deviceName 255 + name: this.deviceName == null ? null : this.deviceName,
  256 + organizationId: this.orgId == null ? null : this.orgId
255 }); 257 });
256 }, 258 },
257 259