doway-coms 2.6.4 → 2.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -895,8 +895,23 @@ export default {
|
|
|
895
895
|
dataSource: [],
|
|
896
896
|
}
|
|
897
897
|
this.$emit('preSearch', tempSearch)
|
|
898
|
-
this.searchRows =
|
|
899
|
-
|
|
898
|
+
this.searchRows = []
|
|
899
|
+
//判断删选条件过滤
|
|
900
|
+
XEUtils.arrayEach(tempSearch.dataSource,loopItem=>{
|
|
901
|
+
let tempFlag = this.filterCols.length===0
|
|
902
|
+
for(let i=0;i< this.filterCols.length;i++){
|
|
903
|
+
let tempValue = loopItem[this.filterCols[i].field]
|
|
904
|
+
if(XEUtils.isString(tempValue) && tempValue.includes(this.currentValue)===true){
|
|
905
|
+
tempFlag = true
|
|
906
|
+
break
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
if(tempFlag===true || !this.currentValue){
|
|
910
|
+
this.searchRows.push(loopItem)
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
})
|
|
914
|
+
this.gridPagerConfig.total = this.searchRows.length
|
|
900
915
|
return
|
|
901
916
|
}
|
|
902
917
|
|