From 43110510aebd76a3b2e0bc84b9ced6ba25ebfc26 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 4 Nov 2020 10:44:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=B8=AD=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E8=A7=86=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/x_component_query_Query/Statement.js | 17 ++++++++++------- .../$Statement/view.json | 2 +- .../Statement.js | 4 +++- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/o2web/source/x_component_query_Query/Statement.js b/o2web/source/x_component_query_Query/Statement.js index 11a61a657f..d1afda7120 100644 --- a/o2web/source/x_component_query_Query/Statement.js +++ b/o2web/source/x_component_query_Query/Statement.js @@ -300,7 +300,7 @@ MWF.xApplication.query.Query.Statement = MWF.QStatement = new Class({ this.getViewRes = o2.Actions.load("x_query_assemble_surface").StatementAction.get(this.json.statementId || this.json.statementName, function(json){ debugger; var viewData = JSON.decode(json.data.view); - if( !this.json.pageSize )this.json.pageSize = viewData.pageSize; + if( !this.json.pageSize )this.json.pageSize = viewData.pageSize || "20"; this.viewJson = viewData.data; this.json.application = json.data.query; //this.json = Object.merge(this.json, json.data); @@ -573,18 +573,21 @@ MWF.xApplication.query.Query.Statement.Item = new Class({ }, getText : function(c, k, td){ var path = c.path, code = c.code, obj = this.data; - if( path ){ + if( path && path!=="$all") { var pathList = path.split("."); - for( var i=0; i