Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
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
王浩
zh-baseversion-project
Commits
5a738d9a
Commit
5a738d9a
authored
Jul 29, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 bigWindowOld 界面调整
parent
45da1dbe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
350 additions
and
400 deletions
+350
-400
leftBar.vue
zh-baseversion-web/src/components/bigWindowOld/leftBar.vue
+339
-388
map.js
zh-baseversion-web/src/utils/mapClassForBigOld/map.js
+1
-1
index.vue
zh-baseversion-web/src/views/bigWindowOld/index.vue
+10
-11
No files found.
zh-baseversion-web/src/components/bigWindowOld/leftBar.vue
View file @
5a738d9a
<
template
>
<div
class=
"leftb"
>
<!-- 基本信息 -->
<div
class=
"item2"
>
<!--
<span
class=
"dot"
>
...
...
@@ -9,109 +10,64 @@
<!--
<div
class=
"fong-div"
></div>
<div
class=
"fong-div"
style=
"margin-left: 3px;"
></div>
<div
class=
"fong-div"
style=
"margin-left: 3px;"
></div>
-->
<span
style=
"
letter-spacing: 1px;
color: #fff;
float: right;
margin-right: 50px;
"
>
基本信息
</span>
<span
style=
"letter-spacing :1px;color:#fff;float: right;margin-right: 50px;"
>
基本信息
</span>
<div
class=
"rightline1"
></div>
</div>
<div
class=
"leftbar1"
>
<div
class=
"left-top"
>
<div
class=
"ltop1"
>
<!--
<img
src=
"../../assets/second1/btn-1.png"
alt=
""
>
-->
<div
style=
"
width: 100%;
text-align: center;
color: #fff;
margin-left: 10px;
"
>
<div
class=
"div-p"
@
click=
"$router.push('/regulation/supervise')"
>
从业人员数(人)
<div
class=
"left-top"
>
<div
class=
"ltop1"
>
<!--
<img
src=
"../../assets/second1/btn-1.png"
alt=
""
>
-->
<div
style=
"width: 100%;text-align: center;color: #fff;margin-left: 10px;"
>
<div
class=
"div-p"
@
click=
"$router.push('/regulation/supervise')"
>
从业人员数(人)
</div>
<span
style=
"font-family: 'arialbd';font-size: 35px;background-image:-webkit-linear-gradient(bottom,#f0c41b,#e4dbb7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;"
>
{{
allNum
.
peopleNum
}}
</span>
</div>
<span
style=
"
font-family: 'arialbd';
font-size: 35px;
color: rgb(255, 255, 255);
-webkit-background-clip: text;
"
>
{{
allNum
.
peopleNum
}}
</span
>
</div>
</div>
<!--
<div
style=
"width: 86%;margin-left: 4%;border-bottom: 1px dashed #094749;margin-top: 15px;margin-bottom: 15px;"
></div>
-->
<div
class=
"ltop2"
>
<!--
<img
src=
"../../assets/second1/btn-2.png"
alt=
""
>
-->
<div
style=
"
width: 100%;
text-align: center;
color: #fff;
margin-left: 10px;
"
>
<div
class=
"div-p"
@
click=
"$router.push('/regulation/pipe')"
>
管道长度(m)
<!--
<div
style=
"width: 86%;margin-left: 4%;border-bottom: 1px dashed #094749;margin-top: 15px;margin-bottom: 15px;"
></div>
-->
<div
class=
"ltop2"
>
<!--
<img
src=
"../../assets/second1/btn-2.png"
alt=
""
>
-->
<div
style=
"width: 100%;text-align: center;color: #fff;margin-left: 10px;"
>
<div
class=
"div-p"
@
click=
"$router.push('/regulation/pipe')"
>
管道长度(m)
</div>
<span
style=
"font-family: 'arialbd';font-size: 35px;background-image:-webkit-linear-gradient(bottom,#f0c41b,#e4dbb7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;"
>
{{
allNum
.
allPipeLength
}}
</span>
</div>
<span
style=
"
font-family: 'arialbd';
font-size: 35px;
color: rgb(255, 255, 255);
-webkit-background-clip: text;
"
>
{{
allNum
.
allPipeLength
}}
</span
>
</div>
</div>
</div>
</div>
<!-- 安全监管 -->
<div
class=
"leftbar2"
>
<div
class=
"item1"
>
<!--
<div
class=
"fong-div"
></div>
<div
class=
"fong-div"
style=
"margin-left: 3px;"
></div>
<div
class=
"fong-div"
style=
"margin-left: 3px;"
></div>
-->
<span
style=
"letter-spacing: 1px; color: #fff; float: right"
>
巡检巡查
</span>
<span
style=
"letter-spacing :1px;color:#fff;float: right;"
>
巡检巡查
</span>
<!--
<img
src=
"../../assets/second1/ti-bg.png"
alt=
""
>
-->
<div
class=
"rightline2"
></div>
</div>
<div
class=
"pieone"
>
<div
id=
"myChartpieone"
:style=
"
{ width: '100%', height: '100%' }"
>
</div>
<div
id=
"myChartpieone"
:style=
"
{width: '100%', height: '100%'}">
</div>
<div
class=
"titleTex"
>
<div
:style=
"
{
color: '#5470c6' }">● 已完成:
{{
allNum
.
typeOne
}}
</div>
<div
:style=
"
{
color: '#fa8167' }">● 未完成:
{{
allNum
.
typeTwo
}}
</div>
<div
:style=
"
{
color: '#5470c6'}"> ● 已完成:
{{
allNum
.
typeOne
}}
</div>
<div
:style=
"
{
color: '#fa8167'}"> ● 未完成:
{{
allNum
.
typeTwo
}}
</div>
</div>
</div>
<div
class=
"pietwo"
>
<div
id=
"myChartpietwo"
:style=
"
{ width: '100%', height: '100%' }"
>
</div>
<div
class=
"titleTex"
style=
"width: 140% !important; margin-left: -20%"
>
<div
:style=
"
{ color: '#5470c6' }">● 已完成:
{{
this
.
allNum
.
hiddenBookFinish
}}
(天然气:
{{
this
.
allNum
.
trqHiddenBookFinish
}}
,液化气:
{{
this
.
allNum
.
hiddenBookFinish
-
this
.
allNum
.
trqHiddenBookFinish
}}
)
</div>
<div
:style=
"
{ color: '#fa8167' }">● 未完成:
{{
this
.
allNum
.
hiddenBookUnFinish
}}
(天然气:
{{
this
.
allNum
.
trqHiddenBookUnFinish
}}
,液化气:
{{
this
.
allNum
.
hiddenBookUnFinish
-
this
.
allNum
.
trqHiddenBookUnFinish
}}
)
</div>
<div
id=
"myChartpietwo"
:style=
"
{width: '100%', height: '100%'}">
</div>
<div
class=
"titleTex"
>
<div
:style=
"
{color: '#5470c6'}"> ● 已完成:0
</div>
<div
:style=
"
{color: '#fa8167'}"> ● 未完成:0
</div>
</div>
</div>
</div>
<!-- 任务完成率 -->
<div
class=
"leftbar3"
>
<div
class=
"item1"
>
<!--
<div
class=
"fong-div"
></div>
...
...
@@ -130,88 +86,83 @@
<div
id=
"main1"
style=
"width: 100%; height: 100%"
></div>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
selectWorkOrderNum
}
from
"@/api/operationMonitor/order"
;
// 引入基本模板
// let echarts = require("echarts/lib/echarts");
// // 引入柱状图组件
// require("echarts/lib/chart/bar");
// // 引入提示框和title组件
// require("echarts/lib/component/tooltip");
// require("echarts/lib/component/title");
// let echarts = this.$echarts;
import
{
getQLJG
,
getSGSL
,
getYHZZ
,
getYHTJ
}
from
"@/api/bigWindowOld/charsData.js"
;
export
default
{
data
()
{
return
{
allNum
:
{},
zeroNum
:
{
allPipeLength
:
0
,
peopleNum
:
0
,
typeFor
:
0
,
typeOne
:
0
,
typeThree
:
0
,
typeTwo
:
0
,
hiddenBookFinish
:
0
,
hiddenBookUnFinish
:
0
},
enterpriseIds
:
{
enterpriseId
:
""
,
},
dataAll
:
{
congyeNum
:
1544
,
guandaoNum
:
3658495
,
shigu1
:
[],
shigu2
:
[],
// shigu3: [932, 901, 198, 489, 158, 358, 345, 675, 901, 934, 1290, 888],
renwu
:
[
50
,
92
],
renwuzong
:
142
,
date
:
[],
},
dataone
:
{
congyeNum
:
521
,
guandaoNum
:
1254848
,
shigu1
:
[
223
,
44
,
332
,
321
,
458
,
456
,
653
,
122
,
345
,
133
,
421
,
123
],
shigu2
:
[
123
,
234
,
456
,
567
,
235
,
12
,
89
,
158
,
158
,
145
,
175
,
224
],
shigu3
:
[
432
,
301
,
108
,
189
,
18
,
158
,
145
,
175
,
401
,
334
,
590
,
388
],
renwu
:
[
4
,
27
],
renwuzong
:
31
,
},
datatwo
:
{
congyeNum
:
488
,
guandaoNum
:
1244495
,
shigu1
:
[
653
,
122
,
345
,
133
,
456
,
653
,
122
,
345
,
133
,
421
,
123
,
500
],
shigu2
:
[
432
,
301
,
456
,
567
,
235
,
12
,
145
,
175
,
401
,
334
,
590
,
388
],
shigu3
:
[
123
,
234
,
108
,
189
,
18
,
158
,
123
,
234
,
456
,
567
,
235
,
12
],
renwu
:
[
8
,
25
],
renwuzong
:
33
,
},
datathree
:
{
congyeNum
:
535
,
guandaoNum
:
1189492
,
shigu1
:
[
653
,
122
,
345
,
133
,
456
,
653
,
122
,
345
,
133
,
421
,
123
,
500
],
shigu2
:
[
432
,
301
,
456
,
567
,
456
,
653
,
122
,
175
,
401
,
334
,
590
,
388
],
shigu3
:
[
334
,
590
,
388
,
133
,
456
,
123
,
234
,
653
,
122
,
345
,
133
],
renwu
:
[
38
,
40
],
renwuzong
:
78
,
},
datanow
:
{
renwu
:
[
0
,
0
],
import
{
selectWorkOrderNum
}
from
"@/api/operationMonitor/order"
;
import
{
getQLJG
,
getSGSL
,
getYHZZ
,
getYHTJ
,
}
from
"@/api/bigWindow/charsData.js"
;
export
default
{
data
()
{
return
{
allNum
:{},
zeroNum
:{
allPipeLength
:
0
,
peopleNum
:
0
,
typeFor
:
0
,
typeOne
:
0
,
typeThree
:
0
,
typeTwo
:
0
},
enterpriseIds
:{
enterpriseId
:
""
},
dataAll
:{
congyeNum
:
1544
,
guandaoNum
:
3658495
,
shigu1
:[
820
,
932
,
901
,
934
,
1290
,
1330
,
1320
,
820
,
932
,
901
,
934
,
1290
],
shigu2
:[
452
,
786
,
456
,
732
,
458
,
165
,
198
,
489
,
158
,
358
,
345
,
675
],
shigu3
:[
932
,
901
,
198
,
489
,
158
,
358
,
345
,
675
,
901
,
934
,
1290
,
888
],
renwu
:[
50
,
92
],
renwuzong
:
142
},
dataone
:{
congyeNum
:
521
,
guandaoNum
:
1254848
,
shigu1
:[
223
,
44
,
332
,
321
,
458
,
456
,
653
,
122
,
345
,
133
,
421
,
123
],
shigu2
:[
123
,
234
,
456
,
567
,
235
,
12
,
89
,
158
,
158
,
145
,
175
,
224
],
shigu3
:[
432
,
301
,
108
,
189
,
18
,
158
,
145
,
175
,
401
,
334
,
590
,
388
],
renwu
:[
4
,
27
],
renwuzong
:
31
},
datatwo
:{
congyeNum
:
488
,
guandaoNum
:
1244495
,
shigu1
:[
653
,
122
,
345
,
133
,
456
,
653
,
122
,
345
,
133
,
421
,
123
,
500
],
shigu2
:[
432
,
301
,
456
,
567
,
235
,
12
,
145
,
175
,
401
,
334
,
590
,
388
],
shigu3
:[
123
,
234
,
108
,
189
,
18
,
158
,
123
,
234
,
456
,
567
,
235
,
12
],
renwu
:[
8
,
25
],
renwuzong
:
33
},
datathree
:{
congyeNum
:
535
,
guandaoNum
:
1189492
,
shigu1
:[
653
,
122
,
345
,
133
,
456
,
653
,
122
,
345
,
133
,
421
,
123
,
500
],
shigu2
:[
432
,
301
,
456
,
567
,
456
,
653
,
122
,
175
,
401
,
334
,
590
,
388
],
shigu3
:[
334
,
590
,
388
,
133
,
456
,
123
,
234
,
653
,
122
,
345
,
133
],
renwu
:[
38
,
40
],
renwuzong
:
78
},
datanow
:{
renwu
:[
0
,
0
]
}
};
},
mounted
(){
this
.
datanow
=
this
.
dataAll
;
//this.getNum(null)
this
.
getLineChats
();
},
};
},
mounted
()
{
this
.
datanow
=
this
.
dataAll
;
//this.getNum(null)
this
.
getLineChats
();
},
methods
:
{
methods
:
{
// 两个接口实现一个line统计图这个是改数据
async
getLineChats
()
{
// getSGSL,getYHZZ
...
...
@@ -235,206 +186,208 @@ export default {
});
this
.
drawLine
(
this
.
datanow
);
},
choice
(
val
)
{
// if(index==0){
// this.datanow = this.dataAll;
// this.drawLine(this.datanow);
// this.getNum(index);
// }else
console
.
log
(
"===================>>>>>>>>>>>>>>>>>>"
,
val
)
this
.
getNum
(
val
);
// if(index==1){
// this.datanow = this.dataone;
// this.drawLine(this.datanow);
// }else if(index==2){
// this.datanow = this.datatwo;
// this.drawLine(this.datanow);
// }else if(index==3){
// this.datanow = this.datathree;
// this.drawLine(this.datanow);
// }
},
getNum
(
val
)
{
if
(
val
!=
null
&&
val
!=
""
)
{
this
.
enterpriseIds
.
enterpriseId
=
val
.
toString
();
selectWorkOrderNum
(
this
.
enterpriseIds
).
then
((
response
)
=>
{
console
.
log
(
response
);
this
.
allNum
=
response
.
data
;
this
.
initdata
();
});
}
else
{
this
.
allNum
=
this
.
zeroNum
;
this
.
initdata
();
}
},
initdata
()
{
// 基于准备好的dom,初始化echarts实例
//console.log(data.renwu[0]+"=-=-=-"+data.renwu[1])
let
pieone
=
this
.
$echarts
.
init
(
document
.
getElementById
(
"myChartpieone"
));
let
pietwo
=
this
.
$echarts
.
init
(
document
.
getElementById
(
"myChartpietwo"
));
// 绘制图表
pieone
.
setOption
({
title
:
{
text
:
"巡检任务数(个) : "
+
(
this
.
allNum
.
typeOne
+
this
.
allNum
.
typeTwo
),
left
:
"center"
,
top
:
0
,
textStyle
:
{
color
:
"#cddbe4"
,
fontSize
:
"16"
,
},
},
grid
:
{
bottom
:
"7%"
,
containLabel
:
true
,
},
tooltip
:
{
trigger
:
"item"
,
choice
(
val
){
// if(index==0){
// this.datanow = this.dataAll;
// this.drawLine(this.datanow);
// this.getNum(index);
// }else
this
.
getNum
(
val
);
// if(index==1){
// this.datanow = this.dataone;
// this.drawLine(this.datanow);
// }else if(index==2){
// this.datanow = this.datatwo;
// this.drawLine(this.datanow);
// }else if(index==3){
// this.datanow = this.datathree;
// this.drawLine(this.datanow);
// }
},
series
:
[
{
name
:
"任务概况"
,
type
:
"pie"
,
radius
:
"55%"
,
center
:
[
"50%"
,
"58%"
],
data
:
[
{
value
:
this
.
allNum
.
typeTwo
,
name
:
"未完成"
,
itemStyle
:
{
color
:
"#fa8167"
},
getNum
(
val
){
if
(
val
!=
null
&&
val
!=
''
){
this
.
enterpriseIds
.
enterpriseId
=
val
.
toString
();
if
(
!
this
.
enterpriseIds
.
enterpriseId
)
return
selectWorkOrderNum
(
this
.
enterpriseIds
).
then
(
response
=>
{
console
.
log
(
response
);
this
.
allNum
=
response
.
data
;
this
.
initdata
();
});
}
else
{
this
.
allNum
=
this
.
zeroNum
;
this
.
initdata
();
}
},
initdata
(){
// 基于准备好的dom,初始化echarts实例
//console.log(data.renwu[0]+"=-=-=-"+data.renwu[1])
let
pieone
=
this
.
$echarts
.
init
(
document
.
getElementById
(
'myChartpieone'
));
let
pietwo
=
this
.
$echarts
.
init
(
document
.
getElementById
(
'myChartpietwo'
));
// 绘制图表
pieone
.
setOption
({
title
:
{
text
:
'巡检任务数(个) : '
+
(
this
.
allNum
.
typeOne
+
this
.
allNum
.
typeTwo
),
left
:
'center'
,
top
:
0
,
textStyle
:{
color
:
"#cddbe4"
,
fontSize
:
"16"
}
},
{
value
:
this
.
allNum
.
typeOne
,
name
:
"已完成"
,
itemStyle
:
{
color
:
"#5470c6"
},
grid
:
{
bottom
:
"7%"
,
containLabel
:
true
,
},
],
labelLine
:
{
length
:
20
,
length2
:
50
,
tooltip
:
{
trigger
:
'item'
,
},
label
:
{
color
:
"#fff"
,
fontSize
:
14
,
// formatter:"{b}\n\n",
// padding:[0,-55],
normal
:
{
show
:
false
,
position
:
"outer"
,
// formatter: '{d}%, {c} \n\n',
//模板变量有 {a}, {b},{c},{d},{e},分别表示系列名,数据名,数据值等。
formatter
:
"{a_set|{b}}
\n
{b_set|{d}%}
\n\n\n
"
,
// formatter: "{a_set|{b}}\n{c_set|{d}%}\n{b|}\n\n",
borderWidth
:
20
,
borderRadius
:
4
,
padding
:
[
0
,
-
55
],
rich
:
{
a_set
:
{
color
:
"#cddbe4"
,
lineHeight
:
20
,
align
:
"center"
,
padding
:
[
55
,
-
40
,
-
15
,
-
40
],
series
:
[
{
name
:
'任务概况'
,
type
:
'pie'
,
radius
:
'55%'
,
center
:
[
'50%'
,
'58%'
],
data
:
[
{
value
:
this
.
allNum
.
typeTwo
,
name
:
'未完成'
,
itemStyle
:
{
color
:
'#fa8167'
}
},
{
value
:
this
.
allNum
.
typeOne
,
name
:
'已完成'
,
itemStyle
:
{
color
:
'#5470c6'
}
},
b_set
:
{
color
:
"auto"
,
],
labelLine
:{
length
:
20
,
length2
:
50
,
},
label
:{
color
:
'#fff'
,
fontSize
:
14
,
// formatter:"{b}\n\n",
// padding:[0,-55],
normal
:
{
show
:
false
,
position
:
'outer'
,
// formatter: '{d}%, {c} \n\n',
//模板变量有 {a}, {b},{c},{d},{e},分别表示系列名,数据名,数据值等。
formatter
:
"{a_set|{b}}
\n
{b_set|{d}%}
\n\n\n
"
,
// formatter: "{a_set|{b}}\n{c_set|{d}%}\n{b|}\n\n",
borderWidth
:
20
,
borderRadius
:
4
,
padding
:
[
0
,
-
55
],
rich
:
{
a_set
:
{
color
:
"#cddbe4"
,
lineHeight
:
20
,
align
:
"center"
,
padding
:
[
55
,
-
40
,
-
15
,
-
40
],
},
b_set
:{
color
:
"auto"
,
},
}
}
},
emphasis
:
{
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
'rgba(0, 0, 0, 0.5)'
}
},
labelLine
:
{
show
:
false
},
}
]
});
pietwo
.
setOption
({
title
:
{
text
:
'隐患整治数(个) : 0'
,
left
:
'center'
,
top
:
0
,
textStyle
:{
color
:
"#cddbe4"
,
fontSize
:
"16"
}
},
},
emphasis
:
{
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
"rgba(0, 0, 0, 0.5)"
,
grid
:
{
bottom
:
"7%"
,
containLabel
:
true
,
},
tooltip
:
{
trigger
:
'item'
,
},
labelLine
:
{
show
:
false
,
},
},
],
});
pietwo
.
setOption
({
title
:
{
text
:
"隐患整治数(个) : "
+
(
this
.
allNum
.
hiddenBookFinish
+
this
.
allNum
.
hiddenBookUnFinish
),
left
:
"center"
,
top
:
0
,
textStyle
:
{
color
:
"#cddbe4"
,
fontSize
:
"16"
,
},
},
grid
:
{
bottom
:
"7%"
,
containLabel
:
true
,
},
tooltip
:
{
trigger
:
"item"
,
},
series
:
[
{
name
:
"任务概况"
,
type
:
"pie"
,
radius
:
"55%"
,
center
:
[
"50%"
,
"58%"
],
data
:
[
{
value
:
this
.
allNum
.
hiddenBookUnFinish
,
name
:
"未完成"
,
itemStyle
:
{
color
:
"#fa8167"
},
},
series
:
[
{
value
:
this
.
allNum
.
hiddenBookFinish
,
name
:
"已完成"
,
itemStyle
:
{
color
:
"#5470c6"
},
},
],
labelLine
:
{
length
:
20
,
length2
:
50
,
},
label
:
{
color
:
"#fff"
,
fontSize
:
14
,
// formatter:"{b}\n\n",
// padding:[0,-55],
normal
:
{
show
:
false
,
position
:
"outer"
,
// formatter: '{d}%, {c} \n\n',
//模板变量有 {a}, {b},{c},{d},{e},分别表示系列名,数据名,数据值等。
formatter
:
"{a_set|{b}}
\n
{b_set|{d}%}
\n\n\n
"
,
// formatter: "{a_set|{b}}\n{c_set|{d}%}\n{b|}\n\n",
borderWidth
:
20
,
borderRadius
:
4
,
padding
:
[
0
,
-
55
],
rich
:
{
a_set
:
{
color
:
"#cddbe4"
,
lineHeight
:
20
,
align
:
"center"
,
padding
:
[
55
,
-
40
,
-
15
,
-
40
],
name
:
'任务概况'
,
type
:
'pie'
,
radius
:
'55%'
,
center
:
[
'50%'
,
'58%'
],
data
:
[
{
value
:
0
,
name
:
'未完成'
,
itemStyle
:
{
color
:
'#fa8167'
}
},
{
value
:
0
,
name
:
'已完成'
,
itemStyle
:
{
color
:
'#5470c6'
}
},
b_set
:
{
color
:
"auto"
,
],
labelLine
:{
length
:
20
,
length2
:
50
,
},
label
:{
color
:
'#fff'
,
fontSize
:
14
,
// formatter:"{b}\n\n",
// padding:[0,-55],
normal
:
{
show
:
false
,
position
:
'outer'
,
// formatter: '{d}%, {c} \n\n',
//模板变量有 {a}, {b},{c},{d},{e},分别表示系列名,数据名,数据值等。
formatter
:
"{a_set|{b}}
\n
{b_set|{d}%}
\n\n\n
"
,
// formatter: "{a_set|{b}}\n{c_set|{d}%}\n{b|}\n\n",
borderWidth
:
20
,
borderRadius
:
4
,
padding
:
[
0
,
-
55
],
rich
:
{
a_set
:
{
color
:
"#cddbe4"
,
lineHeight
:
20
,
align
:
"center"
,
padding
:
[
55
,
-
40
,
-
15
,
-
40
],
},
b_set
:{
color
:
"auto"
,
},
}
}
},
emphasis
:
{
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
'rgba(0, 0, 0, 0.5)'
}
},
},
},
emphasis
:
{
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
"rgba(0, 0, 0, 0.5)"
,
},
},
labelLine
:
{
show
:
false
,
},
},
],
});
},
labelLine
:
{
show
:
false
},
}
]
});
},
//折线图
//折线图
drawLine
(
data
)
{
// 基于准备好的dom,初始化echarts实例
...
...
@@ -573,82 +526,81 @@ export default {
};
</
script
>
<
style
lang=
"scss"
scoped
>
/* @font-face {
font-family: 'arialbd';
} */
.leftb
{
.leftb
{
width
:
98%
;
height
:
100%
;
margin-left
:
2%
;
}
.leftbar1
{
.leftbar1
{
width
:
85%
;
height
:
20%
;
padding-top
:
10%
;
pointer-events
:
auto
;
}
.leftbar2
{
width
:
80%
;
height
:
39%
;
padding-top
:
15px
;
pointer-events
:
auto
;
.leftbar2
{
width
:
80%
;
height
:
39%
;
padding-top
:
15px
;
}
.leftbar3
{
.leftbar3
{
width
:
85%
;
height
:
32%
;
padding-top
:
15px
;
padding-bottom
:
35px
;
pointer-events
:
auto
;
}
.item1
{
width
:
85%
;
height
:
30px
;
font-size
:
16px
;
font-weight
:
700
;
margin-left
:
5%
;
padding-top
:
10px
;
line-height
:
10px
;
// margin-top: 10px;
.item1
{
width
:
85%
;
height
:
30px
;
font-size
:
16px
;
font-weight
:
700
;
margin-left
:
5%
;
padding-top
:
10px
;
line-height
:
10px
;
// margin-top: 10px;
}
.item1
img
{
.item1
img
{
width
:
100%
;
}
.item2
{
width
:
85%
;
height
:
30px
;
font-size
:
16px
;
font-weight
:
700
;
margin-left
:
5%
;
margin-top
:
40px
;
.item2
{
width
:
85%
;
height
:
30px
;
font-size
:
16px
;
font-weight
:
700
;
margin-left
:
5%
;
margin-top
:
40px
;
}
.fong-div
{
.fong-div
{
width
:
4px
;
height
:
10px
;
background-image
:
linear-gradient
(
to
bottom
,
rgb
(
122
,
247
,
247
)
,
#057e8c
);
background-image
:
linear-gradient
(
to
bottom
,
rgb
(
122
,
247
,
247
)
,
#057E8C
);
float
:
left
;
margin-top
:
10px
;
}
.rightline1
{
.rightline1
{
width
:
85%
;
height
:
2px
;
float
:
right
;
background-image
:
linear-gradient
(
to
left
,
#3bfafa
,
#ffffff
00
);
background-image
:
linear-gradient
(
to
left
,
#3BFAFA
,
#ffffff
00
);
margin-top
:
10px
;
margin-right
:
50px
;
}
.rightline2
{
.rightline2
{
width
:
92%
;
height
:
2px
;
float
:
right
;
background-image
:
linear-gradient
(
to
left
,
#3bfafa
,
#ffffff
00
);
background-image
:
linear-gradient
(
to
left
,
#3BFAFA
,
#ffffff
00
);
margin-top
:
10px
;
}
.rightline3
{
.rightline3
{
width
:
95%
;
height
:
2px
;
float
:
right
;
background-image
:
linear-gradient
(
to
left
,
#3bfafa
,
#ffffff
00
);
background-image
:
linear-gradient
(
to
left
,
#3BFAFA
,
#ffffff
00
);
margin-top
:
10px
;
}
/* .dot {
...
...
@@ -700,9 +652,9 @@ export default {
transform: scale(2.4)
}
} */
.div-p
{
.div-p
{
width
:
100%
;
background
:
url(
"../../assets/ranqifirst/div-p.png"
)
;
background
:
url(
'../../assets/ranqifirst/div-p.png'
)
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
cursor
:
pointer
;
...
...
@@ -710,29 +662,27 @@ export default {
color
:
#0ff
;
}
.div-el
{
.div-el
{
margin-top
:
30px
;
width
:
100%
;
height
:
18px
;
}
.left-top
{
.left-top
{
display
:
flex
;
justify-content
:
space-evenly
;
}
.ltop1
{
.ltop1
{
width
:
35%
;
display
:
flex
;
justify-content
:
space-evenly
;
color
:
rgb
(
255
,
255
,
255
);
}
.ltop2
{
.ltop2
{
width
:
35%
;
display
:
flex
;
justify-content
:
space-evenly
;
}
.el-left
{
color
:
rgb
(
255
,
255
,
255
);
color
:
#ad9d66
;
.el-left
{
color
:
#96a4ad
;
width
:
20%
;
height
:
100%
;
float
:
left
;
...
...
@@ -755,7 +705,7 @@ export default {
/* ::v-deep .el-progress-bar__innerText {
color: #1e516f;
} */
.titleTex
{
.titleTex
{
width
:
100%
;
height
:
20px
;
margin-top
:
0px
;
...
...
@@ -771,35 +721,36 @@ export default {
width
:
420px
;
margin-left
:
10px
;
}
.yj
{
.yj
{
padding
:
0px
10px
;
}
.yujing
{
.yujing
{
width
:
33%
;
float
:
left
;
text-align
:
center
;
margin-top
:
45px
;
}
.yujingtop
{
.yujingtop
{
margin
:
5px
0
;
text-align
:
center
;
}
.yujingbottom
{
.yujingbottom
{
color
:
#cddbe4
;
margin-left
:
10px
;
line-height
:
35px
;
padding
:
10px
0
0
0
;
}
.pieone
{
.pieone
{
width
:
50%
;
height
:
60%
;
float
:
left
;
margin-top
:
30px
;
}
.pietwo
{
.pietwo
{
width
:
50%
;
height
:
60%
;
float
:
right
;
margin-top
:
30px
;
}
</
style
>
zh-baseversion-web/src/utils/mapClassForBigOld/map.js
View file @
5a738d9a
...
...
@@ -1125,7 +1125,7 @@ export class EditorMap {
const
pipe
=
this
.
createPipeLine
({
id
:
id
,
path
:
eval
(
path
),
strokeWeight
:
objData
.
strokeWeight
||
2
,
strokeWeight
:
objData
.
strokeWeight
||
4
,
strokeColor
:
color
,
extData
:
objData
,
cursor
:
"pointer"
,
...
...
zh-baseversion-web/src/views/bigWindowOld/index.vue
View file @
5a738d9a
...
...
@@ -178,7 +178,6 @@ import VideoView from "@/components/bigWindowOld/VideoView.vue";
import
Device
from
"@/components/bigWindowOld/Device.vue"
;
import
Cz
from
"@/components/bigWindowOld/Cz.vue"
;
import
User
from
"@/components/bigWindowOld/User.vue"
;
import
Center
from
"@/components/bigWindowOld/Center.vue"
;
import
UserCenter
from
"@/components/bigWindowOld/UserCenter.vue"
;
import
OtherCenter
from
"@/components/bigWindowOld/OtherCenter.vue"
;
import
Company
from
"@/components/bigWindowOld/Company.vue"
;
...
...
@@ -240,43 +239,43 @@ export default {
{
val
:
2
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/firstimage/tiaoyaxiang.png"
),
imgurl
:
require
(
"@/assets/
bigWindowOld/
firstimage/tiaoyaxiang.png"
),
name
:
"调压箱"
,
},
{
val
:
3
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/firstimage/famen.png"
),
imgurl
:
require
(
"@/assets/
bigWindowOld/
firstimage/famen.png"
),
name
:
"阀门井"
,
},
{
val
:
4
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/firstimage/changzhan.png"
),
imgurl
:
require
(
"@/assets/
bigWindowOld/
firstimage/changzhan.png"
),
name
:
"场 站"
,
},
{
val
:
6
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/firstimage/user.png"
),
imgurl
:
require
(
"@/assets/
bigWindowOld/
firstimage/user.png"
),
name
:
"居民用户"
,
},
{
val
:
61
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/firstimage/syUser.svg"
),
imgurl
:
require
(
"@/assets/
bigWindowOld/
firstimage/syUser.svg"
),
name
:
"商业用户"
,
},
{
val
:
5
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/firstimage/jiankong.png"
),
imgurl
:
require
(
"@/assets/
bigWindowOld/
firstimage/jiankong.png"
),
name
:
"监 控"
,
},
{
val
:
18
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/firstimage/yhq.svg"
),
imgurl
:
require
(
"@/assets/
bigWindowOld/
firstimage/yhq.svg"
),
name
:
"餐饮单位液化气用户"
,
},
],
...
...
@@ -743,7 +742,7 @@ export default {
top
:
-10px
;
z-index
:
998
;
text-align
:
center
;
background
:
url("../../assets/firstimage/topbk.svg")
;
background
:
url("../../assets/
bigWindowOld/
firstimage/topbk.svg")
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
backdrop-filter
:
blur
(
4px
);
...
...
@@ -759,7 +758,7 @@ export default {
position
:
fixed
;
top
:
70px
;
z-index
:
999
;
background
:
url("../../assets/firstimage/le.png")
;
background
:
url("../../assets/
bigWindowOld/
firstimage/le.png")
;
background-size
:
105%
100%
;
background-repeat
:
no-repeat
;
margin-left
:
-20px
;
...
...
@@ -772,7 +771,7 @@ export default {
top
:
70px
;
z-index
:
999
;
right
:
0
;
background
:
url("../../assets/firstimage/ri.png")
;
background
:
url("../../assets/
bigWindowOld/
firstimage/ri.png")
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
margin-right
:
-20px
;
...
...
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