⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unlorgsearchform.js

📁 重点不是信息管理系统
💻 JS
字号:
function newUnLoRgSearchForm() {
	
	var unLoRgSearchPanel=new Ext.Panel({
		labelWidth:90,
		height:545,
		//height:395,
		border:true,
		layout:'form',
		hideLabels:false,
		autoScroll:true,
		layoutConfig:{
		comluns:4},
		//defaultType:"textfield",
		items:[{
		xtype:"combo",
		fieldLabel : "所在区",
		name:'locationDistrict',
		transform:"unlForm-locationdistrict",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true,
		width:158
		 },{
		  xtype:"textfield",
		  fieldLabel:"场所地址",
		  name : 'locationAddress',
		  width:175
		},{
		  xtype:"textfield",
		  fieldLabel:"场所名称",
		  name : 'locationName',
		  width:175
		},{
		xtype:"combo",
		fieldLabel : '教派',
		name : 'locationSect',
		width : 158,
		transform:"unlForm-locationsect",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true
		 },{
		 xtype:"textfield",
		 fieldLabel:"负责人",
		 name :"admin",
		 width:175
		 },{
		xtype:"combo",
		fieldLabel : "房屋属性",
		name : 'housingproperty',
		width : 158,
		transform:"unlForm-housingproperty",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true
		},{
		xtype:"combo",
		fieldLabel : "场所属性",
		name : "placeproperty",
		width : 158,
		transform:"unlForm-placeproperty",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true
		 }]
 });
 function searchOnClickAction(){
    searchForm=unLoRgSearchForm.getForm();
		if(searchForm){
		var paramValue=searchForm.getValues();
	    Ext.getCmp("unLoRgResultPanel").add(new newUnLoRgSearchGrid("未登记场所查询"+window.unLoRgSearchCount,paramValue)).show();
	}
 }
	var unLoRgSearchForm = new Ext.form.FormPanel({
		labelWidth : 90,
		border:false,
		autoScroll:true,
		buttonAlign: 'right',
		id:'unLoRgSearchForm',
		keys:[{
		  key:[10,13],
		  fn: searchOnClickAction
		}],
		buttons : [{
			text :"查询",
			handler : searchOnClickAction
		},{
			text:"重置",
			handler:function(){
		      Ext.getCmp('unLoRgSearchForm').getForm().reset();
			}
			}]
		
	});
	unLoRgSearchForm.add(unLoRgSearchPanel);
    unLoRgSearchPanel=new Ext.Panel({
	  title:"未登记场所查询",
	  id:"unLoRgSearchPanel"
	});
	unLoRgSearchPanel.add(unLoRgSearchForm);
	return unLoRgSearchPanel;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -