﻿var rcjPanel = {
	id:'deRcjinfoTab',
	title: '人材机信息',
	//listeners: {activate: showAutopriceMiddleContent},
	html:'<iframe scrolling="auto" frameborder="0" width="100%" height="100%" name="deRcjinfoTabPage" id="deRcjinfoTabPage" src="rcjinfo.jsp"> </iframe>'
}


//定义底部的Panel
var bottomPanel =new Ext.TabPanel({
      region:'south',
      plain: false,
			split: true,
			collapsible: true,
      deferredRender:false,
      activeTab:0,
      height:250,
      id:'bottomPanel',
      tabPosition:'top',
      margins:'0 0 0 0',
			items:[
					rcjPanel
			]
});

//定义主区域
var deMainScreen = {
		collapsible: false,
		region:'center',
		margins: '0 0 0 0',
		html:'<iframe frameborder="0" name="deFramePage" id="deFramePage" width="100%" height="100%" src="../common/projectdefaultinfo.do?method=deMain"> </iframe>'
};

function dispDoing(){
	Ext.MessageBox.show({
           msg: '正在处理数据，请稍候...',
           progressText: '数据处理中...',
           width:300,
           wait:true,
           waitConfig: {interval:200},
           icon:'ext-mb-download', //custom class in msg-box.html
           animEl: 'mb7'
       });
}

function undispDoing(){
	if(Ext.MessageBox!=null && Ext.MessageBox.isVisible())
	Ext.MessageBox.hide();	
}


//从Grids调用
function showDeSearchMiddleFromGrids(rowId,provinceId,areaTypeId){
	window.parent.frames["deRcjinfoTabPage"].reloadGridData(rowId,provinceId,areaTypeId);
}
