|
|
<!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>TcdcGovPolicy 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>
|
|
|
<!-- zTree相关 -->
|
|
|
<script type="text/javascript" src="${ctx}/js/zTree_v3/js/jquery.ztree.core.min.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
var data = '${reglistallJson}';
|
|
|
var datare = '${region}';
|
|
|
</script>
|
|
|
<link rel="stylesheet" href="${ctx}/js/zTree_v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
|
|
|
<script type="text/javascript" src="${ctx}/js/zTree_v3/js/zTreeUtil.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
//新建
|
|
|
function save(){
|
|
|
location.href="${ctx}/tcdcgovpolicy/gotoAddTcdcGovPolicyPage.do";
|
|
|
|
|
|
}
|
|
|
//修改
|
|
|
function goEdit(id){
|
|
|
location.href="${ctx}/tcdcgovpolicy/gotoEditTcdcGovPolicyPage.do?tcdcGovPolicyId="+id;
|
|
|
|
|
|
}
|
|
|
//删除
|
|
|
function gotoDel(ids){
|
|
|
$.dialog.confirm('是否删除本条信息?', function() {
|
|
|
$.ajax({
|
|
|
type:'post',
|
|
|
url:'${ctx}/tcdcgovpolicy/deleteTcdcGovPolicy.do?ids='+ids,
|
|
|
dataType:'json',
|
|
|
success:function(json){
|
|
|
document.mainForm.action = "${ctx}/tcdcgovpolicy/searchTcdcGovPolicyList.do";
|
|
|
document.mainForm.submit();
|
|
|
}
|
|
|
});
|
|
|
}, function() {
|
|
|
$("#mainForm input").each(function() {
|
|
|
this.checked = false;
|
|
|
});
|
|
|
return;
|
|
|
});
|
|
|
|
|
|
}
|
|
|
//详情
|
|
|
function goDetil(id){
|
|
|
location.href ="${ctx}/tcdcgovpolicy/gotoDetilTcdcGovPolicyPage.do?tcdcGovPolicyId=" + id;
|
|
|
|
|
|
}
|
|
|
//查询方法
|
|
|
function searchAll(){
|
|
|
document.mainForm.submit();
|
|
|
|
|
|
}
|
|
|
//重置
|
|
|
function reset2(){
|
|
|
document.getElementById("cname").value="";
|
|
|
}
|
|
|
//导入
|
|
|
function daoru(){
|
|
|
document.mainForm.action = "${ctx}/tcdcgovpolicy/daoruTcdcGovPolicy.do";
|
|
|
document.mainForm.submit();
|
|
|
}
|
|
|
//导出
|
|
|
function daochu(){
|
|
|
$.dialog.confirm('是否导出信息?', function() {
|
|
|
document.mainForm.action = "${ctx}/tcdcgovpolicy/daochuTcdcGovPolicy.do";
|
|
|
document.mainForm.submit();
|
|
|
document.mainForm.action = "${ctx}/tcdcgovpolicy/searchTcdcGovPolicyList.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}/tcdcgovpolicy/daoru2TcdcGovPolicy.do",
|
|
|
lock:true,
|
|
|
close: function() {
|
|
|
document.mainForm.action = "${ctx}/tcdcgovpolicy/searchTcdcGovPolicyList.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}/tcdcgovpolicy/searchTcdcGovPolicyList.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> -->
|
|
|
</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><fmt:formatDate value="${lis.ptime}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
|
|
|
<td><p>${lis.origin}</p></td>
|
|
|
<td><p>${lis.author}</p></td>
|
|
|
<td><p>${lis.leaders}</p></td>
|
|
|
<td><p>${lis.annex}</p></td>
|
|
|
<td><p>${lis.activitytime}</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> --%>
|
|
|
<%-- </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>
|
|
|
|
|
|
|