82 lines
3.5 KiB
Plaintext
82 lines
3.5 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/IncludeBegin.jsp"%>
|
|
<link rel="stylesheet" href="<%=sWebRootPath%>/Frame/page/resources/css/ow/common.css">
|
|
<style>
|
|
.gridtable{border-collapse:collapse;}
|
|
.gridtable td,th {
|
|
border-width: 1px;
|
|
padding: 2px;
|
|
border-style: solid;
|
|
background-color: #FFFFFF;
|
|
border-color:#D9D9D9;
|
|
}
|
|
</style>
|
|
|
|
<%
|
|
String sButtons[][] = {
|
|
{"true","","Button","±£´æ","±£´æÐÞ¸Ä","saveUserinfo()","","","",""}
|
|
};
|
|
String flowno=CurPage.getParameter("FlowNo");
|
|
String routeType=CurPage.getParameter("RouteType");
|
|
String stepno=CurPage.getParameter("StepNo");
|
|
if(stepno==null){stepno="";}
|
|
String stepcondition=CurPage.getParameter("StepCondition");
|
|
if(stepcondition==null){stepcondition="";}else{stepcondition=stepcondition.replaceAll("@", "#");}
|
|
%>
|
|
<%@ include file="/Frame/resources/include/ui/include_buttonset.jspf"%>
|
|
<form name="myiframe0" id="myiframe0" style="margin:0px;width: 100%">
|
|
<table cellspacing="0" cellpadding="0" style="width:100%;" class="gridtable">
|
|
<tr>
|
|
<td class="td-header" style="width:10%">²½Öè</td>
|
|
<td class="td-header" style="width:30%">
|
|
<input type="text" id="rowindex" name="rowindex" value="<%=CurPage.getParameter("RowIndex")%>" style="display:none"></input>
|
|
|
|
<span class="inner_bt_span"><input type="text" onkeydown="wordlimit(this,event)" id="stepno" name="stepno"
|
|
value="<%=stepno%>" style="width:400%;text-align:left;" onfocus="showItemTips(this)" onblur="hideItemTips(this)"
|
|
autocomplete="off" alstype="Text"><a href="javascript:void(0);"
|
|
onclick="selectNextRoute();return false;" class="inner_bt_a"> </a></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td-header" style="width:10%">Ìõ¼þ</td>
|
|
<td class="td-header" style="width:30%">
|
|
<span class="inner_bt_span">
|
|
<textarea name="stepcondition" id="stepcondition" style="width:400px;height:100px;overflow:auto;text-align:left;" cols="50" rows="7" cols="50" rows="7" maxlength="250" alstype="Textarea"><%=stepcondition%></textarea>
|
|
<%if(routeType.equals("conditionroute")){ %>
|
|
<a href="javascript:void(0);" onclick="selectUserInfo(this);return false;" class="inner_bt_a" style="bottom:2px;right:1px;"> </a>
|
|
<%} %>
|
|
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
<script type="text/javascript">
|
|
function selectNextRoute(){
|
|
AsDialog.OpenSelector("SelectFlowStepName","flowno,<%=flowno%>","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
|
if(!sReturn||sReturn=="_CANCEL_"){
|
|
alert(getHtmlMessage('1'));//ÇëÑ¡ÔñÒ»ÌõÐÅÏ¢£¡
|
|
return;
|
|
}
|
|
sReturn = sReturn.split("@");
|
|
$("#stepno").val(sReturn[1]+"("+sReturn[0]+")");
|
|
var routeType="<%=routeType%>";
|
|
if(routeType!="conditionroute"){
|
|
$("#stepcondition").val("Ìá½»¸ø"+sReturn[1]);
|
|
}
|
|
},"ÇëÑ¡ÔñÏÂÒ»²½");
|
|
|
|
}
|
|
|
|
function saveUserinfo(){
|
|
parent.AsDialog.ClosePage({'rowindex':$("#rowindex").val(),'stepno':$("#stepno").val(),'stepcondition':$("#stepcondition").val()});
|
|
}
|
|
|
|
function selectUserInfo(obj){
|
|
editObjectValueWithScriptEditorForASScript(document.getElementById("stepcondition"));
|
|
}
|
|
|
|
</script>
|
|
<%@ include file="/Frame/page/jspf/include/jsp_syntaxhighlighter.jspf"%>
|
|
<%@ include file="/IncludeEnd.jsp"%> |