文旅厅大数据中心-移动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

250 lines
8.3 KiB

<!DOCTYPE html>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="/common/ctx.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
<meta name="author" content="Coderthemes">
<title>TcdcResBoatclub list页面</title>
<script type="text/javascript" src="${ctx}/js/jquery-1.7.1.min.js"></script>
<link type="text/css" rel="stylesheet" href="${ctx}/css/cjy_style.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/css/cjy_table.css">
<link type="text/css" rel="stylesheet" href="${ctx}/css/cjy_biaodan.css" />
<!-- Base Css Files -->
<script src="${ctx}/js/current.js" type="text/javascript"></script>
<script src="${ctx}/js/jquery.min.js"></script>
<link href="${ctx}/css/showDialog.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/js/jquery.form.js"></script>
<script type="text/javascript" src="${ctx}/js/lhgdialog/lhgdialog.js"></script>
<script type="text/javascript" src="${ctx}/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
//新建
function save(){
location.href="${ctx}/tcdcresboatclub/gotoAddTcdcResBoatclubPage.do";
}
//修改
function goEdit(id){
location.href="${ctx}/tcdcresboatclub/gotoEditTcdcResBoatclubPage.do?tcdcResBoatclubId="+id;
}
//删除
function gotoDel(ids){
$.dialog.confirm('是否删除本条信息?', function() {
$.ajax({
type:'post',
url:'${ctx}/tcdcresboatclub/deleteTcdcResBoatclub.do?ids='+ids,
dataType:'json',
success:function(json){
document.mainForm.action = "${ctx}/tcdcresboatclub/searchTcdcResBoatclubList.do";
document.mainForm.submit();
}
});
}, function() {
$("#mainForm input").each(function() {
this.checked = false;
});
return;
});
}
//详情
function goDetil(id){
location.href ="${ctx}/tcdcresboatclub/gotoDetilTcdcResBoatclubPage.do?tcdcResBoatclubId=" + id;
}
//查询方法
function searchAll(){
document.mainForm.submit();
}
//重置
function reset2(){
document.getElementById("cname").value="";
document.getElementById("region").value="";
}
//导入
function daoru(){
document.mainForm.action = "${ctx}/tcdcresboatclub/daoruTcdcResBoatclub.do";
document.mainForm.submit();
}
//导出
function daochu(){
$.dialog.confirm('是否导出信息?', function() {
document.mainForm.action = "${ctx}/tcdcresboatclub/daochuTcdcResBoatclub.do";
document.mainForm.submit();
document.mainForm.action = "${ctx}/tcdcresboatclub/searchTcdcResBoatclubList.do";
}, function() {
$("#mainForm input").each(function() {
this.checked = false;
});
return;
});
}
//数据导入
function daoru2(){
$.dialog({
title:'数据导入',
width: '700px',
height: 500,
max:false,
min:false,
esc:false,
content: "url:${ctx}/tcdcresboatclub/daoru2TcdcResBoatclub.do",
lock:true,
close: function() {
document.mainForm.action = "${ctx}/tcdcresboatclub/searchTcdcResBoatclubList.do";
document.mainForm.submit();
}
});
}
//地图展示
function showMap(lon,lat){
if(lon!=''&&lon!='null'&&lat!=''&&lat!='null'){
$.dialog({
title:'地图',
width: '700px',
height: 500,
max:false,
min:false,
esc:false,
content: "url:${ctx}/sysuser/mapDot.do?lon="+lon+"&lat="+lat
});
}else{
$.dialog({
title:'地图',
content: '没有经纬度',
max:false,
min:false,
esc:false
});
}
}
</script>
</head>
<body style=" background:#fff;">
<form action="${ctx}/tcdcresboatclub/searchTcdcResBoatclubList.do"
id="mainForm" method="post" name="mainForm"
enctype="multipart/form-data">
<input type="hidden" name="ids" />
<input type="hidden" name="flag" />
<div class="cjy_ovst5">
<div class="cjy_jscz">
<div class="cjy_btns">
<!-- <a href="javascript:save()" class="cjy_btn color_lv">录入数据</a> <a -->
<!-- id="importButton" href="javascript:daoru2()" -->
<!-- class="cjy_btn color_lanz">导入数据</a> -->
<a id="exportButton"
href="javascript:daochu()" class="cjy_btn color_lanz">导出数据</a>
</div>
<div class="cjy_bdx">
<div class="cjy_bdx_search">
<input type="text" id="cname" name="cname" value="${cname}" placeholder="请输入中文名称全称" /><span class="cjy_icon cjy_icon_search"></span>
</div>
<div class="cjy_select">
<select id="region" name="region">
<option value="">河北地市</option>
<c:forEach items="${reglist}" var="list">
<option value="${list.regid}" <c:if test="${list.regid==region}">selected = "selected"</c:if>>${list.name}</option>
</c:forEach>
</select>
</div>
<a href="javascript:searchAll()" class="cjy_btn color_lan">搜索</a>
<div class="clear"></div>
</div>
</div>
</div>
<div>
<div>
<div class="cjy_table">
<table id="maintable" cellpadding="0" cellspacing="0" border="0"
width="100%">
<tr>
<th><p>序号</p>
</th>
<th><p>中文名称全称</p></th>
<th><p>联系人</p></th>
<th><p>联系电话</p></th>
<th><p>游艇类型</p></th>
<th><p>地理位置</p></th>
<th><p>泊位数量</p></th>
<th><p>游艇数量</p></th>
<th><p>经营模式</p></th>
<th><p>休闲方式</p></th>
<th><p>航行区域</p></th>
<th><p>水域名称</p></th>
<th><p>许可证号</p></th>
<th><p>组织机构代码</p></th>
<th><p>状态</p></th>
<th><p>备注</p></th>
<th><p>操作</p></th>
</tr>
<c:forEach items="${list}" var="lis" varStatus="vst">
<tr>
<td><p>${(vst.index)+1}</p></td>
<td><a href="javascript:goDetil(${lis.id})">${lis.cname}</a></td>
<td><p>${lis.linkUser}</p></td>
<td><p>${lis.linkTel}</p></td>
<td><p>
<c:forEach items="${listsydic745}" var="list">
<c:if test="${fn:contains(lis.boattype,list.dicid)}">${list.dicname}</c:if>
</c:forEach>
</p></td>
<td><p>${lis.position}</p></td>
<td><p>${lis.berthnum}</p></td>
<td><p>${lis.boatnum}</p></td>
<td><p>${lis.modebusiness}</p></td>
<td><p>${lis.ardertype}</p></td>
<td><p>${lis.seaway}</p></td>
<td><p>${lis.watername}</p></td>
<td><p>${lis.xukenum}</p></td>
<td><p>${lis.jigounum}</p></td>
<td><p>
<c:forEach items="${listsydic721}" var="list">
<c:if test="${fn:contains(lis.statu,list.dicid)}">${list.dicname}</c:if>
</c:forEach>
</p></td>
<td><p>${lis.remark}</p></td>
<td><p>
<!-- <a href="javascript:goEdit(${lis.id})" title="修改"
class="cjy_text_huang">编辑</a> <a
href="javascript:gotoDel(${lis.id})" title="删除"
class="cjy_text_h">删除</a> -->
<a href="javascript:showMap('${lis.lon}','${lis.lat}')" class="cjy_text_qlan">地图展示</a>
</p>
</td>
</tr>
</c:forEach>
</table>
</div>
<%@include file="/common/page.jsp"%>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Right content here -->
<!-- ============================================================== -->
</form>
<script type="text/javascript"
src="${ctx}/js/lhgdialog/lhgdialog.min.js"></script>
</body>
<script type="text/javascript" src="${ctx}/js/day/laydate.js"></script>
<script type="text/javascript" src="${ctx}/js/showDialog.js"></script>
<script type="text/javascript">
</script>
</html>