100 lines
3.6 KiB
Plaintext
100 lines
3.6 KiB
Plaintext
<%@page import="com.amarsoft.are.jbo.ql.Parser"%>
|
|
<%@page import="com.amarsoft.biz.workflow.*"%>
|
|
<%@page import="com.amarsoft.app.flow.*"%>
|
|
<%@page import="com.tenwa.flow.task.*"%>
|
|
<%@page import="com.amarsoft.are.lang.StringX"%>
|
|
<%@page contentType="text/html; charset=GBK"%>
|
|
<%@include file="/Frame/resources/include/include_begin.jspf"%>
|
|
<link rel="stylesheet" href="<%=sWebRootPath%>/Frame/page/resources/css/ow/common.css">
|
|
<style>
|
|
.opinion-style{
|
|
width:100%;
|
|
overflow:hidden;
|
|
display:inline-block;
|
|
margin-bottom:2px;
|
|
outline:none;
|
|
}
|
|
.opinion-style2{
|
|
overflow:hidden;
|
|
display:inline-block;
|
|
margin-bottom:2px;
|
|
outline:none;
|
|
}
|
|
|
|
.opinion-focus{
|
|
background-color:A8CAE5;
|
|
}
|
|
</style>
|
|
<div>
|
|
<table>
|
|
<tr>
|
|
<td width="50%" align="right"><%=new Button("确定","确认提交","javascript:commitAction();","","btn_icon_Submit","").getHtmlText()%></td>
|
|
<td width="50%" align="center"><%=new Button("取消","放弃提交","javascript:doCancel();","","btn_icon_delete","").getHtmlText()%></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="opinionset">
|
|
<div style="margin-top:10px;margin-left:15px;font-size:12px;">
|
|
<font color="#000000"><b>指派后处理结果:</b></font>
|
|
</div>
|
|
<div style="margin-top:10px;margin-left:10px;font-size:12px;border:1px solid lightgray;padding:10px;">
|
|
<input id="directsubmit" type="radio" name="backmethod" value="0" checked/>流程继续提交
|
|
<input id="stepapprove" type="radio" name="backmethod" value="1" />流程返回给指派人
|
|
</div>
|
|
<div style="margin-top:10px;margin-left:15px;font-size:12px;">
|
|
<font color="#000000"><b>指派人员:</b></font>
|
|
</div>
|
|
<div id="stepInfo" style="margin-top:10px;margin-left:10px;font-size:12px;border:1px solid lightgray;padding:10px;">
|
|
<span class="inner_bt_span">
|
|
<input type="text" onkeydown="wordlimit(this,event)" id="username" name="username" value="" style=";width:200px;text-align:left;" class=" info_text_readonly_color" onfocus="showItemTips(this)" onblur="hideItemTips(this)" maxlength="32" readonly="true" autocomplete="off" alstype="Text">
|
|
<a href="javascript:void(0);" onclick="selectUserInfo();return false;" class="inner_bt_a"> </a></span>
|
|
<input type="hidden" id="usernamevalue" name="usernamevalue"></input>
|
|
</div>
|
|
<div style="height:300px; overflow:auto">
|
|
<div id="actionset">
|
|
|
|
</div>
|
|
<div id="actionreadset">
|
|
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<table width="100%" align="center">
|
|
<tr>
|
|
<td align="center"><b><span id="phaseinfo" style="color: #FF0000" ></span></b></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<script type="text/javascript">
|
|
function selectUserInfo(){
|
|
var sUrl="/AppConfig/FlowManage/FlowUserConfig/flowUserSelect.jsp";
|
|
var sparm="IsSingle=true";
|
|
var usertype="指定人员";
|
|
AsDialog.PopView(sUrl,sparm+'&selectType='+usertype,"dialogWidth=880px;dialogHeight=500px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(message){
|
|
message=message||"";
|
|
if(message.length>10){
|
|
var users=message.split(",");
|
|
$("#username").val(users[1]);
|
|
$("#usernamevalue").val(users[0]);
|
|
}else{
|
|
alert("请选择要指派的人员")
|
|
}
|
|
|
|
},"指派人员");
|
|
};
|
|
function commitAction(){
|
|
var asssgnUser=$("#usernamevalue").val()||"";
|
|
if(asssgnUser==""){alert("请选择指派的人员");return false;}
|
|
var asssgnUserName=$("#username").val();
|
|
var rebackType= $("input[name='backmethod']:checked").val()||"";
|
|
parent.AsDialog.ClosePage(asssgnUser+"@"+rebackType+"@"+asssgnUserName);
|
|
}
|
|
function doCancel(){
|
|
if(confirm("您确定取消吗?")){
|
|
parent.AsDialog.ClosePage("_CANCEL_");
|
|
}
|
|
}
|
|
</script>
|
|
<%@include file="/Frame/resources/include/include_end.jspf"%>
|