Browse Source

1.页面数据统计样式修改

2.检查计划统计年季月统计图表修改
v6
meizf 11 months ago
parent
commit
85af02c8e0
  1. 4
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html
  2. 2
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/deptStatic/deptStatic.html
  3. 6
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registerView.html
  4. 25
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
  5. 62
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html
  6. 2
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsEnterprise/statisticsEnterprise.html

4
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html

@ -112,7 +112,7 @@
<div class="static-content"> <div class="static-content">
<ul> <ul>
<li id="complaintA" th:fragment="complaintA"> <li id="complaintA" th:fragment="complaintA">
<p><span id="timeString"></span></p> <p><span id="timeString" style="margin: 0"></span>:</p>
<p><label th:text="投诉数量"></label><b th:text="${Number1}"></b></p> <p><label th:text="投诉数量"></label><b th:text="${Number1}"></b></p>
<p></i><label th:text="被投诉对象"></label><b th:text="${Number2}"></b></p> <p></i><label th:text="被投诉对象"></label><b th:text="${Number2}"></b></p>
</li> </li>
@ -183,7 +183,7 @@
<ul> <ul>
<li id="complaintB" th:fragment="complaintB"> <li id="complaintB" th:fragment="complaintB">
<!-- <p><span th:text="|${year}年:|"></span></p>--> <!-- <p><span th:text="|${year}年:|"></span></p>-->
<p><span id="timeString2"></span></p> <p><span id="timeString2" style="margin: 0"></span>:</p>
<p><label th:text="总数量"></label><b th:text="${Number3}"></b></p> <p><label th:text="总数量"></label><b th:text="${Number3}"></b></p>
<p><label th:text="投诉数量"></label><b th:text="${Number3}"></b></p> <p><label th:text="投诉数量"></label><b th:text="${Number3}"></b></p>
<p></i><label th:text="占比总计"></label><b th:text="${dou}"></b></p> <p></i><label th:text="占比总计"></label><b th:text="${dou}"></b></p>

2
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/deptStatic/deptStatic.html

@ -40,7 +40,7 @@
<div class="static-content"> <div class="static-content">
<ul> <ul>
<li id="b" th:fragment="b"> <li id="b" th:fragment="b">
<p>全市:</p> <p>全市:</p>
<p><label th:text="执法单位"></label><b th:text="${deptNumber}"></b></p> <p><label th:text="执法单位"></label><b th:text="${deptNumber}"></b></p>
<p></i><label th:text="执法人员"></label><b th:text="${lawNumber}"></b></p> <p></i><label th:text="执法人员"></label><b th:text="${lawNumber}"></b></p>
</li> </li>

6
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registerView.html

@ -37,9 +37,9 @@
<div class="static-content"> <div class="static-content">
<ul> <ul>
<li id="b"> <li id="b">
<p>近30天</p> <p>近30天:</p>
<p><label>被执法企业数量</label><b id="warnEn"></b> 家</p> <p><label>被执法企业数量</label><b id="warnEn"></b></p>
<p><label>总执法次数</label><b id="warnCount"></b> 次</p> <p><label>总执法次数</label><b id="warnCount"></b></p>
</li> </li>
</ul> </ul>
</div> </div>

25
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html

@ -167,7 +167,7 @@
<p th:text="|占比 ${checkDouble}|"></p> <p th:text="|占比 ${checkDouble}|"></p>
</li>--> </li>-->
<li id="a" th:fragment="a"> <li id="a" th:fragment="a">
<p><span id="timeString"></span></p> <p><span id="timeString" style="margin: 0"></span>:</p>
<p><label th:text="涉企执法总数"></label><b th:text="${total}"></b></p> <p><label th:text="涉企执法总数"></label><b th:text="${total}"></b></p>
<p><label th:text="${check}"></label><b th:text="${checkNumber}"></b><span th:text="占比"></span><b th:text="${checkDouble}"></b></p> <p><label th:text="${check}"></label><b th:text="${checkNumber}"></b><span th:text="占比"></span><b th:text="${checkDouble}"></b></p>
</li> </li>
@ -243,7 +243,7 @@
</ul> </ul>
</div> </div>
</form> </form>
<div id="echartRegistration" style="width: 600px;height:300px;"></div> <div id="echartRegistration" style="width: 750px;height:300px;"></div>
</div> </div>
<!--<div class="chart-box" id="container1" style="width: 600px; height: 600px;"></div> <!--<div class="chart-box" id="container1" style="width: 600px; height: 600px;"></div>
<div class="chart-box" id="container2" style="width: 500px; height: 500px;"></div> <div class="chart-box" id="container2" style="width: 500px; height: 500px;"></div>
@ -251,15 +251,15 @@
<div class="chart-box" id="container4" style="width: 500px; height: 500px;"></div>--> <div class="chart-box" id="container4" style="width: 500px; height: 500px;"></div>-->
<div class="chart-box"> <div class="chart-box">
<h3 class="chart-title"><span id="echarts2-title" class="chart-title"></span>执法数量排行(TOP10)</h3> <h3 class="chart-title"><span id="echarts2-title" class="chart-title"></span>执法数量排行(TOP10)</h3>
<div class="echarts" id="echarts2" style="width: 800px; height: 300px;"></div> <div class="echarts" id="echarts2" style="width: 750px; height: 300px;"></div>
</div> </div>
<div class="chart-box"> <div class="chart-box">
<h3 class="chart-title"><span id="echarts3-title" class="chart-title"></span>执法数量排行(TOP10)</h3> <h3 class="chart-title"><span id="echarts3-title" class="chart-title"></span>执法数量排行(TOP10)</h3>
<div class="echarts" id="echarts3" style="width: 600px; height: 300px;"></div> <div class="echarts" id="echarts3" style="width: 750px; height: 300px;"></div>
</div> </div>
<div class="chart-box"> <div class="chart-box">
<h3 class="chart-title"><span id="echarts4-title" class="chart-title"></span>执法数量排行(TOP10)</h3> <h3 class="chart-title"><span id="echarts4-title" class="chart-title"></span>执法数量排行(TOP10)</h3>
<div class="echarts" id="echarts4" style="width: 800px; height: 300px;"></div> <div class="echarts" id="echarts4" style="width: 750px; height: 300px;"></div>
</div> </div>
</div> </div>
</div> </div>
@ -742,11 +742,6 @@
textStyle: { textStyle: {
color: 'rgba(0,0,0,.5)' color: 'rgba(0,0,0,.5)'
}, },
formatter: function (value) {
// 设定一个最大长度,例如10个字符
const maxLength = 6;
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value;
}
}, },
splitLine:{ splitLine:{
lineStyle:{ lineStyle:{
@ -863,11 +858,6 @@
textStyle: { textStyle: {
color: 'rgba(0,0,0,.5)' color: 'rgba(0,0,0,.5)'
}, },
formatter: function (value) {
// 设定一个最大长度,例如10个字符
const maxLength = 6;
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value;
}
}, },
splitLine:{ splitLine:{
lineStyle:{ lineStyle:{
@ -985,11 +975,6 @@
textStyle: { textStyle: {
color: 'rgba(0,0,0,.5)' color: 'rgba(0,0,0,.5)'
}, },
formatter: function (value) {
// 设定一个最大长度,例如10个字符
const maxLength = 6;
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value;
}
}, },
splitLine:{ splitLine:{
lineStyle:{ lineStyle:{

62
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html

@ -28,6 +28,7 @@
<div class="container-div"> <div class="container-div">
<div class="row"> <div class="row">
<div class="col-sm-12 search-collapse"> <div class="col-sm-12 search-collapse">
<form id="formId"> <form id="formId">
<input type="hidden" id="timeType" name="timeType"/> <input type="hidden" id="timeType" name="timeType"/>
<input type="hidden" id="bureauDeptId" name="bureauDeptId"/> <input type="hidden" id="bureauDeptId" name="bureauDeptId"/>
@ -87,7 +88,7 @@
<div class="static-content"> <div class="static-content">
<ul> <ul>
<li id="b"> <li id="b">
<p><span id="timeString"></span>:</p> <p><span id="timeString" style="margin: 0"></span>:</p>
<p><label>计划总数</label><b><span id="total">0</span></b></p> <p><label>计划总数</label><b><span id="total">0</span></b></p>
<p><label>年度计划</label><b><span id="yearTotal">0</span></b></p> <p><label>年度计划</label><b><span id="yearTotal">0</span></b></p>
<p><label>季度计划</label><b><span id="quarterTotal">0</span></b></p> <p><label>季度计划</label><b><span id="quarterTotal">0</span></b></p>
@ -141,7 +142,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> <!--</div>-->
<script type="text/javascript" src="/js/echarts.min.js"></script> <script type="text/javascript" src="/js/echarts.min.js"></script>
<th:block th:include="zdxtInclude :: footer"/> <th:block th:include="zdxtInclude :: footer"/>
<th:block th:include="zdxtInclude :: datetimepicker-js" /> <th:block th:include="zdxtInclude :: datetimepicker-js" />
@ -678,9 +679,12 @@
data:xdata, data:xdata,
axisLabel: { axisLabel: {
show: true, show: true,
rotate: '30', interval: 0,
textStyle: { rotate: 30,
color: 'rgba(0,0,0,.5)' formatter: function (value) {
// 设定一个最大长度,例如10个字符
const maxLength = 6;
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value;
} }
}, },
splitLine:{ splitLine:{
@ -742,6 +746,12 @@
] ]
) )
}}, }},
label: {
normal: {
show: true, //是否显示标签
position: 'outside', //标签的位置。
}
},
data:ydata, data:ydata,
}, },
] ]
@ -823,9 +833,12 @@
data:xdata, data:xdata,
axisLabel: { axisLabel: {
show: true, show: true,
rotate: '30', interval: 0,
textStyle: { rotate: 30,
color: 'rgba(0,0,0,.5)' formatter: function (value) {
// 设定一个最大长度,例如10个字符
const maxLength = 6;
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value;
} }
}, },
splitLine:{ splitLine:{
@ -887,6 +900,12 @@
] ]
) )
}}, }},
label: {
normal: {
show: true, //是否显示标签
position: 'outside', //标签的位置。
}
},
data:ydata1, data:ydata1,
}, },
{ {
@ -910,6 +929,12 @@
] ]
) )
}}, }},
label: {
normal: {
show: true, //是否显示标签
position: 'outside', //标签的位置。
}
},
data:ydata2, data:ydata2,
}, },
{ {
@ -934,6 +959,12 @@
] ]
) )
}}, }},
label: {
normal: {
show: true, //是否显示标签
position: 'outside', //标签的位置。
}
},
data:ydata3, data:ydata3,
}, },
{ {
@ -957,6 +988,12 @@
] ]
) )
}}, }},
label: {
normal: {
show: true, //是否显示标签
position: 'outside', //标签的位置。
}
},
data:ydata4, data:ydata4,
}, },
] ]
@ -1063,9 +1100,12 @@
data:xdata, data:xdata,
axisLabel: { axisLabel: {
show: true, show: true,
rotate: '30', interval: 0,
textStyle: { rotate: 30,
color: 'rgba(0,0,0,.5)' formatter: function (value) {
// 设定一个最大长度,例如10个字符
const maxLength = 6;
return value.length > maxLength ? value.slice(0, maxLength) + '...' : value;
} }
}, },
splitLine:{ splitLine:{

2
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statisticsEnterprise/statisticsEnterprise.html

@ -161,7 +161,7 @@
<ul> <ul>
<li id="enterpriseFragment" th:fragment="enterpriseFragment"> <li id="enterpriseFragment" th:fragment="enterpriseFragment">
<!--<p><span th:text="|${year}年:|"></span></p>--> <!--<p><span th:text="|${year}年:|"></span></p>-->
<p><span>至今:</span></p> <p><span style="margin: 0">至今:</span></p>
<p><label th:text="企业数量"></label><b th:text="${number2}"></b></p> <p><label th:text="企业数量"></label><b th:text="${number2}"></b></p>
<p></i><label th:text="占比总计"></label><b th:text="${number3}"></b></p> <p></i><label th:text="占比总计"></label><b th:text="${number3}"></b></p>
</li> </li>

Loading…
Cancel
Save