tSSysbug-add.jsp 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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?doAdd" tiptype="1" callback="callback">
  31. <input id="id" name="id" type="hidden" value="${tSSysbugPage.id }"/>
  32. <table style="width: 1000px;" cellpadding="0" cellspacing="1" class="formtable">
  33. <tr>
  34. <td align="right">
  35. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  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"><span color="red" class="requiredIcon">*</span>
  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"><label class="Validform_label"><span color="red" class="requiredIcon">*</span>调动员工:</label></td> -->
  59. <!-- <td class="value" colspan="5"> -->
  60. <!-- <input id="loginPerson1userid" name="loginPerson1userid" type="hidden" value=""/> -->
  61. <!-- <input name="loginPerson1realName" class="inputxt" value="" id="loginPerson1realName" readonly="readonly" datatype="*"/> -->
  62. <%-- <t:choose hiddenName="loginPerson1userid" hiddenid="id" left="50%" fun="" width="670" height="450" url="correctionController.do?userWorkflow&type=samelevel_transfer" name="userList1" icon="icon-select" title="选择登录人" textname="loginPerson1realName" isclear="true" isInit="true"></t:choose> --%>
  63. <!-- <span class="Validform_checktip"></span> -->
  64. <!-- </td> -->
  65. <!-- </tr> -->
  66. <tr>
  67. <td align="right">
  68. <label class="Validform_label">
  69. 登陆人账号:
  70. </label>
  71. </td>
  72. <td class="value" colspan="3">
  73. <input id="loginPerson1" name="loginPerson1" type="hidden" value=""/>
  74. <input name="userName" class="inputxt" id="userName" readonly="readonly" />
  75. <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>
  76. <span class="Validform_checktip"></span>
  77. </td>
  78. </tr>
  79. <!-- <tr> -->
  80. <!-- <td align="right"> -->
  81. <!-- <label class="Validform_label"> -->
  82. <!-- 登陆人2: -->
  83. <!-- </label> -->
  84. <!-- </td> -->
  85. <!-- <td class="value" colspan="5"> -->
  86. <!-- <input id="loginPerson2" name="loginPerson2" type="hidden" value=""/> -->
  87. <!-- <input name="realName" class="inputxt" value="" id="loginPerson2realName" readonly="readonly" datatype="*"/> -->
  88. <%-- <t:choose hiddenName="loginPerson2" 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> --%>
  89. <!-- <span class="Validform_checktip"></span> -->
  90. <!-- </td> -->
  91. <tr>
  92. <td align="right">
  93. <label class="Validform_label">
  94. 涉及的员工:
  95. </label>
  96. </td>
  97. <td class="value" >
  98. <input id="bugPerson1" name="bugPerson1" type="hidden" value=""/>
  99. <input name="realName" class="inputxt" id="bugPerson1realName" readonly="readonly" />
  100. <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>
  101. <span class="Validform_checktip"></span>
  102. </td>
  103. </tr>
  104. <!-- <tr> -->
  105. <!-- <td align="right"> -->
  106. <!-- <label class="Validform_label"> -->
  107. <!-- 涉及人2: -->
  108. <!-- </label> -->
  109. <!-- </td> -->
  110. <!-- <td class="value" > -->
  111. <!-- <input id="bugPerson2" name="bugPerson2" type="hidden" value=""/> -->
  112. <!-- <input name="realName" class="inputxt" value="" id="bugPerson2realName" readonly="readonly" datatype="*"/> -->
  113. <%-- <t:choose hiddenName="bugPerson2" 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> --%>
  114. <!-- <span class="Validform_checktip"></span> -->
  115. <!-- </td> -->
  116. <!-- </tr> -->
  117. <!-- <tr> -->
  118. <!-- <td align="right"> -->
  119. <!-- <label class="Validform_label"><span color="red" class="requiredIcon">*</span> -->
  120. <!-- 指派给: -->
  121. <!-- </label> -->
  122. <!-- </td> -->
  123. <!-- <td class="value"> -->
  124. <!-- <input id="coder" name="coder" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" /> -->
  125. <!-- <span class="Validform_checktip"></span> -->
  126. <!-- <label class="Validform_label" style="display: none;">解决人</label> -->
  127. <!-- </td> -->
  128. <!-- </tr> -->
  129. <tr>
  130. <td align="right">
  131. <label class="Validform_label">
  132. 解决时间:
  133. </label>
  134. </td>
  135. <td class="value">
  136. <input id="endTime" name="endTime" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()" ignore="checked" />
  137. <span class="Validform_checktip"></span>
  138. <label class="Validform_label" style="display: none;">解决时间</label>
  139. </td>
  140. </tr>
  141. <!-- <tr> -->
  142. <!-- <td align="right"> -->
  143. <!-- <label class="Validform_label"> -->
  144. <!-- 当前状态: -->
  145. <!-- </label> -->
  146. <!-- </td> -->
  147. <!-- <td class="value"> -->
  148. <%-- <t:dictSelect field="status" type="list" typeGroupCode="bug_status" datatype="*" defaultVal="${tSSysbugPage.status}" hasLabel="false" title="当前状态"></t:dictSelect> --%>
  149. <!-- <span class="Validform_checktip"></span> -->
  150. <!-- <label class="Validform_label" style="display: none;">当前状态</label> -->
  151. <!-- </td> -->
  152. <!-- <td align="right"> -->
  153. <!-- <label class="Validform_label"> -->
  154. <!-- 附件: -->
  155. <!-- </label> -->
  156. <!-- </td> -->
  157. <!-- <td class="value"> -->
  158. <!-- <input id="attachment" name="attachment" type="text" style="width: 150px" class="inputxt" ignore="ignore" /> -->
  159. <!-- <span class="Validform_checktip"></span> -->
  160. <!-- <label class="Validform_label" style="display: none;">附件</label> -->
  161. <!-- </td> -->
  162. <!-- </tr> -->
  163. <!-- <tr> -->
  164. <!-- <td align="right"> -->
  165. <!-- <label class="Validform_label"> -->
  166. <!-- 其它信息: -->
  167. <!-- </label> -->
  168. <!-- </td> -->
  169. <!-- <td class="value"> -->
  170. <!-- <input id="other" name="other" type="text" style="width: 150px" class="inputxt" ignore="ignore" /> -->
  171. <!-- <span class="Validform_checktip"></span> -->
  172. <!-- <label class="Validform_label" style="display: none;">其它信息</label> -->
  173. <!-- </td> -->
  174. <!-- <td align="right"> -->
  175. <!-- <label class="Validform_label"> -->
  176. <!-- </label> -->
  177. <!-- </td> -->
  178. <!-- <td class="value"> -->
  179. <!-- </td> -->
  180. <!-- </tr> -->
  181. <tr>
  182. <td align="right">
  183. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  184. 问题描述:
  185. </label>
  186. </td>
  187. <td class="value" colspan="4" >
  188. <textarea style="width:600px;height: 100px;" class="inputxt" rows="6" id="description" name="description" datatype="*" ignore="checked" ></textarea>
  189. <span class="Validform_checktip"></span>
  190. <label class="Validform_label" style="display: none;">问题描述</label>
  191. </td>
  192. </tr>
  193. <!-- <tr> -->
  194. <!-- <td align="right"> -->
  195. <!-- <label class="Validform_label"> -->
  196. <!-- 结果反馈: -->
  197. <!-- </label> -->
  198. <!-- </td> -->
  199. <!-- <td class="value" colspan="4" > -->
  200. <!-- <textarea style="width:600px;" class="inputxt" rows="6" id="feedback" name="feedback" ignore="ignore" ></textarea> -->
  201. <!-- <span class="Validform_checktip"></span> -->
  202. <!-- <label class="Validform_label" style="display: none;">结果反馈</label> -->
  203. <!-- </td> -->
  204. <!-- </tr> -->
  205. <tr>
  206. <td height="50px" align="center" colspan="2">
  207. <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a>
  208. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  209. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a>
  210. </td>
  211. </tr>
  212. </table>
  213. </t:formvalid>
  214. </body>
  215. <script src = "webpage/cn/com/lzt/sysbug/tSSysbug.js"></script>