Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
59d23c3a
Commit
59d23c3a
authored
Dec 23, 2022
by
liuguorong93
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地址更改
parent
2554d3ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
32 deletions
+32
-32
public/js/configPage/config.js
+29
-10
src/views/poDogElectron/components/searchBox.vue
+2
-21
src/views/poDogElectron/components/xzqhSelect.vue
+1
-1
No files found.
public/js/configPage/config.js
View file @
59d23c3a
// 设置图层前缀
let
layerPrefix
=
'fangzheng_jingquan_data_'
// 地图前缀
// let mapPrefix = 'http://172.18.71.238:8088/EzServer7/'
let
mapPrefix
=
'http://59.109.37.252/EzServer/'
// 地图前缀(内网)
let
mapPrefix
=
'http://172.18.71.238:8088/EzServer7/'
let
mapResPrefix
=
'http://172.18.71.238:8088/MapRes_/'
// 辖区组件(内网)
let
clientUrl
=
'http://172.18.71.238:8082/zzjgModelV1'
// 地图前缀(公司对外)
// let mapPrefix = 'http://59.109.37.252/EzServer/'
// let mapResPrefix = 'http://59.109.37.252/vtserver/'
// 辖区组件(公司对外)
// let clientUrl = 'http://59.109.37.252/zzjgModelV1'
var
config
=
{
clientUrl
,
mapboxInfo
:
{
// 图层前缀(重要)
layerPrefix
,
...
...
@@ -48,8 +59,8 @@ var config = {
}
}
],
'sprite'
:
'http://172.18.71.238:8088/MapRes_/
sprites/sprite_baidu'
,
'glyphs'
:
'http://172.18.71.238:8088/MapRes_/
fonts/{fontstack}/{range}.pbf'
'sprite'
:
mapResPrefix
+
'
sprites/sprite_baidu'
,
'glyphs'
:
mapResPrefix
+
'
fonts/{fontstack}/{range}.pbf'
},
// 影像
yxtdtMapStyle
:
{
...
...
@@ -88,8 +99,8 @@ var config = {
}
}
],
'sprite'
:
'http://172.18.71.238:8088/MapRes_/
sprites/sprite_baidu'
,
'glyphs'
:
'http://172.18.71.238:8088/MapRes_/
fonts/{fontstack}/{range}.pbf'
'sprite'
:
mapResPrefix
+
'
sprites/sprite_baidu'
,
'glyphs'
:
mapResPrefix
+
'
fonts/{fontstack}/{range}.pbf'
},
// 深色
darkMapStyle
:
{
...
...
@@ -114,8 +125,8 @@ var config = {
}
},
],
'sprite'
:
'http://172.18.71.238:8088/MapRes_/
sprites/sprite_baidu'
,
'glyphs'
:
'http://172.18.71.238:8088/MapRes_/
fonts/{fontstack}/{range}.pbf'
'sprite'
:
mapResPrefix
+
'
sprites/sprite_baidu'
,
'glyphs'
:
mapResPrefix
+
'
fonts/{fontstack}/{range}.pbf'
},
// 广州
guangzhouStyleUrl
:
'http://172.18.71.238:8088/vtserver/styles/guangzhou_bai.json'
,
...
...
@@ -129,5 +140,12 @@ var config = {
sourceName
:
layerPrefix
+
'multiple_point_source'
,
layerName
:
layerPrefix
+
'multiple_point_layer'
},
}
},
mapDataType
:
[
{
id
:
"b35c4e5f06904c6f9f9a38d2f5bc992f"
,
name
:
"全国POI地址"
,
relationLayer
:
"fz_name_swpoi"
,
},
]
}
\ No newline at end of file
src/views/poDogElectron/components/searchBox.vue
View file @
59d23c3a
...
...
@@ -22,7 +22,7 @@
v-show=
"showSelectBox"
>
<li
class=
"s_li"
class=
"s_li
ellipsis1
"
:class=
"item.id === currentId ? 'current' : ''"
v-for=
"(item) in seList"
:key=
"item.id"
...
...
@@ -97,26 +97,7 @@ export default {
},
methods
:
{
getDataTypeFun
()
{
let
datas
=
[
{
createTime
:
"2022-06-28 16:33:50"
,
description
:
null
,
id
:
"b35c4e5f06904c6f9f9a38d2f5bc992f"
,
name
:
"全国POI地址"
,
relationLayer
:
"fz_name_swpoi"
,
sort
:
1
,
updateTime
:
"2022-09-27 10:05:23"
,
},
// {
// createTime: "2022-06-28 16:34:19",
// description: "描述信息",
// id: "917cfac35fa14db4a62e236903d50831",
// name: "AOI数据",
// relationLayer: "PGIS_SX_DZSX_DH_PT_AOI",
// sort: 2,
// updateTime: "2022-09-27 10:05:27",
// },
];
let
datas
=
config
.
mapDataType
;
let
allRelationLayer
=
""
;
datas
.
forEach
((
item
)
=>
{
allRelationLayer
=
allRelationLayer
+
item
.
relationLayer
+
","
;
...
...
src/views/poDogElectron/components/xzqhSelect.vue
View file @
59d23c3a
...
...
@@ -28,7 +28,7 @@ export default {
{
id
:
"2"
,
cname
:
"省"
,
zoom
:
7
,
zzjglx
:
11
},
{
id
:
"3"
,
cname
:
"市"
,
zoom
:
10
,
zzjglx
:
12
},
];
var
clientUrl
=
"http://172.18.71.238:8082/zzjgModelV1"
;
var
clientUrl
=
config
.
clientUrl
;
/*//初始化组织机构模块*/
var
zzjgParams
=
{
map
:
window
.
map
,
...
...
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