- 浏览: 25638 次
- 性别:
- 来自: 西安
文章分类
最新评论
-
ami1984:
hamlzf 写道你这个缺少分页啊是滴,有时间再研究下,你要是 ...
Extjs4.1 动态生成表格 -
hamlzf:
你这个缺少分页啊
Extjs4.1 动态生成表格 -
azhqiang:
为什么 UUID.randomUUID().toString( ...
java实现全球唯一标识符
ExtJs3.4项目应用备忘--PAJZ12.jsp
<!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(); } else { xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP"); } } //设置CheckboxList function setCheckboxList(){ var i = 0; var checks = "";//checkbox字符串 var checkHiddens = ""; var textInput = "";//查询条件字符串 if (xmlHttpRequest.readyState == 4 && xmlHttpRequest.status == 200){ //查询结果字符串 var checkListStr = xmlHttpRequest.responseText; //分隔字符串 var arrCheckList = checkListStr.split("#"); for(;i < arrCheckList.length - 1;i++){ var arrCheck = arrCheckList[i].split("=="); var checkId = arrCheck[0]; //字段名称 var checkName = arrCheck[1];//字段注释 checks+="<span id='c_"+checkId+"' class='chboxClass'>"+ "<input type='checkbox' id='"+checkId+"' name='chkCol' tabindex='6' title='"+checkName+"' value='"+checkId+"' onClick='getYPXXBInfo(this)'>" + checkName + "</span>"; } checks+="<div id='addRe' style='text-align:center;height:30px;'><input type='button' id='btnRe' value='添加补充信息'class='myinputstyle' onclick='toReplenishInfo()'></div>"; //放置查询复选框列表 document.getElementById("checkboxList").innerHTML = checks; //显示信息列表 showSQYPBInfo(); } } /* *当地区、井号或者层位发生变化时,化验信息恢复默认状态 * */ function doChkListToDefault(){ var chkList = document.getElementsByName("chkCol"); var i = 0; for(;i < chkList.length;i++){ chkList[i].checked = ""; } } var chkedid; //根据条件查询YPXXB表信息 function getYPXXBInfo(obj){ checkedVal = obj.value;//checkbox值 document.getElementById("chkedId").value = obj.value; jhVal = document.getElementById("jh").value;//井号 cwVal = document.getElementById("cw").value;//层位 if(!checkInput()){ if(obj.checked == true){ obj.checked = false; }else{ obj.checked = true; } return; } var url = "<%=request.getContextPath()%>/pajz12Servlet?flg=getYPXXBInfo&jh="+jhVal+"&cw="+cwVal+"&checkedItem="+checkedVal; url = encodeURI(encodeURI(url));//防止中文乱码 createXmlHttpRequest(); //设置回调函数 xmlHttpRequest.onreadystatechange = viewYPXXB; //发出请求 xmlHttpRequest.open("GET", url, true); xmlHttpRequest.send(null); } //显示YPXXB表查询结果 function viewYPXXB(){ if (xmlHttpRequest.readyState == 4 && xmlHttpRequest.status == 200){ //查询结果字符串 var ypxxbInfoStr = xmlHttpRequest.responseText; if(ypxxbInfoStr == null || trim(ypxxbInfoStr).length == 0 || ypxxbInfoStr.split("#").length < 1){ return; } //将要传递的数据暂时存放到该控件中 document.getElementById("subId").value = ypxxbInfoStr; var url = "<%=request.getContextPath()%>/form/PAJZ12sub.jsp"; document.getElementById(checkedVal).checked = ""; var size = "dialogWidth:1000px;dialogHeight:422px;dialogTop:100px;"; open_modalDialog(url,size); } } //弹出子页面 function open_modalDialog(url,size) { window.showModalDialog(url, window, size); } //检验是否是合法的实数 function checkRealNum(obj){ var objVal = obj.value; if(objVal == null || objVal == ""){ return; } if(!objVal.match(/^\+?(:?(:?\d+\.\d+)|(:?\d+))$/)){ objVal = ""; obj.value = ""; alert("输入错误,请输入数字!"); return; } } var completeTable; var completeDiv; var inputField; var completeBody; //联想查询 function searchSuggest(obj){ inputField = obj; completeTable = document.getElementById("complete_table"); completeDiv = document.getElementById("popup"); completeBody = document.getElementById("complete_body"); if(inputField.value.length == 0){ clearNames();//清除下拉列表 return; } currObj = obj; currObjId = trim(obj.id); var currObjVal; var conditions=""; var dqVal; var jhVal; var cwVal; if(currObjId != "dq"){ dqVal = document.getElementById("dq").value; if(dqVal != null && trim(dqVal).length > 0){ conditions+="dq#"+dqVal+"@"; } } if(currObjId != "jh"){ jhVal = document.getElementById("jh").value; if(jhVal != null && trim(jhVal).length > 0){ conditions+="jh#"+jhVal+"@"; } } if(currObjId != "cw"){ cwVal = document.getElementById("cw").value; if(cwVal != null && trim(cwVal).length > 0){ conditions+="cw#"+cwVal+"@"; } } currObjVal = obj.value; if(currObjVal == null || trim(currObjVal).length == 0){ return; } conditions+=currObjId+"#"+currObjVal; var url = "<%=request.getContextPath()%>/pajz12Servlet?flg=getConditions&conditions="+conditions+"&now="+new Date().getTime(); url = encodeURI(encodeURI(url));//防止中文乱码 createXmlHttpRequest(); //设置回调函数 xmlHttpRequest.onreadystatechange = setSearchSuggest; xmlHttpRequest.open("GET", url, true); xmlHttpRequest.send(null); } //获取联想信息 function setSearchSuggest(){ if (xmlHttpRequest.readyState == 4 && xmlHttpRequest.status == 200){ var result = xmlHttpRequest.responseText; setNames(result);//设置查询到的数据 } } //生成与输入内容匹配行 function setNames(names) { if(names == null){ return; } clearNames();//清除自动完成行 var resArr = names.split("#"); var size = resArr.length; setOffsets();//设置显示位置 var row, cell, txtNode; for ( var i = 0; i < size - 1; i++) { var nextNode = resArr[i]; row = document.createElement("tr"); cell = document.createElement("td"); cell.onmouseout = function() { this.className = 'sugges_mouseOver'; }; cell.onmouseover = function() { this.className = 'sugges_mouseOut'; }; cell.setAttribute("bgcolor", "#ffddcc"); cell.setAttribute("border", "0"); cell.setAttribute("width", inputField.offsetWidth + "px"); cell.onclick = function() { completeField(this); }; txtNode = document.createTextNode(nextNode); cell.appendChild(txtNode); row.appendChild(cell); completeBody.appendChild(row); } } //设置显示位置 function setOffsets() { completeTable.style.width = "auto"; //显示自动完成的提示框宽度自动伸展或缩小 gettable(inputField); } //取绝对位置 function getAbsPosition(obj) { var r = { left : obj.offsetLeft, top : obj.offsetTop }; r.left = obj.offsetLeft; r.top = obj.offsetTop; if (obj.offsetParent) { var tmp = getAbsPosition(obj.offsetParent); r.left += tmp.left; r.top += tmp.top; } return r; } //为提示定位 function gettable(obj) { var pos = getAbsPosition(obj); pos.top += obj.offsetHeight; completeDiv.style.top = pos.top + "px"; completeDiv.style.left = (pos.left +2) + "px"; completeDiv.style.width = obj.offsetWidth + "px"; completeDiv.style.visibility = ''; } //计算显示位置 function calculateOffset(field, attr) { var offset = 0; while (field) { offset += field[attr]; field = field.offsetParent; } return offset; } //填写输入框 function completeField(cell) { inputField.value = cell.firstChild.nodeValue; clearNames(); } //清除自动完成行 function clearNames() { var ind = completeBody.childNodes.length; for ( var i = ind - 1; i >= 0; i--) { completeBody.removeChild(completeBody.childNodes[i]); } completeDiv.style.border = "none"; } //检查检索条件是否完整 function checkInput(){ if(jhVal == null || trim(jhVal).length == 0){ alert("井号不能为空!"); return false; } if(cwVal == null || trim(cwVal).length == 0){ alert("层位不能为空!"); return false; } return true; } //发送请求 //加载页面时查询YPXXB表下所有的字段 function sendXMLRequest(){ var a01HidVal = document.getElementById("a01Hid").value; var isPostBackHidVal = document.getElementById("isPostBackHid").value; if(a01HidVal == null || trim(a01HidVal).length == 0){ //checkbox列表div var disDiv = document.getElementById("seachDiv"); disDiv.style.display = "block"; var url = "<%=request.getContextPath()%>/pajz12Servlet?flg=getCheckboxList&now="+new Date().getTime(); createXmlHttpRequest(); //设置回调函数 xmlHttpRequest.onreadystatechange = setCheckboxList; //发出请求 xmlHttpRequest.open("GET", url, true); xmlHttpRequest.send(null); }else if(("disabled" == a01HidVal) || "false" == isPostBackHidVal){ //显示信息列表 showSQYPBInfo(); return; } } //补充其他信息 function toReplenishInfo(){ var com = ""; var other = ""; var bh = document.getElementById("SQBH").value; com+="SQBH='"+bh+"'#"; var nd = bh.substring(0,4); com+="ND='"+nd+"'#"; var sqdw = document.getElementById("SQDW").value; com+="SQDW='"+sqdw+"'#"; var xmzs = sqdw.split("┆"); com+="XMZ='"+xmzs[0]+"'#"; var dq = document.getElementById("dq").value; com+="DQ='"+dq+"'#"; var jh = document.getElementById("jh").value; com+="JH='"+jh+"'#"; var cw = document.getElementById("cw").value; com+="CW='"+cw+"'#"; //checkbox var chkCols = document.getElementsByName("chkCol"); var flg = false; var i = 0; if(chkCols != null && chkCols.length > 0){ for(;i < chkCols.length;i++){ if(chkCols[i].checked){ flg = true; //取得选中的化验项目 other+="FXHYXM='"+chkCols[i].title+"'#"; } } if(!flg){ alert("请选择要补充的字段后再点击此按钮!"); return; } }else{ alert("请选择要补充的字段后再点击此按钮!"); return; } document.getElementById("addReInfo").value = com+"=="+other; var url = "<%=request.getContextPath()%>/form/PAJZ12RepInfo.jsp"; var size = "dialogWidth:1000px;dialogHeight:550px"; open_modalDialog(url,size);//弹出添加页面 showSQYPBInfo();//重新获取数据 } //展示sqypb表的所有信息 function showSQYPBInfo(){ //插入表格前清空所在div document.getElementById("reInfosList").innerHTML = ""; var sqbh = document.getElementsByName("SQBH")[0].value; //列定义 var cm = new Ext.grid.ColumnModel([ new Ext.grid.RowNumberer(), {header:'<center>申请编号</center>', dataIndex:'SQBH', width:100,align:'right',sortable:true}, {header:'<center>申请单位</center>', dataIndex:'SQDW', width:100}, {header:'<center>地区</center>', dataIndex:'DQ',width:100}, {header:'<center>井号</center>', dataIndex:'JH',width:100}, {header:'<center>层位</center>', dataIndex:'CW',width:100}, {header:'<center>详细信息</center>',dataIndex:'DESCN',width:130,align:'center',renderer:renderDescn} ]); //数据源 var store = new Ext.data.Store({ baseParams: {flg:'getAllSQYPBInfo',sqbh:sqbh}, proxy: new Ext.data.HttpProxy({ url:'<%=request.getContextPath()%>/pajz12Servlet', method:'post' }), reader: new Ext.data.JsonReader({ totalProperty: 'totalProperty', root: 'root' },[ {name: 'SQBH'}, {name: 'SQDW'}, {name: 'DQ'}, {name: 'JH'}, {name: 'CW'} ]) }); //创建表格对象 var grid = new Ext.grid.GridPanel({ width: Ext.get("reInfosList").getWidth(), //指定表格的宽度为div的宽度 height: Ext.get("reInfosList").getHeight(), //指定表格的宽度为div的高度 renderTo: 'reInfosList', store: store, cm: cm, //添加分页控件 bbar: new Ext.PagingToolbar({ pageSize: 10,//页面容量 store: store,//数据源 displayInfo:true,//显示消息 displayMsg:' 第{0}到{1}条,共 {2} 条',//有数据时的消息 emptyMsg:"没有记录"//无数据的消息 }), bodyStyle:"width:100%", viewConfig:{ forceFit:true } }); store.load({params:{start:0,limit:10}}); } // //弹出详细信息页面 function openXXPage(obj){ document.getElementById("addReInfo").value = obj; var url = "<%=request.getContextPath()%>/form/PAJZ12xx.jsp"; var size = "dialogWidth:1024px;dialogHeight:382px"; open_modalDialog(url,size);//弹出详细页面 } function renderDescn(value, cellmeta, record, rowIndex, columnIndex, store){ var sqbh = record.data['SQBH']; var sqdw = record.data['SQDW']; var jh = record.data['JH']; var cw = record.data['CW']; var info = sqbh+"#"+sqdw+"#"+jh+"#"+cw; var str = "<input style='text-align:center;padding: 2 4 0 4;font-size:12px;height:23;background-color:#48D1CC;border-width:1;' type='button' value='查看详情' onclick='openXXPage(\""+info+"\")'/>"; return str; } </script> <!--////////////////////////////////////////////////////////////////////--> <!-- 2011-10-24 添加 结束--> <!--////////////////////////////////////////////////////////////////////--> </head> <% //--------------从会话中获得流程及用户的相关信息------------------ request.setCharacterEncoding("GBK"); response.setContentType("text/html; charset=GBK"); String username = (String) session.getAttribute("USERNAME"); WorkflowManager manager = (WorkflowManager) session .getAttribute("WORKFLOWMANAGER"); Workitem workitem = (Workitem) request.getAttribute("WORKITEM"); String owner = workitem.getOwner(); String action = (String) request.getAttribute("ACTION"); String pks = (String) request.getParameter("pk"); request.setCharacterEncoding("GBK"); response.setContentType("text/html; charset=GBK"); userAgentManager uam = new userAgentManager(); userManager um = new userManager(); String group = "'" + owner + "'"; boolean ingroup = um.isInGroup(username, group); //-----end------------------------------ Activity activity = null; if (workitem != null) {//工作项不为空向下执行 activity = workitem.getActivity(); } String MbHDid = "PAJZ12A02"; if ("PAJZ12A01".equals(activity.getId())) { List htList = workitem.getFromActivityList(); if (htList != null) { if (htList.size() > 0) { MbHDid = (String) htList.get(0); } } } String[][] pk = null; Vector pkVector = null; //-------获得过程对应的关键字项类型------ pkVector = searchManager.listPkItemType(workitem.getProcessIns() .getProcess().getId()); if (pkVector != null && pkVector.size() > 0) { pk = new String[pkVector.size()][2]; //定义一个二维数组,用来存放过程对应的关键字及其内容 if (workitem.getProcessIns().getName() != null) { int j = 0; StringTokenizer st = new StringTokenizer(workitem .getProcessIns().getName()); while (st.hasMoreTokens()) { pk[j][1] = st.nextToken("|"); j++; } } int i = 0; Iterator it = pkVector.iterator(); while (it.hasNext()) { ItemElement ie = (ItemElement) it.next(); if (ie.isIsPK()) { pk[i][0] = ie.getName(); } i++; } } //--end----------------------------------------------- //-------------------WMFilter[] 存放关键字 ------------------- WMFilter[] filters = new WMFilter[pkVector.size()]; for (int i = 0; i < pkVector.size(); i++) { filters[i] = new WMFilter(pk[i][0], WMFilter.EQ, "'" + pk[i][1] + "'"); } //----end------------------------------------- //----------把关键存放在LIST中----------------------------------------------- List pkList = new ArrayList(); int g = 0;//y StringTokenizer q = new StringTokenizer(workitem.getProcessIns() .getName());//m while (q.hasMoreTokens()) { pkList.add(q.nextToken("|")); g++; } //-end--------------------------------- // CQZZSCManager xxx = new CQZZSCManager(); // String newZYSM = " 审查内容:"+xxx.getSCText("测井"); // request.setAttribute("newZYSM",newZYSM); //通过主表关键字,获得指定表名称、数据项。 ItemType itemtype = manager.createItemType("CYSQB"); // Activity Activity=(Activity)workitem.getProcessIns().getProcess().getActivityHash().get("PAJZ10A04"); //可通过上面对象方法获得指定活动属性方法------- //---end-------------------------------------------------------------------- //--END-------------------------------------------------- //得到流程所对应的项类型元素列表 //List itemElementNameList = workitem.getActivity().getItemType() // .getElementNameList(); //得到活动的可编辑数据项 List itemTypeInsList = manager.getItemTypeInsListBySQL(filters, true, itemtype); String fwdw = pk[2][1]; if (fwdw.indexOf("┆") > 0) { fwdw = fwdw.substring(0, fwdw.indexOf("┆")); } WMFilter[] filters1 = new WMFilter[1]; filters1[0] = new WMFilter(pk[0][0], WMFilter.EQ, "'" + pk[0][1] + "' and(" + pk[2][0] + "='" + fwdw + "' or " + pk[2][0] + "='" + fwdw + "┆1')"); List itemTypeInsListOld = manager.getItemTypeInsListBySQL(filters1, true, itemtype); System.out.println("dff" + fwdw); if (action == null) { //request.setAttribute("ITEMTYPEINSLIST", itemTypeInsList); request.setAttribute("ITEM", itemTypeInsList.get(0)); if (itemTypeInsListOld.size() > 0) request.setAttribute("ITEMOLD", itemTypeInsListOld.get(0)); %> <% int x = workitem.getType(); if (x == 0) { request.setAttribute("isPostBack", new Boolean("true")); } else { request.setAttribute("isPostBack", new Boolean("false")); } %> <script type="text/javascript"> function G(obj){ return document.getElementById(obj); } function menuSelected(obj){ G(target).value=G(obj).innerText; } function showHistory(obj,title) { showx = event.screenX - event.offsetX - 4 - 210 ; // + deltaX; showy = event.screenY - event.offsetY + 18; // + deltaY; newWINwidth = 210 + 4 + 18; //mode = window.showModelessDialog("/cqktbywl/form/PAJZ10_history.jsp", "", "dialogWidth:380px; dialogHeight:330px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scrollbars:no;Resizable=no; " ); G('history_content').innerHTML=G(obj).innerHTML; G('history_title').innerHTML = title; show('history_yijian'); } //校验审批意见是否为空 function checkEmpty(){ var flag = true; var obj=document.getElementsByTagName('textarea'); if(obj != null){ for (var i = 0; i < obj.length; i++) { if(obj[i].disabled==false){ if(obj[i].value==''){ var txtName = obj[i].name; if(txtName.length>3&&txtName.substring(0,4)=='HIS_'){ alert('意见不能为空'); obj[i].focus(); flag = false; } } } } } return flag; } //模拟java类中得trim方法进行前后空字符串的截取 function trim(s) { return s.replace( /^\s*/, "" ).replace( /\s*$/, "" ); } //提交按钮组("退回,提交,完成,审批通过...") function G1(obj,toActiveId){ var flag = true; var flagSpyj; flagSpyj = checkEmpty(); var btnValue = trim(obj); if(flagSpyj){ flag = true; }else{ flag = false; } if(flag){ if(window.confirm('确定要完成么?')){ document.getElementById("transItem").value = obj; if(null != toActiveId && toActiveId.length > 0){ document.getElementById("toActiveId").value = toActiveId; } }else{ return false; } }else{ return false; } } </script> <style> body,td,a {font-size:9pt;color:black} .none{border:black 1px solid;background:D9D9D9;padding-top:2} .over {border:black 1px solid;background:707888;color:white;padding-top:2} </style> <div style="position:absolute; left: 100; top: 100;cursor: hand;display='none';" ID=plane onmousedown="down=true;divleft=event.clientX-parseInt(plane.style.left);divtop=event.clientY-parseInt(plane.style.top);" onmouseup="down=false;"> <div align=center style="position:absolute; left:150px; top:33px; width:100px; height:19px; z-index:1;color:white;background:707888;cursor:default;" class="none" onmouseover="menuin();init()">请选择</div> <div align=center id="item1" style="position:absolute; left:50px; top:55px; width:99px; height:19px; z-index:2; filter:alpha(opacity=0)" onmouseover="this.className='over';menuin()" onmouseout="this.className='none';" class="none" onmouseup="menuSelected('item1')">同意。</div> <div align=center id="item2" style="position:absolute; left:250px; top:77px; width:99px; height:19px; z-index:3;filter:alpha(opacity=0)" class=none onmouseover="this.className='over';menuin()" onmouseout="this.className='none';" onmouseup="menuSelected('item2')">不同意。</div> </div> <script language="vbs"> dim down,divleft,divtop,timelinestart,timelinestop,tidone,tidtwo,tidtree,target down=false timelinestart=0 timelinestop=0 sub document_onmousemove if down then plane.style.left=window.event.clientx-divleft plane.style.top=window.event.clienty-divtop end if end sub sub document_ondargstart window.event.returnvalue=false end sub function showmenu(obj) target = obj plane.style.display="" plane.style.left=window.event.clientX-153 plane.style.top=window.event.clientY-35+document.body.scrollTop end function function menuin() cleartimeout(tidtree) end function sub document_onclick tidtree=settimeout("outit()",200) end sub function init() if timelinestart<>5 then cleartimeout(tidtwo) item1.style.pixelLeft=item1.style.pixelLeft+20 item1.filters.alpha.opacity=item1.filters.alpha.opacity+20 item2.style.pixelLeft=item2.style.pixelLeft-20 item2.filters.alpha.opacity=item2.filters.alpha.opacity+20 timelinestart=timelinestart+1 else cleartimeout(tidone) end if tidone=settimeout("init()",1) end function function outit() if timelinestart<>0 then cleartimeout(tidone) item1.style.pixelLeft=item1.style.pixelLeft-20 item1.filters.alpha.opacity=item1.filters.alpha.opacity-20 item2.style.pixelLeft=item2.style.pixelLeft+20 item2.filters.alpha.opacity=item2.filters.alpha.opacity-20 timelinestart=timelinestart-1 else cleartimeout(tidtwo) plane.style.display="none" exit function end if tidtwo=settimeout("outit()",1) end function </script> <body onload="sendXMLRequest()"> <div align="center" style="background-image: url('images/gbj.jpg');"> <TABLE width="100%" height="68" border=0 cellPadding="0" cellSpacing="0" valign="top"> <TR> <TD width="13%"> <img src="<%=request.getContextPath()%>/images/xstp.gif" height="68" border="0"> </TD> <td width="87%" style="BACKGROUND-IMAGE: url(<%=request.getContextPath()%>/images/xxstp.png ); BACKGROUND-REPEAT: repeat-x;"> </td> </TR> </TABLE> <!-- ACTION="<%=request.getContextPath()%>/DataActionServlet?workitemId=<%=workitem.getId()%>&action=editzb&pk=<%=workitem.getProcessIns().getName()%>&itemtype=CYSQB" --> <FORM ACTION="<%=request.getContextPath()%>/DataActionServlet?workitemId=<%=workitem.getId()%>&action=editzb&pk=<%=workitem.getProcessIns().getName()%>&itemtype=CYSQB" Id="addzb" NAME="addzb" METHOD="POST"><logic:notEmpty name="ITEM"> <input type='hidden' id='chkedId' name="chkedId"/> <input type="hidden" id="subId" name="subId"/> <input type="hidden" id="reflg" name="reflg"/> <input type="hidden" id="addReInfo" name="addReInfo"/> <input type="hidden" id="a01Hid" value="${A01}"/> <input type="hidden" id="isPostBackHid" value="${isPostBack}"/> <bean:define id="item" name='ITEM' property="itemElementInsHash" /> <bean:define id="result" value='<%=new java.text.SimpleDateFormat("yyyy-MM-dd") .format(new java.util.Date())%>' /> <table width="770" height="418" align="center" class="tabl" style="background-image: url('images/kongbai.jpg');"> <tr> <td> <table width="100%" height="50" border="0"> <tr> <td colspan="2" align="center" style="text-align: center; FONT-SIZE: 16pt; FONT-STYLE: normal; FONT-VARIANT: normal; FONT-WEIGHT: bold; HEIGHT: 18px; LINE-HEIGHT: normal; color: red"> 长庆油田勘探部 </tr> <tr> <td colspan="2" align="center" style="text-align: center; FONT-SIZE: 16pt; FONT-STYLE: normal; FONT-VARIANT: normal; FONT-WEIGHT: bold; HEIGHT: 18px; LINE-HEIGHT: normal"> 岩心观察及采样审批单 </td> </tr> <tr> <td width="100%" align="right" style="font-size: 12px;color: black;">申请编号:</td> <td style="text-align:left;"><bean:define id="SQBH" name='item' property="SQBH.value" /><%=SQBH%> <input id="SPBHHID" type="hidden" value="<%=SQBH %>" name="SQBH"></td> </tr> </table> <table width="770" class="itscs" border="1" bordercolor="CADEE9"> <tr> <td width="117" style="text-align:left;">申请单位</td> <td width="222" style="text-align:left;"><bean:define id="SQDW" name='item' property="SQDW.value" /><%=fwdw%> <input type="hidden" value="<%=SQDW %>" name="SQDW"></td> <td width="65" style="text-align:left;">联系人</td> <td width="106" style="text-align:left;"> <bean:define id="LXR" name='item' property="LXR.value" /> <input type="text" name="LXR" align="left" class="t_area" style="width: 106px;border-bottom:1px;" value='<c:out value="${LXR}"/>' <c:out value="${A01}"/>></td> <td width="70" style="text-align:left;">联系电话</td> <td width="109" style="text-align:left;"><bean:define id="LXDH" name='item' property="LXDH.value" /> <input type="text" name="LXDH" align="left" class="t_area" style="width: 106px;border-bottom:1px;" value='<c:out value="${LXDH}"/>' <c:out value="${A01}"/>></td> </tr> <tr> <td style="text-align:left;">申请单位地址</td> <td colspan="5" width="609" style="text-align:left;"><bean:define id="SQDWDZ" name='item' property="SQDWDZ.value" /> <input type="text" name="SQDWDZ" align="left" class="t_area" style="width: 630px;border-bottom:1px;" value='<c:out value="${SQDWDZ}"/>' <c:out value="${A01}"/>> </td> </tr> <tr> <td style="text-align:left;">课题承担单位</td> <td style="text-align:left;"><bean:define id="KTFZR" name='item' property="KTFZR.value" /> <input type="text" name="KTFZR" align="left" class="t_area" style="width: 222px;border-bottom:1px;" value='<c:out value="${KTFZR}"/>' <c:out value="${A01}"/>> </td> <td style="text-align:left;">联系人</td> <td style="text-align:left;"><bean:define id="WTLXR" name='item' property="WTLXR.value" /> <input type="text" name="WTLXR" align="left" class="t_area" style="width: 118px;border-bottom:1px;" value='<c:out value="${WTLXR}"/>' <c:out value="${A01}"/>> </td> <td style="text-align:left;">联系电话</td> <td style="text-align:left;"><bean:define id="WTLXDH" name='item' property="WTLXDH.value" /> <input type="text" name="WTLXDH" align="left" class="t_area" style="width: 118px;border-bottom:1px;" value='<c:out value="${WTLXDH}"/>' <c:out value="${A01}"/>> </td> </tr> <tr> <td style="text-align:left;">课题名称</td> <td colspan="5" width="609" style="text-align:left;"><bean:define id="KTMC" name='item' property="KTMC.value" /> <input type="text" name="KTMC" class="t_area" style="width: 630px;border-bottom:1px;text-align:left;" value='<c:out value="${KTMC}"/>' <c:out value="${A01}"/>> </td> </tr> </table> <table width="770" class="tabl" border="1" bordercolor="CADEE9"> <tr> <td valign="middle" align="center"><c:if test="${readOnly ne true && isNeedSave}"> <input Id="save" name="save" Type="submit" class="myinputstyle" value="保存" onClick="return window.confirm('确定要保存么?');" /> </c:if></td> </tr> </table> <table width="100%" class="itscs" border="1" bordercolor="CADEE9"> <tr height="150px;"> <td rowspan="1" width="11%">观察及采样井号、采样数量、规格、用途</td> <td colspan="1" width="89%"> <div> <% //得到活动的可编辑数据项 WMFilter[] filtersjbxx = new WMFilter[4]; filtersjbxx[0] = new WMFilter("ND", WMFilter.EQ, "'" + pkList.get(0) + "'"); filtersjbxx[1] = new WMFilter("XMZ", WMFilter.EQ, "'" + pkList.get(1) + "'"); filtersjbxx[2] = new WMFilter("SQDW", WMFilter.EQ, "'" + pkList.get(2) + "'"); filtersjbxx[3] = new WMFilter("SQBH", WMFilter.EQ, "'" + SQBH + "'"); ItemType itemtype1 = manager.createItemType("SQYPB"); List itemTypeInsList1 = manager.getItemTypeInsListBySQL( filtersjbxx, true, itemtype1); request.setAttribute("ITEMTYPEINSLIST1", itemTypeInsList1); //List itemElementNameList = activity1.getItemType().getElementNameList(); %> <script type="text/javascript"> var r=-1; var xmlRequest = null; if(window.XMLHttpRequest) { try { xmlRequest = new XMLHttpRequest(); } catch(e) {xmlRequest = false;} // branch for IE/Windows ActiveX version } else if(window.ActiveXObject) { try { xmlRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {xmlRequest = false;} } } function remove1(j,xh) { if(confirm("数据一旦删除将无法恢复 \n\n 确定要删除么?")){ var url = '<%=request.getContextPath()%>/DataActionServlet_P12?action=removeE&nd=<%=pkList.get(0)%>&xmz=<%=pkList.get(1)%>&sqdw=<%=pkList.get(2)%>&sqbh=<%=SQBH%>&xh='+xh+'&ind='+j; //alert(url); xmlRequest.open('GET',url,true); xmlRequest.onreadystatechange = callBack; xmlRequest.send(null); } } function callBack(){ if (xmlRequest.readyState == 4){ if (xmlRequest.status == 200) { resText = xmlRequest.responseText; if(resText=="failure"||resText==""){ //G('showMsg1').style.display='block'; alert('删除数据失败,请刷新重试。'); }else{ remove(resText); } } } } function remove(ind){ //alert(ind); var tbody = G("ETable"); r--; var oTr = tbody.childNodes[ind]; tbody.removeChild(oTr); var trRows = tbody.childNodes; for (var i = ind; i < trRows.length; i++) { var sibingTr = trRows[i]; //alert(sibingTr.innerHTML); if (sibingTr == null) { continue; } var cells = sibingTr.childNodes; for (var j = 0; j < cells.length; j++) { var oldContent = cells[j].innerHTML; if (j == 0) { var replaceRegx = "(\d+)/g"; oldContent = oldContent.replace(replaceRegx, "" + (i + 1)); } cells[j].innerHTML = ProcessStrIndex(oldContent, i); } //alert(sibingTr.innerHTML); } } </script> <table align="left" width="100%"> <tr> <td style="border: 0"> <div id="mainContent"> <!-- 判断checkbox是否可以编辑 --> <div id="seachDiv" style="display:none"> <fieldset> <legend class="tit_tag">查询条件</legend> <table id="inputTab" width="100%"> <tr> <td> <div id="divDQ" width="33%" style="font-size:1.1em;"> 地 区:<input type="text" id="dq" name="dq" tabindex="1" autocomplete="off" onKeyUp="searchSuggest(this);" onchange="doChkListToDefault()" class="input_out" type="text" onfocus="this.className='input_on';this.onmouseout=''" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" /> <div id="popup" border="0" style="z-index: 99; visibility: hidden; position: absolute; border: 1px solid black;"> <table id="complete_table" border="0" cellspacing="0" cellpadding="0" style="background-color: #CCFFFF;font-family: courier;font-size:80%;"> <tbody id="complete_body"></tbody> </table> </div> </div> </td> <td> <div id="divJH" width="33%" style="font-size:1.1em;"> 井 号:<input type="text" id="jh" name="jh" tabindex="2" autocomplete="off" onKeyUp="searchSuggest(this);" onchange="doChkListToDefault()" class="input_out" type="text" onfocus="this.className='input_on';this.onmouseout=''" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" /> </div> </td> <td> <div id="divCW" width="34%" style="font-size:1.1em;"> 层 位:<input type="text" id="cw" name="cw" tabindex="3" autocomplete="off" onKeyUp="searchSuggest(this);" onchange="doChkListToDefault()" class="input_out" type="text" onfocus="this.className='input_on';this.onmouseout=''" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" /> </div> </td> </tr> </table> </fieldset> <fieldset> <legend class="tit_tag">分析项目</legend> <div id="checkboxList"></div> </fieldset> </div> <!-- 补充信息列表 --> <fieldset> <legend class="tit_tag">信息列表</legend> <div id="reInfosList" style="width:100%;height:340px;"></div> </fieldset> </div> <input type="hidden" id="addInfos"/> </td> </tr> </table> </td> </tr> </table> <table width="770" class="itscs" border="1" bordercolor="CADEE9"> <c:if test="${item.SPR1.value ne '' || A02 ne 'disabled'}"> <bean:define id="SPR1" name='item' property="SPR1.value" /> <c:if test="${A02==''&& SPR1==''}"> <c:set var="SPR1" value="${YHMQC}" /> </c:if> <tr> <td width="90" rowspan="6" class="td1">提交单位意见</td> <td width="25" rowspan="3">管理科室</td> <td width="91" height="25">审批人</td> <td width="220"> <input name="SPR1" type="text" class="smallInput" size="10" value='<c:out value="${SPR1}"/>' <c:out value="${A02}"/>> </td> <td width="75" rowspan="3">备注</td> <td width="241" rowspan="3"><bean:define id="YJBZ1" name='item' property="YJBZ1.value" /> <textarea name="YJBZ1" class="textAreaStyle" <c:out value="${A02}"/>><%=YJBZ1%></textarea> </td> </tr> <tr> <td>审批意见 <c:if test="${A02 ne 'disabled'}"> <div style="float: center;"><a style="cursor:hand" onclick="showHistory('history_spyj1','管理科室审批意见历史记录');return false;">历史记录</a> </div> </c:if></td> <td><bean:define id="HIS_SPYJ1" name='item' property="HIS_SPYJ1.value" /> <div id='history_spyj1' style="display:none"> <table border="0" cellPadding="0" cellSpacing="0" align=center class="its1" width="100%"> <tr> <th>日期</th> <th>意见</th> </tr> <c:if test="${HIS_SPYJ1 ne 'null'}"> <c:set var="state" value="0" /> <c:forTokens var="token" items="${HIS_SPYJ1}" delims="┆│" step="1"> <c:if test="${state%2==0}"> <tr> </c:if> <c:set var="state" value="${state+1}" /> <td><c:out value="${token}" /></td> <c:set var="SPYJ1" value="${token}" /> <c:if test="${state%2==0}"> </tr> </c:if> </c:forTokens> </c:if> </table> </div> <c:if test="${A02 ne 'disabled'&& !isPostBack}"> <c:set var="SPYJ1" value="" /> </c:if> <textarea id="HIS_SPYJ1" oncontextmenu="showmenu('HIS_SPYJ1');return false;" onmouseover="this.focus();" name="HIS_SPYJ1" class="textAreaStyle" <c:out value="${A02}"/>><c:out value="${SPYJ1}" /></textarea></td> </tr> <tr> <td>审批时间</td> <td><bean:define id="SPSJ1" name='item' property="SPSJ1.value" /> <c:if test="${SPSJ1 eq 'null'}"> <c:set var="SPSJ1" value="${result}" /> </c:if> <c:if test="${empty SPSJ1}"> <c:set var="SPSJ1" value="${result}" /> </c:if> <input type="text" class="t_area" name="SPSJ1" value='<c:out value="${SPSJ1}"/>' onclick="javascript:WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" <c:out value="${A02}"/> /></td> </tr> </c:if> <c:if test="${item.SPR2.value ne '' || A03 ne 'disabled'}"> <bean:define id="SPR2" name='item' property="SPR2.value" /> <c:if test="${A03==''&& SPR2==''}"> <c:set var="SPR2" value="${YHMQC}" /> </c:if> <tr> <td rowspan="3">主管领导</td> <td height="25">审批人</td> <td> <input name="SPR2" type="text" class="smallInput" size="10" value='<c:out value="${SPR2}"/>' <c:out value="${A03}"/>> </td> <td rowspan="3">备注</td> <td rowspan="3"><bean:define id="YJBZ2" name='item' property="YJBZ2.value" /> <textarea name="YJBZ2" class="textAreaStyle" <c:out value="${A03}"/>><%=YJBZ2%></textarea> </td> </tr> <tr> <td>审批意见 <c:if test="${A03 ne 'disabled'}"> <div style="float: center;"><a style="cursor:hand" onclick="showHistory('history_spyj2','管理科室主要领导审批意见历史记录');return false;">历史记录</a> </div> </c:if></td> <td><bean:define id="HIS_SPYJ2" name='item' property="HIS_SPYJ2.value" /> <div id='history_spyj2' style="display:none"> <table border="0" cellPadding="0" cellSpacing="0" align=center class="its1" width="100%"> <tr> <th>日期</th> <th>意见</th> </tr> <tr> <c:if test="${HIS_SPYJ2 ne 'null'}"> <c:set var="state" value="0" /> <c:forTokens var="token" items="${HIS_SPYJ2}" delims="┆│" step="1"> <c:if test="${state%2==0}"> <tr> </c:if> <c:set var="state" value="${state+1}" /> <td><c:out value="${token}" /></td> <c:set var="SPYJ2" value="${token}" /> <c:if test="${state%2==0}"> </tr> </c:if> </c:forTokens> </c:if> </tr> </table> </div> <c:if test="${A03 ne 'disabled'&& !isPostBack}"> <c:set var="SPYJ2" value="" /> </c:if> <textarea id="HIS_SPYJ2" oncontextmenu="showmenu('HIS_SPYJ2');return false;" onmouseover="this.focus();" name="HIS_SPYJ2" class="textAreaStyle" <c:out value="${A03}"/>><c:out value="${SPYJ2}" /></textarea></td> </tr> <tr> <td>审批时间</td> <td><bean:define id="SPSJ2" name='item' property="SPSJ2.value" /> <c:if test="${SPSJ2 eq 'null'}"> <c:set var="SPSJ2" value="${result}" /> </c:if> <c:if test="${empty SPSJ2}"> <c:set var="SPSJ2" value="${result}" /> </c:if> <input type="text" class="t_area" name="SPSJ2" value='<c:out value="${SPSJ2}"/>' onclick="javascript:WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" <c:out value="${A03}"/> /></td> </tr> </c:if> <c:if test="${item.SPR3.value ne '' || A04 ne 'disabled'}"> <bean:define id="SPR3" name='item' property="SPR3.value" /> <c:if test="${A04==''&& SPR3==''}"> <c:set var="SPR3" value="${YHMQC}" /> </c:if> <tr> <td rowspan="12" class="td1">勘探部意见</td> <td rowspan="3">岩心专岗</td> <td height="25">审批人</td> <td> <input name="SPR3" type="text" class="smallInput" size="10" value='<c:out value="${SPR3}"/>' <c:out value="${A04}"/>> </td> <td rowspan="3">备注</td> <td rowspan="3"><bean:define id="YJBZ3" name='item' property="YJBZ3.value" /> <textarea name="YJBZ3" class="textAreaStyle" <c:out value="${A04}"/>><%=YJBZ3%></textarea> </td> </tr> <tr> <td>审批意见 <c:if test="${A04 ne 'disabled'}"> <div style="float: center;"><a style="cursor:hand" onclick="showHistory('history_spyj3','勘探部审批意见历史记录');return false;">历史记录</a> </div> </c:if></td> <td><bean:define id="HIS_SPYJ3" name='item' property="HIS_SPYJ3.value" /> <div id='history_spyj3' style="display:none"> <table border="0" cellPadding="0" cellSpacing="0" align=center class="its1" width="100%"> <tr> <th>日期</th> <th>意见</th> </tr> <tr> <c:if test="${HIS_SPYJ3 ne 'null'}"> <c:set var="state" value="0" /> <c:forTokens var="token" items="${HIS_SPYJ3}" delims="┆│" step="1"> <c:if test="${state%2==0}"> <tr> </c:if> <c:set var="state" value="${state+1}" /> <td><c:out value="${token}" /></td> <c:set var="SPYJ3" value="${token}" /> <c:if test="${state%2==0}"> </tr> </c:if> </c:forTokens> </c:if> </tr> </table> </div> <c:if test="${A04 ne 'disabled'&& !isPostBack}"> <c:set var="SPYJ3" value="" /> </c:if> <textarea id="HIS_SPYJ3" oncontextmenu="showmenu('HIS_SPYJ3');return false;" onmouseover="this.focus();" name="HIS_SPYJ3" class="textAreaStyle" <c:out value="${A04}"/>><c:out value="${SPYJ3}" /></textarea></td> </tr> <tr> <td>审批时间</td> <td><bean:define id="SPSJ3" name='item' property="SPSJ3.value" /> <c:if test="${SPSJ3 eq 'null'}"> <c:set var="SPSJ3" value="${result}" /> </c:if> <c:if test="${empty SPSJ3}"> <c:set var="SPSJ3" value="${result}" /> </c:if> <input type="text" class="t_area" name="SPSJ3" value='<c:out value="${SPSJ3}"/>' onclick="javascript:WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" <c:out value="${A04}"/> /></td> </tr> </c:if> <c:if test="${item.SPR4.value ne '' || A05 ne 'disabled'}"> <bean:define id="SPR4" name='item' property="SPR4.value" /> <c:if test="${A05==''&& SPR4==''}"> <c:set var="SPR4" value="${YHMQC}" /> </c:if> <tr> <td rowspan="3">地质科主管</td> <td>审批人</td> <td> <input name="SPR4" type="text" class="smallInput" size="10" value='<c:out value="${SPR4}"/>' <c:out value="${A05}"/>> </td> <td rowspan="3">备注</td> <td rowspan="3"><bean:define id="YJBZ4" name='item' property="YJBZ4.value" /> <textarea name="YJBZ4" class="textAreaStyle" <c:out value="${A05}"/>><%=YJBZ4%></textarea> </td> </tr> <tr> <td>审批意见 <c:if test="${A05 ne 'disabled'}"> <div style="float: center;"><a style="cursor:hand" onclick="showHistory('history_spyj4','地质科主管审批意见历史记录');return false;">历史记录</a> </div> </c:if></td> <td><bean:define id="HIS_SPYJ4" name='item' property="HIS_SPYJ4.value" /> <div id='history_spyj4' style="display:none"> <table border="0" cellPadding="0" cellSpacing="0" align=center class="its1" width="100%"> <tr> <th>日期</th> <th>意见</th> </tr> <tr> <c:if test="${HIS_SPYJ4 ne 'null'}"> <c:set var="state" value="0" /> <c:forTokens var="token" items="${HIS_SPYJ4}" delims="┆│" step="1"> <c:if test="${state%2==0}"> <tr> </c:if> <c:set var="state" value="${state+1}" /> <td><c:out value="${token}" /></td> <c:set var="SPYJ4" value="${token}" /> <c:if test="${state%2==0}"> </tr> </c:if> </c:forTokens> </c:if> </tr> </table> </div> <c:if test="${A05 ne 'disabled'&& !isPostBack}"> <c:set var="SPYJ4" value="" /> </c:if> <textarea id="HIS_SPYJ4" oncontextmenu="showmenu('HIS_SPYJ4');return false;" onmouseover="this.focus();" name="HIS_SPYJ4" class="textAreaStyle" <c:out value="${A05}"/>><c:out value="${SPYJ4}" /></textarea></td> </tr> <tr> <td>审批时间</td> <td><bean:define id="SPSJ4" name='item' property="SPSJ4.value" /> <c:if test="${SPSJ4 eq 'null'}"> <c:set var="SPSJ4" value="${result}" /> </c:if> <c:if test="${empty SPSJ4}"> <c:set var="SPSJ4" value="${result}" /> </c:if> <input type="text" class="t_area" name="SPSJ4" value='<c:out value="${SPSJ4}"/>' onclick="javascript:WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" <c:out value="${A05}"/> /></td> </tr> </c:if> <c:if test="${item.SPR5.value ne '' || A06 ne 'disabled'}"> <bean:define id="SPR5" name='item' property="SPR5.value" /> <c:if test="${A06==''&& SPR5==''}"> <c:set var="SPR5" value="${YHMQC}" /> </c:if> <tr> <td rowspan="3">主管领导</td> <td height="25">审批人</td> <td> <input name="SPR5" type="text" class="smallInput" size="10" value='<c:out value="${SPR5}"/>' <c:out value="${A06}"/>> </td> <td rowspan="3">备注</td> <td rowspan="3"><bean:define id="YJBZ5" name='item' property="YJBZ5.value" /> <textarea name="YJBZ5" class="textAreaStyle" <c:out value="${A06}"/>><%=YJBZ5%></textarea> </td> </tr> <tr> <td>审批意见 <c:if test="${A06 ne 'disabled'}"> <div style="float: center;"><a style="cursor:hand" onclick="showHistory('history_spyj5','勘探部主管审批意见历史记录');return false;">历史记录</a> </div> </c:if></td> <td><bean:define id="HIS_SPYJ5" name='item' property="HIS_SPYJ5.value" /> <div id='history_spyj5' style="display:none"> <table border="0" cellPadding="0" cellSpacing="0" align=center class="its1" width="100%"> <tr> <th>日期</th> <th>意见</th> </tr> <tr> <c:if test="${HIS_SPYJ5 ne 'null'}"> <c:set var="state" value="0" /> <c:forTokens var="token" items="${HIS_SPYJ5}" delims="┆│" step="1"> <c:if test="${state%2==0}"> <tr> </c:if> <c:set var="state" value="${state+1}" /> <td><c:out value="${token}" /></td> <c:set var="SPYJ5" value="${token}" /> <c:if test="${state%2==0}"> </tr> </c:if> </c:forTokens> </c:if> </tr> </table> </div> <c:if test="${A06 ne 'disabled'&& !isPostBack}"> <c:set var="SPYJ5" value="" /> </c:if> <textarea id="HIS_SPYJ5" oncontextmenu="showmenu('HIS_SPYJ5');return false;" onmouseover="this.focus();" name="HIS_SPYJ5" class="textAreaStyle" <c:out value="${A06}"/>><c:out value="${SPYJ5}" /></textarea></td> </tr> <tr> <td>审批时间</td> <td><bean:define id="SPSJ5" name='item' property="SPSJ5.value" /> <c:if test="${SPSJ5 eq 'null'}"> <c:set var="SPSJ5" value="${result}" /> </c:if> <c:if test="${empty SPSJ5}"> <c:set var="SPSJ5" value="${result}" /> </c:if> <input type="text" class="t_area" name="SPSJ5" value='<c:out value="${SPSJ5}"/>' onclick="javascript:WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" <c:out value="${A06}"/> /></td> </tr> </c:if> <c:if test="${item.SPR6.value ne '' || A07 ne 'disabled'}"> <bean:define id="SPR6" name='item' property="SPR6.value" /> <c:if test="${A07==''&& SPR6==''}"> <c:set var="SPR6" value="${YHMQC}" /> </c:if> <tr> <td rowspan="3">主要领导</td> <td height="25">审批人</td> <td> <input name="SPR6" type="text" class="smallInput" size="10" value='<c:out value="${SPR6}"/>' <c:out value="${A07}"/>> </td> <td rowspan="3">备注</td> <td rowspan="3"><bean:define id="YJBZ6" name='item' property="YJBZ6.value" /> <textarea name="YJBZ6" class="textAreaStyle" <c:out value="${A07}"/>><%=YJBZ6%></textarea> </td> </tr> <tr> <td>审批意见 <c:if test="${A07 ne 'disabled'}"> <div style="float: center;"><a style="cursor:hand" onclick="showHistory('history_spyj6','勘探部主要领导审批意见历史记录');return false;">历史记录</a> </div> </c:if></td> <td><bean:define id="HIS_SPYJ6" name='item' property="HIS_SPYJ6.value" /> <div id='history_spyj6' style="display:none"> <table border="0" cellPadding="0" cellSpacing="0" align="center" class="its1" width="100%"> <tr> <th>日期</th> <th>意见</th> </tr> <tr> <c:if test="${HIS_SPYJ6 ne 'null'}"> <c:set var="state" value="0" /> <c:forTokens var="token" items="${HIS_SPYJ6}" delims="┆│" step="1"> <c:if test="${state%2==0}"> <tr> </c:if> <c:set var="state" value="${state+1}" /> <td><c:out value="${token}" /></td> <c:set var="SPYJ6" value="${token}" /> <c:if test="${state%2==0}"> </tr> </c:if> </c:forTokens> </c:if> </tr> </table> </div> <c:if test="${A07 ne 'disabled'&& !isPostBack}"> <c:set var="SPYJ6" value="" /> </c:if> <textarea id="HIS_SPYJ6" oncontextmenu="showmenu('HIS_SPYJ6');return false;" onmouseover="this.focus();" name="HIS_SPYJ6" class="textAreaStyle" <c:out value="${A07}"/>><c:out value="${SPYJ6}" /></textarea></td> </tr> <tr> <td>审批时间</td> <td><bean:define id="SPSJ6" name='item' property="SPSJ6.value" /> <c:if test="${SPSJ6 eq 'null'}"> <c:set var="SPSJ6" value="${result}" /> </c:if> <c:if test="${empty SPSJ6}"> <c:set var="SPSJ6" value="${result}" /> </c:if> <input type="text" class="t_area" name="SPSJ6" value='<c:out value="${SPSJ6}"/>' onclick="javascript:WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" <c:out value="${A07}"/> /></td> </tr> </c:if> <c:if test="${item.SPR7.value ne '' || A08 ne 'disabled'}"> <bean:define id="SPR7" name='item' property="SPR7.value" /> <c:if test="${A08==''&& SPR7==''}"> <c:set var="SPR7" value="${YHMQC}" /> </c:if> <tr> <td rowspan="3" colspan="2" class="td1">油田分公司意见</td> <td height="25">审批人</td> <td> <input name="SPR7" type="text" class="smallInput" size="10" value='<c:out value="${SPR7}"/>' <c:out value="${A08}"/>> </td> <td rowspan="3">备注</td> <td rowspan="3"><bean:define id="YJBZ7" name='item' property="YJBZ7.value" /> <textarea name="YJBZ7" class="textAreaStyle" <c:out value="${A08}"/>><%=YJBZ7%></textarea> </td> </tr> <tr> <td>审批意见 <c:if test="${A08 ne 'disabled'}"> <div style="float: center;"><a style="cursor:hand" onclick="showHistory('history_spyj7','油田分公司审批意见历史记录');return false;">历史记录</a> </div> </c:if></td> <td><bean:define id="HIS_SPYJ7" name='item' property="HIS_SPYJ7.value" /> <div id='history_spyj7' style="display:none"> <table border="0" cellPadding="0" cellSpacing="0" align=center class="its1" width="100%"> <tr> <th>日期</th> <th>意见</th> </tr> <tr> <c:if test="${HIS_SPYJ7 ne 'null'}"> <c:set var="state" value="0" /> <c:forTokens var="token" items="${HIS_SPYJ7}" delims="┆│" step="1"> <c:if test="${state%2==0}"> <tr> </c:if> <c:set var="state" value="${state+1}" /> <td><c:out value="${token}" /></td> <c:set var="SPYJ7" value="${token}" /> <c:if test="${state%2==0}"> </tr> </c:if> </c:forTokens> </c:if> </tr> </table> </div> <c:if test="${A08 ne 'disabled'&& !isPostBack}"> <c:set var="SPYJ7" value="" /> </c:if> <textarea id="HIS_SPYJ7" oncontextmenu="showmenu('HIS_SPYJ7');return false;" onmouseover="this.focus();" name="HIS_SPYJ7" class="textAreaStyle" <c:out value="${A08}"/> ><c:out value="${SPYJ7}" /></textarea></td> </tr> <tr> <td>审批时间</td> <td><bean:define id="SPSJ7" name='item' property="SPSJ7.value" /> <c:if test="${SPSJ7 eq 'null'}"> <c:set var="SPSJ7" value="${result}" /> </c:if> <c:if test="${empty SPSJ7}"> <c:set var="SPSJ7" value="${result}" /> </c:if> <input type="text" class="t_area" name="SPSJ7" value='<c:out value="${SPSJ7}"/>' onclick="javascript:WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" <c:out value="${A08}"/> /></td> </tr> </tr> </c:if> </table> </td> </tr> <c:if test="${item.SPR7.value ne '' ||A09 ne 'disabled'}"> <c:if test="${A09 ne 'disabled'}"> <tr> <table align="center" width="770"> <tr> <td align="left" class="STYLETITLE" width="220" style="border: 0"> 二、样品信息表</td> <% //得到活动的可编辑数据项 WMFilter[] filtersjbxx2 = new WMFilter[1]; filtersjbxx2[0] = new WMFilter("SQBH", WMFilter.EQ, "'" + SQBH + "'"); ItemType itemtype2 = manager.createItemType("YPXXB"); List itemTypeInsList2 = manager.getItemTypeInsListBySQL( filtersjbxx2, true, itemtype2); request.setAttribute("ITEMTYPEINSLIST2", itemTypeInsList2); //List itemElementNameList = activity1.getItemType().getElementNameList(); int workItemState =workitem.getState(); %> <td align="left" style="border: 0"> <%if(workItemState!=-1){ %> <a href="#" onClick="window.open('<%=request.getContextPath()%>/form/PAJZ12_check.jsp?workitemId=<%=workitem.getId()%>&pk=<%=workitem.getProcessIns().getName()%>&sqbh=<%= SQBH%>','数据录入','Width=750px,Height=460px,Top=180px,Left=300px,status=no,directories=no,scrollbars=no,Resizable=no;');"> <img src="<%=request.getContextPath()%>/images/icon2.gif"> 数据录入</a> <a href="<%=request.getContextPath()%>/form/downloadTemplate.jsp?filename=ypxxb.xls" > <img src="<%=request.getContextPath()%>/images/icon2.gif"> excel模板下载</a> <%} %> </td> </tr> </table> <br> <div style="overflow-x:scroll;width:770px;"> <table id="work" class="itshb" align="center" style='table-layout:fixed;'> <thead> <tr> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>序号</th> <th style='width:100px;word-break:keep-all;white-space:nowrap;'>申请编号</th> <th style='width:130px;word-break:keep-all;white-space:nowrap;'>样品编号</th> <th style='width:60px;word-break:keep-all;white-space:nowrap;'>井号</th> <th style='width:70px;word-break:keep-all;white-space:nowrap;'>层位</th> <th style='width:190px;word-break:keep-all;white-space:nowrap;'>岩性</th> <th style='width:70px;word-break:keep-all;white-space:nowrap;'>起始井深</th> <th style='width:70px;word-break:keep-all;white-space:nowrap;'>底界井深</th> <th style='width:60px;word-break:keep-all;white-space:nowrap;'>录入人</th> <th style='width:90px;word-break:keep-all;white-space:nowrap;'>录入日期</th> <th style='width:90px;word-break:keep-all;white-space:nowrap;'>采样日期</th> <th style='width:60px;word-break:keep-all;white-space:nowrap;'>制表人</th> <th style='width:50px;keep-all;white-space:nowrap;'>残样回收情况</th> <th style='width:50px;keep-all;white-space:nowrap;'>样品具体盒数</th> <th style='width:50px;keep-all;white-space:nowrap;'>小样编号</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>速敏</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>酸敏</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>盐敏</th> <th style='width:50px;keep-all;white-space:nowrap;'>原油高压物性</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>燧石</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>水敏</th> <th style='width:50px;keep-all;white-space:nowrap;'>全岩分析</th> <th style='width:50px;keep-all;white-space:nowrap;'>粘土矿物分析</th> <th style='width:60px;keep-all;white-space:nowrap;'>重矿物鉴定</th> <th style='width:40px;word-break:keep-all;white-space:nowrap;'>碱敏</th> <th style='width:60px;keep-all;white-space:nowrap;'>垂直渗透率</th> <th style='width:60px;keep-all;white-space:nowrap;'>水平渗透率</th> <th style='width:60px;word-break:keep-all;white-space:nowrap;'>有机碳</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>芳烃</th> <th style='width:60px;keep-all;white-space:nowrap;'>原油全烃气相色谱</th> <th style='width:60px;word-break:keep-all;white-space:nowrap;'>饱和烃</th> <th style='width:50px;keep-all;white-space:nowrap;'>室内湿度</th> <th style='width:60px;keep-all;white-space:nowrap;'>天然气组分色谱分析</th> <th style='width:40px;keep-all;white-space:nowrap;'>沥青质碳同位素</th> <th style='width:40px;keep-all;white-space:nowrap;'>饱和烃碳同位素</th> <th style='width:40px;keep-all;white-space:nowrap;'>干酪根碳同位素</th> <th style='width:40px;keep-all;white-space:nowrap;'>沥青A碳同位素</th> <th style='width:40px;keep-all;white-space:nowrap;'>干酪根显微组分</th> <th style='width:40px;keep-all;white-space:nowrap;'>煤岩显微组分</th> <th style='width:70px;keep-all;white-space:nowrap;'>有机质镜检全岩</th> <th style='width:50px;keep-all;white-space:nowrap;'>沥青A组</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>族组成</th> <th style='width:50px;keep-all;white-space:nowrap;'>运动粘度</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>粘度</th> <th style='width:50px;keep-all;white-space:nowrap;'>岩石热解分析</th> <th style='width:50px;keep-all;white-space:nowrap;'>镜质体反射率</th> <th style='width:60px;keep-all;white-space:nowrap;'>有机质元素分析</th> <th style='width:50px;keep-all;white-space:nowrap;'>图像粒度</th> <th style='width:50px;keep-all;white-space:nowrap;'>图像孔隙</th> <th style='width:50px;keep-all;white-space:nowrap;'>阴极薄片</th> <th style='width:50px;keep-all;white-space:nowrap;'>荧光薄片</th> <th style='width:50px;keep-all;white-space:nowrap;'>电镜扫描</th> <th style='width:50px;keep-all;white-space:nowrap;'>能谱分析</th> <th style='width:60px;keep-all;white-space:nowrap;'>X衍射粘土分析</th> <th style='width:60px;keep-all;white-space:nowrap;'>X衍射全岩分析</th> <th style='width:50px;keep-all;white-space:nowrap;'>铸体薄片</th> <th style='width:50px;keep-all;white-space:nowrap;'>原油含水</th> <th style='width:50px;keep-all;white-space:nowrap;'>原油密度</th> <th style='width:50px;keep-all;white-space:nowrap;'>原油碳同位素</th> <th style='width:70px;keep-all;white-space:nowrap;'>天然气在线碳同位素</th> <th style='width:50px;keep-all;white-space:nowrap;'>岩石光片</th> <th style='width:50px;keep-all;white-space:nowrap;'>普通薄片</th> <th style='width:50px;keep-all;white-space:nowrap;'>原油粘度</th> <th style='width:50px;keep-all;white-space:nowrap;'>原油凝点</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>敏感性</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>含盐量</th> <th style='width:50px;keep-all;white-space:nowrap;'>水质分析</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>湿润性</th> <th style='width:70px;keep-all;white-space:nowrap;'>含油(气)性</th> <th style='width:50px;keep-all;white-space:nowrap;'>相渗透率</th> <th style='width:50px;word-break:keep-all;white-space:nowrap;'>水驱油</th> <th style='width:60px;keep-all;white-space:nowrap;'>渗透率垂直</th> <th style='width:60px;keep-all;white-space:nowrap;'>渗透率常规</th> <th style='width:50px;keep-all;white-space:nowrap;'>阴极发光</th> <th style='width:40px;word-break:keep-all;white-space:nowrap;'>压汞</th> <th style='width:60px;word-break:keep-all;white-space:nowrap;'>饱和度</th> <th style='width:60px;word-break:keep-all;white-space:nowrap;'>孔隙度</th> </tr> </thead> <tbody id="ETable"> <c:set var="i" value="-1" /> <c:forEach items="${ITEMTYPEINSLIST2}" var="equip" step="1"> <c:set var="i" value="${i+1}" /> <c:set var="styl" value="odd" /> <c:if test="${i%2==0}"> <c:set var="styl" value="even" /> </c:if> <tr class='<c:out value="${styl}" /> '> <td align="center"><c:out value="${i+1}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SQBH.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YPBH.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.JH.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.CW.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YX.value}" /> </td> <% %> <c:set var="doubleJS" value="${equip.itemElementInsHash.JS.value}" /> <td align="center"><fmt:formatNumber value="${doubleJS}" pattern="0.00"/> </td> <c:set var="djjs" value="${equip.itemElementInsHash.DJJSH.value}"/> <td align="center"><fmt:formatNumber value="${djjs}" pattern="0.00"/> </td> <td align="center"><c:out value="${equip.itemElementInsHash.LRR.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.LRRQ.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.CYRQ.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.ZBR.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.CYHSQK.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YPJTHS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.XYBH.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SMGX2.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SMGX1.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YMGX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YYGYWX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SMGX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.QYFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.NTFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.ZGW.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.JMGX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.CZSTL.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SPSTL.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YJTFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.FT.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YYSP.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.BHT.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SD.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.TRQC1_C5.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.FTTTWS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.LQZTTWS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.BHTTTWS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.GLGTTWS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.LQATTWS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YJZJJGLG.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YJZJJM.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YJZJJQY.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.LQAZ.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.ZZCFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YDND.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.ND.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YSRJSP.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.RQCD.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YSFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.TXLD.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.TXKX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YJBP.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YGBP.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.DJSM.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.NPFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.XYSNTFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.XYSQYFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.ZTBP.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YYHS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YYMD.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YYTTWS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.ZXTTWS.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YSGP.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.PTBP.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YYYDND.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YYND.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.MGX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.HYL.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SZFX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SRX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.HYQX.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.XSTL.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.SQY.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.STLCZ.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.STLCG.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YJFG.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.YG.value}" /> </td> <td align="center"><c:out value="${equip.itemElementInsHash.BHD.value}" /> </td> </tr> </c:forEach> </tbody> </table> </div> </tr> </c:if> </c:if> </table> </logic:notEmpty> <% if (username.equals(owner) || username.equals("ysy_cq") || ingroup) { %> <div id='history_yijian' style="position:absolute;display:none;filter:alpha(opacity=100);opacity:1;"> <div style="float:right"><input type="image" src="<%=request.getContextPath()%>/images/closed.gif" onclick="closeed('history_yijian');return false;" style="cursor:hand"> </div> <br> <div id="history_title" style="color:red;float:none" align=center></div> <br> <div id="history_content"> </div> </div> <script type="text/javascript"> var prox,proy,proxc,proyc; function show(id){/*--打开--*/ clearInterval(prox); clearInterval(proy); clearInterval(proxc); clearInterval(proyc); var o = document.getElementById(id); o.style.display = "block"; o.style.width = "1px"; o.style.height = "1px"; x = event.screenX - event.offsetX - 4 - 210 ; // + deltaX; o.style.left=x; y=document.body.clientHeight/2 + document.body.scrollTop; o.style.top=(y-o.scrollHeight/2)+"px" prox = setInterval(function(){openx(o,500)},10); } function openx(o,x){/*--打开x--*/ var cx = parseInt(o.style.width); if(cx < x) { o.style.width = (cx + Math.ceil((x-cx)/5)) +"px"; } else { clearInterval(prox); proy = setInterval(function(){openy(o,400)},10); } } function openy(o,y){/*--打开y--*/ var cy = parseInt(o.style.height); if(cy < y) { o.style.height = (cy + Math.ceil((y-cy)/5)) +"px"; } else { clearInterval(proy); } } function closeed(id){/*--关闭--*/ clearInterval(prox); clearInterval(proy); clearInterval(proxc); clearInterval(proyc); var o = document.getElementById(id); if(o.style.display == "block") { proyc = setInterval(function(){closey(o)},10); } } function closey(o){/*--打开y--*/ var cy = parseInt(o.style.height); if(cy > 0) { o.style.height = (cy - Math.ceil(cy/5)) +"px"; } else { clearInterval(proyc); proxc = setInterval(function(){closex(o)},10); } } function closex(o){/*--打开x--*/ var cx = parseInt(o.style.width); if(cx > 0) { o.style.width = (cx - Math.ceil(cx/5)) +"px"; } else { clearInterval(proxc); o.style.display = "none"; } } </script> <br> <!--任务项转移,调取流程用户及转向--> <logic:notEqual name="readOnly" value="true"> <TABLE WIDTH="100%" CLASS="itspicbtn" border=0> <input name="transItem" value="" style="display: none;"> <!-- --> <% if ("PAJZ12A01".equals(activity.getId())) { %> <tr> <td align="center"> <% Map transitionMap = workitem.getActivity() .getFromTransitionMap(); userGroupManager ugm = new userGroupManager(); Properties props = ugm.getNoTravelActivity(workitem .getActivity().getId(), workitem .getProcessIns().getId()); Iterator iter = transitionMap.values().iterator(); while (iter.hasNext()) { Transition transition = (Transition) iter.next(); if (MbHDid.equals(transition.getToActivityId())) { String aa = transition.getCondition().trim(); %> <input class=myinputstyle Id="complete" Type="submit" style="width: 100" name="complete" value="<%=aa%>" onClick="return G1('<%=transition.getCondition()%>','<%=transition.getToActivityId()%>')"> <% } } %> </TD> <td></td> </tr> <% } else { %> <tr> <div id="message" style="display:none"></div> <td align="center"> <% Map transitionMap = workitem.getActivity() .getFromTransitionMap(); userGroupManager ugm = new userGroupManager(); Properties props = ugm.getNoTravelActivity(workitem .getActivity().getId(), workitem .getProcessIns().getId()); Iterator iter = transitionMap.values().iterator(); while (iter.hasNext()) { Transition transition = (Transition) iter.next(); String aaa = transition.getCondition().trim(); %> <input class="myinputstyle" Id="complete" Type="submit" style="width: 140" name="complete" value="<%=aaa%>" onClick="return G1('<%=transition.getCondition()%>','<%=transition.getToActivityId()%>')" /> <% } %> <c:if test="${A01 eq 'disabled'}"> <input class="myinputstyle" type="button" style="width: 140" value="查询" onclick="javascrip:window.open('user/splsgncx.jsp','','status=yes,location=yes,scrollbars=0,resizable=0,width=915,height=600,top=100,left=100')"> </c:if> <input type="hidden" name="toActiveId" value="" /></TD> <td></td> </tr> <% } %> </TABLE> </logic:notEqual></FORM> <% } } else { %> <!--<bean:message key="label.workitem.null"/>--> 任务项为空 <% } %> </div> </BODY> </html>
相关推荐
开发者可以通过这个包直接在项目中引用ExtJS 3.4,进行开发和调试。 学习ExtJS 3.4的过程中,首先需要理解其组件模型,因为它是构建应用的核心。每个组件都有自己的属性、方法和事件,可以通过这些来定制组件的行为...
【EXTJS 3.4 开发前准备】 EXTJS 是一款强大的JavaScript库,主要用于构建桌面级的Web应用程序,提供丰富的用户界面组件和交互效果。3.4版本是EXTJS的一个重要里程碑,它提供了稳定的基础和丰富的组件库。本文将...
Ext JS 6最大的变化就是将Ext JS和Touch合并为一个单一的框架。之前的框架的核心(数据、控制器、模型等等)已被调和为一个...那些共享核心资源和逻辑,并使用这两种工具包的应用程序被称为通用(Universal)应用程序。
官方最新版本Extjs6.2版本sdk,创建新项目的时候需要用, 全面的核心框架,具有最新的Javascript标准支持 新的漂亮组件和主题,以创建漂亮的企业应用程序 现代工具链,用于构建优化,高性能,通用的应用程序 用于可视...
在 ExtJS3.3基础上开发的. 低一点的版本应该也能用. 没有去测试. 参考: Ext.PagingToolbar.js 因为我开发测试完这个分页工具后, 电脑上显示刚好是15:00, 所以取名: PM3PagingToolbar 如有BUG还请各位提出或留言. ...
在 ExtJS3.3基础上开发的. 低一点的版本应该也能用. 没有去测试. 参考: Ext.PagingToolbar.js 如有BUG还请各位提出或留言. 附件中有图片, 一看就知道. 用法: var grid = new Ext.grid.GridPanel({ bbar: new Ext....
Extjs中实现国际化要用到的文件ext-lang-zh_CN.js和ext-lang-en.js
Ext JS 6最大的变化就是将Ext JS和Touch合并为一个单一的框架。之前的框架的核心(数据、控制器、模型等等)已被调和为一个...那些共享核心资源和逻辑,并使用这两种工具包的应用程序被称为通用(Universal)应用程序。
开发者通常会将这个文件解压缩后引入到他们的项目中,以便使用ExtJS 3.4的功能。 **总结** Spket 1.6.18和ExtJS 3.4的组合是Web开发中的一个有效工具集,前者作为一个强大的IDE,为后者提供有力的开发支持。通过...
总之,"extjs-theme-bootstrap-master.zip"为开发者提供了一种方式,让他们能够将流行的Bootstrap样式应用于ExtJS应用中,从而获得美观且功能丰富的Web界面。这个主题包不仅包含了样式定义,还可能包括示例、文档和...
从ext官方论坛上下的。 文件名: ext-4.2.1.883.jsb2 对应版本ext-4.2.1.883
extjs-3.4.jar fastjson-1.1.21.jar freemarker-2.3.9.jar gecko-1.1.4.jar geronimo-activation_1.1_spec-1.0.2.jar geronimo-javamail_1.4_spec-1.6.jar geronimo-jta_1.1_spec-1.1.jar geronimo-stax-api_1.0_...
搭建spket与ExtJS 本资源中包括 spket-1.6.18破解+CreatePluginsConfig.zip+ext.jsb2+使用说明 如有意见建议请留言。
Ext JS 6最大的变化就是将Ext JS和Touch合并为一个单一的框架。之前的框架的核心(数据、控制器、模型等等)已被调和为一个...那些共享核心资源和逻辑,并使用这两种工具包的应用程序被称为通用(Universal)应用程序。
ExtJS 是一个流行的JavaScript库,专门用于构建富客户端应用程序。版本3.4是该库的一个稳定版本,提供了丰富的UI组件和强大的数据管理功能。在这个源码包中,开发者可以深入理解ExtJS的工作原理,以便更好地定制和...
从spket IDE 官网下载。 文件名: ext-4.2.1.883.jsb2 对应版本ext-4.2.*版本。spket自动提示ExtJs4,需要ext4.2.1.jsp2文件。
ExtJS 6.2与Sencha Cmd 6.5.3.6是Web应用程序开发中的两个关键工具,尤其在构建基于JavaScript的富客户端应用时。本文将深入探讨这两个组件及其在Windows 64位环境下的使用。 首先,ExtJS是一个强大的JavaScript...
extjs4.0手册翻译 0-0-入门.doc 0-1-Ext 4概述.doc 1-1-类系统.doc 1-2-MVC应用架构.doc 1-3-布局和容器.doc 1-4-组件.doc 1-6-拖放.doc 1-7-本地化.doc 1-8-键盘导航.doc 2-1-表格.doc 2-2-树.doc 2-3-数据.doc 2-4...
ExtJs是一款广泛应用于Web前端开发的JavaScript库,它提供了丰富的组件和功能,使得开发者能够构建交互性强、用户体验优秀的Web应用程序。在本主题中,我们关注的是ExtJs3.4版本中的一个扩展——Tags控件。这个控件...
**ExtJS-3.4.0系列目录** 在ExtJS框架中,3.4.0版本提供了丰富的组件和功能,适合构建复杂的Web应用程序。以下是对标题和描述中提及的几个关键知识点的详细解释: 1. **Ext JS 下载及配置** 在开始使用Ext JS前,...