|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
|
|
.chartContent .chartLi {
|
|
.chartContent .chartLi {
|
|
|
float: left;
|
|
float: left;
|
|
|
- height: 200px;
|
|
|
|
|
|
|
+ height: 300px;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -182,7 +182,7 @@
|
|
|
*zoom: 1; /*ie6清除浮动的方式 *号只有IE6-IE7执行,其他浏览器不执行*/
|
|
*zoom: 1; /*ie6清除浮动的方式 *号只有IE6-IE7执行,其他浏览器不执行*/
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .chartContent{
|
|
|
|
|
|
|
+ .chartContent {
|
|
|
padding-left: 20px;
|
|
padding-left: 20px;
|
|
|
padding-right: 20px;
|
|
padding-right: 20px;
|
|
|
border-bottom: 1px solid #ded7d5;
|
|
border-bottom: 1px solid #ded7d5;
|
|
@@ -238,15 +238,18 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="chartContent">
|
|
<div class="chartContent">
|
|
|
<div class="title">月度审核统计表</div>
|
|
<div class="title">月度审核统计表</div>
|
|
|
- <input class="Wdate input-text" type="text" th:id="monthly_start_time" th:name="monthly_start_time"
|
|
|
|
|
- style="float:left; width: 150px;"
|
|
|
|
|
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'monthly_end_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getMontylyApproveStatistic()} })"/>
|
|
|
|
|
- <input class="Wdate input-text" type="text" th:id="monthly_end_time" th:name="monthly_end_time"
|
|
|
|
|
- style="float:left; width: 150px;"
|
|
|
|
|
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'monthly_start_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getMontylyApproveStatistic()} })"/>
|
|
|
|
|
- <a th:onclick="'javascript:exportMonthlyStatistic();'"
|
|
|
|
|
- class="btn btn-secondary radius" type="button">导出</a>
|
|
|
|
|
- <div class="table001" style="width: 96%; margin-left: 2%;margin-top:15px;">
|
|
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="Wdate input-text" type="text" th:id="monthly_start_time" th:name="monthly_start_time"
|
|
|
|
|
+ style="float:left; width: 150px;margin-right: 5px;"
|
|
|
|
|
+ onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'monthly_end_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getMontylyApproveStatistic()} })"/>
|
|
|
|
|
+ <input class="Wdate input-text" type="text" th:id="monthly_end_time" th:name="monthly_end_time"
|
|
|
|
|
+ style="float:left; width: 150px;margin-right: 5px;"
|
|
|
|
|
+ onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'monthly_start_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getMontylyApproveStatistic()} })"/>
|
|
|
|
|
+ <a th:onclick="'javascript:exportMonthlyStatistic();'"
|
|
|
|
|
+ class="btn btn-secondary radius" type="button">导出</a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="table001" style="margin-top:15px;">
|
|
|
|
|
+ <!-- <div class="table001" style="width: 96%; margin-left: 2%;margin-top:15px;">-->
|
|
|
<table id="monthly_approve_statistic" th:fragment="approve_statistic_monthly">
|
|
<table id="monthly_approve_statistic" th:fragment="approve_statistic_monthly">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
@@ -287,7 +290,7 @@
|
|
|
<td th:text="*{useChangePassRate + '%'}"></td>
|
|
<td th:text="*{useChangePassRate + '%'}"></td>
|
|
|
<td th:text="*{immovablesChangeApplyNum}"></td>
|
|
<td th:text="*{immovablesChangeApplyNum}"></td>
|
|
|
<td th:text="*{immovablesChangePassNum}"></td>
|
|
<td th:text="*{immovablesChangePassNum}"></td>
|
|
|
- <td th:text="*{immovablesChangePassRate + '%'}"></td>
|
|
|
|
|
|
|
+ <td th:text="*{immovablesChangePassRate}"></td>
|
|
|
<td th:text="*{equityStructureChangeApplyNum}"></td>
|
|
<td th:text="*{equityStructureChangeApplyNum}"></td>
|
|
|
<td th:text="*{equityStructureChangePassNum}"></td>
|
|
<td th:text="*{equityStructureChangePassNum}"></td>
|
|
|
<td th:text="*{equityStructureChangePassRate}"></td>
|
|
<td th:text="*{equityStructureChangePassRate}"></td>
|
|
@@ -301,17 +304,19 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="chartContent">
|
|
<div class="chartContent">
|
|
|
<div class="title">板块统计表</div>
|
|
<div class="title">板块统计表</div>
|
|
|
- <input class="Wdate input-text" type="text" th:id="plate_start_time" th:name="plate_start_time"
|
|
|
|
|
- style="float:left; width: 150px;"
|
|
|
|
|
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'plate_end_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getPlateStatistic()} })"/>
|
|
|
|
|
- <input class="Wdate input-text" type="text" th:id="plate_end_time" th:name="plate_end_time"
|
|
|
|
|
- style="float:left; width: 150px;"
|
|
|
|
|
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'plate_start_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getPlateStatistic()} })"/>
|
|
|
|
|
- <a th:onclick="'javascript:exportPlateStatistic();'"
|
|
|
|
|
- class="btn btn-secondary radius" type="button">导出</a>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <input class="Wdate input-text" type="text" th:id="plate_start_time" th:name="plate_start_time"
|
|
|
|
|
+ style="float:left; width: 150px;margin-right: 5px;"
|
|
|
|
|
+ onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'plate_end_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getPlateStatistic()} })"/>
|
|
|
|
|
+ <input class="Wdate input-text" type="text" th:id="plate_end_time" th:name="plate_end_time"
|
|
|
|
|
+ style="float:left; width: 150px;margin-right: 5px;"
|
|
|
|
|
+ onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'plate_start_time\')}',isShowClear:true,readOnly:true,onpicked: function(){getPlateStatistic()} })"/>
|
|
|
|
|
+ <a th:onclick="'javascript:exportPlateStatistic();'"
|
|
|
|
|
+ class="btn btn-secondary radius" type="button">导出</a>
|
|
|
|
|
+ </div>
|
|
|
<div id="plate_approve_statistic" th:fragment="approve_statistic_plate" style="margin-top: 15px;">
|
|
<div id="plate_approve_statistic" th:fragment="approve_statistic_plate" style="margin-top: 15px;">
|
|
|
- <div class="tableHead" style="width: 96%; margin-left: 2%;">
|
|
|
|
|
|
|
+ <div class="tableHead">
|
|
|
|
|
+ <!-- <div class="tableHead" style="width: 96%; margin-left: 2%;">-->
|
|
|
<div class="tableHeadLi" style="width:9%;" th:each="model,iterStat:${head}" th:object="${model}"
|
|
<div class="tableHeadLi" style="width:9%;" th:each="model,iterStat:${head}" th:object="${model}"
|
|
|
th:if="${iterStat.index==0}">
|
|
th:if="${iterStat.index==0}">
|
|
|
</div>
|
|
</div>
|
|
@@ -329,7 +334,8 @@
|
|
|
<!-- <div class="tableHeadLi" style="width:10%;">区外</div>-->
|
|
<!-- <div class="tableHeadLi" style="width:10%;">区外</div>-->
|
|
|
<!-- <div class="tableHeadLi" style="width:10%;">合计</div>-->
|
|
<!-- <div class="tableHeadLi" style="width:10%;">合计</div>-->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="tableBody" style="width: 96%; margin-left: 2%;">
|
|
|
|
|
|
|
+ <div class="tableBody">
|
|
|
|
|
+ <!-- <div class="tableBody" style="width: 96%; margin-left: 2%;">-->
|
|
|
<div class="tableBodyLi" th:each="model,iterStat:${data}" th:object="${model}">
|
|
<div class="tableBodyLi" th:each="model,iterStat:${data}" th:object="${model}">
|
|
|
<div class="liHead">
|
|
<div class="liHead">
|
|
|
<div class="liHeadTopTd" style="width:9%;">
|
|
<div class="liHeadTopTd" style="width:9%;">
|
|
@@ -386,7 +392,7 @@
|
|
|
// processingData.push(argument.value);
|
|
// processingData.push(argument.value);
|
|
|
// // console.log(argument)
|
|
// // console.log(argument)
|
|
|
// }
|
|
// }
|
|
|
- processingArray.forEach(function(argument){
|
|
|
|
|
|
|
+ processingArray.forEach(function (argument) {
|
|
|
processingXAxisData.push(argument.name);
|
|
processingXAxisData.push(argument.name);
|
|
|
processingData.push(argument.value);
|
|
processingData.push(argument.value);
|
|
|
})
|
|
})
|
|
@@ -422,7 +428,7 @@
|
|
|
// for (var argument of data) {
|
|
// for (var argument of data) {
|
|
|
// legendData.push(argument.name);
|
|
// legendData.push(argument.name);
|
|
|
// }
|
|
// }
|
|
|
- data.forEach(function(argument){
|
|
|
|
|
|
|
+ data.forEach(function (argument) {
|
|
|
legendData.push(argument.name);
|
|
legendData.push(argument.name);
|
|
|
})
|
|
})
|
|
|
renderMonthlyTypeBar(legendData, xAxisName, data);
|
|
renderMonthlyTypeBar(legendData, xAxisName, data);
|
|
@@ -454,7 +460,7 @@
|
|
|
// for (var argument of data) {
|
|
// for (var argument of data) {
|
|
|
// legendData.push(argument.name);
|
|
// legendData.push(argument.name);
|
|
|
// }
|
|
// }
|
|
|
- data.forEach(function(argument){
|
|
|
|
|
|
|
+ data.forEach(function (argument) {
|
|
|
legendData.push(argument.name);
|
|
legendData.push(argument.name);
|
|
|
})
|
|
})
|
|
|
|
|
|
|
@@ -476,6 +482,7 @@
|
|
|
|
|
|
|
|
// 指定图表的配置项和数据
|
|
// 指定图表的配置项和数据
|
|
|
var option = {
|
|
var option = {
|
|
|
|
|
+ color: ['#61A5E8', '#EECB5F'],
|
|
|
title: {
|
|
title: {
|
|
|
text: title,
|
|
text: title,
|
|
|
textStyle: {
|
|
textStyle: {
|
|
@@ -493,7 +500,6 @@
|
|
|
bottom: 10,
|
|
bottom: 10,
|
|
|
data: legendData
|
|
data: legendData
|
|
|
},
|
|
},
|
|
|
- color: ['#61A5E8','#EECB5F'],
|
|
|
|
|
series: [
|
|
series: [
|
|
|
{
|
|
{
|
|
|
name: title,
|
|
name: title,
|
|
@@ -510,7 +516,7 @@
|
|
|
// for (var obj of data) {
|
|
// for (var obj of data) {
|
|
|
// num += obj.value;
|
|
// num += obj.value;
|
|
|
// }
|
|
// }
|
|
|
- data.forEach(function(obj){
|
|
|
|
|
|
|
+ data.forEach(function (obj) {
|
|
|
num += obj.value;
|
|
num += obj.value;
|
|
|
})
|
|
})
|
|
|
return num;
|
|
return num;
|
|
@@ -545,6 +551,7 @@
|
|
|
|
|
|
|
|
// 指定图表的配置项和数据
|
|
// 指定图表的配置项和数据
|
|
|
option = {
|
|
option = {
|
|
|
|
|
+ color: ['#61A5E8'],
|
|
|
title: {
|
|
title: {
|
|
|
text: title,
|
|
text: title,
|
|
|
textStyle: {
|
|
textStyle: {
|
|
@@ -608,6 +615,7 @@
|
|
|
|
|
|
|
|
// 指定图表的配置项和数据
|
|
// 指定图表的配置项和数据
|
|
|
var option = {
|
|
var option = {
|
|
|
|
|
+ color: ['#7ECF51', '#B9646E', '#E3935D'],
|
|
|
title: {
|
|
title: {
|
|
|
text: title,
|
|
text: title,
|
|
|
textStyle: {
|
|
textStyle: {
|
|
@@ -625,7 +633,9 @@
|
|
|
bottom: 10,
|
|
bottom: 10,
|
|
|
data: legendData
|
|
data: legendData
|
|
|
},
|
|
},
|
|
|
- color: ['#7ECF51', '#B9646E', '#E3935D'],
|
|
|
|
|
|
|
+ grid: {
|
|
|
|
|
+ containLabel: true
|
|
|
|
|
+ },
|
|
|
series: [
|
|
series: [
|
|
|
{
|
|
{
|
|
|
name: title,
|
|
name: title,
|
|
@@ -636,7 +646,7 @@
|
|
|
normal: {
|
|
normal: {
|
|
|
show: true,
|
|
show: true,
|
|
|
zlevel: 0,
|
|
zlevel: 0,
|
|
|
- position: 'top',
|
|
|
|
|
|
|
+ position: 'outside',
|
|
|
formatter: '{b}: {c}'
|
|
formatter: '{b}: {c}'
|
|
|
// formatter: function () {
|
|
// formatter: function () {
|
|
|
// var num = 0;
|
|
// var num = 0;
|
|
@@ -656,7 +666,7 @@
|
|
|
},
|
|
},
|
|
|
labelLine: {
|
|
labelLine: {
|
|
|
normal: {
|
|
normal: {
|
|
|
- show: false
|
|
|
|
|
|
|
+ show: true
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
data: data
|
|
data: data
|
|
@@ -704,7 +714,7 @@
|
|
|
// currentIndex: 11,
|
|
// currentIndex: 11,
|
|
|
// data: getMonth()
|
|
// data: getMonth()
|
|
|
// },
|
|
// },
|
|
|
- color: ['#61A5E8', '#E3935D', '#7ECF51', '#B9646E'],
|
|
|
|
|
|
|
+ color: ['#61A5E8', '#E3935D', '#7ECF51', '#B9464E'],
|
|
|
tooltip: {
|
|
tooltip: {
|
|
|
trigger: 'axis',
|
|
trigger: 'axis',
|
|
|
axisPointer: {
|
|
axisPointer: {
|
|
@@ -760,7 +770,7 @@
|
|
|
|
|
|
|
|
// 指定图表的配置项和数据
|
|
// 指定图表的配置项和数据
|
|
|
option = {
|
|
option = {
|
|
|
- color: ['#7ECF51', '#B9646E', '#EECB5F'],
|
|
|
|
|
|
|
+ color: ['#7ECF51', '#B9464E', '#E3935D'],
|
|
|
tooltip: {
|
|
tooltip: {
|
|
|
trigger: 'axis',
|
|
trigger: 'axis',
|
|
|
axisPointer: { // 坐标轴指示器,坐标轴触发有效
|
|
axisPointer: { // 坐标轴指示器,坐标轴触发有效
|
|
@@ -806,6 +816,14 @@
|
|
|
$('#monthly_approve_statistic').load(url);
|
|
$('#monthly_approve_statistic').load(url);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //板块统计表
|
|
|
|
|
+ function getPlateStatistic() {
|
|
|
|
|
+ var start_time = $('#plate_start_time').val();
|
|
|
|
|
+ var end_time = $('#plate_end_time').val();
|
|
|
|
|
+ // 装载局部刷新返回的页面
|
|
|
|
|
+ $('#plate_approve_statistic').load(pagePath + "/land_statistic/approve/statistic/plate?start_time=" + start_time + "&end_time=" + end_time);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
//导出月度统计
|
|
//导出月度统计
|
|
|
function exportMonthlyStatistic() {
|
|
function exportMonthlyStatistic() {
|
|
|
var start_time = $('#monthly_start_time').val();
|
|
var start_time = $('#monthly_start_time').val();
|
|
@@ -820,14 +838,6 @@
|
|
|
window.open(pagePath + "/land_statistic/approve/statistic/plate/export?start_time=" + start_time + "&end_time=" + end_time);
|
|
window.open(pagePath + "/land_statistic/approve/statistic/plate/export?start_time=" + start_time + "&end_time=" + end_time);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //板块统计表
|
|
|
|
|
- function getPlateStatistic() {
|
|
|
|
|
- var start_time = $('#plate_start_time').val();
|
|
|
|
|
- var end_time = $('#plate_end_time').val();
|
|
|
|
|
- // 装载局部刷新返回的页面
|
|
|
|
|
- $('#plate_approve_statistic').load(pagePath + "/land_statistic/approve/statistic/plate?start_time=" + start_time + "&end_time=" + end_time);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
$(document).on("click", ".liHead", function () {
|
|
$(document).on("click", ".liHead", function () {
|
|
|
// console.log("点击了", $(this).next().is(":hidden"))
|
|
// console.log("点击了", $(this).next().is(":hidden"))
|
|
|
if (!$(this).next().is(":hidden")) {
|
|
if (!$(this).next().is(":hidden")) {
|