123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>试题模版增加</title>
- <!--框架必需start-->
- <%@include file="../../../include1.jsp" %>
- <!--引用资源文件,JS CSS-->
- <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/business/em/report/addDo.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
-
- <!-- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
- --> <link href="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
- <style type="text/css">
- .deptli{
- list-style-type: none;
- /* font-size: 12px;
- */ float: left;
- }
- body{
- margin:0px;
- padding:0px;
- }
-
- .selectCondi {
- cursor: pointer;
- border: 1px #fca224 solid;
- height: 20px;
- float: left;
- line-height: 20px;
- font-size: 12px;
- padding: 0 5px;
- margin-right: 5px;
- padding-right: 22px;
- }
- label{
- position: relative;
- bottom: 1px;
- }
- </style>
- <script>
- var fd_id = "<%=request.getParameter("fd_id")%>"
- //取得用户id
- var user_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
- var user_name = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
- var corp_id = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
-
- $(function(){
- if(fd_id==""){
- $("#WRITER_ID_602").val(user_id);
- $("#WRITER_NAME_602").val(user_name);
- $("#WRITER_DEPT_602").val(corp_id);
- $("#USE_NUMBER_602").val("0");
- }else{
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '602',
- objectID : fd_id
- };
- $.request.query(url,params,function(data){
- $('#editForm').ajaxWrite({data:data});
- $('#editForm input[name="classid"]').val('602');
- })
- }
- })
- </script>
- </head>
- <body >
- <!-- <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0;clear: both;">
- <div style="clear: both;"></div>
- <div class="padding_right5" style="clear: both;">
- <div id="maingrid" style="clear: both;"></div>
- </div>
-
- </div> -->
- <div id="content">
- <form id="editForm" method="post">
- <table class="tableStyle" align="center" id="templateTable" style="margin-top:20px">
- <input name="classid" value="602" type="hidden"/>
- <input name="FD_OBJECTID602" id="FD_OBJECTID602" type="hidden" />
- <input type="hidden" id="WRITER_ID_602" name="WRITER_ID_602"/>
- <input type="hidden" id="WRITER_NAME_602" name="WRITER_NAME_602"/>
- <input type="hidden" id="WRITER_DEPT_602" name="WRITER_DEPT_602"/>
- <input type="hidden" id="USE_NUMBER_602" name="USE_NUMBER_602"/>
- <tr>
- <td align="right" class="class_color"><span class="star">*</span>模板名称:</td>
- <td align="left">
- <input type="text" class="validate[required,custom[illegalLetter]]" maxLength="40" id="TEMPLATE_NAME_602" name="TEMPLATE_NAME_602" style="width: 200px;height:25px;"/>
- </td>
- </tr>
- </table>
- </form>
- </div>
-
- </body>
- </html>
|