From 5b7b5032deda74e54c38713911d0809e478571cd Mon Sep 17 00:00:00 2001 From: zhulianghua Date: Mon, 20 Aug 2018 15:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E9=80=89=E6=8B=A9=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=A1=86=E5=A2=9E=E5=8A=A0PageSize=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Frame/page/js/as_control.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/WebContent/Frame/page/js/as_control.js b/WebContent/Frame/page/js/as_control.js index 4249ae721..71c90f517 100644 --- a/WebContent/Frame/page/js/as_control.js +++ b/WebContent/Frame/page/js/as_control.js @@ -669,6 +669,9 @@ var AsDialog = { OpenSelector : function(sObjectType,sParaString,sStyle,callback,title,rightType){ return this.selectCatalogDialog(sObjectType,sParaString,sStyle,callback,title,rightType);//使用在SELECT_CATALOG中自定义查询选择信息 }, + OpenSelector : function(sObjectType,sParaString,sStyle,callback,title,rightType,pageSize){ + return this.selectCatalogDialog(sObjectType,sParaString,sStyle,callback,title,rightType,pageSize);//使用在SELECT_CATALOG中自定义查询选择信息 + }, _PopupPage : function(pageinfo,callback){ if (!$.isPlainObject(pageinfo)) {alert("Arguments is not fit!");return;} var sPageURL = sWebRootPath + "/Redirector?OpenerClientID="+sCompClientID+"&TargetWindow=Popup&ComponentURL="+pageinfo.url+AsControl._getParaString(pageinfo.para); @@ -721,6 +724,18 @@ var AsDialog = { }; this._PopupPage(pageinfo,callback); }, + selectCatalogDialog:function(sObjectType,sParaString,sStyle,callback,titles,righttype,pageSize){ + var showTitle= titles||"请选择"; + var srighttype=righttype||"default"; + var pageinfo = { + width:this._getStyleDialogWidth(sStyle,700), + height:this._getStyleDialogHeight(sStyle,540), + url:"/Frame/page/tools/dialog/SelectCatalog.jsp", + para:"SelName="+sObjectType+"&ParaString="+sParaString+"&RightType="+srighttype+"&PageSize="+pageSize, + title: showTitle + }; + this._PopupPage(pageinfo,callback); + }, /**主要是使用在select_catalog中自定义查询选择信息 * sObjectType:对象类型