|
|
<!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>TcdcSnDsfxskhlyhztj 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 src="${ctx}/js/zTree_v3/js/city.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<link type="text/css" rel="stylesheet" href="${ctx}/js/day/laydate/theme/default/laydate.css" />
|
|
|
<script type="text/javascript" src="${ctx}/js/day/laydate/laydate.js"></script>
|
|
|
<script type="text/javascript" charset="utf-8" src="${ctx}/js/util/UnicomUtil.js"></script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
//新建
|
|
|
function save(){
|
|
|
location.href="${ctx}/tcdcsndsfxskhlyhztj/gotoAddTcdcSnDsfxskhlyhztjPage.do";
|
|
|
|
|
|
}
|
|
|
//修改
|
|
|
function goEdit(id){
|
|
|
location.href="${ctx}/tcdcsndsfxskhlyhztj/gotoEditTcdcSnDsfxskhlyhztjPage.do?tcdcSnDsfxskhlyhztjId="+id;
|
|
|
|
|
|
}
|
|
|
//删除
|
|
|
function gotoDel(ids){
|
|
|
$.dialog.confirm('是否删除本条信息?', function() {
|
|
|
$.ajax({
|
|
|
type:'post',
|
|
|
url:'${ctx}/tcdcsndsfxskhlyhztj/deleteTcdcSnDsfxskhlyhztj.do?ids='+ids,
|
|
|
dataType:'json',
|
|
|
success:function(json){
|
|
|
document.mainForm.action = "${ctx}/tcdcsndsfxskhlyhztj/searchTcdcSnDsfxskhlyhztjList.do";
|
|
|
document.mainForm.submit();
|
|
|
}
|
|
|
});
|
|
|
}, function() {
|
|
|
$("#mainForm input").each(function() {
|
|
|
this.checked = false;
|
|
|
});
|
|
|
return;
|
|
|
});
|
|
|
|
|
|
}
|
|
|
//详情
|
|
|
function goDetil(id){
|
|
|
location.href ="${ctx}/tcdcugcitystaytimeday/gotoDetiltcdcugcitypassnightdayPage.do?tcdcugcitystaytimedayId=" + id;
|
|
|
|
|
|
}
|
|
|
//查询方法
|
|
|
function searchAll(){
|
|
|
document.mainForm.submit();
|
|
|
|
|
|
}
|
|
|
//重置
|
|
|
function reset2(){
|
|
|
}
|
|
|
//导入
|
|
|
function daoru(){
|
|
|
document.mainForm.action = "${ctx}/tcdcsndsfxskhlyhztj/daoruTcdcSnDsfxskhlyhztj.do";
|
|
|
document.mainForm.submit();
|
|
|
}
|
|
|
//导出
|
|
|
function daochu(){
|
|
|
$.dialog.confirm('是否导出信息?', function() {
|
|
|
document.mainForm.action = "${ctx}/tcdcsndsfxskhlyhztj/daochuTcdcSnDsfxskhlyhztj.do";
|
|
|
document.mainForm.submit();
|
|
|
document.mainForm.action = "${ctx}/tcdcsndsfxskhlyhztj/searchTcdcSnDsfxskhlyhztjList.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}/tcdcsndsfxskhlyhztj/daoru2TcdcSnDsfxskhlyhztj.do",
|
|
|
lock:true,
|
|
|
close: function() {
|
|
|
document.mainForm.action = "${ctx}/tcdcsndsfxskhlyhztj/searchTcdcSnDsfxskhlyhztjList.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}/tcdcugcitytransday/searchtcdcugcitytransdaylist.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 id="cjy_bdx" style="float:left"></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>乘坐交通工具(1=飞机,2=火车,3=汽车,4=自驾)</p></th>
|
|
|
<th><p>新增客流量</p></th>
|
|
|
</tr>
|
|
|
<c:forEach items="${list}" var="lis" varStatus="vst">
|
|
|
<tr>
|
|
|
<td><p>${(vst.index)+1}</p></td>
|
|
|
<%-- <td><p>${lis.formatTime}</p></td>--%>
|
|
|
<%-- <td><a href="javascript:goDetil(${lis.id})">${lis.formatTime}</a></td>--%>
|
|
|
<td>${lis.formatTime}</td>
|
|
|
<td><p><cjy:UnicomGroupCodeFormatter regioncode="${lis.provinceCode}" /></p></td>
|
|
|
<td><p><cjy:UnicomGroupCodeFormatter regioncode="${lis.cityCode}" /></p></td>
|
|
|
<td><p>
|
|
|
<c:if test="${lis.transCode} == '01'">飞机</c:if>
|
|
|
<c:if test="${lis.transCode} == '02'">火车</c:if>
|
|
|
<c:if test="${lis.transCode} == '03'">汽车</c:if>
|
|
|
<c:if test="${lis.transCode} == '04'">自驾</c:if>
|
|
|
|
|
|
</p></td>
|
|
|
<td><p>${lis.peopleNum}</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">
|
|
|
|
|
|
$('#cjy_bdx').initUnicomQuery({
|
|
|
components:['regionbm','date'],
|
|
|
isHour:true,
|
|
|
viewBack:${query}
|
|
|
})
|
|
|
|
|
|
</script>
|
|
|
</html>
|
|
|
|
|
|
|