| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 | <%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>	<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%><!DOCTYPE html><html lang="en"><head>    <meta charset="utf-8">    <title>江苏省港口建设与经营管理信息系统</title>    <meta name="viewport" content="width=device-width, initial-scale=1">    <%@ include file="../../../common.jsp"%>	<script type="text/javascript" src="${app }/static/biz/js/ggfwxxgl/tzgg/ggxx/ggxxdetail.js"></script>	<script type="text/javascript">	var setting = {			async: {				enable: true,				url:$.app+"/user/getUserTreeData?ggid="+"${record.id}",				contentType : "application/x-www-form-urlencoded", //已form的形式提交参数				autoParam: ["id","name"]			},			check: {				enable: true //表示是否显示节点前的checkbox选择框				},				data: {			        simpleData: {			            enable: true			        }			    },			view:{				showLine:false//去掉虚线			},			callback: {			}		};	var jyrsetting = {			async: {				enable: true,				url:$.app+"/gkjyr/getJyrTreeData?ggid="+"${record.id}",				contentType : "application/x-www-form-urlencoded", //已form的形式提交参数				autoParam: ["id","name"]			},			check: {				enable: true //表示是否显示节点前的checkbox选择框				},				data: {			        simpleData: {			            enable: true			        }			    },			view:{				showLine:false//去掉虚线			},			callback: {			}		};			$(document).ready(function () {			ggxx.detail.gglx="${record.gglx}";			ggxx.detail.jsdx="list";			ggxx.detail.initJyrSelect('addjyr','deljyr','${jyrlist}');			ggxx.detail.init(setting,jyrsetting);		});	</script></head><body>		<div class="box" >		<div class="box-content" >			<div class="apply_fill"> <form  id="addform" method="post" enctype="multipart/form-data"> 		 <input type="hidden" name="id" id='id' value="${record.id }"/>	  <input type="hidden" name="fbzt" value="" id="fbzt"/>  <input type="hidden" name="user" value="" id="user"/>  <input type="hidden" name="jyr" value="" id="jyr"/>						<table class="apply" cellpadding="0" cellspacing="0">						<tr>							<th><span class="needwrite">*</span>标题: </th>							<td colspan="3">								<input type="text" class="form-control" name="title" value="${record.title }" style="width: 92%">							</td>						</tr>												<tr>							<th><span class="needwrite">*</span>公告类型: </th>							<td>								<div id="gglxsel"></div> 							</td>							<th>发布单位: </th>							<td >								<input type="text" class="form-control" readonly="readonly" name="fbdw" value="${record.fbdw }">							</td>						</tr>						<tr>											<th>正文: </th>							<td colspan="3">								<textarea class="form-control" name="zw" style="margin: 0px auto 0px 5px; width: 92%; height: 300px;">${record.zw }</textarea>							</td>						</tr>						<tr>							<th>附件: </th>							<td colspan="3">							<div id="fjdiv">							<c:if test="${record.fjid !=null }">							<input type="hidden" name="accid" value="${record.fjid }"/>							<a class='main_title' href='${app }/accessory/download?id=${record.fjid }'> ${record.fjmc }</a>							<a class="btn btn-default btn-xs" href="#" onclick="ggxx.detail.delFj('${record.fjid}')">删除</a>							</c:if>							</div>							<span id="fspan" <c:if test="${record.fjid !=null }">style="display: none"</c:if> >							<a href="#" class="file">上传<input type="file" name="file"   onchange="ggxx.detail.submitFile()"/></a>							</span>							</td>						</tr>						<tr>								<th width="10%">指定人员: </th>							<td width="30%">							 <ul id="usertree" class="ztree" style="width:100%; "></ul>							</td >							<th width="10%">指定经营人: </th>							<td width="60%">							 <ul id="jyrtree" class="ztree" style="width:100%; "></ul>							</td>						</tr>						<%--	<tr>							<th>接收对象: </th>							<td colspan="3">														<input type="radio"  style="width:12px" name="jsdx" onchange="che(0)" <c:if test="${record.jsdx == 0 }">checked="checked"</c:if> value="0">所有企业														 <input type="radio"  style="width:12px" name="jsdx" onchange="che(1)" <c:if test="${record.jsdx == 1 }">checked="checked"</c:if>  value="1">指定企业																					</td>						</tr>						 <tr id="trid" <c:if test="${record.jsdx == 0 }">style="display: none"</c:if>>							<th>指定企业选择: </th>							<td colspan="3">							<div>								<div id="addjyr" style="float: left;width: 40%"></div>							<div style="float: left;height: 10px">							<table>							<tr>							<td>							<span id="add"><a class="btn btn-default btn-sm" href="#"  >							   <i class="glyphicon glyphicon-ok-sign"></i> 							            选中添加</a></span>							</td>							</tr>							<tr>							<td>							<span id="addAll"><a class="btn btn-default btn-sm" href="#"  >							   <i class="glyphicon glyphicon-ok-sign"></i> 							            全部添加</a></span>							</td>							</tr>							<tr>							<td>							<span id="del"><a class="btn btn-default btn-sm" href="#" >							   <i class="glyphicon glyphicon-arrow-left"></i> 							         删除选中</a></span>							</td>							</tr>							<tr>							<td>							<span id="delAll"><a class="btn btn-default btn-sm" href="#" >							   <i class="glyphicon glyphicon-arrow-left"></i> 							           删除全部</a></span>							</td>							</tr>							</table>									</div>															<div id="deljyr" style="float: left;width: 40%;padding-left: 20px"></div>																	</div>							</td>						</tr> --%>						<tr>							<th>发布人: </th>							<td><input type="text" class="form-control" readonly="readonly" value="${record.fbr }" ></td>							<th><span class="needwrite">*</span>发布时间: </th>							<td>							<input type="text" class="Wdate" name="fbsj" value="${fn:substring(record.fbsj,0,10)}" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})">							</td>						</tr>											</table></form>					<div  id="buttons">                    	<a class="btn btn-default btn-sm" href="#" onclick="ggxx.detail.save(1)">							   <i class="glyphicon glyphicon-floppy-disk"></i> 							        发布</a>							            							            <a class="btn btn-default btn-sm" href="#" onclick="ggxx.detail.save(0)">							   <i class="glyphicon glyphicon-floppy-disk"></i> 							            保存</a>							             <a class="btn btn-default btn-sm" href="#"  onclick="ggxx.detail.back()">							   <i class="glyphicon glyphicon-arrow-left"></i> 							            返回</a>          			</div>			</div>					</div>	</div></body></html>
 |