From b32944ffe3c00e4f29ad5b8c5d690d0f389dd07d Mon Sep 17 00:00:00 2001 From: meizf <48540969@qq.com> Date: Mon, 22 Dec 2025 21:40:17 +0800 Subject: [PATCH] =?UTF-8?q?1.PC=E9=A1=B5=E9=9D=A2=E5=A4=B4=E9=83=A8?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E8=B4=A6=E5=8F=B7=E5=90=8D=E7=A7=B0=E4=B8=8B?= =?UTF-8?q?=E9=9D=A2=E5=9B=A0=E6=B7=BB=E5=8A=A0=E5=8D=95=E4=BD=8D=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E8=80=8C=E8=B0=83=E6=95=B4=E5=B8=83=E5=B1=80=E6=8E=92?= =?UTF-8?q?=E7=89=88=202.=E9=A6=96=E9=A1=B5=E6=97=B6=E9=97=B4=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=A1=86=E6=B7=BB=E5=8A=A0=E6=8C=87=E7=A4=BA=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../statistical-new/scripts/charts-rank.js | 201 +++++++++--------- .../static/statistical/styles/home.css | 20 +- .../src/main/resources/templates/index.html | 37 +++- .../project/code/statistical/home.html | 38 ++-- 4 files changed, 171 insertions(+), 125 deletions(-) diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical-new/scripts/charts-rank.js b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical-new/scripts/charts-rank.js index f8eedc4e..114820ee 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical-new/scripts/charts-rank.js +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical-new/scripts/charts-rank.js @@ -85,13 +85,13 @@ function rankCommpany(data) { barWidth: '25%', showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] }, - data:cnts, - color:'#7ca9fb', itemStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] }, + data:cnts, + color:'#7ca9fb', label: { normal: { show: true, //是否显示标签 @@ -195,13 +195,13 @@ function rankInspect(data) { barWidth: '25%', showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] }, - data: cnts, - color: '#7ca9fb', itemStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] }, + data: cnts, + color: '#7ca9fb', label: { normal: { show: true, //是否显示标签 @@ -305,13 +305,13 @@ function rankComplaint(data) { barWidth: '25%', showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] }, - data: cnts, - color: '#7ca9fb', itemStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] }, + data: cnts, + color: '#7ca9fb', label: { normal: { show: true, //是否显示标签 @@ -851,7 +851,8 @@ function countDistrict(DISTRICT, singleLaw, unionLaw, enfEnt, entEeduction, comp }*/ }, legend: { - top: '0', + top: 0, + right: 0, padding: 5, itemGap: 20, itemWidth: 10, @@ -920,13 +921,13 @@ function countDistrict(DISTRICT, singleLaw, unionLaw, enfEnt, entEeduction, comp barWidth: '10%', showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:singleLaw, color:'#7baaf4', - itemStyle: { - borderRadius: [10, 10, 0, 0] - } }, { name:'联合执法', @@ -934,13 +935,13 @@ function countDistrict(DISTRICT, singleLaw, unionLaw, enfEnt, entEeduction, comp barWidth: '10%', showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:unionLaw, color:'#82dfe6', - itemStyle: { - borderRadius: [10, 10, 0, 0] - } }, { name:'被执法企业', @@ -948,23 +949,27 @@ function countDistrict(DISTRICT, singleLaw, unionLaw, enfEnt, entEeduction, comp barWidth: '10%', showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:enfEnt, color:'#a39ddf', - itemStyle: { - borderRadius: [10, 10, 0, 0] - } }, { name:'入企压减率', type:'bar', barWidth: '10%', + showBackground: true, + backgroundStyle: { + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] + }, data:entEeduction, color:'#75c99f', - itemStyle: { - borderRadius: [10, 10, 0, 0] - } }, { name:'涉企投诉', @@ -986,13 +991,13 @@ function countDistrict(DISTRICT, singleLaw, unionLaw, enfEnt, entEeduction, comp barWidth: '10%', showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:entAddress, color:'#a3d7f8', - itemStyle: { - borderRadius: [10, 10, 0, 0] - } } ] }; @@ -1098,15 +1103,15 @@ function toPercent(a, b) { name:'联合执法单位排行', type:'bar', barWidth: '25%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13, 12, 11, 9, 8, 7, 6, 5, 5, 4], color:'#7ca9fb', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -1212,15 +1217,15 @@ function toPercent(a, b) { name:'执法人员涉企执法数量', type:'bar', barWidth: '25%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13, 12, 11, 9, 8, 7, 6, 5, 5, 4], color:'#7ca9fb', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -1324,15 +1329,15 @@ function toPercent(a, b) { name:'入企压减率', type:'bar', barWidth: '25%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13, 12, 11, 9, 8, 7, 6, 5, 5, 4], color:'#7ca9fb', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -1435,15 +1440,15 @@ function toPercent(a, b) { name:'职权使用率', type:'bar', barWidth: '25%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13, 12, 11, 9, 8, 7, 6, 5, 5, 4], color:'#7ca9fb', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -1547,15 +1552,15 @@ function toPercent(a, b) { name:'职权休眠率', type:'bar', barWidth: '25%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13, 12, 11, 9, 8, 7, 6, 5, 5, 4], color:'#7ca9fb', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -1661,15 +1666,15 @@ function toPercent(a, b) { name:'职权使用次数', type:'bar', barWidth: '25%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13, 12, 11, 9, 8, 7, 6, 5, 5, 4], color:'#7ca9fb', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -1778,15 +1783,15 @@ function toPercent(a, b) { name:'职权被投诉次数', type:'bar', barWidth: '25%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13, 12, 11, 9, 8, 7, 6, 5, 5, 4], color:'#7ca9fb', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -2004,7 +2009,8 @@ function toPercent(a, b) { }*/ }, legend: { - top: '0', + top: 0, + right: 0, padding: 5, itemGap: 20, itemWidth: 10, @@ -2073,14 +2079,15 @@ function toPercent(a, b) { type:'bar', barWidth: '10%', showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13078, 13980, 15687, 6093, 12092, 16073, 9087,7254,8088,3021,4596], color:'#7baaf4', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -2092,15 +2099,15 @@ function toPercent(a, b) { name:'联合执法', type:'bar', barWidth: '10%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13078, 13980, 15687, 6093, 12092, 16073, 9087,7254,8088,3021,4596], color:'#82dfe6', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -2112,15 +2119,15 @@ function toPercent(a, b) { name:'被执法企业', type:'bar', barWidth: '10%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13078, 13980, 15687, 6093, 12092, 16073, 9087,7254,8088,3021,4596], color:'#a39ddf', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -2132,11 +2139,15 @@ function toPercent(a, b) { name:'入企压减率', type:'bar', barWidth: '10%', + showBackground: true, + backgroundStyle: { + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] + }, data:[1380, 1309, 1056, 930, 1800, 1660, 1900, 1272, 1160, 1030, 1745], color:'#75c99f', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -2148,15 +2159,15 @@ function toPercent(a, b) { name:'涉企投诉', type:'bar', barWidth: '10%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[1378, 1380, 1587, 603, 1092, 1673, 987,754,808,301,496], color:'#fc9797', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 @@ -2168,15 +2179,15 @@ function toPercent(a, b) { name:'企业数量', type:'bar', barWidth: '10%', - showBackground: true, + showBackground: true, backgroundStyle: { - borderRadius: [10, 10, 0, 0] + borderRadius: [5, 5, 0, 0] + }, + itemStyle: { + borderRadius: [5, 5, 0, 0] }, data:[13078, 13980, 15687, 6093, 12092, 16073, 9087,7254,8088,3021,4596], color:'#a3d7f8', - itemStyle: { - borderRadius: [10, 10, 0, 0] - }, label: { normal: { show: true, //是否显示标签 diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css index b3e78ddd..c87982f4 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css @@ -144,7 +144,7 @@ html, body { height: 100%; } -.select_item > label > a::after, .select_item > input::after { +.select_item > label::after, .select_item > .time_wrap::after { position: absolute; top: 0.45rem; right: -0.2rem; @@ -157,12 +157,24 @@ html, body { font-size: 1.25rem; } -.select_item > input { +.select_item > .time_wrap::after { + position: absolute; + top: 0.95rem; +} + +.time_wrap { + display: inline-block; + position: relative; + width: 18rem; + height: 2.15rem; +} + +.select_item > .time_wrap > input { position: relative; margin: 0 2px; padding: 0 0.5rem; - width: 16.5rem; - height: 2.15rem; + width: 100%; + height: 100%; color: rgba(255, 255, 255, .8); background: linear-gradient(to top, transparent 0, rgba(59, 145, 253, 0.3), rgba(59, 145, 253, 0.05)); border: 0 none; diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/index.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/index.html index bd9cf89c..41884b6a 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/index.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/index.html @@ -4,7 +4,7 @@ - 执法监督码管理系统 + 深圳市执法监督码管理系统 @@ -81,6 +81,28 @@ border-color: rgb(0, 122, 248); float: left; } + + .nav.navbar-top-links li.user-menu { + min-width: 200px; + text-align: center; + } + + .nav.navbar-top-links li.user-menu > a > div { + display: flex ; + justify-content: center; + } + + .nav.navbar-right > li > a { + margin-top: 10px; + } + + .deptname { + /* position: absolute; */ + /* right: 10px; */ + color: rgba(255,255,255,.6); + line-height: 3; + white-space: nowrap; + } @@ -99,16 +121,17 @@ -
  • 全屏显示 - +