| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 | <%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%><!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/set/user/userdetail.js"></script>	<script type="text/javascript">		function jyrSel(jyrid){			guanbipop();			$.post($.app + "/gkjyr/findById", {				id:jyrid		    }, function(data) {		    	//返回的是经营人实体,你可以在回掉中,进行任何其他字段的默认填写		    	$('#xzjyr').val(data.gkjyr);		    	$('#xzjyrid').val(data.id);		    }, "json");		}			function sfjyr(){			if($('#sfjyrid').val()=="") {				$('#ssjyr').hide();				$('#ssgl').hide();			} else if($('#sfjyrid').val()=="201") {				$('#ssjyr').show();				$('#ssgl').hide();			} else {				$('#ssjyr').hide();				$('#ssgl').show();			}		}			$(document).ready(function () {						user.detail.roleDate='${rolelist}';			user.detail.existRole='${roles}';			user.detail.szdData='${record.szd.id}';			user.detail.ssglbm='${record.ssglbm.id}';			user.detail.init();			$('.selectpicker').selectpicker({	    		width:'80%'	    	});	    	$('#xzjyr').click(function(){	    		jyrselpop('jyrSel');	    	});	    		    	sfjyr();	    	user.detail.initSsglbm('ssglbmsel', 'showssglry', '${record.ssglbm.id}',user.detail.szdData);	    	user.detail.initSsglry('ssglrysel', '${record.ssglbm.id}', '${record.ssglry.id}');		});				function showgk(){			user.detail.initSsglbm('ssglbmsel', 'showssglry', '${record.ssglbm.id}',$('.szdselectpicker').val());		}				function showssglry() {			user.detail.initSsglry('ssglrysel', $('.ssglbmselectpicker').val(), '${record.ssglry.id}');		}	</script></head><body>	<div class="box" >		<div class="box-content" >			<div class="apply_fill"> <form  id="addform" method="post"> 	 <input type="hidden" name="id" value="${record.id }">							<table class="apply3" cellpadding="0" cellspacing="0" style="table-layout: fixed;">						<tr>							<th><span class="needwrite">*</span>所在地 :  </th>							<td colspan="3">								<div id="szdsel"></div>							</td>						</tr>						<tr>							<th><span class="needwrite">*</span>用户名称 :  </th>							<td >								<input type="text" class="form-control" id="nametext" name="name" value="${record.name }">							</td>							<th><span class="needwrite">*</span>登录账号:  </th>							<td >								<input type="text" class="form-control" id="unametext" name="uname" value="${record.uname }">							</td>						</tr>						<tr>							<th><span class="needwrite">*</span>所属角色 :  </th>							<td >								<div id ="roleDiv"></div>							</td>							<th><span class="needwrite">*</span>是否经营人:  </th>							<td >								<select class="selectpicker" id='sfjyrid' name='sfjyrid' onchange='sfjyr()'>									<option value=""></option>							      	<option value="201" <c:if test="${record.sfjyr.id=='201' }">selected='selected'</c:if>>是</option>							      	<option value="202" <c:if test="${record.sfjyr.id=='202' }">selected='selected'</c:if>>否</option>							    </select>							</td>						</tr>						<tr>							<th><span class="needwrite">*</span>微信号 :  </th>							<td >								<input type="text" class="form-control" id="weixintext" name="weixinid" value="${record.weixinid }">							</td>							<th><span class="needwrite">*</span>排序号 :  </th>							<td >								<input type="text" class="form-control" id="sortnotext" name="sortno" value="${record.sortno }">							</td>						</tr>												<tr id="ssjyr">							<th><span class="needwrite">*</span>所属经营人:  </th>							<td id="d1" style="position:relative;">								<input type="text"   class="form-control" id="xzjyr" readOnly="true" value="${record.ssjyrzw }">	                        	<input type="hidden"   class="form-control" id="xzjyrid" name="ssjyrid" value="${record.ssjyr.id }">	                        	<a class="btn btn-primary btn-sm" href="#"									onclick="jyrselpop('jyrSel')" style="position:absolute;right:4px;top:4px;"> <i class="glyphicon"></i>选择								</a>							</td>													</tr>						<tr id="ssgl">							<th><span class="needwrite">*</span>所属管理部门:  </th>							<td >								<span id="ssglbmsel">								</span>							</td>							<th><span class="needwrite">*</span>所属管理人员:  </th>							<td >								<span id="ssglrysel">								</span>							</td>						</tr>					</table></form>					<div  id="buttons">                    	<a class="btn btn-default btn-sm" href="#" onclick="user.detail.save()">							   <i class="glyphicon glyphicon-floppy-disk"></i> 							            保存</a>							             <a class="btn btn-default btn-sm" href="#"  onclick="user.detail.back()">							   <i class="glyphicon glyphicon-arrow-left"></i> 							            返回</a>          			</div>			</div>					</div>	</div>	<jsp:include page="../../jyrselect.jsp"></jsp:include></body></html>
 |