tSSysbug-update.jsp 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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">
  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" 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">
  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" 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"> -->
  108. <!-- 涉及人1: -->
  109. <!-- </label> -->
  110. <!-- </td> -->
  111. <!-- <td class="value"> -->
  112. <%-- <input id="bugPerson1" name="bugPerson1" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.bugPerson1}'/> --%>
  113. <!-- <span class="Validform_checktip"></span> -->
  114. <!-- <label class="Validform_label" style="display: none;">涉及人1</label> -->
  115. <!-- </td> -->
  116. <!-- <td align="right"> -->
  117. <!-- <label class="Validform_label"> -->
  118. <!-- 涉及人2: -->
  119. <!-- </label> -->
  120. <!-- </td> -->
  121. <!-- <td class="value"> -->
  122. <%-- <input id="bugPerson2" name="bugPerson2" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.bugPerson2}'/> --%>
  123. <!-- <span class="Validform_checktip"></span> -->
  124. <!-- <label class="Validform_label" style="display: none;">涉及人2</label> -->
  125. <!-- </td> -->
  126. <!-- </tr> -->
  127. <tr>
  128. <!-- <TD ALIGN="RIGHT"> -->
  129. <!-- <LABEL CLASS="VALIDFORM_LABEL"> -->
  130. <!-- 解决人: -->
  131. <!-- </LABEL> -->
  132. <!-- </TD> -->
  133. <!-- <TD CLASS="VALUE"> -->
  134. <%-- <INPUT ID="CODER" NAME="CODER" TYPE="TEXT" STYLE="WIDTH: 150PX" DATATYPE="*" IGNORE="CHECKED" VALUE='${TSSYSBUGPAGE.CODER}'/> --%>
  135. <!-- <SPAN CLASS="VALIDFORM_CHECKTIP"></SPAN> -->
  136. <!-- <LABEL CLASS="VALIDFORM_LABEL" STYLE="DISPLAY: NONE;">解决人</LABEL> -->
  137. <!-- </TD> -->
  138. <td align="right">
  139. <label class="Validform_label">
  140. 解决时间:
  141. </label>
  142. </td>
  143. <td class="value">
  144. <input id="endTime" name="endTime" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()" ignore="checked" value='<fmt:formatDate value='${tSSysbugPage.endTime}' type="date" pattern="yyyy-MM-dd"/>'/>
  145. <span class="Validform_checktip"></span>
  146. <label class="Validform_label" style="display: none;">解决时间</label>
  147. </td>
  148. </tr>
  149. <!-- <tr> -->
  150. <!-- <td align="right"> -->
  151. <!-- <label class="Validform_label"> -->
  152. <!-- 当前状态: -->
  153. <!-- </label> -->
  154. <!-- </td> -->
  155. <!-- <td class="value"> -->
  156. <%-- <t:dictSelect field="status" type="list" typeGroupCode="bug_status" datatype="*" defaultVal="${tSSysbugPage.status}" hasLabel="false" title="当前状态"></t:dictSelect> --%>
  157. <!-- <span class="Validform_checktip"></span> -->
  158. <!-- <label class="Validform_label" style="display: none;">当前状态</label> -->
  159. <!-- </td> -->
  160. <!-- <td align="right"> -->
  161. <!-- <label class="Validform_label"> -->
  162. <!-- 附件: -->
  163. <!-- </label> -->
  164. <!-- </td> -->
  165. <!-- <td class="value"> -->
  166. <%-- <input id="attachment" name="attachment" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.attachment}'/> --%>
  167. <!-- <span class="Validform_checktip"></span> -->
  168. <!-- <label class="Validform_label" style="display: none;">附件</label> -->
  169. <!-- </td> -->
  170. <!-- </tr> -->
  171. <!-- <tr> -->
  172. <!-- <td align="right"> -->
  173. <!-- <label class="Validform_label"> -->
  174. <!-- 其它信息: -->
  175. <!-- </label> -->
  176. <!-- </td> -->
  177. <!-- <td class="value"> -->
  178. <%-- <input id="other" name="other" type="text" style="width: 150px" ignore="ignore" value='${tSSysbugPage.other}'/> --%>
  179. <!-- <span class="Validform_checktip"></span> -->
  180. <!-- <label class="Validform_label" style="display: none;">其它信息</label> -->
  181. <!-- </td> -->
  182. <!-- <td align="right"> -->
  183. <!-- <label class="Validform_label"> -->
  184. <!-- </label> -->
  185. <!-- </td> -->
  186. <!-- <td class="value"> -->
  187. <!-- </td> -->
  188. <!-- </tr> -->
  189. <tr>
  190. <td align="right">
  191. <label class="Validform_label">
  192. 问题描述:
  193. </label>
  194. </td>
  195. <td class="value" colspan="3" >
  196. <textarea id="description" style="width:600px;height:100px" class="inputxt" rows="6" name="description" datatype="*" ignore="checked" >${tSSysbugPage.description}</textarea>
  197. <span class="Validform_checktip"></span>
  198. <label class="Validform_label" style="display: none;">问题描述</label>
  199. </td>
  200. </tr>
  201. <!-- <tr> -->
  202. <!-- <td align="right"> -->
  203. <!-- <label class="Validform_label"> -->
  204. <!-- 结果反馈: -->
  205. <!-- </label> -->
  206. <!-- </td> -->
  207. <!-- <td class="value" colspan="3" > -->
  208. <%-- <textarea id="feedback" style="width:600px;" class="inputxt" rows="6" name="feedback" ignore="ignore" >${tSSysbugPage.feedback}</textarea> --%>
  209. <!-- <span class="Validform_checktip"></span> -->
  210. <!-- <label class="Validform_label" style="display: none;">结果反馈</label> -->
  211. <!-- </td> -->
  212. <!-- </tr> -->
  213. <tr>
  214. <td height="50px" align="center" colspan="4" >
  215. <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a>
  216. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  217. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a>
  218. </td>
  219. </tr>
  220. </table>
  221. </t:formvalid>
  222. </body>
  223. <script src = "webpage/cn/com/lzt/sysbug/tSSysbug.js"></script>