Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b9c7f8ab
authored
Mar 21, 2024
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
7f757649
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
src/pages/monitor/LineCharts.vue
src/pages/monitor/ParCharts.vue
src/pages/monitor/alarmAnalysis.vue
src/utils/mapService.js
src/pages/monitor/LineCharts.vue
View file @
b9c7f8a
...
...
@@ -35,8 +35,6 @@ export default {
},
methods
:
{
drawBarLine
()
{
console
.
log
(
this
.
xAxisData
);
console
.
log
(
this
.
dataList
);
this
.
barLineOptions
=
{
xAxis
:
{
type
:
'category'
,
...
...
src/pages/monitor/ParCharts.vue
View file @
b9c7f8a
...
...
@@ -76,7 +76,7 @@ export default {
console
.
log
(
this
.
list
);
// 指定图表的配置项和数据
var
storedList
=
this
.
list
;
const
pointerData
=
this
.
list
.
length
?
this
.
list
[
0
].
alarmLevel
:
0
const
pointerData
=
this
.
list
.
length
?
this
.
list
[
0
].
value
:
0
this
.
option
=
{
backgroundColor
:
""
,
...
...
@@ -106,7 +106,7 @@ export default {
if
(
!
storedList
.
length
)
{
return
`{无警情<br/>无风险}`
;
}
else
{
return
`
${
storedList
[
0
].
alarmLevel
}
级警情`
;
return
`
${
storedList
[
0
].
alarmLevel
/
1
}
级警情`
;
}
},
textStyle
:
{
...
...
src/pages/monitor/alarmAnalysis.vue
View file @
b9c7f8a
This diff is collapsed.
Click to expand it.
src/utils/mapService.js
View file @
b9c7f8a
...
...
@@ -506,6 +506,7 @@ MapService.prototype = {
riskBtn
.
classList
.
add
(
'resident_btn_hidden'
);
}
riskBtn
.
onclick
=
function
()
{
console
.
log
(
info
);
queryCode
=
`vehicleId=
${
info
.
vidCode
}
`
mapService
.
openPage
(
`#/monitor/alarmAnalysis?
${
queryCode
}
`
)
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment