增加首次加载时间判断
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
@filterColumns="changeFilter"
|
||||
:visiable="visiable"
|
||||
:loading="loading"
|
||||
:loadSearch="true"
|
||||
/>
|
||||
<!-- 表格 -->
|
||||
<ele-pro-table
|
||||
|
||||
@@ -130,6 +130,9 @@ export default {
|
||||
},
|
||||
visiable:{
|
||||
typeof:Boolean
|
||||
},
|
||||
loadSearch:{
|
||||
typeof:Boolean
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -199,7 +202,8 @@ export default {
|
||||
// 根据父级传回来需要去掉勾的值映射到复选框
|
||||
this.initFilter(this.filterKeys);
|
||||
// 将父级回传的搜索条件上传父级进行页面搜索
|
||||
this.emitData(true)
|
||||
let isSearch = (this.where.monitorStartTime && this.where.monitorEndTime) || this.loadSearch;
|
||||
this.emitData(isSearch)
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -130,6 +130,9 @@ export default {
|
||||
},
|
||||
visiable:{
|
||||
typeof:Boolean
|
||||
},
|
||||
loadSearch:{
|
||||
typeof:Boolean
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -199,7 +202,8 @@ export default {
|
||||
// 根据父级传回来需要去掉勾的值映射到复选框
|
||||
this.initFilter(this.filterKeys);
|
||||
// 将父级回传的搜索条件上传父级进行页面搜索
|
||||
this.emitData(true)
|
||||
let isSearch = (this.where.monitorStartTime && this.where.monitorEndTime) || this.loadSearch;
|
||||
this.emitData(isSearch)
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -130,6 +130,9 @@ export default {
|
||||
},
|
||||
visiable:{
|
||||
typeof:Boolean
|
||||
},
|
||||
loadSearch:{
|
||||
typeof:Boolean
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -199,7 +202,8 @@ export default {
|
||||
// 根据父级传回来需要去掉勾的值映射到复选框
|
||||
this.initFilter(this.filterKeys);
|
||||
// 将父级回传的搜索条件上传父级进行页面搜索
|
||||
this.emitData(true)
|
||||
let isSearch = (this.where.monitorStartTime && this.where.monitorEndTime) || this.loadSearch;
|
||||
this.emitData(isSearch)
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user