496875c90cc78a2d619d371c144a7bf01041e064.svn-base 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title>试题模版增加</title>
  7. <!--框架必需start-->
  8. <%@include file="../../../include1.jsp" %>
  9. <!--引用资源文件,JS CSS-->
  10. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  11. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  12. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  13. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  15. <script type="text/javascript" src="/nwyj/scripts/business/em/report/addDo.js"></script>
  16. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
  17. <!-- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  18. --> <link href="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  19. <style type="text/css">
  20. .deptli{
  21. list-style-type: none;
  22. /* font-size: 12px;
  23. */ float: left;
  24. }
  25. body{
  26. margin:0px;
  27. padding:0px;
  28. }
  29. .selectCondi {
  30. cursor: pointer;
  31. border: 1px #fca224 solid;
  32. height: 20px;
  33. float: left;
  34. line-height: 20px;
  35. font-size: 12px;
  36. padding: 0 5px;
  37. margin-right: 5px;
  38. padding-right: 22px;
  39. }
  40. label{
  41. position: relative;
  42. bottom: 1px;
  43. }
  44. </style>
  45. <script>
  46. var fd_id = "<%=request.getParameter("fd_id")%>"
  47. //取得用户id
  48. var user_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
  49. var user_name = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
  50. var corp_id = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  51. $(function(){
  52. if(fd_id==""){
  53. $("#WRITER_ID_602").val(user_id);
  54. $("#WRITER_NAME_602").val(user_name);
  55. $("#WRITER_DEPT_602").val(corp_id);
  56. $("#USE_NUMBER_602").val("0");
  57. }else{
  58. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  59. var params = {
  60. classid : '602',
  61. objectID : fd_id
  62. };
  63. $.request.query(url,params,function(data){
  64. $('#editForm').ajaxWrite({data:data});
  65. $('#editForm input[name="classid"]').val('602');
  66. })
  67. }
  68. })
  69. </script>
  70. </head>
  71. <body >
  72. <!-- <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0;clear: both;">
  73. <div style="clear: both;"></div>
  74. <div class="padding_right5" style="clear: both;">
  75. <div id="maingrid" style="clear: both;"></div>
  76. </div>
  77. </div> -->
  78. <div id="content">
  79. <form id="editForm" method="post">
  80. <table class="tableStyle" align="center" id="templateTable" style="margin-top:20px">
  81. <input name="classid" value="602" type="hidden"/>
  82. <input name="FD_OBJECTID602" id="FD_OBJECTID602" type="hidden" />
  83. <input type="hidden" id="WRITER_ID_602" name="WRITER_ID_602"/>
  84. <input type="hidden" id="WRITER_NAME_602" name="WRITER_NAME_602"/>
  85. <input type="hidden" id="WRITER_DEPT_602" name="WRITER_DEPT_602"/>
  86. <input type="hidden" id="USE_NUMBER_602" name="USE_NUMBER_602"/>
  87. <tr>
  88. <td align="right" class="class_color"><span class="star">*</span>模板名称:</td>
  89. <td align="left">
  90. <input type="text" class="validate[required,custom[illegalLetter]]" maxLength="40" id="TEMPLATE_NAME_602" name="TEMPLATE_NAME_602" style="width: 200px;height:25px;"/>
  91. </td>
  92. </tr>
  93. </table>
  94. </form>
  95. </div>
  96. </body>
  97. </html>