Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
sgaqgl-vue
Commits
adc38f01
Commit
adc38f01
authored
Oct 19, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
echart
parent
20d50b07
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
36 deletions
+59
-36
index.vue
src/views/threeViolations/homePage/index.vue
+59
-36
No files found.
src/views/threeViolations/homePage/index.vue
View file @
adc38f01
<
template
>
<
template
>
<!-- 外层排版-->
<!-- 外层排版-->
<div
class=
"home-page"
id=
"homePageBody"
:style=
"
{ height: height + 'px' }">
<!--
<div
class=
"home-page"
id=
"homePageBody"
:style=
"
{ height: height + 'px' }"> -->
<div
class=
"min_full"
>
<div
class=
"home-page full"
ref=
'homePageBody'
id=
"homePageBody"
style=
"overflow: hidden;"
>
<div
class=
"page-homepage"
id=
"homePage"
@
dblclick=
"handleDoubleClick"
style=
""
>
<div
class=
"page-homepage"
id=
"homePage"
@
dblclick=
"handleDoubleClick"
style=
""
>
<div
class=
"echarts_nav"
id=
"echarts_nav"
>
<div
class=
"echarts_nav"
id=
"echarts_nav"
>
<div
class=
"iconTable"
v-for=
"item in gsList"
:key=
"item.id"
@
click=
"bindGsid(item)"
>
<div
class=
"iconTable"
v-for=
"item in gsList"
:key=
"item.id"
@
click=
"bindGsid(item)"
>
...
@@ -71,7 +73,18 @@
...
@@ -71,7 +73,18 @@
<
/div
>
<
/div
>
<
div
class
=
"page-left-b page-left-3"
>
<
div
class
=
"page-left-b page-left-3"
>
<
div
class
=
"yhzl-big-box"
>
<
div
class
=
"yhzl-big-box"
>
<
div
id
=
"yjylChart"
class
=
"chart-auto"
><
/div
>
<
div
v
-
echartResize
=
"()=>{
fxpcChart.resize();
yhclChart.resize();
yjylChart.resize();
yhzlChart.resize();
rfxpcChart.resize();
lzglChart.resize();
ygzcChart.resize();
height=refs('homePageBody').parentNode.clientHeight;
}
"
id
=
"yjylChart"
class
=
"chart-auto"
><
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -161,6 +174,8 @@
...
@@ -161,6 +174,8 @@
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
script
>
<
script
>
...
@@ -219,6 +234,12 @@ export default {
...
@@ -219,6 +234,12 @@ export default {
}
}
}
,
}
,
height
(
value
){
height
(
value
){
document
.
addEventListener
(
'fullscreenchange'
,
(
event
)
=>
{
if
(
!
document
.
fullscreenElement
)
{
// 全屏已退出
console
.
log
(
'Exited full screen'
);
}
}
);
// setTimeout(() =>
{
// setTimeout(() =>
{
// this.fxpcChart.resize();
// this.fxpcChart.resize();
...
@@ -238,9 +259,11 @@ export default {
...
@@ -238,9 +259,11 @@ export default {
activated
()
{
activated
()
{
console
.
log
(
'activated'
)
console
.
log
(
'activated'
)
}
,
}
,
mounted
()
{
mounted
()
{
this
.
postGs
();
this
.
postGs
();
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
height
=
document
.
getElementById
(
'homePageBody'
).
parentNode
.
clientHeight
;
this
.
height
=
document
.
getElementById
(
'homePageBody'
).
parentNode
.
clientHeight
;
this
.
carHeight
=
this
.
height
*
0.4
-
60
+
'px'
;
this
.
carHeight
=
this
.
height
*
0.4
-
60
+
'px'
;
}
)
}
)
...
...
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