Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
Nei_Meng_An_Jian_4
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
Kimber
Nei_Meng_An_Jian_4
Commits
9af5795c
Commit
9af5795c
authored
Mar 12, 2021
by
张浩然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成
parent
4a153dd9
Changes
14
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
220 additions
and
261 deletions
+220
-261
fengxian.js
src/api/fengxian.js
+9
-0
yinhuan.js
src/api/yinhuan.js
+9
-0
CommHeader.vue
src/components/comm/CommHeader.vue
+1
-1
dxkqDialog.vue
src/components/dxkq/dxkqDialog.vue
+67
-188
dxkqZongHe.vue
src/components/dxkq/dxkqZongHe.vue
+0
-1
fenxian_right.vue
src/components/fenxian/fenxian_right.vue
+22
-41
table.vue
src/components/wkk_environment/table.vue
+1
-6
yinhuan_left.vue
src/components/yinhuan/yinhuan_left.vue
+1
-1
yinhuan_right.vue
src/components/yinhuan/yinhuan_right.vue
+101
-16
index.html
web/index.html
+1
-1
chunk-2179b226.5a2d9eeb.css
web/static/css/chunk-2179b226.5a2d9eeb.css
+1
-0
app.a0da5e93.js
web/static/js/app.a0da5e93.js
+1
-1
chunk-2179b226.c2078801.js
web/static/js/chunk-2179b226.c2078801.js
+5
-5
chunk-573f826d.d0671cb7.js
web/static/js/chunk-573f826d.d0671cb7.js
+1
-0
No files found.
src/api/fengxian.js
View file @
9af5795c
...
@@ -9,3 +9,12 @@ export function getFXData(data) {
...
@@ -9,3 +9,12 @@ export function getFXData(data) {
});
});
}
}
// 一键发送
export
function
sendRiskSM
(
data
)
{
return
request5
({
url
:
"
api/hiddenTroubleCheck/sendRiskSM
"
,
method
:
"
get
"
,
params
:
data
});
}
src/api/yinhuan.js
View file @
9af5795c
...
@@ -62,3 +62,12 @@ export function getYJContingencyPlanData(data) {
...
@@ -62,3 +62,12 @@ export function getYJContingencyPlanData(data) {
params
:
data
params
:
data
});
});
}
}
// 隐患 研判历史
export
function
findAllCheckedHiddenTrouble
(
data
)
{
return
request5
({
url
:
"
api/hiddenTroubleCheck/findAllCheckedHiddenTrouble
"
,
method
:
"
get
"
,
params
:
data
});
}
\ No newline at end of file
src/components/comm/CommHeader.vue
View file @
9af5795c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
<
span
@
click=
"onClickActive(4)"
>
管理系统
</span
>
<
!--
<span
@
click=
"onClickActive(4)"
>
管理系统
</span>
--
>
</div>
</div>
</div>
</div>
...
...
src/components/dxkq/dxkqDialog.vue
View file @
9af5795c
<
template
>
<
template
>
<el-dialog
class=
"dxkq_dialog"
:visible.sync=
"dialogVisible"
top=
"10vh"
width=
"70%"
:before-close=
"handleClose"
>
<el-dialog
class=
"dxkq_dialog"
:visible.sync=
"dialogVisible"
top=
"10vh"
width=
"70%"
:before-close=
"handleClose"
>
<div
ref=
"myCharts"
class=
"charts_div"
></div>
<br>
<el-table
:data=
"tableList"
height=
"58vh"
>
<el-table-column
property=
"deviceid"
label=
"检测设备"
></el-table-column>
<el-table-column
property=
"value"
label=
"监测值"
></el-table-column>
<el-table-column
property=
"location"
label=
"安装位置"
></el-table-column>
<el-table-column
property=
"acquisitionTime"
label=
"时间"
></el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
background
:total=
"comm_total || 0"
@
current-change=
"currentChange"
></el-pagination>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
timeParse
,
randNum
}
from
'
@/utils
'
import
{
environment
}
from
'
@/api/weikuangku
'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
dialogVisible
:
false
,
dialogVisible
:
false
,
activeName
:
'
first
'
,
tableList
:
[],
comm_total
:
0
,
page_index
:
0
,
}
}
},
},
mounted
()
{
},
methods
:
{
methods
:
{
handleClose
()
{
core
()
{
this
.
dialogVisible
=
false
let
dataX
=
[]
let
series
=
[]
var
legendData
=
[]
var
legendSelected
=
{}
const
count
=
50
const
arr
=
[
{
name
:
"
PM25
"
,
data
:
randNum
(
22
,
23
,
count
),
nickname
:
"
PM2.5
"
,
color
:
"
#3A84FF
"
,
},
{
name
:
"
PM10
"
,
data
:
randNum
(
20
,
21
,
count
),
nickname
:
"
PM10
"
,
color
:
"
rgba(255,80,124,1)
"
,
},
{
name
:
"
ZS
"
,
data
:
randNum
(
23
,
24
,
count
),
nickname
:
"
噪音
"
,
color
:
"
rgba(12, 108, 227, 1)
"
,
},
{
name
:
"
TMP
"
,
data
:
randNum
(
1
,
1.4
,
count
),
nickname
:
"
温度
"
,
color
:
"
rgba(234, 242, 16, 1)
"
,
},
{
name
:
"
RH
"
,
data
:
randNum
(
1
,
1.2
,
count
),
nickname
:
"
湿度
"
,
color
:
"
rgba(8, 116, 227, 1)
"
,
},
{
name
:
"
PA
"
,
data
:
randNum
(
97
,
98
,
count
),
nickname
:
"
气压
"
,
color
:
"
rgba(2, 241, 137, 1)
"
,
},
{
name
:
"
CY
"
,
data
:
randNum
(
0
,
0.08
,
count
),
nickname
:
"
臭氧
"
,
color
:
"
rgba(22, 199, 243, 1)
"
,
},
{
name
:
"
EYHD
"
,
data
:
randNum
(
0
,
0.03
,
count
),
nickname
:
"
二氧化氮
"
,
color
:
"
rgba(69, 63, 197, 1)
"
,
},
{
name
:
"
EYHL
"
,
data
:
randNum
(
0
,
0.08
,
count
),
nickname
:
"
二氧化硫
"
,
color
:
"
rgba(220, 19, 56, 1)
"
,
},
{
name
:
"
YYHT
"
,
data
:
randNum
(
0
,
0.8
,
count
),
nickname
:
"
一氧化碳
"
,
color
:
"
rgba(220, 19, 56, 1)
"
,
},
{
name
:
"
VOC
"
,
data
:
randNum
(
0
,
1
,
count
),
nickname
:
"
挥发性有机化合物(VOC)
"
,
color
:
"
rgba(120, 255, 0, 1)
"
,
},
]
const
sum
=
5
*
60
*
1000
const
current
=
Date
.
parse
(
new
Date
())
for
(
let
i
=
0
;
i
<
count
;
i
++
)
{
dataX
.
push
(
timeParse
(
current
-
(
sum
*
i
)))
}
for
(
let
i
in
arr
)
{
var
index
=
0
;
if
(
Math
.
max
(...
arr
[
i
].
data
)
<
3
)
{
index
=
1
;
}
series
.
push
({
name
:
arr
[
i
].
nickname
,
type
:
"
line
"
,
smooth
:
true
,
itemStyle
:
{
normal
:
{
color
:
arr
[
i
].
color
,
},
},
},
yAxisIndex
:
index
,
data
:
arr
[
i
].
data
,
});
legendData
.
push
(
arr
[
i
].
nickname
)
let
nickname
=
arr
[
i
].
nickname
environmentData
()
{
const
params
=
{
if
(
i
<
4
)
{
page
:
this
.
page_index
,
legendSelected
[
nickname
]
=
true
size
:
10
,
}
else
{
sort
:
'
id,desc
'
,
legendSelected
[
nickname
]
=
false
item
:
'
可燃气体
'
}
}
}
environment
(
params
).
then
(
res
=>
{
let
content
=
res
.
content
setTimeout
(()
=>
{
this
.
tableList
=
content
this
.
myCharts
(
dataX
,
series
,
legendData
,
legendSelected
)
this
.
comm_total
=
res
.
totalElements
},
2000
);
})
this
.
dialogVisible
=
true
},
myCharts
(
dataX
,
series
,
legendData
,
legendSelected
)
{
let
myChart
=
echarts
.
init
(
this
.
$refs
.
myCharts
)
var
option
=
{
tooltip
:
{
trigger
:
"
axis
"
,
axisPointer
:
{
type
:
"
cross
"
,
},
},
},
legend
:
{
currentChange
(
e
)
{
data
:
legendData
,
this
.
page_index
=
e
-
1
selected
:
legendSelected
,
this
.
environmentData
()
bottom
:
"
4%
"
,
left
:
"
center
"
,
textStyle
:
{
color
:
"
#1DD8EF
"
,
},
},
},
},
grid
:
{
top
:
"
6%
"
,
right
:
"
5%
"
,
left
:
"
5%
"
,
bottom
:
"
15%
"
,
},
xAxis
:
[
{
type
:
"
category
"
,
boundaryGap
:
false
,
axisLine
:
{
lineStyle
:
{
color
:
"
#1DD8EF
"
,
},
},
axisTick
:
{
alignWithLabel
:
true
,
},
data
:
dataX
,
},
],
yAxis
:
[
{
type
:
"
value
"
,
axisLine
:
{
lineStyle
:
{
color
:
"
#1DD8EF
"
,
},
},
splitLine
:
{
show
:
true
,
lineStyle
:
{
color
:
"
#11366e
"
,
},
},
position
:
"
left
"
,
},
{
type
:
"
value
"
,
axisLine
:
{
lineStyle
:
{
color
:
"
#1DD8EF
"
,
},
},
splitLine
:
{
show
:
false
,
},
position
:
"
right
"
,
},
],
series
,
};
myChart
.
setOption
(
option
,
true
);
},
handleClose
()
{
this
.
dialogVisible
=
false
}
},
computed
:
{
computed
:
{
isDxkqDialog
()
{
isDxkqDialog
()
{
return
this
.
$store
.
state
.
isDxkqDialog
return
this
.
$store
.
state
.
isDxkqDialog
}
},
},
},
watch
:
{
watch
:
{
isDxkqDialog
(
e
)
{
isDxkqDialog
(
e
)
{
this
.
activeName
=
e
.
params
this
.
dialogVisible
=
true
this
.
core
()
this
.
environmentData
()
}
},
}
},
}
}
</
script
>
</
script
>
...
@@ -192,8 +70,9 @@ export default {
...
@@ -192,8 +70,9 @@ export default {
height
:
68vh
;
height
:
68vh
;
}
}
.el-dialog
,
.el-pager
li
{
// .el-dialog,
background-color
:
#040624
;
// .el-pager li {
}
// background-color: #040624;
// }
}
}
</
style
>
</
style
>
src/components/dxkq/dxkqZongHe.vue
View file @
9af5795c
...
@@ -90,7 +90,6 @@ export default {
...
@@ -90,7 +90,6 @@ export default {
},
},
onGrouptree
(
name
)
{
onGrouptree
(
name
)
{
console
.
log
(
name
)
grouptree
().
then
(
res
=>
{
grouptree
().
then
(
res
=>
{
const
serial
=
res
[
0
].
serial
const
serial
=
res
[
0
].
serial
this
.
loading
=
true
this
.
loading
=
true
...
...
src/components/fenxian/fenxian_right.vue
View file @
9af5795c
...
@@ -5,7 +5,15 @@
...
@@ -5,7 +5,15 @@
<div
class=
"page"
>
<div
class=
"page"
>
<div
class=
"page_div"
v-for=
"(item, index) in zaixiandongtaijiance"
:key=
"index"
>
<div
class=
"page_div"
v-for=
"(item, index) in zaixiandongtaijiance"
:key=
"index"
>
<div
class=
"page_div_son"
>
<div
class=
"page_div_son"
>
<span
class=
"text"
:title=
"item.message"
>
{{
item
.
name
}}
风险等级四级
</span>
<span
class=
"text"
:title=
"item.message"
>
{{
item
.
name
}}
风险等级
<span
v-if=
"!item.riskLevel"
>
正常
</span>
<span
v-if=
"item.riskLevel == 4"
>
四级
</span>
<span
v-if=
"item.riskLevel == 3"
>
三级
</span>
<span
v-if=
"item.riskLevel == 2"
>
二级
</span>
<span
v-if=
"item.riskLevel == 1"
>
一级
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -35,7 +43,7 @@
...
@@ -35,7 +43,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getFXData
}
from
'
@/api/fengxian
'
import
{
getFXData
,
sendRiskSM
}
from
'
@/api/fengxian
'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -45,30 +53,9 @@ export default {
...
@@ -45,30 +53,9 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
zaixiandongtaijiance
=
this
.
$store
.
state
.
deptData
console
.
log
(
this
.
$store
.
state
.
deptData
)
// getFXData().then(res => {})
this
.
zaixiandongtaijiance
=
[
{
name
:
'
山金白音呼布
'
,
},
{
name
:
'
融冠矿业
'
,
},
{
name
:
'
山金阿尔哈达
'
,
},
{
name
:
'
锡林矿业
'
,
},
{
name
:
'
钨矿
'
,
},
]
this
.
zaixiandongtaijiance2
=
[
this
.
zaixiandongtaijiance2
=
[
{
{
...
@@ -80,21 +67,6 @@ export default {
...
@@ -80,21 +67,6 @@ export default {
name
:
'
融冠矿业
'
,
name
:
'
融冠矿业
'
,
msg
:
'
监测站2测点通信中断
'
,
msg
:
'
监测站2测点通信中断
'
,
},
},
{
name
:
'
山金阿尔哈达
'
,
msg
:
'
监测站4测点通信中断
'
,
},
{
name
:
'
山金阿尔哈达
'
,
msg
:
'
监测站4测点通信中断
'
,
},
{
name
:
'
山金阿尔哈达
'
,
msg
:
'
监测站8测点通信中断
'
,
},
]
]
this
.
init
()
this
.
init
()
...
@@ -218,6 +190,15 @@ export default {
...
@@ -218,6 +190,15 @@ export default {
myChart
.
setOption
(
option
,
true
)
myChart
.
setOption
(
option
,
true
)
},
},
// 一键发送
onSendRiskSM
()
{
sendRiskSM
().
then
(
res
=>
{})
this
.
$message
({
message
:
'
发送成功
'
,
type
:
'
success
'
,
})
},
},
},
}
}
</
script
>
</
script
>
...
@@ -291,7 +272,7 @@ export default {
...
@@ -291,7 +272,7 @@ export default {
}
}
.btn_send
{
.btn_send
{
padding
:
.3vh
.4vw
;
padding
:
0
.3vh
0
.4vw
;
font-size
:
1
.3vh
;
font-size
:
1
.3vh
;
color
:
#ffc107
;
color
:
#ffc107
;
border
:
1px
solid
;
border
:
1px
solid
;
...
...
src/components/wkk_environment/table.vue
View file @
9af5795c
...
@@ -56,10 +56,7 @@ export default {
...
@@ -56,10 +56,7 @@ export default {
page
:
this
.
page
,
page
:
this
.
page
,
size
:
10
,
size
:
10
,
sort
:
'
id,desc
'
,
sort
:
'
id,desc
'
,
company
:
compony_info
.
name
,
companycode
:
compony_info
.
companycode
,
item
:
this
.
inputItem
,
// 'insertTime': this.start_time,
// 'insertTime': this.stop_time
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
tableData
=
res
.
content
this
.
tableData
=
res
.
content
this
.
total
=
res
.
totalElements
this
.
total
=
res
.
totalElements
...
@@ -82,8 +79,6 @@ export default {
...
@@ -82,8 +79,6 @@ export default {
this
.
stop_time
=
timeParse
(
e
)
// 开始时间
this
.
stop_time
=
timeParse
(
e
)
// 开始时间
},
},
onClickSelect
()
{},
handleClose
()
{
handleClose
()
{
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
},
},
...
...
src/components/yinhuan/yinhuan_left.vue
View file @
9af5795c
...
@@ -568,7 +568,7 @@ export default {
...
@@ -568,7 +568,7 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
background-image
:
url('~@/assets/images/yingji_
4_4
.png')
;
background-image
:
url('~@/assets/images/yingji_
3_3
.png')
;
.text
{
.text
{
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/components/yinhuan/yinhuan_right.vue
View file @
9af5795c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</div>
</div>
</div>
</div>
<div
class=
"bottom"
style=
"height: 1
8vh
;"
>
<div
class=
"bottom"
style=
"height: 1
2vh;overflow-y: hidden
;"
>
<div
class=
"title"
>
<div
class=
"title"
>
<span>
重大安全生产事故隐患分析
</span>
<span>
重大安全生产事故隐患分析
</span>
</div>
</div>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</div>
</div>
<div
class=
"dialog"
v-if=
"is_dialog"
>
<div
class=
"dialog"
v-if=
"is_dialog"
>
<img
src=
"@/assets/images/error.png"
class=
"error"
@
click=
"
onClickError
"
/>
<img
src=
"@/assets/images/error.png"
class=
"error"
@
click=
"
is_dialog = false
"
/>
<div
class=
"page"
>
<div
class=
"page"
>
<div
class=
"text"
>
{{
rightListDialog
.
name
}}
</div>
<div
class=
"text"
>
{{
rightListDialog
.
name
}}
</div>
...
@@ -73,8 +73,78 @@
...
@@ -73,8 +73,78 @@
<div
class=
"title"
>
响应措施
</div>
<div
class=
"title"
>
响应措施
</div>
<div
class=
"page_div_text page_div_text2"
>
{{
rightListDialog
.
annex
}}
</div>
<div
class=
"page_div_text page_div_text2"
>
{{
rightListDialog
.
annex
}}
</div>
</div>
</div>
</div>
</div>
<!--
<el-button
class=
"btn"
type=
"warning"
@
click=
"onBtn"
>
确认启动
</el-button>
-->
<div
class=
"dialog"
v-if=
"is_dialog_info"
>
<img
src=
"@/assets/images/error.png"
class=
"error"
@
click=
"is_dialog_info = false"
/>
<div
class=
"title"
>
{{
warnData
.
name
}}
</div>
<div>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
排查人
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
pcr
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
填报人
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
tbr
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
隐患来源
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
yhly
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
隐患地点
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
yhdd
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
隐患部位
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
yhbw
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
隐患类别
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
yhlb
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
隐患描述
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
yhms
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
整改期限
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
zgqx
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"10"
>
整改实际完成日期
</el-col>
<el-col
class=
"text_right"
:span=
"14"
>
{{
warnData
.
zgwcrq
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
整改类型
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
{{
warnData
.
zglx
}}
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
隐患整改前图片
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
<img
:src=
"warnData.yhzgqtp"
alt=
""
style=
"width: 3vw;"
/>
</el-col>
</el-row>
<el-row
class=
"page_text"
>
<el-col
:span=
"8"
>
隐患整改后图片
</el-col>
<el-col
class=
"text_right"
:span=
"16"
>
<img
:src=
"warnData.yhzghtp"
alt=
""
style=
"width: 3vw;"
/>
</el-col>
</el-row>
</div>
</div>
</div>
</div>
...
@@ -90,8 +160,8 @@
...
@@ -90,8 +160,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
emergencyPlan
,
undergroundSeriousHiddenTrouble
,
findHiddenTimeout
}
from
'
@/api
'
import
{
emergencyPlan
,
undergroundSeriousHiddenTrouble
,
findHiddenTimeout
}
from
'
@/api
'
import
{
getYJContingencyPlanData
}
from
'
@/api/yinhuan
'
import
{
getYJContingencyPlanData
,
findAllCheckedHiddenTrouble
}
from
'
@/api/yinhuan
'
import
{
contextList
}
from
'
@/json/yinhuan.js
'
import
{
contextList
}
from
'
@/json/yinhuan.js
'
export
default
{
export
default
{
...
@@ -108,7 +178,10 @@ export default {
...
@@ -108,7 +178,10 @@ export default {
dataList
:
[],
dataList
:
[],
warnData
:
{},
big_weixianList
:
[],
//重大安全生产事故隐患分析
big_weixianList
:
[],
//重大安全生产事故隐患分析
is_dialog_info
:
false
,
}
}
},
},
...
@@ -130,14 +203,13 @@ export default {
...
@@ -130,14 +203,13 @@ export default {
this
.
rightList
=
res
this
.
rightList
=
res
})
})
this
.
onFindHiddenTimeout
()
this
.
onFindHiddenTimeout
()
},
},
methods
:
{
methods
:
{
// 隐患
// 隐患
onFindHiddenTimeout
()
{
onFindHiddenTimeout
()
{
find
HiddenTimeout
().
then
(
res
=>
{
find
AllCheckedHiddenTrouble
().
then
(
res
=>
{
let
deptData
=
this
.
$store
.
state
.
deptData
// 所有企业
let
deptData
=
this
.
$store
.
state
.
deptData
// 所有企业
this
.
dataList
=
res
.
content
.
map
(
item
=>
{
this
.
dataList
=
res
.
content
.
map
(
item
=>
{
for
(
let
contx
of
deptData
)
{
for
(
let
contx
of
deptData
)
{
...
@@ -155,18 +227,23 @@ export default {
...
@@ -155,18 +227,23 @@ export default {
this
.
is_dialog
=
true
this
.
is_dialog
=
true
},
},
onClickError
()
{
this
.
is_dialog
=
false
},
onBtn
()
{
this
.
is_dialog
=
false
},
onContextLook
(
e
)
{
onContextLook
(
e
)
{
this
.
is_info_dialog_context
=
true
this
.
is_info_dialog_context
=
true
this
.
contextListParams
=
e
this
.
contextListParams
=
e
},
},
onClickWarning
(
params
)
{
if
(
params
.
hiddenYhzghtpSet
.
length
>
0
)
{
params
.
yhzghtp
=
'
data:image/jpeg;base64,
'
+
params
.
hiddenYhzghtpSet
[
0
].
yhzghtp
}
if
(
params
.
hiddenYhzgqtpSet
.
length
>
0
)
{
params
.
yhzgqtp
=
'
data:image/jpeg;base64,
'
+
params
.
hiddenYhzgqtpSet
[
0
].
yhzgqtp
}
this
.
is_dialog_info
=
true
this
.
warnData
=
params
},
},
},
}
}
</
script
>
</
script
>
...
@@ -193,7 +270,7 @@ export default {
...
@@ -193,7 +270,7 @@ export default {
}
}
.top
{
.top
{
height
:
2
0
vh
;
height
:
2
2
vh
;
.page
{
.page
{
height
:
85%
;
height
:
85%
;
...
@@ -295,6 +372,14 @@ export default {
...
@@ -295,6 +372,14 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.page_text
{
line-height
:
2
.2
;
.text_right
{
text-align
:
right
;
}
}
.page_line
{
.page_line
{
color
:
#fff
;
color
:
#fff
;
}
}
...
...
web/index.html
View file @
9af5795c
<!DOCTYPE html>
<html
lang=
en
><head><meta
charset=
utf-8
><meta
name=
renderer
content=
webkit
><meta
name=
force-rendering
content=
webkit
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge,chrome=1"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><title>
安全生产风险智能监测系统
</title><script
src=
./js/liveplayer-lib.min.js
></script><script
src=
"https://webapi.amap.com/maps?v=1.4.15&key=bfa930cbec820fc1c16f8f54348f98e3&plugin=Map3D,AMap.DistrictSearch,AMap.Geocoder,AMap.MouseTool,AMap.Autocomplete,AMap.PlaceSearch"
></script><link
rel=
stylesheet
href=
https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css
><script
src=
https://cdn.bootcss.com/echarts/4.6.0/echarts.min.js
></script><script
src=
https://www.thingjs.com/static/historyVersion/thing.min.js
></script><script
src=
https://www.thingjs.com/static/release/thing.widget.min.js
></script><link
href=
static/css/chunk-42868b46.cec70464.css
rel=
prefetch
><link
href=
static/css/chunk-86a8c330.993ce4e6.css
rel=
prefetch
><link
href=
static/css/chunk-c692b744.b52443eb.css
rel=
prefetch
><link
href=
static/js/chunk-00f444cb.2de59d4f.js
rel=
prefetch
><link
href=
static/js/chunk-42868b46.3b042a11.js
rel=
prefetch
><link
href=
static/js/chunk-573f826d.febee051.js
rel=
prefetch
><link
href=
static/js/chunk-86a8c330.4f73b8a0.js
rel=
prefetch
><link
href=
static/js/chunk-9cff3828.c3cc64da.js
rel=
prefetch
><link
href=
static/js/chunk-c692b744.43227dd7.js
rel=
prefetch
><link
href=
static/css/app.6f0067ad.css
rel=
preload
as=
style
><link
href=
static/css/chunk-vendors.e977a650.css
rel=
preload
as=
style
><link
href=
static/js/app.46886344.js
rel=
preload
as=
script
><link
href=
static/js/chunk-vendors.21454246.js
rel=
preload
as=
script
><link
href=
static/css/chunk-vendors.e977a650.css
rel=
stylesheet
><link
href=
static/css/app.6f0067ad.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
static/js/chunk-vendors.21454246.js
></script><script
src=
static/js/app.46886344.js
></script></body></html>
<!DOCTYPE html>
<html
lang=
en
><head><meta
charset=
utf-8
><meta
name=
renderer
content=
webkit
><meta
name=
force-rendering
content=
webkit
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge,chrome=1"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><title>
安全生产风险智能监测系统
</title><script
src=
./js/liveplayer-lib.min.js
></script><script
src=
"https://webapi.amap.com/maps?v=1.4.15&key=bfa930cbec820fc1c16f8f54348f98e3&plugin=Map3D,AMap.DistrictSearch,AMap.Geocoder,AMap.MouseTool,AMap.Autocomplete,AMap.PlaceSearch"
></script><link
rel=
stylesheet
href=
https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css
><script
src=
https://cdn.bootcss.com/echarts/4.6.0/echarts.min.js
></script><script
src=
https://www.thingjs.com/static/historyVersion/thing.min.js
></script><script
src=
https://www.thingjs.com/static/release/thing.widget.min.js
></script><link
href=
static/css/chunk-2179b226.5a2d9eeb.css
rel=
prefetch
><link
href=
static/css/chunk-86a8c330.993ce4e6.css
rel=
prefetch
><link
href=
static/css/chunk-c692b744.b52443eb.css
rel=
prefetch
><link
href=
static/js/chunk-00f444cb.2de59d4f.js
rel=
prefetch
><link
href=
static/js/chunk-2179b226.c2078801.js
rel=
prefetch
><link
href=
static/js/chunk-573f826d.d0671cb7.js
rel=
prefetch
><link
href=
static/js/chunk-86a8c330.4f73b8a0.js
rel=
prefetch
><link
href=
static/js/chunk-9cff3828.c3cc64da.js
rel=
prefetch
><link
href=
static/js/chunk-c692b744.43227dd7.js
rel=
prefetch
><link
href=
static/css/app.6f0067ad.css
rel=
preload
as=
style
><link
href=
static/css/chunk-vendors.e977a650.css
rel=
preload
as=
style
><link
href=
static/js/app.a0da5e93.js
rel=
preload
as=
script
><link
href=
static/js/chunk-vendors.21454246.js
rel=
preload
as=
script
><link
href=
static/css/chunk-vendors.e977a650.css
rel=
stylesheet
><link
href=
static/css/app.6f0067ad.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
static/js/chunk-vendors.21454246.js
></script><script
src=
static/js/app.a0da5e93.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
web/static/css/chunk-
42868b46.cec70464
.css
→
web/static/css/chunk-
2179b226.5a2d9eeb
.css
View file @
9af5795c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
web/static/js/app.
46886344
.js
→
web/static/js/app.
a0da5e93
.js
View file @
9af5795c
This diff is collapsed.
Click to expand it.
web/static/js/chunk-
42868b46.3b042a1
1.js
→
web/static/js/chunk-
2179b226.c207880
1.js
View file @
9af5795c
This diff is collapsed.
Click to expand it.
web/static/js/chunk-573f826d.
febee051
.js
→
web/static/js/chunk-573f826d.
d0671cb7
.js
View file @
9af5795c
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-573f826d
"
],{
7975
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
header
"
,[
n
(
"
div
"
,{
staticClass
:
"
flex-btn
"
},[
n
(
"
div
"
,{
staticClass
:
"
base-btn
"
},[
n
(
"
div
"
,{
staticClass
:
"
base-btn-part
"
},[
n
(
"
span
"
,{
class
:{
span_active
:
1
==
e
.
lineActive
},
on
:{
click
:
function
(
t
){
return
e
.
onActive
(
1
)}}},[
e
.
_v
(
"
综合数据
"
)]),
n
(
"
span
"
,{
class
:{
span_active
:
2
==
e
.
lineActive
},
on
:{
click
:
function
(
t
){
return
e
.
onActive
(
2
)}}},[
e
.
_v
(
"
风险监测
"
)]),
n
(
"
span
"
,{
class
:{
span_active
:
3
==
e
.
lineActive
},
on
:{
click
:
function
(
t
){
return
e
.
onActive
(
3
)}}},[
e
.
_v
(
"
隐患排查
"
)])]),
n
(
"
div
"
,{
staticClass
:
"
base-btn-part
"
},[
n
(
"
el-select
"
,{
attrs
:{
placeholder
:
"
请选择
"
},
on
:{
change
:
e
.
ChangeSelect
},
model
:{
value
:
e
.
value
,
callback
:
function
(
t
){
e
.
value
=
t
},
expression
:
"
value
"
}},
e
.
_l
(
e
.
options
,(
function
(
e
){
return
n
(
"
el-option
"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
1
),
n
(
"
span
"
,{
on
:{
click
:
function
(
t
){
return
e
.
onClickActive
(
4
)}}},[
e
.
_v
(
"
管理系统
"
)])],
1
)])])])},
i
=
[],
l
=
(
n
(
"
a4d3
"
),
n
(
"
e01a
"
),
n
(
"
d28b
"
),
n
(
"
d3b7
"
),
n
(
"
3ca3
"
),
n
(
"
ddb0
"
),
n
(
"
c75e
"
),
n
(
"
ed08
"
)),
c
=
{
data
:
function
(){
return
{
lineActive
:
1
,
options
:[{
value
:
"
1
"
,
label
:
"
非煤矿山
"
},{
value
:
"
2
"
,
label
:
"
煤矿
"
},{
value
:
"
3
"
,
label
:
"
危险化学品企业
"
},{
value
:
"
4
"
,
label
:
"
冶金工贸
"
}],
value
:
"
1
"
}},
mounted
:
function
(){
this
.
onClickActive
(
1
,
"
非煤矿山
"
)},
methods
:{
onClickActive
:
function
(
e
,
t
){
4
!==
e
?(
this
.
$store
.
commit
(
"
SET_IS_LEFT
"
,
!
1
),
this
.
$store
.
commit
(
"
SET_TITLE
"
,
t
)):
window
.
open
(
"
http://dwq.jingkongyun.com/
"
)},
onActive
:
function
(
e
){
this
.
lineActive
=
e
,
this
.
$store
.
commit
(
"
set_BaseLeftIndex
"
,
e
);
var
t
=
{
itemIndex
:
e
,
randNum
:
Object
(
l
[
"
a
"
])(
1
,
1
e4
,
1
)};
this
.
$store
.
commit
(
"
SET_IS_LEFT
"
,
t
)},
ChangeSelect
:
function
(
e
){
var
t
=!
0
,
n
=!
1
,
a
=
void
0
;
try
{
for
(
var
i
,
l
=
this
.
options
[
Symbol
.
iterator
]();
!
(
t
=
(
i
=
l
.
next
()).
done
);
t
=!
0
){
var
c
=
i
.
value
;
if
(
c
.
value
==
e
)
return
void
this
.
onClickActive
(
c
.
value
,
c
.
label
)}}
catch
(
o
){
n
=!
0
,
a
=
o
}
finally
{
try
{
t
||
null
==
l
.
return
||
l
.
return
()}
finally
{
if
(
n
)
throw
a
}}}}},
o
=
c
,
s
=
n
(
"
2877
"
),
u
=
Object
(
s
[
"
a
"
])(
o
,
a
,
i
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
u
.
exports
},
c75e
:
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
"
2b0e
"
);
t
[
"
a
"
]
=
new
a
[
"
default
"
]({
name
:
"
eventbus
"
})}}]);
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-573f826d
"
],{
7975
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
header
"
,[
n
(
"
div
"
,{
staticClass
:
"
flex-btn
"
},[
n
(
"
div
"
,{
staticClass
:
"
base-btn
"
},[
n
(
"
div
"
,{
staticClass
:
"
base-btn-part
"
},[
n
(
"
span
"
,{
class
:{
span_active
:
1
==
e
.
lineActive
},
on
:{
click
:
function
(
t
){
return
e
.
onActive
(
1
)}}},[
e
.
_v
(
"
综合数据
"
)]),
n
(
"
span
"
,{
class
:{
span_active
:
2
==
e
.
lineActive
},
on
:{
click
:
function
(
t
){
return
e
.
onActive
(
2
)}}},[
e
.
_v
(
"
风险监测
"
)]),
n
(
"
span
"
,{
class
:{
span_active
:
3
==
e
.
lineActive
},
on
:{
click
:
function
(
t
){
return
e
.
onActive
(
3
)}}},[
e
.
_v
(
"
隐患排查
"
)])]),
n
(
"
div
"
,{
staticClass
:
"
base-btn-part
"
},[
n
(
"
el-select
"
,{
attrs
:{
placeholder
:
"
请选择
"
},
on
:{
change
:
e
.
ChangeSelect
},
model
:{
value
:
e
.
value
,
callback
:
function
(
t
){
e
.
value
=
t
},
expression
:
"
value
"
}},
e
.
_l
(
e
.
options
,(
function
(
e
){
return
n
(
"
el-option
"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
1
)],
1
)])])])},
i
=
[],
l
=
(
n
(
"
a4d3
"
),
n
(
"
e01a
"
),
n
(
"
d28b
"
),
n
(
"
d3b7
"
),
n
(
"
3ca3
"
),
n
(
"
ddb0
"
),
n
(
"
c75e
"
),
n
(
"
ed08
"
)),
c
=
{
data
:
function
(){
return
{
lineActive
:
1
,
options
:[{
value
:
"
1
"
,
label
:
"
非煤矿山
"
},{
value
:
"
2
"
,
label
:
"
煤矿
"
},{
value
:
"
3
"
,
label
:
"
危险化学品企业
"
},{
value
:
"
4
"
,
label
:
"
冶金工贸
"
}],
value
:
"
1
"
}},
mounted
:
function
(){
this
.
onClickActive
(
1
,
"
非煤矿山
"
)},
methods
:{
onClickActive
:
function
(
e
,
t
){
4
!==
e
?(
this
.
$store
.
commit
(
"
SET_IS_LEFT
"
,
!
1
),
this
.
$store
.
commit
(
"
SET_TITLE
"
,
t
)):
window
.
open
(
"
http://dwq.jingkongyun.com/
"
)},
onActive
:
function
(
e
){
this
.
lineActive
=
e
,
this
.
$store
.
commit
(
"
set_BaseLeftIndex
"
,
e
);
var
t
=
{
itemIndex
:
e
,
randNum
:
Object
(
l
[
"
a
"
])(
1
,
1
e4
,
1
)};
this
.
$store
.
commit
(
"
SET_IS_LEFT
"
,
t
)},
ChangeSelect
:
function
(
e
){
var
t
=!
0
,
n
=!
1
,
a
=
void
0
;
try
{
for
(
var
i
,
l
=
this
.
options
[
Symbol
.
iterator
]();
!
(
t
=
(
i
=
l
.
next
()).
done
);
t
=!
0
){
var
c
=
i
.
value
;
if
(
c
.
value
==
e
)
return
void
this
.
onClickActive
(
c
.
value
,
c
.
label
)}}
catch
(
o
){
n
=!
0
,
a
=
o
}
finally
{
try
{
t
||
null
==
l
.
return
||
l
.
return
()}
finally
{
if
(
n
)
throw
a
}}}}},
o
=
c
,
s
=
n
(
"
2877
"
),
u
=
Object
(
s
[
"
a
"
])(
o
,
a
,
i
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
u
.
exports
},
c75e
:
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
"
2b0e
"
);
t
[
"
a
"
]
=
new
a
[
"
default
"
]({
name
:
"
eventbus
"
})}}]);
\ No newline at end of file
\ No newline at end of file
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