123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- <%@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>
- <%@include file="../../../include1.jsp" %>
- <!-- 日期选择框start -->
- <script type="text/javascript" src="<%=path%>/libs/js/form/datePicker/WdatePicker.js"></script>
- <!-- 日期选择框end -->
-
- <script type="text/javascript" src="governmentDocView.js"></script>
- <script type="text/javascript" src="/nwyj/page/business/em/report/reportCss/tableStyle.js"></script>
- <link href="/nwyj/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- html,body{
- width:100%;
- height:100%;
- overflow:auto;
- }
- body,div,ul,li,p{
- margin:0;
- padding:0;
- font-size: 14px;
- }
- .d_ground{
- border: 1px solid #cdcaca;
- background: white;
- width:1000px;
- margin:10px auto;
- }
- .fieldset{
- border-style:solid;
- border-width:1px;
- border-color:#cdcaca;
- margin:0px 20px 20px 20px;
- width: 935px
- }
- </style>
- <script type="text/javascript">
- var fd_id = "<%=request.getParameter("fd_id")%>";
- var dlrID;
- var obj_old='';
- $(function(){
-
- /* //取得用户真实名字的ID
- var realName_ID = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
- //部门id
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
- //部门名称
- var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
- //父部门id
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids(); */
-
- //
- /* $('#STATE_240').initCanstSelect('BM_AM_DOC_STATE'); //状态
- $('#SECRECY_LEVEL_240').initCanstSelect('BM_AM_DOC_SECRECY_LEVEL'); //保密级别 */
-
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '240',
- objectID : fd_id
- };
- // getFileList(fd_id,0);
- $.request.query(url,params,function(data){
- $('#editForm').ajaxWrite({data:data});
- $('#editForm input[name="classid"]').val('240');
- $("#CLASSES_240").html(data.CLASSES_240);//分类
- $("#DISPATCH_UNIT_240").html(data.DISPATCH_UNIT_240);//发文单位
- $("#DOCUMENT_NAME_240").html(data.DOCUMENT_NAME_240);//公文名称
- $("#DISPATCH_WORD_SIZE_240").html(data.DISPATCH_WORD_SIZE_240);//发文字号
- $("#STATE_240").html(data.STATE_240_SHOW);//状态
- $("#SECRECY_LEVEL_240").html(data.SECRECY_LEVEL_240_SHOW);//保密级别
- $("#PRINT_DATE_240").html(data.PRINT_DATE_240);//印发时间
- $("#DESCRIPTION_240").html(data.DESCRIPTION_240);//简要说明
- $("#TYPEIN_PEOPLE_240").html(data.TYPEIN_PEOPLE_240);//录入人
- //$("#TYPEIN_PEOPLE_PHONE_NUM_240").html(data.TYPEIN_PEOPLE_PHONE_NUM_240);//录入人联系方式
- $("#UNITE_240").html(data.UNITE_240_SHOW);//单位
- $("#DEPT_240").html(data.DEPT_240_SHOW);//部门
- $("#TYPEIN_TIME_240").html(data.TYPEIN_TIME_240);//录入时间
- $("#VERSION_240").html(data.VERSION_240);//历史版本
- var isIssue = data.IS_ISSUE_240;
- if(isIssue == 1){//已经是发布状态
- $("#fabu").hide();
- }else if(isIssue == 0){//未发布状态
- $("#fabu").show();
- }
- if(data.SECRECY_LEVEL_240 != "1"){
- $("#mimi").hide();
- }
- dlrID = data.TYPEIN_PEOPLE_ID_240;
- obj_old = data.OBJ_FIRST_240;
- obj_old00=data.FD_OBJECTID_240;
- /*alert(JSON.stringify(data));
- alert(obj_old);*/
- initVersion(obj_old,obj_old00);
-
- var userID = data.TYPEIN_PEOPLE_ID_240;
- getUserInfo(userID);
-
- });
-
- function getUserInfo(userID){
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '880',
- objectID : userID
- };
- $.ajax({
- url : url,
- type : 'post',
- timeout : 60000,
- data : params,
- dataType : 'json',
- success : function(data){
- /* alert(JSON.stringify(data));
- var MOBILE = data.MOBILE_880; //手机
- var COMPANY_ID = data.COMPANY_ID_880_SHOW;//所属单位
- var ORG_ID = data.ORG_ID_880_SHOW;//所属部门
-
- $("#MOBILE_880").html(MOBILE);
- $("#COMPANY_ID_880").html(COMPANY_ID);
- $("#ORG_ID_880").html(ORG_ID); */
-
- $("#TYPEIN_PEOPLE_PHONE_NUM_240").html(data.MOBILE_880);//录入人联系方式
- /* $("#UNITE_240").html(data.COMPANY_ID_880_SHOW);//单位
- $("#DEPT_240").html(data.ORG_ID_880_SHOW);//部门 */
-
- },
- error : function(e){
- top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
-
- $('#back').bind('click',function(){
- getback();
- });
- $('#fileDiv').newAsyncFileUpload("",fd_id,0);//附件
-
- $("#goback a img").hover(function(){
- $(this).attr("src","/nwyj/images/temp/back_hover.png");
- },function(){
- $(this).attr("src","/nwyj/images/temp/back.png");
- });
- setTimeout('setHight()', 200);
- });
- </script>
- </head>
- <body style="width: 100%; margin:0 auto; margin-top:15px" align="center" >
- <div class="d_ground">
- <form id="editForm" method="post">
- <br/>
- <div align="center"><font style="font-weight: bold;font-size: 30px;line-height: 45px;" color="red" id="" >政府公文</font></div>
- <!-- 正文表格 -->
- <fieldset class="fieldset">
- <legend >基本信息:</legend>
- <table class="tableStyle" align="center">
- <tr>
- <td align="right" width="120px" class="class_color">分类:</td>
- <td width="280px"><div id="CLASSES_240" ></div></td>
-
- <td align="right" width="120px" class="class_color">发文单位:</td>
- <td width="280px"><div id="DISPATCH_UNIT_240" ></div></td>
- </tr>
- <tr>
- <td align="right" class="class_color"><span>公文名称:</span></td>
- <td><div id="DOCUMENT_NAME_240"></div></td>
-
- <td align="right" class="class_color">发文字号:</td>
- <td><div id="DISPATCH_WORD_SIZE_240"></div></td>
- </tr>
- <tr>
- <td align="right" class="class_color">状态:</td>
- <td><div id="STATE_240"></div></td>
-
- <td align="right" class="class_color">保密级别:</td>
- <td><div id="SECRECY_LEVEL_240"></div></td>
- </tr>
- <tr>
- <td align="right" class="class_color">印发日期:</td>
- <td><div id="PRINT_DATE_240"></div></td>
- <td align="right" class="class_color">文件版本:</td>
- <td><div id="VERSION_240"></div></td>
- </tr>
- <tr>
- <td align="right" class="class_color">简要说明:</td>
- <td colspan="3"><div id="DESCRIPTION_240" style='word-wrap:break-word; word-break:break-all;display:block;width:97%;'></div></td>
- </tr>
- </table>
- </fieldset>
- <fieldset class="fieldset" id="mimi">
- <legend>附件信息:</legend>
- <table class="tableStyle" align="center">
- <tr>
- <td width="120px" class="class_color" align="right">上传附件:</td>
- <td width="680px" colspan="3"><div id="fileDiv" name="fileDiv"></div></td>
- </tr>
- </table>
- </fieldset>
- <fieldset class="fieldset">
- <legend>历史版本信息:</legend>
-
- <div class="adding_right5">
- <div id="historyMsg"></div>
- </div>
- </fieldset>
- <fieldset class="fieldset" >
- <legend>录入人信息:</legend>
- <table class="tableStyle" align="center" id="fillForm">
- <tr>
- <td width="120px" align="right" class="class_color">单位:</td>
- <td width="280px"><div name="" id="UNITE_240"></div></td>
- <td width="120px" align="right" class="class_color">部门:</td>
- <td width="280px"><div name="" id="DEPT_240" ></div></td>
- </tr>
- <tr>
- <td align="right" class="class_color">录入人:</td>
- <td><div name="" id="TYPEIN_PEOPLE_240"></div></td>
- <td align="right" class="class_color">录入人联系方式:</td>
- <td><div name="" id="TYPEIN_PEOPLE_PHONE_NUM_240"></div></td>
- </tr>
- <tr>
- <td align="right" class="class_color">录入时间:</td>
- <td colspan="3"><div name="" id="TYPEIN_TIME_240"></div></td>
- </tr>
- </table>
- </fieldset>
- </form>
-
- </div>
- </body>
- </html>
|