ngx-rs-ant 0.10.6 → 0.10.7

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.
@@ -822,10 +822,11 @@ class DataGridService {
822
822
  return response.data.list;
823
823
  }));
824
824
  }
825
- getColumnDataSource(className, view, field) {
825
+ getColumnDataSource(tenant, className, view, field) {
826
826
  return this.http.get('api/data/custom', {
827
827
  params: {
828
828
  executor: 'com.cs.system.data.grid.header.filter.GetColumnDataSource',
829
+ tenant,
829
830
  className,
830
831
  view: view || '',
831
832
  field
@@ -1270,7 +1271,7 @@ class DataGridComponent {
1270
1271
  if (loadOptions.dataField) {
1271
1272
  // 未重写headerFilter的dataSource时,headerFilter会调用load方法加载筛选树,重写该方法查询该表所有数据
1272
1273
  // 该方式存在风险,无法识别一定是通过headerFilter过滤才存在dataField参数
1273
- return lastValueFrom(this.service.getColumnDataSource(this.className, this.view, loadOptions.dataField));
1274
+ return lastValueFrom(this.service.getColumnDataSource(this.tenant, this.className, this.view, loadOptions.dataField));
1274
1275
  }
1275
1276
  let params = '?';
1276
1277
  if (loadOptions.skip || loadOptions.take) {