tSSysbug-detail.jsp 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>系统bug管理</title>
  7. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  8. <script src="plug-in/layer/layer.js"></script>
  9. <script>
  10. function btn_ok(){
  11. $("#btnsub").click();
  12. }
  13. function callback(data){
  14. if(data.success){
  15. layer.alert(data.msg, function(index){
  16. window.location.href="tSSysbugController.do?list"
  17. layer.close(index);
  18. });
  19. }
  20. else{
  21. layer.alert(data.msg);
  22. }
  23. }
  24. </script>
  25. <script type="text/javascript">
  26. //编写自定义JS代码
  27. </script>
  28. </head>
  29. <body>
  30. <t:formvalid formid="formobj" dialog="false" usePlugin="password" layout="table" action="tSSysbugController.do?doUpdate" tiptype="1" callback="callback">
  31. <input id="id" name="id" type="hidden" value="${tSSysbugPage.id }"/>
  32. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  33. <tr>
  34. <td align="right">
  35. <label class="Validform_label">
  36. 缺陷类型:
  37. </label>
  38. </td>
  39. <td class="value">
  40. <t:dictSelect field="bugType" type="list" typeGroupCode="bug_type" datatype="*" defaultVal="${tSSysbugPage.bugType}" hasLabel="false" title="缺陷类型"></t:dictSelect>
  41. <span class="Validform_checktip"></span>
  42. <label class="Validform_label" style="display: none;">缺陷类型</label>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td align="right">
  47. <label class="Validform_label">
  48. 紧急程度:
  49. </label>
  50. </td>
  51. <td class="value">
  52. <t:dictSelect field="bugLevel" type="list" typeGroupCode="bug_level" datatype="*" defaultVal="${tSSysbugPage.bugLevel}" hasLabel="false" title="紧急程度"></t:dictSelect>
  53. <span class="Validform_checktip"></span>
  54. <label class="Validform_label" style="display: none;">紧急程度</label>
  55. </td>
  56. </tr>
  57. <tr>
  58. <td align="right">
  59. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  60. 登陆人账号:
  61. </label>
  62. </td>
  63. <td class="value" colspan="3">
  64. <input id="loginPerson1" name="loginPerson1" type="hidden" value='${tSSysbugPage.loginPerson1}'/>
  65. <input name="userName" class="inputxt" id="userName" readonly="readonly" datatype="*" value='${tSSysbugPage.loginPerson1Username}'/>
  66. <t:choose hiddenName="loginPerson1" hiddenid="id" left="50%" fun="" width="670" height="450" url="correctionController.do?userWorkflow&type=samelevel_transfer" name="userList1" icon="icon-select" title="选择登录人" textname="userName" isclear="true" isInit="true"></t:choose>
  67. <span class="Validform_checktip"></span>
  68. </td>
  69. </tr>
  70. <!-- <tr> -->
  71. <!-- <td align="right"> -->
  72. <!-- <label class="Validform_label"> -->
  73. <!-- 登陆人1: -->
  74. <!-- </label> -->
  75. <!-- </td> -->
  76. <!-- <td class="value"> -->
  77. <%-- <input id="loginPerson1" name="loginPerson1" type="text" style="width: 150px" datatype="*" ignore="checked" value='${tSSysbugPage.loginPerson1}'/> --%>
  78. <!-- <span class="Validform_checktip"></span> -->
  79. <!-- <label class="Validform_label" style="display: none;">登陆人1</label> -->
  80. <!-- </td> -->
  81. <!-- <td align="right"> -->
  82. <!-- <label class="Validform_label"> -->
  83. <!-- 登陆人2: -->
  84. <!-- </label> -->
  85. <!-- </td> -->
  86. <!-- <td class="value"> -->
  87. <%-- <input id="loginPerson2" name="loginPerson2" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.loginPerson2}'/> --%>
  88. <!-- <span class="Validform_checktip"></span> -->
  89. <!-- <label class="Validform_label" style="display: none;">登陆人2</label> -->
  90. <!-- </td> -->
  91. <!-- </tr> -->
  92. <tr>
  93. <td align="right">
  94. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  95. 涉及的员工:
  96. </label>
  97. </td>
  98. <td class="value" >
  99. <input id="bugPerson1" name="bugPerson1" type="hidden" value='${tSSysbugPage.bugPerson1}'/>
  100. <input name="realName" class="inputxt" id="bugPerson1realName" readonly="readonly" datatype="*" value='${tSSysbugPage.bugPerson1Realname}'/>
  101. <t:choose hiddenName="bugPerson1" hiddenid="id" left="50%" fun="" width="670" height="450" url="correctionController.do?userWorkflow&type=samelevel_transfer" name="userList1" icon="icon-select" title="选择涉及人" textname="realName" isclear="true" isInit="true"></t:choose>
  102. <span class="Validform_checktip"></span>
  103. </td>
  104. </tr>
  105. <tr>
  106. <td align="right">
  107. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  108. 涉及的员工ID:
  109. </label>
  110. </td>
  111. <td class="value" >
  112. <input id="bugPerson1" name="bugPerson1" value='${tSSysbugPage.bugPerson1}'/>
  113. <%-- <input name="realName" class="inputxt" id="bugPerson1realName" readonly="readonly" datatype="*" value='${tSSysbugPage.bugPerson1Realname}'/> --%>
  114. <%-- <t:choose hiddenName="bugPerson1" hiddenid="id" left="50%" fun="" width="670" height="450" url="correctionController.do?userWorkflow&type=samelevel_transfer" name="userList1" icon="icon-select" title="选择涉及人" textname="realName" isclear="true" isInit="true"></t:choose> --%>
  115. <span class="Validform_checktip"></span>
  116. </td>
  117. </tr>
  118. <!-- <tr> -->
  119. <!-- <td align="right"> -->
  120. <!-- <label class="Validform_label"> -->
  121. <!-- 涉及人1: -->
  122. <!-- </label> -->
  123. <!-- </td> -->
  124. <!-- <td class="value"> -->
  125. <%-- <input id="bugPerson1" name="bugPerson1" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.bugPerson1}'/> --%>
  126. <!-- <span class="Validform_checktip"></span> -->
  127. <!-- <label class="Validform_label" style="display: none;">涉及人1</label> -->
  128. <!-- </td> -->
  129. <!-- <td align="right"> -->
  130. <!-- <label class="Validform_label"> -->
  131. <!-- 涉及人2: -->
  132. <!-- </label> -->
  133. <!-- </td> -->
  134. <!-- <td class="value"> -->
  135. <%-- <input id="bugPerson2" name="bugPerson2" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.bugPerson2}'/> --%>
  136. <!-- <span class="Validform_checktip"></span> -->
  137. <!-- <label class="Validform_label" style="display: none;">涉及人2</label> -->
  138. <!-- </td> -->
  139. <!-- </tr> -->
  140. <tr>
  141. <!-- <TD ALIGN="RIGHT"> -->
  142. <!-- <LABEL CLASS="VALIDFORM_LABEL"> -->
  143. <!-- 解决人: -->
  144. <!-- </LABEL> -->
  145. <!-- </TD> -->
  146. <!-- <TD CLASS="VALUE"> -->
  147. <%-- <INPUT ID="CODER" NAME="CODER" TYPE="TEXT" STYLE="WIDTH: 150PX" DATATYPE="*" IGNORE="CHECKED" VALUE='${TSSYSBUGPAGE.CODER}'/> --%>
  148. <!-- <SPAN CLASS="VALIDFORM_CHECKTIP"></SPAN> -->
  149. <!-- <LABEL CLASS="VALIDFORM_LABEL" STYLE="DISPLAY: NONE;">解决人</LABEL> -->
  150. <!-- </TD> -->
  151. <td align="right">
  152. <label class="Validform_label">
  153. 解决时间:
  154. </label>
  155. </td>
  156. <td class="value">
  157. <input id="endTime" name="endTime" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()" datatype="*" ignore="checked" value='<fmt:formatDate value='${tSSysbugPage.endTime}' type="date" pattern="yyyy-MM-dd"/>'/>
  158. <span class="Validform_checktip"></span>
  159. <label class="Validform_label" style="display: none;">解决时间</label>
  160. </td>
  161. </tr>
  162. <!-- <tr> -->
  163. <!-- <td align="right"> -->
  164. <!-- <label class="Validform_label"> -->
  165. <!-- 当前状态: -->
  166. <!-- </label> -->
  167. <!-- </td> -->
  168. <!-- <td class="value"> -->
  169. <%-- <t:dictSelect field="status" type="list" typeGroupCode="bug_status" datatype="*" defaultVal="${tSSysbugPage.status}" hasLabel="false" title="当前状态"></t:dictSelect> --%>
  170. <!-- <span class="Validform_checktip"></span> -->
  171. <!-- <label class="Validform_label" style="display: none;">当前状态</label> -->
  172. <!-- </td> -->
  173. <!-- <td align="right"> -->
  174. <!-- <label class="Validform_label"> -->
  175. <!-- 附件: -->
  176. <!-- </label> -->
  177. <!-- </td> -->
  178. <!-- <td class="value"> -->
  179. <%-- <input id="attachment" name="attachment" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.attachment}'/> --%>
  180. <!-- <span class="Validform_checktip"></span> -->
  181. <!-- <label class="Validform_label" style="display: none;">附件</label> -->
  182. <!-- </td> -->
  183. <!-- </tr> -->
  184. <!-- <tr> -->
  185. <!-- <td align="right"> -->
  186. <!-- <label class="Validform_label"> -->
  187. <!-- 其它信息: -->
  188. <!-- </label> -->
  189. <!-- </td> -->
  190. <!-- <td class="value"> -->
  191. <%-- <input id="other" name="other" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.other}'/> --%>
  192. <!-- <span class="Validform_checktip"></span> -->
  193. <!-- <label class="Validform_label" style="display: none;">其它信息</label> -->
  194. <!-- </td> -->
  195. <!-- <td align="right"> -->
  196. <!-- <label class="Validform_label"> -->
  197. <!-- </label> -->
  198. <!-- </td> -->
  199. <!-- <td class="value"> -->
  200. <!-- </td> -->
  201. <!-- </tr> -->
  202. <tr>
  203. <td align="right">
  204. <label class="Validform_label">
  205. 问题描述:
  206. </label>
  207. </td>
  208. <td class="value" colspan="3" >
  209. <textarea id="description" style="width:600px;height:100px" class="inputxt" rows="6" name="description" datatype="*" ignore="checked" >${tSSysbugPage.description}</textarea>
  210. <span class="Validform_checktip"></span>
  211. <label class="Validform_label" style="display: none;">问题描述</label>
  212. </td>
  213. </tr>
  214. <!-- <tr> -->
  215. <!-- <td align="right"> -->
  216. <!-- <label class="Validform_label"> -->
  217. <!-- 结果反馈: -->
  218. <!-- </label> -->
  219. <!-- </td> -->
  220. <!-- <td class="value" colspan="3" > -->
  221. <%-- <textarea id="feedback" style="width:600px;" class="inputxt" rows="6" name="feedback" ignore="ignore" >${tSSysbugPage.feedback}</textarea> --%>
  222. <!-- <span class="Validform_checktip"></span> -->
  223. <!-- <label class="Validform_label" style="display: none;">结果反馈</label> -->
  224. <!-- </td> -->
  225. <!-- </tr> -->
  226. <tr>
  227. <td height="50px" align="center" colspan="4" >
  228. <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a>
  229. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  230. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a>
  231. </td>
  232. </tr>
  233. </table>
  234. </t:formvalid>
  235. </body>
  236. <script src = "webpage/cn/com/lzt/sysbug/tSSysbug.js"></script>