|
|
@ -3,6 +3,8 @@ import { getPatrolRecordIssueHandle, getStructuresUsers } from "../../utils/getA |
|
|
|
import { Request } from "../../common"; |
|
|
|
const moment = require("../../utils/moment"); |
|
|
|
|
|
|
|
let setFilterStartTime = 0 |
|
|
|
let setFilterEndTime = 0 |
|
|
|
Page({ |
|
|
|
|
|
|
|
/** |
|
|
@ -123,6 +125,10 @@ Page({ |
|
|
|
if (timeSelectedUnrealFlag && event.detail == 1640966400000) { |
|
|
|
return |
|
|
|
} |
|
|
|
if(new Date().getTime() - setFilterStartTime < 100){ |
|
|
|
return |
|
|
|
} |
|
|
|
setFilterStartTime = new Date().getTime() |
|
|
|
this.setData({ |
|
|
|
startTime: event.detail, |
|
|
|
endTime: endTime ? endTime : 1640966400000 |
|
|
@ -134,6 +140,10 @@ Page({ |
|
|
|
if (timeSelectedUnrealFlag && event.detail == 1640966400000) { |
|
|
|
return |
|
|
|
} |
|
|
|
if(new Date().getTime() - setFilterEndTime < 100){ |
|
|
|
return |
|
|
|
} |
|
|
|
setFilterEndTime = new Date().getTime() |
|
|
|
this.setData({ |
|
|
|
startTime: startTime ? startTime : 1640966400000, |
|
|
|
endTime: event.detail, |
|
|
|