Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
刘远
/
3d_dc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
10799f00
authored
2020-08-10 16:58:53 +0800
by
刘远
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加部分功能
1 parent
de8344c0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
327 additions
and
19 deletions
3d_dc.rar
public/index.html
src/components/bottomNav.vue
src/components/rightFunc.vue
src/components/tjxAnslysis.vue
src/components/visualField.vue
src/config.js
src/views/Home.vue
3d_dc.rar
0 → 100644
View file @
10799f0
No preview for this file type
public/index.html
View file @
10799f0
...
...
@@ -9,6 +9,8 @@
<script
src=
"https://cesium.com/downloads/cesiumjs/releases/1.71/Build/Cesium/Cesium.js"
></script>
<link
href=
"https://cesium.com/downloads/cesiumjs/releases/1.71/Build/Cesium/Widgets/widgets.css"
rel=
"stylesheet"
>
<script
src=
"https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"
></script>
</head>
<body>
<noscript>
...
...
src/components/bottomNav.vue
View file @
10799f0
...
...
@@ -2,16 +2,16 @@
<
template
>
<div
class=
"container"
>
<div
class=
"wrapper"
>
<div
class=
"nav-box"
:class=
"[isYZT?'selected':'no-selected']"
@
click=
"jumpNav('isYZT')"
>
<div
class=
"nav-box"
:class=
"[isYZT?'selected':'no-selected']"
@
click=
"jumpNav('isYZT'
, '一张图'
)"
>
<span>
一张图
</span>
</div>
<div
class=
"nav-box"
:class=
"[isCGSC?'selected':'no-selected']"
@
click=
"jumpNav('isCGSC')"
>
<span>
成果审查管理
</span>
<div
class=
"nav-box"
:class=
"[isCGSC?'selected':'no-selected']"
@
click=
"jumpNav('isCGSC'
, '1'
)"
>
<span>
规划成果审查
</span>
</div>
<div
class=
"nav-box"
:class=
"[isSSJD?'selected':'no-selected']"
@
click=
"jumpNav('isSSJD')"
>
<div
class=
"nav-box"
:class=
"[isSSJD?'selected':'no-selected']"
@
click=
"jumpNav('isSSJD'
, '2'
)"
>
<span>
实施监督预警
</span>
</div>
<div
class=
"nav-box"
:class=
"[isPGJG?'selected':'no-selected']"
@
click=
"jumpNav('isPGJG')"
>
<div
class=
"nav-box"
:class=
"[isPGJG?'selected':'no-selected']"
@
click=
"jumpNav('isPGJG'
, '3'
)"
>
<span>
批后监管
</span>
</div>
</div>
...
...
@@ -33,12 +33,30 @@
},
mounted
()
{},
methods
:
{
jumpNav
(
val
)
{
this
.
flagArr
.
forEach
(
ele
=>
{
if
(
ele
==
val
)
this
[
val
]
=
true
;
else
this
[
ele
]
=
false
;
});
jumpNav
(
val
,
label
)
{
// this.flagArr.forEach(ele => {
// if (ele == val) this[val] = true;
// else this[ele] = false;
// });
if
(
val
!=
'isYZT'
)
{
this
.
login
(
val
,
label
);
};
},
login
(
val
,
label
)
{
$
.
ajax
({
type
:
"POST"
,
url
:
this
.
config
.
loginUrl
+
'/api/v1/user/login'
,
dataType
:
"json"
,
async
:
false
,
data
:{
username
:
'案件查处'
,
password
:
'123'
},
success
:(
res
)
=>
{
window
.
open
(
`http://10.6.144.88:10001/frontweb/index.jsp?type=
${
label
}
`
)
},
fail
:
()
=>
{
}
})
}
}
}
</
script
>
...
...
src/components/rightFunc.vue
View file @
10799f0
...
...
@@ -102,6 +102,12 @@
</el-tooltip>
</div>
<!--可视域分析 -->
<div
class=
"func-ico"
:class=
"[visualField?'selected':'']"
@
click=
"handlevisualField('visualField')"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"可视域分析"
placement=
"left"
>
<img
src=
"../assets/一张图/icon_通视.png"
alt=
""
>
</el-tooltip>
</div>
<!--
<div
class=
"func-ico"
:class=
"[is2D?'selected':'']"
@
click=
"handleIs2D()"
>
<img
src=
"../assets/toolbar_icon_ 展开.png"
alt=
""
>
...
...
@@ -118,7 +124,7 @@
props
:
[
'isReturn'
,
'enlarge'
,
'narrow'
,
'coordinate'
,
'distance'
,
'area'
,
'marker'
,
'rollerShutter'
,
'splitScreen'
,
'toNorth'
,
'topSee'
,
'roundSee'
,
'horizon'
,
'allSee'
,
'ymAnslysis'
,
'tjxAnslysis'
,
'yyAnslysis'
,
'kgAnalusis'
'tjxAnslysis'
,
'yyAnslysis'
,
'kgAnalusis'
,
'visualField'
],
data
()
{
return
{}
...
...
@@ -181,6 +187,10 @@
},
handlekgAnalusis
(
val
)
{
this
.
$emit
(
'kgAnalusis'
,
val
,
this
.
kgAnalusis
);
},
handlevisualField
(
val
)
{
debugger
this
.
$emit
(
'visualField'
,
val
,
this
.
visualField
);
}
}
}
...
...
src/components/tjxAnslysis.vue
View file @
10799f0
...
...
@@ -21,7 +21,7 @@
</div>
</div>
<div
class=
"kg-img"
>
<div
class=
"kg-img"
>
<div
class=
"kg-box"
>
<img
:src=
"src"
alt=
""
style=
"width: 100%; height: 100%;"
>
<div
class=
"btn-wrapper2"
>
...
...
@@ -46,7 +46,7 @@
components
:
{},
data
()
{
return
{
src
:
'https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3820738330,1510784229&fm=26&gp=0.jpg'
src
:
'https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3820738330,1510784229&fm=26&gp=0.jpg'
}
},
mounted
()
{},
...
...
@@ -198,15 +198,15 @@
}
.kg-img
{
width
:
410px
;
padding
:
0px
24px
0px
24px
;
width
:
410px
;
padding
:
0px
24px
0px
24px
;
padding-bottom
:
10px
;
}
.kg-box
{
width
:
100%
;
height
:
180px
;
position
:
relative
;
width
:
100%
;
height
:
180px
;
position
:
relative
;
margin-bottom
:
20px
;
}
...
...
src/components/visualField.vue
0 → 100644
View file @
10799f0
// 淹没分析弹窗
<
template
>
<div
class=
"container"
>
<div
class=
"wrapper"
>
<div
class=
"box"
>
</div>
</div>
<div
class=
"mian"
>
<div
class=
"title"
>
<span>
可视域分析
</span>
<span
@
click=
"closePop"
class=
"close"
>
×
</span>
</div>
<div
class=
"func-input"
>
<span
class=
"width-class"
>
方向
</span>
<el-input-number
v-model=
"direction"
controls-position=
"right"
style=
"width:245px; height:38px; margin-left: 12px;"
:step=
'step'
:min=
"0"
:max=
"360"
>
</el-input-number>
<span
style=
"margin-left: 12px;"
>
度
</span>
</div>
<div
class=
"func-input"
>
<span
class=
"width-class"
>
翻转
</span>
<el-input-number
v-model=
"flip"
controls-position=
"right"
style=
"width:245px; height:38px; margin-left: 12px;"
:step=
'step'
:min=
"0"
:max=
"360"
>
</el-input-number>
<span
style=
"margin-left: 12px;"
>
度
</span>
</div>
<div
class=
"func-input"
>
<span
class=
"width-class"
>
距离
</span>
<el-input-number
v-model=
"distance"
controls-position=
"right"
style=
"width:245px; height:38px; margin-left: 12px;"
:step=
'step'
:min=
"0"
:max=
"1000000000"
>
</el-input-number>
<span
style=
"margin-left: 12px;"
>
米
</span>
</div>
<div
class=
"func-input"
>
<span
class=
"width-class"
>
水平视场角
</span>
<el-input-number
v-model=
"level"
controls-position=
"right"
style=
"width:245px; height:38px; margin-left: 12px;"
:step=
'step'
:min=
"0"
:max=
"360"
>
</el-input-number>
<span
style=
"margin-left: 12px;"
>
度
</span>
</div>
<div
class=
"func-input"
>
<span
class=
"width-class"
>
垂直视场角
</span>
<el-input-number
v-model=
"vertical"
controls-position=
"right"
style=
"width:245px; height:38px; margin-left: 12px;"
:step=
'step'
:min=
"0"
:max=
"360"
>
</el-input-number>
<span
style=
"margin-left: 12px;"
>
度
</span>
</div>
<!--
<div>
<div></div>
</div>
-->
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'allSee'
,
components
:
{},
data
()
{
return
{
step
:
1
,
num
:
1
,
direction
:
''
,
flip
:
''
,
distance
:
''
,
level
:
''
,
vertical
:
''
,
isXmbj
:
true
,
// isAnalysis: true
}
},
mounted
()
{},
methods
:
{
closePop
()
{
this
.
$emit
(
'closePop'
,
'visualField'
)
},
handleChange
()
{
},
startAnalysis
()
{
// this.isAnalysis = true;
},
stopAnalysis
()
{
// this.isAnalysis = false;
},
handleIsXmbj
(
flag
)
{
this
.
isXmbj
=
flag
;
}
}
}
</
script
>
<
style
scoped
>
.container
{
position
:
relative
;
color
:
#fff
;
font-size
:
16px
;
width
:
450px
;
}
.wrapper
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
z-index
:
1
;
border
:
1px
solid
rgba
(
151
,
151
,
151
,
0.58
);
}
.box
{
background
:
rgba
(
4
,
10
,
10
,
0.58
);
box-shadow
:
0px
4px
9px
0px
rgba
(
0
,
0
,
0
,
0.5
);
/* filter: blur(10px); */
height
:
100px
;
position
:
absolute
;
width
:
100%
;
height
:
100%
;
z-index
:
1
;
}
.mian
{
position
:
relative
;
width
:
100%
;
height
:
100%
;
z-index
:
1000
;
}
.list-box
span
:nth-of-type
(
1
)
{
display
:
inline-block
;
width
:
98px
;
margin-right
:
20px
;
color
:
rgba
(
255
,
255
,
255
,
.7
);
}
.list-box
span
:nth-of-type
(
2
)
{
margin-top
:
14px
;
display
:
inline-block
;
}
.title
{
display
:
flex
;
justify-content
:
space-between
;
border-bottom
:
1px
solid
rgba
(
255
,
255
,
255
,
0.15
);
padding
:
18px
24px
;
font-size
:
20px
;
}
.func-input
{
display
:
flex
;
align-items
:
center
;
/* justify-content: space-between; */
padding
:
18px
24px
0px
24px
;
font-size
:
18px
;
cursor
:
pointer
;
}
.func
{
padding
:
18px
24px
;
}
.func-btn
{
display
:
flex
;
padding
:
18px
24px
37px
24px
;
align-items
:
center
;
font-size
:
18px
;
cursor
:
pointer
;
}
.btn-wrapper
{
display
:
flex
;
align-items
:
center
;
width
:
190px
;
height
:
36px
;
background-image
:
url('../assets/弹窗按钮背景-默认.png')
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
line-height
:
36px
;
}
.add-bg
{
background-image
:
url('../assets/弹窗按钮背景-选中.png')
;
}
.btn-wrapper2
{
display
:
flex
;
align-items
:
center
;
width
:
116px
;
height
:
38px
;
background-image
:
url('../assets/一张图/bg_专题分析.png')
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
text-align
:
center
;
line-height
:
38px
;
margin-left
:
13px
;
}
.add-bg2
{
background-image
:
url('../assets/一张图/bg_资源目录.png')
;
}
.close
{
cursor
:
pointer
;
}
.center
{
display
:
inline-block
;
width
:
100%
;
height
:
100%
;
text-align
:
center
;
}
.width-class
{
width
:
90px
;
}
>>>
input
::-webkit-input-placeholder
{
font-size
:
16px
;
color
:
rgba
(
255
,
255
,
255
,
0.78
)
!important
;
}
>>>
.el-input__inner
{
background
:
rgba
(
4
,
10
,
10
,
0.58
)
!important
;
border
:
1px
solid
rgba
(
23
,
34
,
38
,
0.57
);
color
:
#fff
;
}
>>>
.el-input__suffix
{
color
:
#fff
;
font-size
:
17px
;
}
>>>
.el-input-number__increase
,
>>>
.el-input-number__decrease
{
background
:
rgba
(
4
,
10
,
10
,
0.58
);
}
>>>
.el-input-number.is-controls-right
.el-input-number__decrease
,
>>>
.el-input-number__increase
{
border-left
:
1px
solid
rgba
(
4
,
10
,
10
,
0.58
);
}
>>>
.el-icon-arrow-up
:before
,
>>>
.el-icon-arrow-down
:before
{
color
:
#fff
;
}
>>>
.el-input-number.is-controls-right
.el-input-number__increase
{
border-bottom
:
1px
solid
rgba
(
4
,
10
,
10
,
0.58
);
}
</
style
>
\ No newline at end of file
src/config.js
View file @
10799f0
...
...
@@ -6,5 +6,6 @@
*/
export
default
{
url
:
''
,
loginUrl
:
'http://10.6.144.88:10001/orup'
,
mapToken
:
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhMzMwMjAwZS1lODRmLTRhNzQtODBkOS01YjZkM2ZkYzRmOGMiLCJpZCI6MzE3MzEsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1OTU5MDA0Njd9.K5Rnvdzv5vDjlEbBH-2vEPMJYPgBDs__uvQHZz6jXTc'
}
\ No newline at end of file
...
...
src/views/Home.vue
View file @
10799f0
...
...
@@ -28,6 +28,7 @@
@
ymAnslysis=
'EymAnslysis'
@
tjxAnslysis=
'EtjxAnslysis'
@
visualField=
'EvisualField'
@
yyAnslysis=
'EyyAnslysis'
@
kgAnalusis=
'EkgAnalusis'
...
...
@@ -73,6 +74,12 @@
<div
class=
"allSee tjx-anslysis"
v-if=
'tjxAnslysis'
>
<tjxAnslysis
@
closePop=
'closePop'
></tjxAnslysis>
</div>
<div
class=
"allSee tjx-anslysis"
v-if=
'visualField'
>
<visualField
@
closePop=
'closePop'
></visualField>
</div>
<div
class=
"allSee"
v-if=
'yyAnslysis'
>
<yyAnslysis
@
closePop=
'closePop'
></yyAnslysis>
</div>
...
...
@@ -108,6 +115,7 @@
import
tjxAnslysis
from
'../components/tjxAnslysis'
;
// 天际线分析
import
yyAnslysis
from
'../components/yyAnslysis'
;
// 阴影分析
import
kgAnalusis
from
'../components/kgAnalusis'
;
// 控高分析
import
visualField
from
'../components/visualField'
//可视域分析
export
default
{
components
:
{
...
...
@@ -122,6 +130,7 @@
ymAnslysis
,
horizon
,
tjxAnslysis
,
visualField
,
yyAnslysis
,
kgAnalusis
,
},
...
...
@@ -148,12 +157,13 @@
allSee
:
false
,
// 通视
ymAnslysis
:
false
,
// 淹没分析
tjxAnslysis
:
false
,
// 天际线分析
visualField
:
false
,
// 可视域分析
yyAnslysis
:
false
,
// 阴影分析
kgAnalusis
:
false
,
// 控高分析
keepArr
:
[
'isReturn'
,
'enlarge'
,
'narrow'
,
'coordinate'
,
'distance'
,
'area'
,
'marker'
,
'rollerShutter'
,
'splitScreen'
,
'toNorth'
,
'topSee'
,
'roundSee'
,
'horizon'
,
'allSee'
,
'ymAnslysis'
,
'tjxAnslysis'
,
'yyAnslysis'
,
'kgAnalusis'
]
'tjxAnslysis'
,
'yyAnslysis'
,
'kgAnalusis'
,
'visualField'
]
}
},
mounted
()
{
...
...
@@ -401,6 +411,11 @@
this
[
val
]
=
!
this
[
val
];
this
.
onlySelect
(
val
);
},
// 可视化分析
EvisualField
(
val
)
{
this
[
val
]
=
!
this
[
val
];
this
.
onlySelect
(
val
);
},
// 阴影分析
EyyAnslysis
(
val
)
{
this
[
val
]
=
!
this
[
val
];
...
...
Please
register
or
sign in
to post a comment