|
|
@ -746,6 +746,7 @@ |
|
|
navBarHeight: 0, |
|
|
navBarHeight: 0, |
|
|
menuListOffsetTop: 0, |
|
|
menuListOffsetTop: 0, |
|
|
lastScrollTop: 0, |
|
|
lastScrollTop: 0, |
|
|
|
|
|
lastRefreshTime: 0, |
|
|
worker: null, |
|
|
worker: null, |
|
|
isSwitching: true, |
|
|
isSwitching: true, |
|
|
getAreaData: {}, |
|
|
getAreaData: {}, |
|
|
@ -1306,6 +1307,17 @@ |
|
|
}, |
|
|
}, |
|
|
//点击下拉框中某一条筛选条件 |
|
|
//点击下拉框中某一条筛选条件 |
|
|
searchOrder(type, value) { |
|
|
searchOrder(type, value) { |
|
|
|
|
|
if (type == 'shuaxin') { |
|
|
|
|
|
const now = Date.now(); |
|
|
|
|
|
const refreshInterval = 10 * 1000; |
|
|
|
|
|
const diff = now - this.lastRefreshTime; |
|
|
|
|
|
if (diff < refreshInterval) { |
|
|
|
|
|
const waitSeconds = Math.ceil((refreshInterval - diff) / 1000); |
|
|
|
|
|
this.tui.toast(waitSeconds + '秒后再刷新'); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
this.lastRefreshTime = now; |
|
|
|
|
|
} |
|
|
if (type == 'getarea') { |
|
|
if (type == 'getarea') { |
|
|
if (this.searchForm.getAreaId == value.id) { |
|
|
if (this.searchForm.getAreaId == value.id) { |
|
|
this.searchForm.getAreaId = '' |
|
|
this.searchForm.getAreaId = '' |
|
|
|