forked from github/dataease
Merge branch 'dev' into pr@dev_memory_component
This commit is contained in:
commit
f7ef2f6cfb
@ -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");
|
||||
|
@ -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()) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user