Compare commits
No commits in common. "4f810ee26ab0a53631e49a86f97cc6e6df3a04e1" and "32b7abea82e6f0936896579ed1c56fbfc7b85f99" have entirely different histories.
4f810ee26a
...
32b7abea82
@ -281,11 +281,11 @@ export default {
|
||||
async handleSearchBarBtnClick({ btnName, timeVal }) {
|
||||
if (timeVal && timeVal.length > 0) {
|
||||
console.log('nihc ', timeVal)
|
||||
if (new Date(timeVal[1]).getTime() - new Date(timeVal[0]).getTime() <= 30 * 60 * 1000) {
|
||||
if (new Date(timeVal[1]).getTime() - new Date(timeVal[0]).getTime() <= 10 * 60 * 1000) {
|
||||
this.queryParams.recordTime = timeVal;
|
||||
await this.handleQuery();
|
||||
} else {
|
||||
this.$message.warning('时间范围最大30分钟限制!')
|
||||
this.$message.warning('时间范围最大一小时限制!')
|
||||
}
|
||||
} else {
|
||||
this.queryParams.recordTime = [];
|
||||
|
Loading…
Reference in New Issue
Block a user