Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
ocrCloudPlatformAdmin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ocr-cloud-platform
ocrCloudPlatformAdmin
Commits
9339121c
Commit
9339121c
authored
Apr 19, 2024
by
杨琪琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加ocr调用统计页
parent
912d1bba
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
245 additions
and
3 deletions
+245
-3
src/main/resources/application.yml
+2
-1
src/main/resources/static/css/callSupervision.css
+107
-0
src/main/resources/static/js/callSupervision/callChartOptions.js
+107
-0
src/main/resources/static/js/callSupervision/testData.jsson
+26
-0
src/main/resources/templates/callSupervision/index.html
+0
-0
src/main/resources/templates/home/console.html
+2
-2
src/main/resources/templates/server/serverList.html
+1
-0
No files found.
src/main/resources/application.yml
View file @
9339121c
spring
:
profiles
:
active
:
prod
active
:
local
jackson
:
time-zone
:
GMT+8
date-format
:
yyyy-MM-dd HH:mm:ss
...
...
@@ -17,6 +17,7 @@ eureka:
client
:
service-url
:
defaultZone
:
http://localhost:9000/eureka
enabled
:
false
instance
:
prefer-ip-address
:
true
instance-id
:
${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
...
...
src/main/resources/static/css/callSupervision.css
0 → 100644
View file @
9339121c
.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
:
#b3b3b30
d
;
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
:
#b3b3b30
d
;
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
:
#b3b3b30
d
;
}
.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
;
}
src/main/resources/static/js/callSupervision/callChartOptions.js
0 → 100644
View file @
9339121c
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
,
},
],
}
src/main/resources/static/js/callSupervision/testData.jsson
0 → 100644
View file @
9339121c
[
{
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"
},
]
src/main/resources/templates/callSupervision/index.html
View file @
9339121c
This diff is collapsed.
Click to expand it.
src/main/resources/templates/home/console.html
View file @
9339121c
...
...
@@ -27,8 +27,8 @@
const
year
=
d
.
getFullYear
();
const
month
=
d
.
getMonth
()
+
1
;
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://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://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";
document
.
getElementById
(
"consolePage"
).
src
=
url
;
</script>
</html>
src/main/resources/templates/server/serverList.html
View file @
9339121c
...
...
@@ -109,6 +109,7 @@
{
field
:
'createdBy'
,
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
:
'network'
,
title
:
'局域网'
,
align
:
'center'
,
width
:
180
,
sort
:
true
},
{
fixed
:
'right'
,
field
:
'accessService'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment