|
@@ -702,6 +702,20 @@ export default {
|
|
if (query.start || query.end) {
|
|
if (query.start || query.end) {
|
|
this.searchForm.timer = [query.start, query.end]
|
|
this.searchForm.timer = [query.start, query.end]
|
|
} else {
|
|
} else {
|
|
|
|
+ let flag = false
|
|
|
|
+ for(let item in this.searchForm){
|
|
|
|
+ if(typeof this.searchForm[item] == 'object'){
|
|
|
|
+ // 对象或者数组
|
|
|
|
+ if(this.searchForm[item]?.length <=0){
|
|
|
|
+ flag = true
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ if (!this.searchForm[item]){
|
|
|
|
+ flag = true
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(flag)return
|
|
this.searchForm.timer = [nowTime, nowTime]
|
|
this.searchForm.timer = [nowTime, nowTime]
|
|
}
|
|
}
|
|
if (query.organId) {
|
|
if (query.organId) {
|