Commit 9339121c by 杨琪琪

添加ocr调用统计页

parent 912d1bba
spring: spring:
profiles: profiles:
active: prod active: local
jackson: jackson:
time-zone: GMT+8 time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
...@@ -17,6 +17,7 @@ eureka: ...@@ -17,6 +17,7 @@ eureka:
client: client:
service-url: service-url:
defaultZone: http://localhost:9000/eureka defaultZone: http://localhost:9000/eureka
enabled: false
instance: instance:
prefer-ip-address: true prefer-ip-address: true
instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port} instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
......
.layui-form {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.layui-form-item {
margin-bottom: 0 !important;
}
.layui-input-block {
margin-left: 15px;
}
.layui-form-switch {
margin-top: 0 !important;
}
.layui-input-block {
color: #fff !important;
}
.content-box {
color: #fff;
background-color: #b3b3b30d;
margin: 5px;
padding: 5px;
}
.box-border {
border: 1px solid #323232;
}
.box-title {
color: #fff;
text-align: center;
height: 15px;
}
.box-content {
color: #fff;
}
.box-content .num {
font-width: bolder;
}
.time-select-box {
width: 100%;
}
.layui-table {
background-color: #b3b3b30d;
color: #2d6aea;
}
.layui-table-view {
border-color: #323232;
margin: 0;
}
.layui-table thead tr {
background-color: #a1b9fd24;
border-color: #323232;
}
.layui-table tbody tr:hover {
background-color: #a1b9fd24;
}
.layui-table-header {
background-color: #b3b3b30d;
}
.layui-table td, .layui-table th, .layui-table-header {
border-color: #323232;
}
.flex {
display: flex;
}
.flex-row {
flex-direction: row;
}
.flex-align {
align-items: center;
}
.flex-justify {
justify-content: center;
}
.flex-justify-between {
justify-content: space-between;
}
/* 隐藏时间选择器顶部的切换按钮 */
#layui-laydate2 .laydate-prev-y,.laydate-next-y, .laydate-prev-m, .laydate-next-m {
display: none !important;
}
#layui-laydate3 .laydate-prev-y,.laydate-next-y .laydate-prev-m, .laydate-next-m {
display: none !important;
}
var defaultLineOptions = {
tooltip: {
trigger: 'axis'
},
grid: {
left: '3%',
right: '4%',
bottom: '12%',
containLabel: true
},
legend: {
data: [],
textStyle: {
color: "#fff",
fontSize: 13,
},
},
xAxis: {
type: 'time',
boundaryGap: false,
},
yAxis: {
type: 'value',
min: 0,
minInterval: 1,
},
dataZoom: [
{
type: 'inside',
start: 0,
end: 20
},
{
start: 0,
end: 20
}
],
series: [
{
type: "line",
data: []
}
]
}
var defaultBarOptions = {
grid: {
left: 5,
right: 5,
top: 10,
bottom: 10,
containLabel: true,
show: false,
},
tooltip: {
show: false,
},
xAxis: {
show: false,
axisLine: {
show: false,
},
axisTick: {
show: false,
},
axisLabel: {
show: false,
},
},
yAxis: [
{
show: true,
type: "category",
inverse: true,
data: ['广西高院', '玉林中院', '桂林中院', '贵港中院', '南宁中院', '来宾中院', '贺州中院'],
axisLine: {
show: false,
},
axisTick: {
show: false,
},
axisLabel: {
color: "#fff",
fontSize: 12,
},
},
],
series: [
{
type: "bar",
hoverAnimation: false,
data: [1233, 23423, 4323, 12121, 5234, 4234, 234234],
// barGap:'30px',
itemStyle: {
normal: {
// color: "#5AC3C3",
// barBorderRadius: 20,
},
},
label: {
show: false,
},
barCategoryGap: 30,
barWidth: 10,
},
],
}
[
{
id: "1",
name: "147.1.7.131",
state: 1,
callNum: "4"
},
{
id: "2",
name: "147.1.7.132",
state: 1,
callNum: "4"
},
{
id: "3",
name: "147.1.7.133",
state: 1,
callNum: "4"
},
{
id: "4",
name: "147.1.7.134",
state: 2,
callNum: "4"
},
]
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
const year = d.getFullYear(); const year = d.getFullYear();
const month = d.getMonth() + 1; const month = d.getMonth() + 1;
const day = d.getDate(); const day = d.getDate();
// let url = "http://192.168.1.230:9300/d/Ews-KJ84z/ge-yuan-ocrdiao-yong-qing-kuang?orgId=1&var-server=192.168.1.230&var-year=" + year + "&var-month=" + month + "&var-day=" + day + "&var-job=os-node&var-node=192.168.1.230:9100&from=now-5m&to=now&refresh=5s&kiosk"; let url = "http://192.168.1.230:9300/d/Ews-KJ84z/ge-yuan-ocrdiao-yong-qing-kuang?orgId=1&var-server=192.168.1.230&var-year=" + year + "&var-month=" + month + "&var-day=" + day + "&var-job=os-node&var-node=192.168.1.230:9100&from=now-5m&to=now&refresh=5s&kiosk";
let url = "http://147.1.5.77:3000/d/Ews-KJ84z/ge-yuan-ocrdiao-yong-qing-kuang?orgId=1&var-server=147.1.5.77&var-year=" + year + "&var-month=" + month + "&var-day=" + day + "&var-job=os-node&var-node=147.1.5.77:9100&from=now-5m&to=now&refresh=5s&kiosk"; // let url = "http://147.1.5.77:3000/d/Ews-KJ84z/ge-yuan-ocrdiao-yong-qing-kuang?orgId=1&var-server=147.1.5.77&var-year=" + year + "&var-month=" + month + "&var-day=" + day + "&var-job=os-node&var-node=147.1.5.77:9100&from=now-5m&to=now&refresh=5s&kiosk";
document.getElementById("consolePage").src = url; document.getElementById("consolePage").src = url;
</script> </script>
</html> </html>
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
{field: 'createdBy', title: '创建者', align: 'center', width: 180, sort: true}, {field: 'createdBy', title: '创建者', align: 'center', width: 180, sort: true},
{field: 'updatedTime', title: '修改时间', align: 'center', width: 180, sort: true}, {field: 'updatedTime', title: '修改时间', align: 'center', width: 180, sort: true},
{field: 'updatedBy', title: '更新者', align: 'center', width: 180, sort: true}, {field: 'updatedBy', title: '更新者', align: 'center', width: 180, sort: true},
{field: 'network', title: '局域网', align: 'center', width: 180, sort: true},
{ {
fixed: 'right', fixed: 'right',
field: 'accessService', field: 'accessService',
...@@ -310,4 +311,4 @@ ...@@ -310,4 +311,4 @@
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment