Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-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
李苏
dxgaqgl-vue
Commits
c45c45c6
Commit
c45c45c6
authored
Dec 18, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患排查跳转
parent
53e17b5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
48 deletions
+82
-48
index.vue
src/views/dangerManagement/queryDangerRecords/index.vue
+4
-0
index.vue
src/views/threeViolations/homePage/index.vue
+78
-48
No files found.
src/views/dangerManagement/queryDangerRecords/index.vue
View file @
c45c45c6
...
@@ -109,6 +109,10 @@
...
@@ -109,6 +109,10 @@
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
queryParams
=
{
...
this
.
queryParams
,
...
this
.
$route
.
query
}
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
...
...
src/views/threeViolations/homePage/index.vue
View file @
c45c45c6
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
</div>
</div>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;margin-top: 15px;margin-bottom: 15px;gap:10px"
>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;margin-top: 15px;margin-bottom: 15px;gap:10px"
>
<div
style=
"width: 32.5%;height: 100%;"
@
click=
"$router.push('/dangerManagement/queryDangerRecords')"
>
<div
style=
"width: 32.5%;height: 100%;"
>
<div
class=
"full data-box1"
>
<div
class=
"full data-box1"
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -502,6 +502,35 @@
...
@@ -502,6 +502,35 @@
query
:
queryParams
query
:
queryParams
});
});
})
})
/* 隐患排查跳转 */
this
.
eyhpc
.
on
(
'click'
,
(
params
)
=>
{
let
flid
=
''
let
flName
=
params
.
name
Object
.
keys
(
this
.
yhlxMap
).
forEach
(
key
=>
{
if
(
this
.
yhlxMap
[
key
]
==
flName
)
{
flid
=
key
}
})
let
ztMap
=
{
'待分配'
:
'I'
,
'待整改'
:
'Z'
,
'待复查'
:
'F'
,
'完成'
:
'C'
,
}
let
zt
=
ztMap
[
params
.
seriesName
]
let
queryParams
=
{
ksrq
:
this
.
yhpcKsrq
,
jsrq
:
this
.
yhpcJsrq
,
flid
,
zt
}
this
.
$router
.
push
({
path
:
'/dangerManagement/queryDangerRecords'
,
query
:
queryParams
});
})
/* 自动 */
/* 自动 */
this
.
timer2
=
setInterval
(()
=>
{
this
.
timer2
=
setInterval
(()
=>
{
...
@@ -519,8 +548,8 @@
...
@@ -519,8 +548,8 @@
},
},
data
()
{
data
()
{
return
{
return
{
yhpcKsrq
:
''
,
yhpcKsrq
:
''
,
yhpcJsrq
:
''
,
yhpcJsrq
:
''
,
yhlxMap
:
{},
yhlxMap
:
{},
clztMap
:
{},
clztMap
:
{},
orgname
:
allUserInfo
.
orgname
,
orgname
:
allUserInfo
.
orgname
,
...
@@ -1024,8 +1053,8 @@
...
@@ -1024,8 +1053,8 @@
let
zList
=
[]
let
zList
=
[]
let
cList
=
[]
let
cList
=
[]
let
fList
=
[]
let
fList
=
[]
this
.
yhpcJsrq
=
records
[
'jsrq'
]
this
.
yhpcJsrq
=
records
[
'jsrq'
]
this
.
yhpcKsrq
=
records
[
'ksrq'
]
this
.
yhpcKsrq
=
records
[
'ksrq'
]
Object
.
keys
(
records
).
forEach
(
key
=>
{
Object
.
keys
(
records
).
forEach
(
key
=>
{
if
(
key
!=
'jsrq'
&&
key
!=
'ksrq'
)
{
if
(
key
!=
'jsrq'
&&
key
!=
'ksrq'
)
{
...
@@ -1055,7 +1084,7 @@
...
@@ -1055,7 +1084,7 @@
}
}
},
},
color
:
[
'#ffb56b'
,
'#FF7474'
,
'#ffae6b'
,
'#91cc75'
],
color
:
[
'#ffb56b'
,
'#FF7474'
,
'#ffae6b'
,
'#91cc75'
],
grid
:
{
grid
:
{
top
:
'10%'
,
top
:
'10%'
,
left
:
'3%'
,
left
:
'3%'
,
...
@@ -1099,49 +1128,50 @@
...
@@ -1099,49 +1128,50 @@
}],
}],
series
:
[{
series
:
[{
name
:
'待分配'
,
name
:
'待分配'
,
type
:
'bar'
,
type
:
'bar'
,
data
:
iList
,
data
:
iList
,
label
:
{
label
:
{
show
:
true
,
show
:
true
,
position
:
'top'
,
// 数字显示在柱子上方
position
:
'top'
,
// 数字显示在柱子上方
color
:
'#fff'
color
:
'#fff'
},
barWidth
:
'15px'
},
},
barWidth
:
'15px'
{
},
name
:
'待整改'
,
{
type
:
'bar'
,
name
:
'待整改'
,
data
:
zList
,
type
:
'bar'
,
label
:
{
data
:
zList
,
show
:
true
,
label
:
{
position
:
'top'
,
// 数字显示在柱子上方
show
:
true
,
color
:
'#fff'
position
:
'top'
,
// 数字显示在柱子上方
},
color
:
'#fff'
barWidth
:
'15px'
},
},
barWidth
:
'15px'
{
},
name
:
'待复查'
,
{
type
:
'bar'
,
name
:
'待复查'
,
data
:
fList
,
type
:
'bar'
,
label
:
{
data
:
fList
,
show
:
true
,
label
:
{
position
:
'top'
,
// 数字显示在柱子上方
show
:
true
,
color
:
'#fff'
position
:
'top'
,
// 数字显示在柱子上方
},
color
:
'#fff'
barWidth
:
'15px'
},
},
barWidth
:
'15px'
{
},
name
:
'完成'
,
{
type
:
'bar'
,
name
:
'完成'
,
data
:
cList
,
type
:
'bar'
,
label
:
{
data
:
cList
,
show
:
true
,
label
:
{
position
:
'top'
,
// 数字显示在柱子上方
show
:
true
,
color
:
'#fff'
position
:
'top'
,
// 数字显示在柱子上方
},
color
:
'#fff'
barWidth
:
'15px'
},
}
barWidth
:
'15px'
]
}]
};
};
this
.
eyhpc
.
setOption
(
option
);
this
.
eyhpc
.
setOption
(
option
);
...
...
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