Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
V3-TailingPond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
V3-TailingPond
Commits
116e8ad4
Commit
116e8ad4
authored
Jun 26, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 大屏浸润线容器点击跳转后台页面浸润线页面,传递设备id并设置设备值
parent
ba8a07b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
index.vue
src/views/Screen/index.vue
+13
-0
index.vue
src/views/dataMonitor/jrx/history/index.vue
+6
-0
No files found.
src/views/Screen/index.vue
View file @
116e8ad4
...
...
@@ -376,6 +376,19 @@ export default {
}
};
Highchart
.
template
.
high
(
panel
.
el
,
data
,
opts
);
// 新增:给图表外围容器添加点击事件
panel
.
el
.
addEventListener
(
"
click
"
,
()
=>
{
const
deviceId
=
panel
.
item
.
deviceid
;
if
(
deviceId
)
{
window
.
open
(
`/dataMonitor/jrx/history?deviceId=
${
deviceId
}
`
,
"
width=800,height=600
"
);
}
else
{
console
.
warn
(
"
未获取到有效的deviceId
"
);
}
});
});
}
else
if
(
type
===
"
t_6
"
)
{
// 降雨量
...
...
src/views/dataMonitor/jrx/history/index.vue
View file @
116e8ad4
...
...
@@ -175,6 +175,12 @@ export default {
this
.
form
.
config
=
this
.
pageApi
.
config
;
this
.
rules
=
reqApi
.
getRules
(
this
.
Dict
.
baseInfo
)
||
this
.
Dict
.
rules
||
{};
this
.
pageApi
.
created
&&
this
.
pageApi
.
created
();
// 新增:获取地址栏deviceId参数并设置到form.query.code
const
deviceId
=
this
.
$route
.
query
.
deviceId
;
if
(
deviceId
)
{
this
.
form
.
query
.
sensorid
=
deviceId
;
// 将deviceId赋值到查询条件的code字段
}
},
mounted
()
{
// 新增:动态调整Canvas尺寸 目前支持7层。
...
...
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