doway-coms 1.4.18 → 1.4.19
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
|
@@ -1123,7 +1123,7 @@ export default {
|
|
|
1123
1123
|
case "clearFilter":
|
|
1124
1124
|
// 示例
|
|
1125
1125
|
const filterList = this.$refs.baseGrid.getCheckedFilters();
|
|
1126
|
-
|
|
1126
|
+
|
|
1127
1127
|
filterList.forEach((col) => {
|
|
1128
1128
|
// if (
|
|
1129
1129
|
// col.column.params.controlType === "select" ||
|
|
@@ -1133,10 +1133,19 @@ export default {
|
|
|
1133
1133
|
// } else {
|
|
1134
1134
|
// col.column.filters = [{ data: [] }];
|
|
1135
1135
|
// }
|
|
1136
|
-
col.column
|
|
1136
|
+
this.$refs.baseGrid.clearFilter(col.column);
|
|
1137
|
+
col.column.filters = [
|
|
1138
|
+
{
|
|
1139
|
+
data: {
|
|
1140
|
+
bindingValues: '',
|
|
1141
|
+
displayValues: ''
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
]
|
|
1137
1145
|
});
|
|
1138
|
-
|
|
1139
|
-
|
|
1146
|
+
// this.$refs.baseGrid.clearFilter();
|
|
1147
|
+
XEUtils.clear(this.filterExpression)
|
|
1148
|
+
vm.$emit("filterChange");
|
|
1140
1149
|
break;
|
|
1141
1150
|
case "desc":
|
|
1142
1151
|
if (this.sortRemote) {
|