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
ec6f8bef
Commit
ec6f8bef
authored
Aug 05, 2021
by
林永鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
常规修改
parent
be6fb833
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
110 additions
and
102 deletions
+110
-102
public/OpMap/config_internet.js
+67
-57
src/api/base.js
+20
-23
src/assets/img/map/redpoint.png
+0
-0
src/views/ryda/sjda.vue
+0
-0
vue.config.js
+23
-22
No files found.
public/OpMap/config_internet.js
View file @
ec6f8bef
/*地图底图配置*/
OpMap
.
prototype
.
$baseMapConfig
=
[
{
type
:
'TileGrid'
,
requestType
:
"POST"
,
url
:
'http://47.92.225.109:6080/arcgis/rest/services/founder/dg20191120/MapServer/tile/{z}/{y}/{x}'
,
layerId
:
'OpVectorBaseMap'
,
Visible
:
true
,
projection
:
'EPSG:4326'
,
label
:
'矢量'
,
resolutions
:
[
0.7039144156731805
,
0.35195720784848755
,
0.17597860391234646
,
0.08798930195617323
,
0.04399465098998392
,
0.02199732549499196
,
0.01099866274749598
,
0.00549933137374799
,
0.002749665686873995
,
0.0013748328434369974
,
6.874164098211937
E
-
4
,
3.437082168079019
E
-
4
,
1.7185409650664595
E
-
4
,
8.592704825332297
E
-
5
,
4.296352412666149
E
-
5
,
2.148177396063577
E
-
5
,
1.0740886980317885
E
-
5
,
5.370443490158943
E
-
6
],
origin
:
[
-
400.0
,
399.9999999999998
]
},
{
type
:
'TileGrid'
,
requestType
:
"POST"
,
url
:
'http://68.174.69.45:6080/arcgis/rest/services/founder/dgimage/MapServer/tile/{z}/{y}/{x}'
,
layerId
:
'OpImgBaseMap'
,
Visible
:
false
,
projection
:
'EPSG:4326'
,
label
:
'影像'
,
resolutions
:
[
0.7039144156731805
,
0.35195720784848755
,
0.17597860391234646
,
0.08798930195617323
,
0.04399465098998392
,
0.02199732549499196
,
0.01099866274749598
,
0.00549933137374799
,
0.002749665686873995
,
0.0013748328434369974
,
6.874164098211937
E
-
4
,
3.437082168079019
E
-
4
,
1.7185409650664595
E
-
4
,
8.592704825332297
E
-
5
,
4.296352412666149
E
-
5
,
2.148177396063577
E
-
5
,
1.0740886980317885
E
-
5
,
5.370443490158943
E
-
6
],
origin
:
[
-
180.0
,
90.0
]
},
]
type
:
"TileArcGISRest"
,
requestType
:
"POST"
,
url
:
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}"
,
layerId
:
"OpVectorBaseMap"
,
Visible
:
true
,
projection
:
"EPSG:4326"
,
label
:
"矢量"
}
// {
// type: 'TileGrid', requestType: "POST", url: 'http://47.92.225.109:6080/arcgis/rest/services/founder/dg20191120/MapServer/tile/{z}/{y}/{x}', layerId: 'OpVectorBaseMap', Visible: true, projection: 'EPSG:4326', label: '矢量', resolutions: [
// 0.7039144156731805,
// 0.35195720784848755,
// 0.17597860391234646,
// 0.08798930195617323,
// 0.04399465098998392,
// 0.02199732549499196,
// 0.01099866274749598,
// 0.00549933137374799,
// 0.002749665686873995,
// 0.0013748328434369974,
// 6.874164098211937E-4,
// 3.437082168079019E-4,
// 1.7185409650664595E-4,
// 8.592704825332297E-5,
// 4.296352412666149E-5,
// 2.148177396063577E-5,
// 1.0740886980317885E-5,
// 5.370443490158943E-6
// ], origin: [-400.0, 399.9999999999998]
// },
// {
// type: 'TileGrid', requestType: "POST", url: 'http://68.174.69.45:6080/arcgis/rest/services/founder/dgimage/MapServer/tile/{z}/{y}/{x}', layerId: 'OpImgBaseMap', Visible: false, projection: 'EPSG:4326', label: '影像', resolutions: [
// 0.7039144156731805,
// 0.35195720784848755,
// 0.17597860391234646,
// 0.08798930195617323,
// 0.04399465098998392,
// 0.02199732549499196,
// 0.01099866274749598,
// 0.00549933137374799,
// 0.002749665686873995,
// 0.0013748328434369974,
// 6.874164098211937E-4,
// 3.437082168079019E-4,
// 1.7185409650664595E-4,
// 8.592704825332297E-5,
// 4.296352412666149E-5,
// 2.148177396063577E-5,
// 1.0740886980317885E-5,
// 5.370443490158943E-6
// ], origin: [-180.0, 90.0]
// },
];
OpMap
.
prototype
.
$MapPz
=
{
center
:
[
113.74597550136968
,
23.023338310886174
],
zoom
:
13
,
...
...
@@ -62,19 +72,19 @@ OpMap.prototype.$MapPz = {
0.005493164062500001
,
0.0027465820312500004
,
0.0013732910156250002
,
6.866455078125001
E
-
4
,
3.4332275390625005
E
-
4
,
1.7166137695312503
E
-
4
,
8.583068847656251
E
-
5
,
4.2915344238281264
E
-
5
,
2.14576721191406
E
-
5
,
1.07288360595703
E
-
5
,
5.36441802978516
E
-
6
,
2.68220901485
E
-
6
,
1.341104507425
E
-
6
,
6.705522537124998
E
-
7
6.866455078125001
e
-
4
,
3.4332275390625005
e
-
4
,
1.7166137695312503
e
-
4
,
8.583068847656251
e
-
5
,
4.2915344238281264
e
-
5
,
2.14576721191406
e
-
5
,
1.07288360595703
e
-
5
,
5.36441802978516
e
-
6
,
2.68220901485
e
-
6
,
1.341104507425
e
-
6
,
6.705522537124998
e
-
7
]
}
}
;
OpMap
.
prototype
.
$ZoomToMapScale
=
{
5
:
9244667.36
,
...
...
@@ -90,4 +100,4 @@ OpMap.prototype.$ZoomToMapScale = {
15
:
9028
,
16
:
4514
,
17
:
2257
}
}
;
src/api/base.js
View file @
ec6f8bef
let
base
=
{
eqMhUrl
:
'http://155.1.31.20:8080'
,
bigurl
:
""
,
dwcxURL
:
''
,
maURL
:
''
,
mapurl
:
""
,
baseMaURL
:
""
,
ztptURL
:
'http://89.0.23.237:8088'
,
codeUrl
:
''
,
BaseURL
:
'/apiAjzbGaw'
,
//基础查询页得ip
rzURL
:
'/apiXzxtGaw'
,
//刑专二期得(日志)ip
// bigwfwurl: "",
// bigservicesurl: "",
// alyIP: "",
naotuPath
:
""
,
XingZhen
:
""
,
ZhiTu_url
:
""
,
// naotuurl: "",
Ptlogin
:
""
,
ebss
:
""
,
test
:
""
eqMhUrl
:
"http://155.1.31.20:8080"
,
bigurl
:
""
,
dwcxURL
:
""
,
maURL
:
""
,
mapurl
:
""
,
baseMaURL
:
""
,
ztptURL
:
"http://89.0.23.237:8088"
,
codeUrl
:
""
,
BaseURL
:
"/apiXzxt"
,
//基础查询页得ip
rzURL
:
"/apiXzxt"
,
//刑专二期得(日志)ip
// bigwfwurl: "",
// bigservicesurl: "",
// alyIP: "",
naotuPath
:
""
,
XingZhen
:
""
,
ZhiTu_url
:
""
,
// naotuurl: "",
Ptlogin
:
""
,
ebss
:
""
,
test
:
""
};
export
default
base
;
src/assets/img/map/redpoint.png
0 → 100644
View file @
ec6f8bef
1.41 KB
src/views/ryda/sjda.vue
View file @
ec6f8bef
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
ec6f8bef
...
...
@@ -9,7 +9,7 @@ const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;*/
module
.
exports
=
{
publicPath
:
process
.
env
.
NODE_ENV
===
"development"
?
"/"
:
"./"
,
assetsDir
:
"static"
,
transpileDependencies
:
[
'@jiaminghi/data-view'
],
transpileDependencies
:
[
"@jiaminghi/data-view"
],
configureWebpack
:
config
=>
{
"#source-map"
;
if
(
process
.
env
.
NODE_ENV
===
"production"
)
{
...
...
@@ -34,12 +34,12 @@ module.exports = {
const
oneOfsMap
=
config
.
module
.
rule
(
"scss"
).
oneOfs
.
store
;
oneOfsMap
.
forEach
(
item
=>
{
item
.
use
(
"sass-resources-loader"
)
.
loader
(
"sass-resources-loader"
)
.
options
({
resources
:
"./src/assets/styles/main.scss"
})
.
end
();
.
use
(
"sass-resources-loader"
)
.
loader
(
"sass-resources-loader"
)
.
options
({
resources
:
"./src/assets/styles/main.scss"
})
.
end
();
});
// if (process.env.NODE_ENV === 'production') {
// config.plugin('compressionPlugin')
...
...
@@ -65,15 +65,15 @@ module.exports = {
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiAjzb'
:
'/'
"^/apiAjzb"
:
"/"
}
},
"/apiXzxt"
:
{
target
:
"http://39.9
8.114.80
:8501/"
,
//统一的请求头部每次修改都要重启才会生效
target
:
"http://39.9
9.155.173
:8501/"
,
//统一的请求头部每次修改都要重启才会生效
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiXzxt'
:
'/'
"^/apiXzxt"
:
"/"
}
},
"/apiDwcx"
:
{
...
...
@@ -81,7 +81,7 @@ module.exports = {
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiDwcx'
:
'/'
"^/apiDwcx"
:
"/"
}
},
"/apiAjzbGaw"
:
{
...
...
@@ -89,7 +89,7 @@ module.exports = {
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiAjzbGaw'
:
'/'
"^/apiAjzbGaw"
:
"/"
}
},
"/apiXzxtGaw"
:
{
...
...
@@ -97,7 +97,7 @@ module.exports = {
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiXzxtGaw'
:
'/'
"^/apiXzxtGaw"
:
"/"
}
},
"/apiDwcxGaw"
:
{
...
...
@@ -105,7 +105,7 @@ module.exports = {
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiDwcxGaw'
:
'/'
"^/apiDwcxGaw"
:
"/"
}
},
"/apiAjzbXzGaw"
:
{
...
...
@@ -113,16 +113,16 @@ module.exports = {
changeOrigin
:
true
,
secure
:
false
,
pathRewrite
:
{
'^/apiAjzbXzGaw'
:
'/'
"^/apiAjzbXzGaw"
:
"/"
}
},
"/apiXzxtXzGaw"
:
{
target
:
"https://155.1.33.10:20003"
,
// 运控管理
changeOrigin
:
true
,
secure
:
false
,
pathRewrite
:
{
'^/apiXzxtXzGaw'
:
'/'
"^/apiXzxtXzGaw"
:
"/"
}
},
"/apiMa"
:
{
...
...
@@ -130,7 +130,7 @@ module.exports = {
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiMa'
:
'/'
"^/apiMa"
:
"/"
}
},
"/apiMaGaw"
:
{
...
...
@@ -138,16 +138,17 @@ module.exports = {
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiMaGaw'
:
'/'
"^/apiMaGaw"
:
"/"
}
},
"/pictureSearchByPicture"
:
{
},
"/pictureSearchByPicture"
:
{
target
:
"http://26.3.13.184:2009/"
,
//公安网刑专二期地址西藏:(89.0.23.236:8501),内蒙:(http://26.13.5.1:8501/)
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiMaGaw'
:
'/'
"^/apiMaGaw"
:
"/"
}
}
,
}
}
}
};
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