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
648ede10
Commit
648ede10
authored
Apr 22, 2024
by
军师中郎将
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏端-统计分析-地图切换
parent
86c89247
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
11 deletions
+5
-11
map.js
zh-baseversion-web/src/utils/mapClass/map.js
+1
-1
index.vue
zh-baseversion-web/src/views/bigWindow/index.vue
+2
-2
index.vue
zh-baseversion-web/src/views/emergency/index.vue
+1
-1
MapBottom.vue
...s/operationMonitor/xunjianxuncha/components/MapBottom.vue
+1
-1
CharBoxE.vue
...c/views/statistic/overview/conponents/Middle/CharBoxE.vue
+0
-6
No files found.
zh-baseversion-web/src/utils/mapClass/map.js
View file @
648ede10
...
@@ -46,7 +46,7 @@ export class EditorMap {
...
@@ -46,7 +46,7 @@ export class EditorMap {
constructor
(
contaienr
,
config
=
{},
vue
)
{
constructor
(
contaienr
,
config
=
{},
vue
)
{
this
.
map
=
new
AMap
.
Map
(
contaienr
,
{
this
.
map
=
new
AMap
.
Map
(
contaienr
,
{
viewMode
:
"3D"
,
viewMode
:
"3D"
,
center
:
[
11
8.168541
,
39.838353
],
center
:
[
11
4.684979
,
38.038292
],
layers
:
[
AMap
.
createDefaultLayer
()],
// layers 字段为空或者不赋值将会自动创建默认底图。
layers
:
[
AMap
.
createDefaultLayer
()],
// layers 字段为空或者不赋值将会自动创建默认底图。
zoom
:
14
,
zoom
:
14
,
zooms
:
[
3
,
20
],
zooms
:
[
3
,
20
],
...
...
zh-baseversion-web/src/views/bigWindow/index.vue
View file @
648ede10
...
@@ -110,14 +110,14 @@
...
@@ -110,14 +110,14 @@
"
"
>
>
<!--
<iframe
src=
"../../static/weather.html"
frameborder=
"0"
></iframe>
-->
<!--
<iframe
src=
"../../static/weather.html"
frameborder=
"0"
></iframe>
-->
<iframe
<
!--
<
iframe
scrolling=
"no"
scrolling=
"no"
src=
"https://tianqiapi.com/api.php?style=tz&skin=pitaya&color=fff"
src=
"https://tianqiapi.com/api.php?style=tz&skin=pitaya&color=fff"
frameborder=
"0"
frameborder=
"0"
width=
"450"
width=
"450"
height=
"30"
height=
"30"
allowtransparency=
"true"
allowtransparency=
"true"
></iframe>
></iframe>
-->
<!--
<iframe
scrolling=
"no"
src=
"https://yiketianqi.com/api.php?style=ty&skin=pitaya"
frameborder=
"0"
width=
"300"
height=
"75"
allowtransparency=
"true"
></iframe>
-->
<!--
<iframe
scrolling=
"no"
src=
"https://yiketianqi.com/api.php?style=ty&skin=pitaya"
frameborder=
"0"
width=
"300"
height=
"75"
allowtransparency=
"true"
></iframe>
-->
</div>
</div>
...
...
zh-baseversion-web/src/views/emergency/index.vue
View file @
648ede10
...
@@ -558,7 +558,7 @@ export default {
...
@@ -558,7 +558,7 @@ export default {
{
{
//center: path,
//center: path,
//mapStyle: "amap://styles/f71d3a3d73e14f5b2bf5508bf1411758",
//mapStyle: "amap://styles/f71d3a3d73e14f5b2bf5508bf1411758",
center
:
[
11
8.168541
,
39.838353
],
center
:
[
11
4.684979
,
38.038292
],
zoom
:
14.5
,
zoom
:
14.5
,
},
},
this
this
...
...
zh-baseversion-web/src/views/operationMonitor/xunjianxuncha/components/MapBottom.vue
View file @
648ede10
...
@@ -388,7 +388,7 @@ export default {
...
@@ -388,7 +388,7 @@ export default {
},
},
methods
:
{
methods
:
{
mapInit
()
{
mapInit
()
{
this
.
map
=
new
XjxcMap
(
"xjxcmap"
,
{
center
:
[
11
8.168541
,
39.838353
]},
this
);
this
.
map
=
new
XjxcMap
(
"xjxcmap"
,
{
center
:
[
11
4.684979
,
38.038292
]},
this
);
},
},
reset
()
{
reset
()
{
this
.
searchData
=
{
this
.
searchData
=
{
...
...
zh-baseversion-web/src/views/statistic/overview/conponents/Middle/CharBoxE.vue
View file @
648ede10
...
@@ -60,7 +60,6 @@ export default {
...
@@ -60,7 +60,6 @@ export default {
// "https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples/data/asset/geo/HK.json"
// "https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples/data/asset/geo/HK.json"
// );
// );
const
geoJson
=
{
features
:
jingkaiquArr
,
type
:
"FeatureCollection"
};
const
geoJson
=
{
features
:
jingkaiquArr
,
type
:
"FeatureCollection"
};
console
.
log
(
geoJson
);
this
.
$echarts
.
registerMap
(
"HK"
,
geoJson
);
this
.
$echarts
.
registerMap
(
"HK"
,
geoJson
);
this
.
options
=
{
this
.
options
=
{
roam
:
true
,
roam
:
true
,
...
@@ -134,7 +133,6 @@ export default {
...
@@ -134,7 +133,6 @@ export default {
createDom
(
data
,
parent
)
{
createDom
(
data
,
parent
)
{
const
Component
=
this
.
$Vue
.
extend
(
Infowindow
);
const
Component
=
this
.
$Vue
.
extend
(
Infowindow
);
const
com
=
new
Component
();
const
com
=
new
Component
();
// console.log(com.data=data)
return
new
Component
({
return
new
Component
({
data
()
{
data
()
{
return
{
data
,
parent
};
return
{
data
,
parent
};
...
@@ -145,10 +143,6 @@ export default {
...
@@ -145,10 +143,6 @@ export default {
this
.
$refs
.
chars
.
myChats
.
dispatchAction
({
this
.
$refs
.
chars
.
myChats
.
dispatchAction
({
type
:
"hideTip"
,
type
:
"hideTip"
,
});
});
// const dom = document.getElementsByClassName('tooltip-box')[0];
// const parent =dom.parentElement;
// parent.removeChild(dom);
console
.
log
(
"关闭"
);
},
},
},
},
};
};
...
...
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