Merge branch 'dev' into pr@dev_memory_component

This commit is contained in:
dataeaseShu 2022-11-09 10:43:33 +08:00
commit f7ef2f6cfb
3 changed files with 4 additions and 1 deletions

View File

@ -2886,6 +2886,7 @@ public class DataSetTableService {
if (StringUtils.isNotEmpty(request.getExpressionTree())) {
Gson gson = new Gson();
tree = gson.fromJson(request.getExpressionTree(), DatasetRowPermissionsTreeObj.class);
permissionsTreeService.getField(tree);
}
Map<String, Object> previewData = getPreviewData(request, 1, 100000, null, tree);
List<DatasetTableField> fields = (List<DatasetTableField>) previewData.get("fields");

View File

@ -153,7 +153,7 @@ public class PermissionsTreeService {
return result;
}
private void getField(DatasetRowPermissionsTreeObj tree) {
public void getField(DatasetRowPermissionsTreeObj tree) {
if (ObjectUtils.isNotEmpty(tree)) {
if (ObjectUtils.isNotEmpty(tree.getItems())) {
for (DatasetRowPermissionsTreeItem item : tree.getItems()) {

View File

@ -187,6 +187,7 @@
<!--导出数据集弹框-->
<el-dialog
v-if="showExport"
v-dialogDrag
:visible.sync="showExport"
width="600px"
@ -470,6 +471,7 @@ export default {
this.showExport = true
this.fetchFiledList()
this.exportForm.name = this.table.name
this.exportForm.expressionTree = ''
},
closeExport() {
this.showExport = false