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

📄 noneprofessorsearchform.js

📁 重点不是信息管理系统
💻 JS
字号:
function newNoneProfessorSearchForm() {
	
	var noneProfessorSearchPanel=new Ext.Panel({
		labelWidth:90,
		height:545,
		//height:395,
		border:true,
		layout:'form',
		hideLabels:false,
		autoScroll:true,
		layoutConfig:{
		comluns:4},
		//defaultType:"textfield",
		items:[{
		  xtype:"textfield",
		  fieldLabel:"姓名",
		  name : "name",
		  width:175
		},{
		xtype:"combo",
		fieldLabel : "性别",
		name : "sex",
		width : 158,
		transform:"noneProForm-sex",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true
		},{
		xtype:"textfield",
		fieldLabel:"民族",
		name:"nationality",
		width:175
		},{
		xtype:"datefield",
		fieldLabel:"出生年月",
		name:"birthday",
		width:158
		},{
		xtype:"numberfield",
		fieldLabel:"身份证号",
		name:"idcard",
		width:175
		},{
		xtype:"combo",
		fieldLabel : "文化程度",
		name : "education",
		width : 158,
		transform:"noneProForm-education",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true
		},{
		xtype:"textfield",
		fieldLabel:"神学教育",
		name:"theologyeducation",
		width:175
		},{
		xtype:"combo",
		fieldLabel: "所在堂点",
		name : "churchpoint",
		width : 158,
		transform:"noneProForm-churchpoint",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true
		},{
		xtype:"combo",
		fieldLabel: "堂点职务",
		name : "churchduty",
		width : 158,
		transform:"noneProForm-churchduty",
		triggerAction:"all",
		typeAhead:true,
		lazyRender:true
		}]
 });
 function searchOnClickAction(){
    searchForm=noneProfessorSearchForm.getForm();
		if(searchForm){
		var paramValue=searchForm.getValues();
	    Ext.getCmp("noneProfessorResultPanel").add(new newNoneProfessorSearchGrid("兼职人员查询"+window.noneProfessorSearchCount,paramValue)).show();
	}
 }
	var noneProfessorSearchForm = new Ext.form.FormPanel({
		labelWidth : 90,
		border:false,
		autoScroll:true,
		buttonAlign: 'right',
		id:'noneProfessorSearchForm',
		keys:[{
		  key:[10,13],
		  fn: searchOnClickAction
		}],
		buttons : [{
			text :"查询",
			handler : searchOnClickAction
		},{
			text:"重置",
			handler:function(){
		      noneProfessorSearchForm.getForm().reset();
			}
			}]
		
	});
	noneProfessorSearchForm.add(noneProfessorSearchPanel);
    noneProfessorSearchPanel=new Ext.Panel({
	  title:"兼职人员查询",
	  id:"noneProfessorSearchPanel"
	});
	noneProfessorSearchPanel.add(noneProfessorSearchForm);
	return noneProfessorSearchPanel;
}

⌨️ 快捷键说明

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