📄 problemreplay.jsp
字号:
} else {
out.println("");
}
%>
</td>
</tr>
<tr>
<%
String nr = StringFormat.Source2GB(proset.getP_Content());
nr = StringFormat.StrReplace(nr,""+(char)13,"<br>");
nr = StringFormat.StrReplace(nr,""+(char)32," ");
%>
<td colspan="6" class="common" align="left" ><%= nr %>
<br>
<br>
<font class="common1">
<%DeProblemAttachSet.beforefirst();
if(DeProblemAttachSet.size()!=0){%>
<font color="#FF0000">相关附件:</font>
<% while(DeProblemAttachSet.next()){ %>
[ <a href="javascript:openWin('/krm/jsp/tskmanage/detail/upload/<%=DeProblemAttachSet.getDI_AttachmentPath()%>');"><%= StringFormat.Source2GB(DeProblemAttachSet.getDI_AttachmentName()) %></a>]
<% }
}
%></font></td>
</tr>
<!-- 用于保存一些信息 -->
<input type="hidden" name="RT_PID" value="<%=proset.getP_ID()%>">
<input type="hidden" name="RT_CreateUserID" value="<%=proset.getCreate_UserID()%>">
<input type="hidden" name="EA_FlowID" value="<%=proset.getFlow_ID()%>">
<%
deRdSet.beforefirst();
int i = 0;
while(deRdSet.next()) {
++i; %>
<tr>
<td colspan="5" class="common" > <font class="common1">回复人:</font>
<font class="common1">
<%
String userID1 = deRdSet.getRT_ApplyUserID();
PersonInfoBusiness pibu1 = new PersonInfoBusiness();
pibu.setQueryWhere(userID1);
pibu.execute("query");
PersonInfoRecordSet piRdSet1 = pibu.getRecordSet();
piRdSet1.next();
out.println(piRdSet.getI_Name());
%>
<%out.println(deRdSet.getRT_ReplyDate());%>
</font> </td>
</tr>
<tr>
<td class="common" align="left" colspan="5" ><%=deRdSet.getRT_ReplyMind()%>
<div align="right">
<!-- 如果回复的最后一个人是回复的创建者,则权限放开-->
<% if ( i==deRdSet.size() && userid.equals(deRdSet.getRT_ApplyUserID()) ) { %>
<a href="/krm/servlet/replytransferservlet?module=obtain&&status=u&&RT_ID=<%=deRdSet.getRT_ID()%>&&RT_PID=<%=proset.getP_ID()%>&&noend=<%=noend%>&&RF_ID=<%=RF_ID+addurl%>">修改</a>
<!--<a href="/krm/servlet/replytransferservlet?status=d&&RT_ID=<%=deRdSet.getRT_ID()%>&&RT_PID=<%=proset.getP_ID()%>&&noend=<%=noend%>">删除</a>-->
<% }%>
</div></td>
</tr>
<% } %>
<input type="hidden" name="RF_ID" value="<%=RF_ID%>">
<!-- 吴江 存入重要信息 -->
<input type="hidden" name="beforeRT_ID" value="<%=deRdSet.getRT_ID()%>">
<input type="hidden" name="beforeRT_ActionID" value="<%=deRdSet.getRT_ActionID()%>">
<!-- 吴江 存入重要信息 -->
<%if (!lastReplyer.equals(userid) && rt1RdSet==null) {%>
<tr class="common"><td colspan="4" align="center" class="tdC">
<% if (noend!=null && noend.equals("1")) { %>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=tasknoend'" value="返 回">
<% } else if (noend!=null && noend.equals("r")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=related'" value="返 回">
<% } else if (noend!=null && noend.equals("s")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=urgentproblem'" value="返 回">
<% } else if (noend!=null && noend.equals("n")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=noturgentproblem'" value="返 回">
<% } else if (noend!=null && noend.equals("se")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='<%=url%>'" value="返 回">
<% } else if (noend!=null && noend.equals("0")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=taskend'" value="返 回">
<% } else {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=all&&D_Serial=<%=D_Serial%>'" value="返 回">
<% } %>
</td></tr>
<%}%>
</table>
<br>
<!-- 添加恢复 -->
<%if(rt1RdSet==null) { %>
<% if (lastReplyer.equals(userid)) {%>
<table border="0" width="100%" align="center" class="collapse">
<tr>
<td colspan="9" class="tdA"> 添加回复</td>
</tr>
<tr>
<td class="common bgcolor" width="18%">回复选项</td>
<td class="common"> <select name="replyitem" style="font-size:9pt;font-color:#FFFFFF;width:122" onChange="javascript:changeItem();" alt="回复选项">
<option value="1"> 请选择... </option>
<option value="2"> 同意 </option>
<option value="3"> 不同意 </option>
<option value="4"> 电话联系 </option>
</select>
<%//if(deptid.equals("49")){ %>
<font color="#FF0000">紧急响应</font>
<input type="checkbox" name="isurgent" value= "s" alt="加急">
<% //} %>
</td>
</tr>
<tr height="25">
<td width="18%" class="common bgcolor" >回复内容</td>
<td width="82%" class="common">
<textarea rows="5" style="overflow:auto"name="RT_ReplyMind" alt="内容"></textarea></td>
</tr>
<tr>
<td width="18%" height="25" class="common bgcolor" >附件</td>
<td width="82%" valign="middle" class="common" align="left">
<table width="100%" cellspacing="0" cellpadding="0" height="20">
<tr>
<td width="12%" valign="middle" class="common1" align="left"> <a href="javascript:openWin('/krm/servlet/DeInforAttachmentServlet?status=q&recordid=<%=proset.getP_ID()%>');">添加</a></td>
<td width="88%" valign="middle" class="common1" align="left"><iframe src="/krm/jsp/tskmanage/detail/attach.jsp" name="attach" height="20" marginheight="100%" frameborder="0" scrolling="no"></iframe>
</td>
</tr>
</table>
</td>
</tr>
<!-- 如果流程结束,则不显示下一步的处理步骤和处理人 -->
<% if (!endFlag.equals("1")) { %>
<tr height="25">
<td width="18%" class="common bgcolor">问题终结</td>
<td width="82%" class="common">
<input type="checkbox" name="isnextstep" value="1" alt="结束" onClick="javascript:changeNextStep();">
<font color="#FF0000">(确定终止此问题) </font> </td>
</tr>
<tr height="25" id="nextStep" style="display:">
<td class="common bgcolor" width="18%">下一步</td>
<td class="common"> <select style="font-size:9pt;font-color:#FFFFFF;width:122" name="RT_ActionID" onchange="selectAction();">
<%
rfaRdSet.beforefirst();
while(rfaRdSet.next()) {
%>
<option value="<%=StringFormat.Source2GB(rfaRdSet.getFA_ID())%>"><%= StringFormat.Source2GB(rfaRdSet.getFA_Name())%></option>
<%} %>
</select></td>
</tr>
<tr height="25" id="nextPerson">
<td class="common bgcolor" width="18%">下一步处理人</td>
<td class="common"> <select name="RT_ReplyerID" style="font-size:9pt;font-color:#FFFFFF;width:122"></select></td>
</tr>
<% } else { %>
<input type="hidden" name="RT_ReplyerID" value="0000">
<input type="hidden" name="RT_ActionID" value="0000">
<% } %>
<!-- 如果流程结束,则不显示下一步的处理步骤和处理人 -->
<!-- 用于保存一些信息 -->
<input type="hidden" name="RT_PID" value="<%=proset.getP_ID()%>">
<input type="hidden" name="RT_CreateUserID" value="<%=proset.getCreate_UserID()%>">
<input type="hidden" name="EA_FlowID" value="<%=proset.getFlow_ID()%>">
<tr height="25">
<td align="center" colspan="2" class="tdC"><input name="submit" type="submit" class="button1" onMouseOver="this.className='button2'" onMouseOut="this.className='button1'" value="发 送" >
<% if (noend!=null && noend.equals("1")) { %>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=tasknoend'" value="返 回">
<% } else if (noend!=null && noend.equals("s")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=urgentproblem'" value="返 回">
<% } else if (noend!=null && noend.equals("r")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=related'" value="返 回">
<% } else if (noend!=null && noend.equals("n")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=noturgentproblem'" value="返 回">
<% } else if (noend!=null && noend.equals("se")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='<%=url%>'" value="返 回">
<% } else if (noend!=null && noend.equals("0")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=taskend'" value="返 回">
<% } else {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=all&&D_Serial=<%=D_Serial%>'" value="返 回">
<% } %>
</td>
</tr>
</table>
<!-- 修改回复 -->
<%}} else {%>
<table border="0" width="100%" align="center" height="30%" class="collapse">
<tr >
<td class="tdA" colspan="9">修改回复</font></td>
</tr>
<tr>
<td class="common bgcolor" width="20%">回复选项</td>
<td class="common"> <select name="replyitem" style="font-size:9pt;font-color:#FFFFFF;width:122" onChange="javascript:changeItem();" alt="回复选项">
<option value="1"> 请选择... </option>
<option value="2"> 同意 </option>
<option value="3"> 不同意 </option>
<option value="4"> 电话联系 </option>
</select>
<%//if(deptid.equals("49")){ %>
<font color="#FF0000">紧急响应</font>
<%String urgenttype = rt1RdSet.getRT_Type(); %>
<input type="checkbox" name="isurgent" value= "s" alt="加急" <%if(urgenttype!=null && urgenttype.equals("s")){%> checked <%} %>>
<%//}%></td>
</tr>
<tr height="25">
<td width="20%" class="common bgcolor" >回复内容</td>
<td width="80%" class="common">
<textarea rows="5" style="overflow:auto" name="RT_ReplyMind" alt="内容"><%=StringFormat.changeHTMLTags(rt1RdSet.getRT_ReplyMind())%></textarea></td>
</tr>
<tr>
<td width="20%" height="25" class="common bgcolor" >附件</td>
<td width="80%" valign="middle" class="common" align="left">
<table width="100%" cellspacing="0" cellpadding="0" height="20">
<tr>
<td width="12%" valign="middle" class="common1" align="left"> <a href="javascript:openWin('/krm/servlet/DeInforAttachmentServlet?status=q&recordid=<%=proset.getP_ID()%>');">添加</a></td>
<td width="88%" valign="middle" class="common1" align="left"><iframe src="/krm/jsp/tskmanage/detail/attach.jsp" name="attach" height="20" marginheight="100%" frameborder="0" scrolling="no"></iframe>
</td>
</tr>
</table>
</td>
</tr>
<%if (replyname!=null) { %>
<tr height="25">
<td width="20%" class="common">问题终结</td>
<td width="20%" class="common">
<input type="checkbox" name="isnextstep" value= "1" alt="结束" onClick="javascript:changeNextStep();">
<font color="#FF0000">(确定终止此问题)</font></td>
</tr>
<tr height="25" id="nextStep" style="display:">
<td class="common" width="20%">下一步</td>
<td class="common"> <select name="RT_ActionID" style="font-size:9pt;font-color:#FFFFFF;width:122" onchange="selectActionForU();">
<%
rfaRdSet.beforefirst();
while(rfaRdSet.next()) {
%>
<%if(rt1RdSet!=null&&rt1RdSet.getRT_ActionID().equals(rfaRdSet.getFA_ID())) {%>
<option value="<%=StringFormat.Source2GB(rfaRdSet.getFA_ID())%>" selected><%= StringFormat.Source2GB(rfaRdSet.getFA_Name())%></option>
<%} else {%>
<option value="<%=StringFormat.Source2GB(rfaRdSet.getFA_ID())%>"><%= StringFormat.Source2GB(rfaRdSet.getFA_Name())%></option>
<%} } %>
</select></td>
</tr>
<tr height="25" id="nextPerson" style="display:">
<td class="common" width="20%">下一步处理人</td>
<td class="common"> <select name="RT_ReplyerID" style="font-size:9pt;font-color:#FFFFFF;width:122"></select></td>
</tr>
<% } else { %>
<input type="hidden" name="RT_ReplyerID" value="0000">
<input type="hidden" name="RT_ActionID" value="0000">
<% } %>
<tr height="25">
<td align="center" colspan="2" class="tdC"><input type="submit" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="发 送">
<% if (noend!=null && noend.equals("1")) { %>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=tasknoend'" value="返 回">
<% } else if (noend!=null && noend.equals("r")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=related'" value="返 回">
<% } else if (noend!=null && noend.equals("s")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=urgentproblem'" value="返 回">
<% } else if (noend!=null && noend.equals("n")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=noturgentproblem'" value="返 回">
<% } else if (noend!=null && noend.equals("se")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='<%=url%>'" value="返 回">
<% } else if (noend!=null && noend.equals("0")) {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=taskend'" value="返 回">
<% } else {%>
<input type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="document.location.href='/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=all&&D_Serial=<%=D_Serial%>'" value="返 回">
<% } %></td>
</tr>
</table>
<% } %>
</form>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -