atr-components 0.2.211 → 0.2.212
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.
|
@@ -2959,6 +2959,10 @@ class AtrTableComponent {
|
|
|
2959
2959
|
for (const key in this.headerDefaultVal) {
|
|
2960
2960
|
this.atrForm.get(key)?.setValue(this.headerDefaultVal[key]);
|
|
2961
2961
|
}
|
|
2962
|
+
this.headerAction.emit({
|
|
2963
|
+
name: '重置',
|
|
2964
|
+
code: 'resetForm',
|
|
2965
|
+
});
|
|
2962
2966
|
}
|
|
2963
2967
|
selectChange(value, item) {
|
|
2964
2968
|
console.log(value);
|
|
@@ -2991,6 +2995,7 @@ class AtrTableComponent {
|
|
|
2991
2995
|
limit: this.pageSize,
|
|
2992
2996
|
sort: this.getSortInfo()
|
|
2993
2997
|
};
|
|
2998
|
+
params = Object.assign(params, this.defaultParams);
|
|
2994
2999
|
for (const key in this.atrForm.value) {
|
|
2995
3000
|
if (this.atrForm.value[key] && this.atrForm.value[key] != null && this.atrForm.value[key] != "") {
|
|
2996
3001
|
if (this.getHederType(key) == "dateRange") {
|
|
@@ -3034,7 +3039,6 @@ class AtrTableComponent {
|
|
|
3034
3039
|
}
|
|
3035
3040
|
}
|
|
3036
3041
|
}
|
|
3037
|
-
params = Object.assign(params, this.defaultParams);
|
|
3038
3042
|
console.log(params);
|
|
3039
3043
|
return params;
|
|
3040
3044
|
}
|