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
04c53770
Commit
04c53770
authored
Dec 03, 2021
by
liuyuping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'2021-12-03'
parent
19cc450e
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
579 additions
and
242 deletions
+579
-242
fengxian.js
src/api/fengxian.js
+0
-1
operatePortrait.js
src/api/operatePortrait.js
+20
-0
三角下.png
src/assets/images/三角下.png
+0
-0
BaseLeft.vue
src/components/base/BaseLeft.vue
+21
-40
bigdataLeft.vue
src/components/bigdata/bigdataLeft.vue
+62
-12
bigdataRight.vue
src/components/bigdata/bigdataRight.vue
+121
-23
CommHeader.vue
src/components/comm/CommHeader.vue
+1
-1
dxkqZongHe.vue
src/components/dxkq/dxkqZongHe.vue
+21
-3
enterdynamicmonitor.vue
src/components/enterdynamicmonitor/enterdynamicmonitor.vue
+53
-0
ltkZongHe.vue
src/components/ltk/ltkZongHe.vue
+23
-2
potrait.vue
src/components/potrait/potrait.vue
+171
-156
targettrackingposition.vue
...mponents/targetrackingposition/targettrackingposition.vue
+53
-0
index.js
src/store/index.js
+11
-1
Home.vue
src/views/Home.vue
+22
-3
No files found.
src/api/fengxian.js
View file @
04c53770
...
...
@@ -12,7 +12,6 @@ export function getFXData(data) {
// 一键发送
export
function
sendRiskSM
(
data
)
{
console
.
log
(
'
我被调用了
'
,
'
sendRiskSM
'
)
return
request5
({
url
:
"
api/hiddenTroubleCheck/sendRiskSM
"
,
method
:
"
get
"
,
...
...
src/api/operatePortrait.js
View file @
04c53770
...
...
@@ -9,3 +9,23 @@ export function monitorDevice(deptId) {
}
})
}
export
function
monitorData
(
companycode
)
{
return
request5
({
url
:
'
/api/dataInfo/monitor
'
,
method
:
'
get
'
,
params
:
{
companycode
}
})
}
export
function
analyzeAlarmNum
(
companycode
)
{
return
request5
({
url
:
'
/api/alarm/analyzeNum
'
,
method
:
'
get
'
,
params
:
{
companycode
}
})
}
src/assets/images/三角下.png
0 → 100644
View file @
04c53770
246 Bytes
src/components/base/BaseLeft.vue
View file @
04c53770
...
...
@@ -47,47 +47,8 @@
<el-col
:span=
"12"
>
尾矿库监测
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(1, 'jyl')"
>
查看
</span></el-col>
</el-row>
<!--
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
降雨量
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(1, 'jyl')"
>
查看
</span></el-col>
</el-row>
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
浸润线
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(2, 'jrx')"
>
查看
</span></el-col>
</el-row>
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
库水位
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(3, 'ksw')"
>
查看
</span></el-col>
</el-row>
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
干滩
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(4, 'gt')"
>
查看
</span></el-col>
</el-row>
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
表面位移
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(5, 'bmwy')"
>
查看
</span></el-col>
</el-row>
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
内部位移沉降
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(8, 'nbwy')"
>
查看
</span></el-col>
</el-row>
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
内部位移倾斜
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(9, 'nbwyqx')"
>
查看
</span></el-col>
</el-row>
-->
</div>
<!--
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
预警值
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(7, 'yjz')"
>
查看
</span></el-col>
</el-row>
-->
<el-row
class=
"text"
>
<el-col
:span=
"12"
>
报警记录
</el-col>
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onTextLook(6, 'bjjl')"
>
查看
</span></el-col>
...
...
@@ -98,6 +59,20 @@
<el-col
class=
"text_look"
:span=
"12"
><span
@
click=
"onClickthree"
>
查看
</span></el-col>
</el-row>
</div>
<div>
<div
style=
"display: flex; align-items: center;"
>
<div
style=
"color: #02FCFE;font-size: 14px;"
>
企业动态监测
</div>
<div
style=
"width: 35px; height: 35px;margin-left: 10px;diplay: flex;justify-content: center;align-items: center;cursor: pointer;"
@
click=
"enterDynamicMonitor"
>
<svg
t=
"1638510154638"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2348"
width=
"32"
height=
"32"
><path
d=
"M882.1 695.2H143.7V217.4h738.4v477.8z m-694.9-43.4h651.6v-391H187.2v391z"
fill=
"#02fcfe"
p-id=
"2349"
></path><path
d=
"M646.4 537.3c-8.2 2-16.5 3.4-24.8 4.4v110.1h-21.7V543.2c-16.1 0-30.4-1.9-43.4-5v135.4h-21.7v-142c-16.6-6.5-30.6-15.1-43.4-24.5v155.7H524V804h206.3v43.4H295.7V804h184.6V673.5h-10.9V489.8c-2.9-2.5-5.9-5-8.7-7.4-11.5-9.9-22.7-19.2-34.7-27.2v218.3h-21.7V443c-9.8-4.3-20.4-7.5-32.6-9.3l0.1-43.8c54.7 6 87.5 34.1 117.2 59.6 31.5 27 58.7 50.3 110.8 50.3 13.1 0 26.2-1.7 39.1-5l7.5 42.5zM729.9 499.5c86.9-58.9 152.2-169.7 152.2-282.1h-43.4c0 94.8-55.4 190.9-128 242.9l19.4 39.5M320.5 434.4c-3 0.4-5.9 1-8.8 1.6-78.5 17.7-126.2 115.5-126.7 116.6l-39.2-18.8c2.4-5.1 59.4-121.8 161.4-141.2 2.4-0.5 4.8-0.9 7.2-1.2l6.1 43z"
fill=
"#02fcfe"
p-id=
"2350"
></path><path
d=
"M328.3 465H350v208.5h-21.7zM675.8 551.9h21.7v121.6h-21.7z"
fill=
"#02fcfe"
p-id=
"2351"
></path><path
d=
"M339.2 478c-35.9 0-65.2-29.2-65.2-65.2s29.2-65.2 65.2-65.2 65.2 29.2 65.2 65.2-29.3 65.2-65.2 65.2z m0-86.9c-12 0-21.7 9.7-21.7 21.7s9.7 21.7 21.7 21.7 21.7-9.7 21.7-21.7-9.7-21.7-21.7-21.7z"
fill=
"#02fcfe"
p-id=
"2352"
></path><path
d=
"M686.7 434.6c-35.9 0-65.2 29.2-65.2 65.2s29.2 65.2 65.2 65.2c35.9 0 65.2-29.2 65.2-65.2s-29.3-65.2-65.2-65.2z m0 86.8c-12 0-21.7-9.7-21.7-21.7s9.7-21.7 21.7-21.7 21.7 9.7 21.7 21.7-9.7 21.7-21.7 21.7z"
fill=
"#02fcfe"
p-id=
"2353"
></path></svg>
</div>
</div>
<div
style=
"display: flex; align-items: center;"
>
<div
style=
"color: #02FCFE;font-size: 14px;"
>
目标跟踪定位
</div>
<div
style=
"width: 35px;height: 35px; margin-left: 10px; display: flex; justify-content: center; align-items: center;cursor: pointer;"
@
click=
"targetTrackingPosition"
>
<svg
t=
"1638510330741"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"3264"
width=
"32"
height=
"32"
><path
d=
"M64 480h96v64H64zM864 480h96v64h-96z"
p-id=
"3265"
fill=
"#02fcfe"
></path><path
d=
"M512 512m-192 0a192 192 0 1 0 384 0 192 192 0 1 0-384 0Z"
p-id=
"3266"
fill=
"#02fcfe"
></path><path
d=
"M512 896a382.88 382.88 0 1 1 149.48-30.19A381.62 381.62 0 0 1 512 896z m0-717.55a332.42 332.42 0 1 0 129.82 26.2A331.44 331.44 0 0 0 512 178.45z"
p-id=
"3267"
fill=
"#02fcfe"
></path><path
d=
"M480 64h64v96h-64zM480 864h64v96h-64z"
p-id=
"3268"
fill=
"#02fcfe"
></path></svg>
</div>
</div>
</div>
<div
class=
"videoai-wrapper"
@
click=
"videoaiShow"
>
<div>
视频AI
</div>
<div>
...
...
@@ -150,6 +125,12 @@ export default {
},
methods
:
{
targetTrackingPosition
()
{
this
.
$store
.
commit
(
'
SET_TARGET_TRACKING_POSITION
'
,
true
)
},
enterDynamicMonitor
(){
this
.
$store
.
commit
(
'
SET_ENTER_DYNAMIC_MONITOR
'
,
true
)
},
onGrouptree
(
name
)
{
grouptree
().
then
(
res
=>
{
const
serial
=
res
[
0
].
serial
...
...
@@ -306,7 +287,7 @@ export default {
}
.base-type
{
min-height
:
32
vh
;
min-height
:
21
vh
;
}
}
}
...
...
src/components/bigdata/bigdataLeft.vue
View file @
04c53770
...
...
@@ -2,7 +2,7 @@
<div
class=
"big-data-left-wrapper"
>
<div
class=
"big-data1 big-data"
>
<div
class=
"big-data-title-wrapper"
>
区域报警统计
在线监测设备
<div
class=
"big-data-title-dec"
></div>
</div>
<div
class=
"big-data-chart1"
>
...
...
@@ -22,24 +22,53 @@
</div>
<div
class=
"big-data5 big-data"
>
<div
class=
"big-data-title-wrapper"
>
重大安全隐患整改数量情况统计
重大安全隐患整改数量情况统计
<div
class=
"big-data-title-dec"
></div>
</div>
<div
class=
"big-data-chart5"
></div>
</div>
<div
class=
"big-data7 big-data"
>
<div
class=
"big-data7 big-data"
style=
"position: relative;"
>
<div
class=
"big-data-title-wrapper"
>
行业生产风险统计
<div
class=
"big-data-title-dec"
></div>
</div>
<div
class=
"to-right-top-select"
>
<el-select
v-model=
"curChosenIndus"
size=
"mini"
>
<el-option
v-for=
"item in curIndus"
:key=
"item.label"
:value=
"item.label"
:label=
"item.label"
></el-option>
</el-select>
</div>
<div
class=
"big-data-chart7"
></div>
</div>
</div>
</
template
>
<
script
>
import
{
dictDetail
}
from
'
@/api/index.js
'
export
default
{
data
()
{
return
{
curIndus
:
[],
curChosenIndus
:
'
煤矿
'
}
},
mounted
()
{
dictDetail
({
page
:
0
,
size
:
999
,
sort
:
'
id,desc
'
,
dictName
:
'
所属行业
'
}).
then
(
res
=>
{
console
.
log
(
res
,
'
dictDetail dictDetail dictDetail
'
)
this
.
curIndus
=
res
.
content
.
filter
(
item
=>
item
.
createBy
===
'
admin
'
)
})
this
.
init1
()
this
.
init3
()
this
.
init5
()
...
...
@@ -118,7 +147,7 @@ export default {
},
yAxis
:
{
type
:
"
value
"
,
name
:
'
隐患总
量
'
,
name
:
'
产
量
'
,
axisLine
:
{
show
:
false
},
...
...
@@ -174,7 +203,7 @@ export default {
const
option
=
{
title
:
{
text
:
"
总数量
"
,
subtext
:
""
+
13
,
subtext
:
""
+
0
,
left
:
"
center
"
,
top
:
"
40%
"
,
textStyle
:
{
...
...
@@ -199,14 +228,14 @@ export default {
avoidLabelOverLap
:
true
,
data
:
[
{
value
:
8
,
value
:
0
,
name
:
"
重大隐患未闭环
"
,
itemStyle
:
{
color
:
"
#E74C3C
"
}
},
{
value
:
5
,
value
:
0
,
name
:
"
重大隐患已闭环
"
,
itemStyle
:
{
color
:
"
#FDFA02
"
...
...
@@ -234,12 +263,18 @@ export default {
mychart
.
setOption
(
option
)
},
init7
()
{
let
lowNum
=
Math
.
floor
(
Math
.
random
()
*
7
)
let
generalNum
=
Math
.
floor
(
Math
.
random
()
*
2
)
let
greaterNum
=
0
let
majorNum
=
0
let
totalNum
=
lowNum
+
generalNum
const
targetDom
=
document
.
querySelector
(
'
.big-data-chart7
'
)
const
mychart
=
echarts
.
init
(
targetDom
)
mychart
.
clear
()
const
option
=
{
title
:
{
text
:
"
总数量
"
,
subtext
:
""
+
68
,
subtext
:
""
+
totalNum
,
left
:
"
center
"
,
top
:
"
40%
"
,
textStyle
:
{
...
...
@@ -264,28 +299,28 @@ export default {
avoidLabelOverLap
:
true
,
data
:
[
{
value
:
44
,
value
:
lowNum
,
name
:
"
低风险
"
,
itemStyle
:
{
color
:
"
#057AFD
"
}
},
{
value
:
12
,
value
:
generalNum
,
name
:
"
一般风险
"
,
itemStyle
:
{
color
:
"
#FEFA03
"
}
},
{
value
:
10
,
value
:
greaterNum
,
name
:
"
较大风险
"
,
itemStyle
:
{
color
:
"
#F88F12
"
}
},
{
value
:
2
,
value
:
majorNum
,
name
:
"
重大风险
"
,
itemStyle
:
{
color
:
"
#FF414B
"
...
...
@@ -312,11 +347,26 @@ export default {
}
mychart
.
setOption
(
option
)
}
},
watch
:
{
curChosenIndus
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
oldVal
,
'
curChosenIndus curChosenIndus
'
)
if
(
newVal
!==
oldVal
)
{
this
.
init7
()
}
}
}
}
</
script
>
<
style
lang=
"scss"
>
.to-right-top-select
{
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
118px
;
height
:
56px
;
}
.big-data-left-wrapper
{
position
:
absolute
;
left
:
0
;
...
...
src/components/bigdata/bigdataRight.vue
View file @
04c53770
...
...
@@ -18,19 +18,19 @@
</div>
<div
class=
"big-data-chart2-table-wrapper"
>
<div
class=
"big-data-chart2-table-title"
>
<span
class=
"big-data-chart2-table-title1"
>
报警
设备名称
</span>
<span
class=
"big-data-chart2-table-title1"
>
设备名称
</span>
<span
class=
"big-data-chart2-table-title2"
>
报警状态
</span>
<span
class=
"big-data-chart2-table-title3"
>
时间
</span>
</div>
<div
class=
"big-data-chart2-table-content-wrapper"
>
<div
class=
"big-data-chart2-table-content-item"
>
<span>
监视模块
</span>
<span>
报警一次
</span>
<span>
已解除
</span>
<span>
2021-11-21
</span>
</div>
<div
class=
"big-data-chart2-table-content-item"
>
<span>
控制模块
</span>
<span
>
报警一次
</span>
<span
style=
"color: red;"
>
报警
</span>
<span>
2021-11-11
</span>
</div>
</div>
...
...
@@ -44,10 +44,24 @@
</div>
<div
class=
"big-data-chart4"
></div>
</div>
<div
class=
"big-data6 big-data"
>
<div
class=
"big-data6 big-data"
style=
"display: flex; position: relative;"
>
<div
class=
"big-data-title-wrapper"
>
生产风险统计
<div
class=
"big-data-title-dec"
></div>
<div
class=
"big-data-title-dec"
></div>
</div>
<div
class=
"to-right-top-select"
>
<el-select
v-model=
"curChosenEnter"
size=
"mini"
>
<el-option
v-for=
"item in curEnterprises"
:key=
"item.name"
:label=
"item.name"
:value=
"item.name"
></el-option>
</el-select>
</div>
<div
class=
"big-data-chart6"
></div>
</div>
...
...
@@ -62,8 +76,24 @@
</
template
>
<
script
>
import
{
dept
}
from
'
@/api/index.js
'
export
default
{
data
()
{
return
{
curEnterprises
:
[],
curChosenEnter
:
'
山金白音呼布
'
,
isShowCurSelect
:
false
}
},
mounted
()
{
dept
().
then
(
res
=>
{
console
.
log
(
res
,
'
bigdataRight bigdataRight bigdataRight bigdataRight
'
)
const
toIndex
=
res
.
content
.
map
(
item
=>
item
.
name
).
indexOf
(
'
测试企业
'
)
if
(
toIndex
>=
-
1
)
{
res
.
content
.
splice
(
toIndex
,
1
)
}
this
.
curEnterprises
=
[...
res
.
content
]
})
this
.
init4
()
this
.
init6
()
this
.
init8
()
...
...
@@ -114,29 +144,30 @@ export default {
}
},
series
:
[
// {
// name: '一般隐患',
// type: 'bar',
// stack: 'total',
// data: [60, 120, 220, 70]
// },
{
name
:
'
重大隐患
'
,
type
:
'
bar
'
,
stack
:
'
total
'
,
data
:
[
10
,
4
,
1
,
12
]
data
:
[
0
,
0
,
0
,
0
]
}
]
}
mychart
.
setOption
(
option
)
},
init6
()
{
let
lowNum
=
Math
.
floor
(
Math
.
random
()
*
6
)
let
generalNum
=
Math
.
floor
(
Math
.
random
()
*
1
)
let
greaterNum
=
0
let
majorNum
=
0
let
totalNum
=
lowNum
+
generalNum
const
targetDom
=
document
.
querySelector
(
'
.big-data-chart6
'
)
const
mychart
=
echarts
.
init
(
targetDom
)
mychart
.
clear
();
const
option
=
{
title
:
{
text
:
"
总数量
"
,
subtext
:
""
+
204
,
subtext
:
""
+
totalNum
,
left
:
"
center
"
,
top
:
"
40%
"
,
textStyle
:
{
...
...
@@ -161,28 +192,28 @@ export default {
avoidLabelOverLap
:
true
,
data
:
[
{
value
:
123
,
value
:
lowNum
,
name
:
"
低风险
"
,
itemStyle
:
{
color
:
"
#057AFD
"
}
},
{
value
:
56
,
value
:
generalNum
,
name
:
"
一般风险
"
,
itemStyle
:
{
color
:
"
#FEFA03
"
}
},
{
value
:
24
,
value
:
greaterNum
,
name
:
"
较大风险
"
,
itemStyle
:
{
color
:
"
#F88F12
"
}
},
{
value
:
1
,
value
:
majorNum
,
name
:
"
重大风险
"
,
itemStyle
:
{
color
:
"
#FF414B
"
...
...
@@ -215,7 +246,7 @@ export default {
const
option
=
{
title
:
{
text
:
"
总数量
"
,
subtext
:
""
+
4
18
,
subtext
:
""
+
4
4
,
left
:
"
center
"
,
top
:
"
40%
"
,
textStyle
:
{
...
...
@@ -240,28 +271,28 @@ export default {
avoidLabelOverLap
:
true
,
data
:
[
{
value
:
278
,
value
:
32
,
name
:
"
低风险
"
,
itemStyle
:
{
color
:
"
#057AFD
"
}
},
{
value
:
94
,
value
:
12
,
name
:
"
一般风险
"
,
itemStyle
:
{
color
:
"
#FEFA03
"
}
},
{
value
:
32
,
value
:
0
,
name
:
"
较大风险
"
,
itemStyle
:
{
color
:
"
#F88F12
"
}
},
{
value
:
14
,
value
:
0
,
name
:
"
重大风险
"
,
itemStyle
:
{
color
:
"
#FF414B
"
...
...
@@ -288,11 +319,42 @@ export default {
}
mychart
.
setOption
(
option
)
}
},
watch
:
{
curChosenEnter
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
oldVal
,
'
curChosenEnter curChosenEnter
'
)
if
(
newVal
!==
oldVal
)
{
this
.
init6
()
}
}
}
}
</
script
>
<
style
scoped
>
/* /deep/ .el-input__inner {
border: none;
background: rgba(0, 182, 255, 0);
color: #00ffff;
font-size: 20px;
font-family: "SourceHanSansCN-Regular";
}
/deep/ input.el-input__inner::-webkit-input-placeholder {
padding-left: 1px;
color: #00ffff;
font-size: 20px;
font-family: "SourceHanSansCN-Regular";
} */
</
style
>
<
style
lang=
"scss"
>
.to-right-top-select
{
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
118px
;
height
:
56px
;
}
.big-data-right-wrapper
{
position
:
absolute
;
right
:
0
;
...
...
@@ -441,5 +503,41 @@ export default {
.big-data-chart8
{
flex-grow
:
1
;
}
}
}
.showEnters
{
position
:
relative
;
background
:
#05145B
;
max-height
:
20px
;
max-width
:
56px
;
overflow
:
visible
;
.show-enter-result
{
font-size
:
14px
;
color
:
#00ffff
;
cursor
:
pointer
;
background
:
#05145B
;
&
:
:
after
{
content
:
""
;
display
:
block
;
position
:
absolute
;
top
:
0
;
right
:
0
;
height
:
100%
;
pointer-events
:
none
;
background-image
:
url('../../assets/images/三角下.png')
;
background-position
:
center
;
}
}
.show-enters-drop-down
{
position
:
absolute
;
top
:
20px
;
left
:
5px
;
border
:
1px
solid
black
;
background
:
white
;
color
:
black
;
.show-enters-item-wrapper
{
margin
:
3px
auto
;
font-size
:
14px
;
}
}
}
</
style
>
\ No newline at end of file
src/components/comm/CommHeader.vue
View file @
04c53770
...
...
@@ -6,7 +6,7 @@
<span
:class=
"
{'span_active' : lineActive == 1}" @click="onActive(1)">综合数据
</span>
<span
:class=
"
{'span_active' : lineActive == 2}" @click="onActive(2)">风险监测
</span>
<span
:class=
"
{'span_active' : lineActive == 3}" @click="onActive(3)">隐患排查
</span>
<span
:class=
"
{'span_active' : lineActive == 4}" @click="onActive(4)">销
售
监管
</span>
<span
:class=
"
{'span_active' : lineActive == 4}" @click="onActive(4)">销
量
监管
</span>
<span
:class=
"
{'span_active' : lineActive == 5}" @click="onActive(5)">大数据
</span>
<!--
<span
:class=
"
{'span_active' : lineActive == 4}" @click="onActive(4)">应急处置
</span>
-->
</div>
...
...
src/components/dxkq/dxkqZongHe.vue
View file @
04c53770
...
...
@@ -22,7 +22,7 @@
<svg
t=
"1637975296097"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"1669"
width=
"32"
height=
"32"
><path
d=
"M732.089122 1019.920127c-154.87516 0-280.359239-125.596075-280.359239-280.599231 0-155.019156 125.484079-280.615231 280.359239-280.615231s280.359239 125.596075 280.359239 280.615231c0 155.003156-125.484079 280.599231-280.359239 280.599231z m143.627512-139.035655l-79.645511-79.709509a144.747477 144.747477 0 0 0 30.495047-89.117215c0-80.253492-64.989969-145.323459-145.211462-145.323458-80.189494 0-145.179463 65.069967-145.179463 145.323458 0 80.269492 64.989969 145.323459 145.179463 145.323459a144.475485 144.475485 0 0 0 89.053217-30.527046l79.645511 79.709509a18.095435 18.095435 0 0 0 25.663198 0 18.127434 18.127434 0 0 0 0-25.679198z m-194.361926-59.83813c-60.046124 0-108.876598-48.862473-108.876598-108.988594 0-60.094122 48.830474-108.988594 108.876598-108.988594 60.078123 0 108.908597 48.894472 108.908596 108.988594 0 60.126121-48.830474 108.988594-108.908596 108.988594zM732.089122 387.219899c-9.791694 0-19.391394 0.415987-28.975094 1.231962V71.485766l-415.651011 135.819756v-41.454705L745.160714 0.016l137.515702 116.204368V421.138839c-4.47986-2.047936-8.97572-4.095872-13.663573-6.143808a349.10909 349.10909 0 0 0-136.923721-27.775132z m-133.851817-128.043998v154.603168l-3.071904 1.215962a346.213181 346.213181 0 0 0-111.804506 75.373645 349.237086 349.237086 0 0 0-64.077998 87.597263V270.40755L72.589732 381.300084v642.715916H11.583638l0.207994-675.386895 463.393518-161.946939 123.052155 72.493735zM356.436861 477.905065L138.507672 536.111247v-98.028937l217.929189-71.485766v111.308521z m0 179.514391L138.507672 699.690135v-93.949064l217.929189-55.550264v107.228649z m0 182.3783L138.507672 860.213118v-91.901128l217.929189-35.534889v107.020655z m0 181.962314H138.507672v-97.212962l217.929189-15.311522v112.524484z m163.85088-1.231962h-101.004844v-119.868254a354.56492 354.56492 0 0 0 64.061998 87.613262 344.069248 344.069248 0 0 0 36.942846 32.254992z"
p-id=
"1670"
fill=
"#02fcfe"
></path></svg>
</div>
</div>
<div
class=
"base_left_box_line"
style=
"height: 2
5
vh"
>
<div
class=
"base_left_box_line"
style=
"height: 2
1
vh"
>
<div
class=
"title"
>
监测类型
</div>
<el-row
class=
"text"
>
...
...
@@ -37,9 +37,21 @@
</el-row>
</div>
</div>
<div>
<div
style=
"display: flex; align-items: center;"
>
<div
style=
"color: #02FCFE;font-size: 14px;"
>
企业动态监测
</div>
<div
style=
"width: 35px; height: 35px;margin-left: 10px;diplay: flex;justify-content: center;align-items: center;cursor: pointer;"
@
click=
"enterDynamicMonitor"
>
<svg
t=
"1638510154638"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2348"
width=
"32"
height=
"32"
><path
d=
"M882.1 695.2H143.7V217.4h738.4v477.8z m-694.9-43.4h651.6v-391H187.2v391z"
fill=
"#02fcfe"
p-id=
"2349"
></path><path
d=
"M646.4 537.3c-8.2 2-16.5 3.4-24.8 4.4v110.1h-21.7V543.2c-16.1 0-30.4-1.9-43.4-5v135.4h-21.7v-142c-16.6-6.5-30.6-15.1-43.4-24.5v155.7H524V804h206.3v43.4H295.7V804h184.6V673.5h-10.9V489.8c-2.9-2.5-5.9-5-8.7-7.4-11.5-9.9-22.7-19.2-34.7-27.2v218.3h-21.7V443c-9.8-4.3-20.4-7.5-32.6-9.3l0.1-43.8c54.7 6 87.5 34.1 117.2 59.6 31.5 27 58.7 50.3 110.8 50.3 13.1 0 26.2-1.7 39.1-5l7.5 42.5zM729.9 499.5c86.9-58.9 152.2-169.7 152.2-282.1h-43.4c0 94.8-55.4 190.9-128 242.9l19.4 39.5M320.5 434.4c-3 0.4-5.9 1-8.8 1.6-78.5 17.7-126.2 115.5-126.7 116.6l-39.2-18.8c2.4-5.1 59.4-121.8 161.4-141.2 2.4-0.5 4.8-0.9 7.2-1.2l6.1 43z"
fill=
"#02fcfe"
p-id=
"2350"
></path><path
d=
"M328.3 465H350v208.5h-21.7zM675.8 551.9h21.7v121.6h-21.7z"
fill=
"#02fcfe"
p-id=
"2351"
></path><path
d=
"M339.2 478c-35.9 0-65.2-29.2-65.2-65.2s29.2-65.2 65.2-65.2 65.2 29.2 65.2 65.2-29.3 65.2-65.2 65.2z m0-86.9c-12 0-21.7 9.7-21.7 21.7s9.7 21.7 21.7 21.7 21.7-9.7 21.7-21.7-9.7-21.7-21.7-21.7z"
fill=
"#02fcfe"
p-id=
"2352"
></path><path
d=
"M686.7 434.6c-35.9 0-65.2 29.2-65.2 65.2s29.2 65.2 65.2 65.2c35.9 0 65.2-29.2 65.2-65.2s-29.3-65.2-65.2-65.2z m0 86.8c-12 0-21.7-9.7-21.7-21.7s9.7-21.7 21.7-21.7 21.7 9.7 21.7 21.7-9.7 21.7-21.7 21.7z"
fill=
"#02fcfe"
p-id=
"2353"
></path></svg>
</div>
</div>
<div
style=
"display: flex; align-items: center;"
>
<div
style=
"color: #02FCFE;font-size: 14px;"
>
目标跟踪定位
</div>
<div
style=
"width: 35px;height: 35px; margin-left: 10px; display: flex; justify-content: center; align-items: center;cursor: pointer;"
@
click=
"targetTrackingPosition"
>
<svg
t=
"1638510330741"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"3264"
width=
"32"
height=
"32"
><path
d=
"M64 480h96v64H64zM864 480h96v64h-96z"
p-id=
"3265"
fill=
"#02fcfe"
></path><path
d=
"M512 512m-192 0a192 192 0 1 0 384 0 192 192 0 1 0-384 0Z"
p-id=
"3266"
fill=
"#02fcfe"
></path><path
d=
"M512 896a382.88 382.88 0 1 1 149.48-30.19A381.62 381.62 0 0 1 512 896z m0-717.55a332.42 332.42 0 1 0 129.82 26.2A331.44 331.44 0 0 0 512 178.45z"
p-id=
"3267"
fill=
"#02fcfe"
></path><path
d=
"M480 64h64v96h-64zM480 864h64v96h-64z"
p-id=
"3268"
fill=
"#02fcfe"
></path></svg>
</div>
</div>
</div>
<br
/>
<div
class=
"videoai-wrapper"
@
click=
"videoaiShow"
>
<div>
视频AI
</div>
<div>
...
...
@@ -87,6 +99,12 @@ export default {
},
methods
:
{
targetTrackingPosition
()
{
this
.
$store
.
commit
(
'
SET_TARGET_TRACKING_POSITION
'
,
true
)
},
enterDynamicMonitor
(){
this
.
$store
.
commit
(
'
SET_ENTER_DYNAMIC_MONITOR
'
,
true
)
},
// 关闭页面
onClickDel
()
{
this
.
$store
.
commit
(
'
SET_IS_LEFT
'
,
false
)
...
...
src/components/enterdynamicmonitor/enterdynamicmonitor.vue
0 → 100644
View file @
04c53770
<
template
>
<div
class=
"sale-item"
>
<div
class=
"close-btn"
@
click=
"closeSelf"
></div>
<div
class=
"dec-title"
>
待接入设备
</div>
</div>
</
template
>
<
script
>
export
default
{
methods
:
{
closeSelf
()
{
this
.
$store
.
commit
(
'
SET_ENTER_DYNAMIC_MONITOR
'
,
false
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.sale-item
{
position
:
absolute
;
width
:
687px
;
height
:
399px
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background
:
url('../../assets/images/弹框.png')
;
background-size
:
100%
100%
;
.close-btn
{
position
:
absolute
;
width
:
32px
;
height
:
34px
;
right
:
3px
;
top
:
23px
;
background
:
url('../../assets/images/关闭.png')
;
}
.dec-title
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
width
:
425px
;
height
:
81px
;
background
:
#0F70C7
;
transform
:
translate
(
-50%
,
-50%
);
font-size
:
43px
;
font-family
:
'Source Han Sans CN'
;
font-weight
:
bold
;
color
:
#DFEEF3
;
line-height
:
81px
;
display
:
flex
;
justify-content
:
center
;
}
}
</
style
>
\ No newline at end of file
src/components/ltk/ltkZongHe.vue
View file @
04c53770
...
...
@@ -26,7 +26,7 @@
</div>
</div>
<div
class=
"base_left_box_line"
style=
"height: 2
5
vh"
>
<div
class=
"base_left_box_line"
style=
"height: 2
1
vh"
>
<div
class=
"title"
>
监测类型
</div>
...
...
@@ -57,6 +57,22 @@
</el-row>
</div>
</div>
<div>
<div
style=
"display: flex; align-items: center;"
>
<div
style=
"color: #02FCFE;font-size: 14px;"
>
企业动态监测
</div>
<div
style=
"width: 35px; height: 35px;margin-left: 10px;diplay: flex;justify-content: center;align-items: center;cursor: pointer;"
@
click=
"enterDynamicMonitor"
>
<svg
t=
"1638510154638"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2348"
width=
"32"
height=
"32"
><path
d=
"M882.1 695.2H143.7V217.4h738.4v477.8z m-694.9-43.4h651.6v-391H187.2v391z"
fill=
"#02fcfe"
p-id=
"2349"
></path><path
d=
"M646.4 537.3c-8.2 2-16.5 3.4-24.8 4.4v110.1h-21.7V543.2c-16.1 0-30.4-1.9-43.4-5v135.4h-21.7v-142c-16.6-6.5-30.6-15.1-43.4-24.5v155.7H524V804h206.3v43.4H295.7V804h184.6V673.5h-10.9V489.8c-2.9-2.5-5.9-5-8.7-7.4-11.5-9.9-22.7-19.2-34.7-27.2v218.3h-21.7V443c-9.8-4.3-20.4-7.5-32.6-9.3l0.1-43.8c54.7 6 87.5 34.1 117.2 59.6 31.5 27 58.7 50.3 110.8 50.3 13.1 0 26.2-1.7 39.1-5l7.5 42.5zM729.9 499.5c86.9-58.9 152.2-169.7 152.2-282.1h-43.4c0 94.8-55.4 190.9-128 242.9l19.4 39.5M320.5 434.4c-3 0.4-5.9 1-8.8 1.6-78.5 17.7-126.2 115.5-126.7 116.6l-39.2-18.8c2.4-5.1 59.4-121.8 161.4-141.2 2.4-0.5 4.8-0.9 7.2-1.2l6.1 43z"
fill=
"#02fcfe"
p-id=
"2350"
></path><path
d=
"M328.3 465H350v208.5h-21.7zM675.8 551.9h21.7v121.6h-21.7z"
fill=
"#02fcfe"
p-id=
"2351"
></path><path
d=
"M339.2 478c-35.9 0-65.2-29.2-65.2-65.2s29.2-65.2 65.2-65.2 65.2 29.2 65.2 65.2-29.3 65.2-65.2 65.2z m0-86.9c-12 0-21.7 9.7-21.7 21.7s9.7 21.7 21.7 21.7 21.7-9.7 21.7-21.7-9.7-21.7-21.7-21.7z"
fill=
"#02fcfe"
p-id=
"2352"
></path><path
d=
"M686.7 434.6c-35.9 0-65.2 29.2-65.2 65.2s29.2 65.2 65.2 65.2c35.9 0 65.2-29.2 65.2-65.2s-29.3-65.2-65.2-65.2z m0 86.8c-12 0-21.7-9.7-21.7-21.7s9.7-21.7 21.7-21.7 21.7 9.7 21.7 21.7-9.7 21.7-21.7 21.7z"
fill=
"#02fcfe"
p-id=
"2353"
></path></svg>
</div>
</div>
<div
style=
"display: flex; align-items: center;"
>
<div
style=
"color: #02FCFE;font-size: 14px;"
>
目标跟踪定位
</div>
<div
style=
"width: 35px;height: 35px; margin-left: 10px; display: flex; justify-content: center; align-items: center;cursor: pointer;"
@
click=
"targetTrackingPosition"
>
<svg
t=
"1638510330741"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"3264"
width=
"32"
height=
"32"
><path
d=
"M64 480h96v64H64zM864 480h96v64h-96z"
p-id=
"3265"
fill=
"#02fcfe"
></path><path
d=
"M512 512m-192 0a192 192 0 1 0 384 0 192 192 0 1 0-384 0Z"
p-id=
"3266"
fill=
"#02fcfe"
></path><path
d=
"M512 896a382.88 382.88 0 1 1 149.48-30.19A381.62 381.62 0 0 1 512 896z m0-717.55a332.42 332.42 0 1 0 129.82 26.2A331.44 331.44 0 0 0 512 178.45z"
p-id=
"3267"
fill=
"#02fcfe"
></path><path
d=
"M480 64h64v96h-64zM480 864h64v96h-64z"
p-id=
"3268"
fill=
"#02fcfe"
></path></svg>
</div>
</div>
</div>
<div
class=
"videoai-wrapper"
@
click=
"videoaiShow"
>
<div>
视频AI
</div>
<div>
...
...
@@ -129,7 +145,12 @@ export default {
},
methods
:
{
targetTrackingPosition
()
{
this
.
$store
.
commit
(
'
SET_TARGET_TRACKING_POSITION
'
,
true
)
},
enterDynamicMonitor
(){
this
.
$store
.
commit
(
'
SET_ENTER_DYNAMIC_MONITOR
'
,
true
)
},
onltkDialog
()
{
this
.
is_ltk_dialog
=
false
},
...
...
src/components/potrait/potrait.vue
View file @
04c53770
...
...
@@ -59,7 +59,7 @@
</
template
>
<
script
>
import
{
monitorDevice
}
from
'
@/api/operatePortrait.js
'
import
{
monitorDevice
,
monitorData
,
analyzeAlarmNum
}
from
'
@/api/operatePortrait.js
'
export
default
{
data
()
{
return
{
...
...
@@ -72,11 +72,11 @@ export default {
// 矿种
minerals
:
'
44
'
,
//
deviceSum
:
'
89
'
,
deviceSum
:
''
,
// 在线设备
online
:
'
33
'
,
online
:
''
,
// 离线设备
offline
:
'
56
'
,
offline
:
''
,
// 监测点数量
monitorSum
:
'
77
'
,
// 监测点数据
...
...
@@ -86,22 +86,35 @@ export default {
// 监测时长
timeSum
:
'
56
'
,
// 风险等级1
lowRisk
:
'
31
'
,
lowRisk
:
''
,
// 风险等级2
generalRisk
:
'
12
'
,
generalRisk
:
''
,
// 风险等级3
greaterRisk
:
'
0
'
,
greaterRisk
:
''
,
// 重大风险未闭环
noCloseLoop
:
'
0
'
,
noCloseLoop
:
''
,
// 重大风险已闭环
closeLoop
:
'
0
'
closeLoop
:
''
}
},
async
mounted
()
{
console
.
log
(
this
.
$store
.
state
.
compony_info
,
'
this.$store.state.compony_info this.$store.state.compony_info
'
)
await
monitorDevice
(
this
.
$store
.
state
.
compony_info
.
id
).
then
(
res
=>
{
console
.
log
(
res
,
'
monitorDevice, monitorDevice
'
)
})
console
.
log
(
this
.
$store
.
state
.
compony_info
.
companycode
,
'
this.$store.state.compony_info.companycode
'
)
// await monitorDevice(this.$store.state.compony_info.id).then(res => {
// this.offline = res.offlineNum + ''
// this.online = res.onlineNum + ''
// this.deviceSum = res.totalNum + ''
// })
// await monitorData(this.$store.state.compony_info.companycode).then(res => {
// this.monitorSum = (res.monitorStationNum? res.monitorStationNum: '0') + ''
// this.monitorData = (res.monitorDataNum? res.monitorDataNum : '0') + ''
// this.alarmSum = (res.alarmNum? res.alarmNum : '0') + ''
// this.timeSum = (res.monitorDays? res.monitorDays : '0') + ''
// })
// await analyzeAlarmNum(this.$store.state.compony_info.companycode).then(res => {
// this.lowRisk = (res.yellowNum? res.yellowNum : '0') + ''
// this.generalRisk = (res.orangeNum? res.orangeNum : '0') + ''
// this.greaterRisk = (res.redNum? res.redNum : '0') + ''
// })
this
.
mineMethod
=
this
.
$store
.
state
.
compony_info
.
mine
this
.
area
=
this
.
$store
.
state
.
compony_info
.
area
this
.
yields
=
this
.
$store
.
state
.
compony_info
.
capacity
...
...
@@ -113,17 +126,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
14
this
.
offline
=
12
this
.
monitorSum
=
23
this
.
monitorData
=
11
this
.
alarmSum
=
37
this
.
timeSum
=
131
this
.
lowRisk
=
25
this
.
generalRisk
=
13
this
.
greaterRisk
=
2
this
.
noCloseLoop
=
2
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
14
this
.
offline
=
this
.
offline
?
this
.
offline
:
12
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
23
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
11
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
37
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
131
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
8
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
雅斯作业区
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -131,17 +144,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
26
this
.
offline
=
10
this
.
monitorSum
=
27
this
.
monitorData
=
9
this
.
alarmSum
=
46
this
.
timeSum
=
230
this
.
lowRisk
=
32
this
.
generalRisk
=
5
this
.
greaterRisk
=
1
this
.
noCloseLoop
=
1
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
26
this
.
offline
=
this
.
offline
?
this
.
offline
:
10
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
27
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
9
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
46
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
230
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
6
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
2
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
阿尔作业区
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -149,17 +162,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
31
this
.
offline
=
8
this
.
monitorSum
=
36
this
.
monitorData
=
8
this
.
alarmSum
=
48
this
.
timeSum
=
246
this
.
lowRisk
=
46
this
.
generalRisk
=
7
this
.
greaterRisk
=
3
this
.
noCloseLoop
=
1
this
.
closeLoop
=
2
this
.
online
=
this
.
online
?
this
.
online
:
31
this
.
offline
=
this
.
offline
?
this
.
offline
:
8
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
36
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
8
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
48
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
246
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
5
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
山金白音呼布
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -167,17 +180,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
36
this
.
offline
=
4
this
.
monitorSum
=
42
this
.
monitorData
=
3
this
.
alarmSum
=
52
this
.
timeSum
=
341
this
.
lowRisk
=
51
this
.
generalRisk
=
8
this
.
greaterRisk
=
4
this
.
noCloseLoop
=
2
this
.
closeLoop
=
2
this
.
online
=
this
.
online
?
this
.
online
:
36
this
.
offline
=
this
.
offline
?
this
.
offline
:
4
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
42
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
3
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
52
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
341
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
9
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
2
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
融冠矿业
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -185,17 +198,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
21
this
.
offline
=
1
this
.
monitorSum
=
45
this
.
monitorData
=
76
this
.
alarmSum
=
11
this
.
timeSum
=
148
this
.
lowRisk
=
34
this
.
generalRisk
=
6
this
.
greaterRisk
=
2
this
.
noCloseLoop
=
1
this
.
closeLoop
=
1
this
.
online
=
this
.
online
?
this
.
online
:
21
this
.
offline
=
this
.
offline
?
this
.
offline
:
1
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
45
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
76
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
11
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
148
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
6
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
山金阿尔哈达
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -203,17 +216,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
17
this
.
offline
=
5
this
.
monitorSum
=
67
this
.
monitorData
=
45
this
.
alarmSum
=
15
this
.
timeSum
=
153
this
.
lowRisk
=
37
this
.
generalRisk
=
10
this
.
greaterRisk
=
1
this
.
noCloseLoop
=
1
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
17
this
.
offline
=
this
.
offline
?
this
.
offline
:
5
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
67
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
45
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
15
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
153
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
5
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
锡林矿业
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -221,17 +234,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
21
this
.
offline
=
4
this
.
monitorSum
=
26
this
.
monitorData
=
11
this
.
alarmSum
=
8
this
.
timeSum
=
278
this
.
lowRisk
=
47
this
.
generalRisk
=
8
this
.
greaterRisk
=
0
this
.
noCloseLoop
=
0
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
21
this
.
offline
=
this
.
offline
?
this
.
offline
:
4
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
26
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
11
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
8
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
278
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
3
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
钨矿
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -239,17 +252,18 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
24
this
.
offline
=
3
this
.
monitorSum
=
31
this
.
monitorData
=
8
this
.
alarmSum
=
2
this
.
timeSum
=
238
this
.
lowRisk
=
58
this
.
generalRisk
=
6
this
.
greaterRisk
=
0
this
.
noCloseLoop
=
0
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
24
this
.
offline
=
this
.
offline
?
this
.
offline
:
3
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
31
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
8
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
2
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
238
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
2
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
沈铁物流
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -257,17 +271,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
27
this
.
offline
=
4
this
.
monitorSum
=
56
this
.
monitorData
=
32
this
.
alarmSum
=
4
this
.
timeSum
=
286
this
.
lowRisk
=
67
this
.
generalRisk
=
5
this
.
greaterRisk
=
0
this
.
noCloseLoop
=
0
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
27
this
.
offline
=
this
.
offline
?
this
.
offline
:
4
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
56
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
32
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
4
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
286
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
1
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
延长宏博
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -275,17 +289,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
17
this
.
offline
=
6
this
.
monitorSum
=
25
this
.
monitorData
=
75
this
.
alarmSum
=
8
this
.
timeSum
=
131
this
.
lowRisk
=
16
this
.
generalRisk
=
2
this
.
greaterRisk
=
0
this
.
noCloseLoop
=
0
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
17
this
.
offline
=
this
.
offline
?
this
.
offline
:
6
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
25
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
75
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
8
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
131
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
3
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
中康石油
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -293,17 +307,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
21
this
.
offline
=
7
this
.
monitorSum
=
66
this
.
monitorData
=
11
this
.
alarmSum
=
9
this
.
timeSum
=
198
this
.
lowRisk
=
21
this
.
generalRisk
=
4
this
.
greaterRisk
=
0
this
.
noCloseLoop
=
0
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
21
this
.
offline
=
this
.
offline
?
this
.
offline
:
7
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
66
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
11
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
9
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
198
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
6
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
天地煤矿
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -311,17 +325,17 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
24
this
.
offline
=
9
this
.
monitorSum
=
32
this
.
monitorData
=
23
this
.
alarmSum
=
6
this
.
timeSum
=
237
this
.
lowRisk
=
25
this
.
generalRisk
=
5
this
.
greaterRisk
=
0
this
.
noCloseLoop
=
0
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
24
this
.
offline
=
this
.
offline
?
this
.
offline
:
9
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
32
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
23
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
6
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
237
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
8
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
case
'
乌尼特煤矿
'
:
this
.
mineMethod
=
this
.
mineMethod
?
this
.
mineMethod
:
'
地下开采, 竖井开拓
'
...
...
@@ -329,17 +343,18 @@ export default {
this
.
yields
=
this
.
yields
?
this
.
yields
:
'
25万吨/年
'
this
.
minerals
=
this
.
minerals
?
this
.
minerals
:
'
暂未填写
'
this
.
online
=
24
this
.
offline
=
2
this
.
monitorSum
=
54
this
.
monitorData
=
45
this
.
alarmSum
=
7
this
.
timeSum
=
467
this
.
lowRisk
=
16
this
.
generalRisk
=
2
this
.
greaterRisk
=
0
this
.
noCloseLoop
=
0
this
.
closeLoop
=
0
this
.
online
=
this
.
online
?
this
.
online
:
24
this
.
offline
=
this
.
offline
?
this
.
offline
:
2
this
.
monitorSum
=
this
.
monitorSum
?
this
.
monitorSum
:
54
this
.
monitorData
=
this
.
monitorData
?
this
.
monitorData
:
45
this
.
alarmSum
=
this
.
alarmSum
?
this
.
alarmSum
:
7
this
.
timeSum
=
this
.
timeSum
?
this
.
timeSum
:
467
this
.
lowRisk
=
this
.
lowRisk
?
this
.
lowRisk
:
4
this
.
generalRisk
=
this
.
generalRisk
?
this
.
generalRisk
:
1
this
.
greaterRisk
=
this
.
greaterRisk
?
this
.
greaterRisk
:
0
this
.
noCloseLoop
=
this
.
noCloseLoop
?
this
.
noCloseLoop
:
0
this
.
closeLoop
=
this
.
closeLoop
?
this
.
closeLoop
:
0
break
;
}
this
.
init1
()
...
...
src/components/targetrackingposition/targettrackingposition.vue
0 → 100644
View file @
04c53770
<
template
>
<div
class=
"sale-item"
>
<div
class=
"close-btn"
@
click=
"closeSelf"
></div>
<div
class=
"dec-title"
>
待接入设备
</div>
</div>
</
template
>
<
script
>
export
default
{
methods
:
{
closeSelf
()
{
this
.
$store
.
commit
(
'
SET_TARGET_TRACKING_POSITION
'
,
false
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.sale-item
{
position
:
absolute
;
width
:
687px
;
height
:
399px
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background
:
url('../../assets/images/弹框.png')
;
background-size
:
100%
100%
;
.close-btn
{
position
:
absolute
;
width
:
32px
;
height
:
34px
;
right
:
3px
;
top
:
23px
;
background
:
url('../../assets/images/关闭.png')
;
}
.dec-title
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
width
:
425px
;
height
:
81px
;
background
:
#0F70C7
;
transform
:
translate
(
-50%
,
-50%
);
font-size
:
43px
;
font-family
:
'Source Han Sans CN'
;
font-weight
:
bold
;
color
:
#DFEEF3
;
line-height
:
81px
;
display
:
flex
;
justify-content
:
center
;
}
}
</
style
>
\ No newline at end of file
src/store/index.js
View file @
04c53770
...
...
@@ -43,13 +43,23 @@ export default new Vuex.Store({
curVideoUrl
:
''
,
curIsVideo
:
false
,
curVideoShow
:
false
curVideoShow
:
false
,
curEnterDynamicMonitor
:
false
,
curTargetTrackingPosition
:
false
},
mutations
:
{
SET_TARGET_TRACKING_POSITION
(
state
,
val
)
{
state
.
curTargetTrackingPosition
=
val
},
SET_ENTER_DYNAMIC_MONITOR
(
state
,
val
)
{
state
.
curEnterDynamicMonitor
=
val
},
SET_VideoUrl
(
state
,
url
)
{
state
.
curVideoUrl
=
url
...
...
src/views/Home.vue
View file @
04c53770
...
...
@@ -50,6 +50,8 @@
<saleitem7
v-show=
"showItem7"
></saleitem7>
<potrait
v-if=
"isShowPotrait"
></potrait>
<videoai
v-show=
"isShowVideo"
></videoai>
<enterdynamicmonitor
v-show=
"isShowEnterDynamicMonitor"
></enterdynamicmonitor>
<targetrackingposition
v-show=
"isShowTargetTrackingPosition"
></targetrackingposition>
</div>
</
template
>
...
...
@@ -96,6 +98,10 @@ import potrait from '../components/potrait/potrait.vue'
import
videoai
from
'
../components/videoai/videoai.vue
'
import
enterdynamicmonitor
from
'
../components/enterdynamicmonitor/enterdynamicmonitor.vue
'
import
targetrackingposition
from
'
../components/targetrackingposition/targettrackingposition.vue
'
export
default
{
name
:
'
home
'
,
...
...
@@ -116,7 +122,12 @@ export default {
created
()
{
this
.
$store
.
dispatch
(
'
typeOptions
'
)
},
mounted
()
{
// window.addEventListener('beforeunload', (e) => {
// console.log(e, 'beforeUnload beforeUnLoad')
// })
console
.
log
(
'
beforeUnload beforeUnload beforeUnload
'
)
},
methods
:
{
onRightImg
()
{
this
.
$store
.
commit
(
'
SET_IS_Right
'
,
true
)
...
...
@@ -124,6 +135,12 @@ export default {
},
computed
:
{
isShowTargetTrackingPosition
()
{
return
this
.
$store
.
state
.
curTargetTrackingPosition
},
isShowEnterDynamicMonitor
()
{
return
this
.
$store
.
state
.
curEnterDynamicMonitor
},
isShowVideo
()
{
return
this
.
$store
.
state
.
curVideoShow
},
...
...
@@ -157,7 +174,7 @@ export default {
return
this
.
$store
.
state
.
showSaleItem7
},
isShow
()
{
return
(
this
.
is_sale
&&
(
this
.
showItem1
||
this
.
showItem2
||
this
.
showItem3
||
this
.
showItem4
||
this
.
showItem5
||
this
.
showItem6
||
this
.
showItem7
))
||
this
.
isShowPotrait
||
this
.
isShowVideo
return
(
this
.
is_sale
&&
(
this
.
showItem1
||
this
.
showItem2
||
this
.
showItem3
||
this
.
showItem4
||
this
.
showItem5
||
this
.
showItem6
||
this
.
showItem7
))
||
this
.
isShowPotrait
||
this
.
isShowVideo
||
this
.
isShowEnterDynamicMonitor
||
this
.
isShowTargetTrackingPosition
},
isShowPotrait
()
{
return
this
.
$store
.
state
.
isShowEnterPortrait
...
...
@@ -279,7 +296,9 @@ export default {
potrait
,
videoai
,
bigdataleft
,
bigdataright
bigdataright
,
enterdynamicmonitor
,
targetrackingposition
},
}
</
script
>
...
...
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