Commit ec6f8bef by 林永鑫

常规修改

parent be6fb833
/*地图底图配置*/
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.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]
},
]
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.866455078125001E-4,
3.4332275390625005E-4,
1.7166137695312503E-4,
8.583068847656251E-5,
4.2915344238281264E-5,
2.14576721191406E-5,
1.07288360595703E-5,
5.36441802978516E-6,
2.68220901485E-6,
1.341104507425E-6,
6.705522537124998E-7
6.866455078125001e-4,
3.4332275390625005e-4,
1.7166137695312503e-4,
8.583068847656251e-5,
4.2915344238281264e-5,
2.14576721191406e-5,
1.07288360595703e-5,
5.36441802978516e-6,
2.68220901485e-6,
1.341104507425e-6,
6.705522537124998e-7
]
}
};
OpMap.prototype.$ZoomToMapScale = {
5: 9244667.36,
......@@ -90,4 +100,4 @@ OpMap.prototype.$ZoomToMapScale = {
15: 9028,
16: 4514,
17: 2257
}
};
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;
......@@ -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.98.114.80:8501/", //统一的请求头部每次修改都要重启才会生效
target: "http://39.99.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": "/"
}
},
}
}
}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment