|
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
|
|
<%@ taglib uri="/struts-tags" prefix="s"%>
|
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
|
<%
|
|
|
String path = request.getContextPath();
|
|
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
|
|
|
|
|
String usertype = session.getAttribute("userType")+"";
|
|
|
%>
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
<meta charset="utf-8" />
|
|
|
<title>公共租赁住房租赁管理系统</title>
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
|
|
<!-- App favicon -->
|
|
|
<link rel="shortcut icon" href="<%=basePath %>static/assets/images/favicon.ico">
|
|
|
|
|
|
<!-- plugins -->
|
|
|
<link href="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
<!-- App css -->
|
|
|
<link href="<%=basePath %>static/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="<%=basePath %>static/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="<%=basePath %>static/assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<body class="container_12">
|
|
|
<div class="box round first" style="margin:15px;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="container"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<!-- Vendor js -->
|
|
|
<script src="<%=basePath %>static/assets/js/vendor.min.js"></script>
|
|
|
|
|
|
<!-- optional plugins -->
|
|
|
<script src="<%=basePath %>static/assets/libs/moment/moment.min.js"></script>
|
|
|
<script src="<%=basePath %>static/assets/libs/apexcharts/apexcharts.min.js"></script>
|
|
|
<script src="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.js"></script>
|
|
|
|
|
|
<!-- page js -->
|
|
|
<script src="<%=basePath %>static/assets/js/pages/dashboard.init.js"></script>
|
|
|
|
|
|
<!-- App js -->
|
|
|
<script src="<%=basePath %>static/assets/js/app.min.js"></script>
|
|
|
<script src="<%=basePath %>static/js.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link href="<%=basePath %>static/toastr-master/toastr.min.css" rel="stylesheet" type="text/css" />
|
|
|
<script src="<%=basePath %>static/toastr-master/toastr.min.js"></script>
|
|
|
<script>
|
|
|
<c:if test="${!empty state }">
|
|
|
toastr.${state}('${message}', '提示');
|
|
|
setTimeout(function(){
|
|
|
window.location.href = "<%=basePath%>${url}";
|
|
|
},1500)
|
|
|
</c:if>
|
|
|
</script>
|
|
|
<script>
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
$(".bz").click(function(){
|
|
|
var txt = $(this).attr("txt");
|
|
|
toastr.success(txt, '提示');
|
|
|
});
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>
|
|
|
<script src="http://cdn.hcharts.cn/highcharts/modules/exporting.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
$(function () {
|
|
|
Highcharts.chart('container', {
|
|
|
chart: {
|
|
|
type: 'column'
|
|
|
},
|
|
|
title: {
|
|
|
text: '统计'
|
|
|
},
|
|
|
subtitle: {
|
|
|
text: '--'
|
|
|
},
|
|
|
xAxis: {
|
|
|
categories: [
|
|
|
"用户","栏目","资料","房源","申请","举报"
|
|
|
],
|
|
|
crosshair: true
|
|
|
},
|
|
|
yAxis: {
|
|
|
min: 0,
|
|
|
title: {
|
|
|
text: '数据'
|
|
|
}
|
|
|
},
|
|
|
tooltip: {
|
|
|
headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
|
|
|
pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
|
|
|
'<td style="padding:0"><b>{point.y}</b></td></tr>',
|
|
|
footerFormat: '</table>',
|
|
|
shared: true,
|
|
|
useHTML: true
|
|
|
},
|
|
|
plotOptions: {
|
|
|
column: {
|
|
|
pointPadding: 0.2,
|
|
|
borderWidth: 0
|
|
|
}
|
|
|
},
|
|
|
series: [{
|
|
|
name: '数据',
|
|
|
data: [${n1},${n2},${n3},${n4},${n5},${n6}]
|
|
|
|
|
|
}]
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
</html>
|
|
|
</body>
|
|
|
|
|
|
</html>
|
|
|
|
|
|
|