日期:2014-05-16  浏览次数:20398 次

ExtJs3.4项目应用备忘
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page language="java" contentType="text/html; charset=gbk"
	pageEncoding="gbk"
	import="java.util.*,java.lang.*,java.text.*,java.sql.*,org.wfmc.wapi.*,com.tzsm.workflow.bean.*,com.tzsm.workflow.model.*,com.tzsm.workflow.engine.*,com.tzsm.workflow.common.*"%>
<%@page import="java.io.File"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="light"%>
<%@ taglib uri="/WEB-INF/struts-display.tld" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<jsp:useBean id="searchManager" scope="page"
	class="com.tzsm.workflow.bean.SearchManager"></jsp:useBean>
<html>
<head>
    
	<script type="text/javascript" src="<%=request.getContextPath()%>/extjs/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/extjs/ext-all.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/extjs/ext-lang-zh_CN.js" charset="utf-8"></script>
<title>岩心观察及采样审流程</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/screenpage_pajz12.css"  media="screen, print" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/extjs/resources/css/ext-all.css" />
<style type="text/css">
			#history_yijian{
			width:500px;
			height:200px;
			background:#EDF1F8;
			z-index:0;
			border: 1px solid #849BCA;			
			margin-top:2px;
			margin-left:200px;
			float:left;
			overflow:hidden;
			cursor:move;
			top:0px;
			left:0px;
			/*float:left;*/
			 /*filter:alpha(opacity=50);*/
			 
			}
			.content{
			 padding:10px;
			}
		
}

</style>
<script src="<%=request.getContextPath()%>/css/calendar.js"></script>
	<!--////////////////////////////////////////////////////////////////////-->
	<!-- 2011-10-24 添加 开始-->
	<!--////////////////////////////////////////////////////////////////////-->
	<style type="text/css">
		#mainContent{
			width:100%;
		}
		#checkboxList{
			text-align:left;
			width:100%;
		}
		.chboxClass{
			text-align:left;
			width:95px;
			overflow:hidden; 
			text-overflow:ellipsis; 
			white-space:nowrap;
		}
		.tit_tag{
			color: rgb(0,0,255);
			font-family: sans-serif;
			font-size: 85%;
		}
		#inputTab td{
			text-align:left;
		
		}
		.txClass{
			width:150px;
			
		}
		.sugClass{
			position: absolute;
			width:150px;
			z-index: 99;
		}

		#jh_search_suggest{
			position: absolute;
			left:600px;
			width:150px;
			z-index: 99;
		}
		.sugges_mouseOut{
			background-color: #00FFFF;
			padding: 2px 6px 2px 6px;
		}	
		tr.locktop{
		  position:relative;
		  top:expression((this.offsetParent.scrollTop>this.parentElement.parentElement.offsetTop?this.offsetParent.scrollTop-this.parentElement.parentElement.offsetTop-1:0)-1);
		}

		.input_on, .input_move{
			padding:2px 8px 0pt 3px;
			height:20px;
			border:1px solid #999;
			background-color:#FFFFCC;
		}
		.input_off,.input_out{
			padding:2px 8px 0pt 3px;
			height:20px;
			border:1px solid #CCC;
			background-color:#FFF;
		}

	</style>
	
	<script type="text/javascript">
			
			var currObj;
			var currObjId;
			var checkedVal;//checkbox值
			var dqVal;   //地区
			var jhVal;   //井号
			var cwVal;   //层位
			// 定义XMLHttpRequest对象的全局变量
			var xmlHttpRequest;    
				
			// 创建XMLHttpRequest对象
			function createXmlHttpRequest() {
				if (window.XMLHttpRequest) {
					xmlHttpRequest = new XMLHttpRequest();               
				}