mooho-base-admin-plus 2.7.4 → 2.7.5

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.7.4",
4
+ "version": "2.7.5",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -69,7 +69,7 @@
69
69
  <Divider :plain="true" dashed orientation="left" size="small">
70
70
  <span class="title">{{ getNameI18n(column) }}</span>
71
71
  </Divider>
72
- <view-table :ref="'list_' + column.code" :static="true" :view-code="column.source" :readonly="true" :embedded="true"></view-table>
72
+ <view-table :ref="'list_' + column.code" :view-code="column.source" :readonly="true" :auto-load="false"></view-table>
73
73
  </div>
74
74
  <FormItem
75
75
  :label="getNameI18n(column)"
@@ -1527,13 +1527,11 @@
1527
1527
  };
1528
1528
  }
1529
1529
 
1530
- if (column.isSourceCustom) {
1531
- res = await customModelApi.query(column.sourceModel, param);
1532
- } else {
1533
- res = await modelApi.query(column.sourceModel, param, tableView.functionName, tableView.functionType);
1530
+ for (let key in param) {
1531
+ this.$refs['list_' + column.code][0].filterData[key] = param[key];
1534
1532
  }
1535
1533
 
1536
- this.$refs['list_' + column.code][0].loadData(res.data);
1534
+ this.$refs['list_' + column.code][0].loadData();
1537
1535
  }
1538
1536
  }
1539
1537
  }