Compare commits
No commits in common. "39aaf82345d457dd47cd60e843b02c840605670f" and "4dceaca2e3760ea2da8fea924a5d63c782f55c18" have entirely different histories.
39aaf82345
...
4dceaca2e3
@ -281,11 +281,11 @@ export default {
|
|||||||
async handleSearchBarBtnClick({ btnName, timeVal }) {
|
async handleSearchBarBtnClick({ btnName, timeVal }) {
|
||||||
if (timeVal && timeVal.length > 0) {
|
if (timeVal && timeVal.length > 0) {
|
||||||
console.log('nihc ', timeVal)
|
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;
|
this.queryParams.recordTime = timeVal;
|
||||||
await this.handleQuery();
|
await this.handleQuery();
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('时间范围最大30分钟限制!')
|
this.$message.warning('时间范围最大一小时限制!')
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.queryParams.recordTime = [];
|
this.queryParams.recordTime = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user