Commit ec6f8bef by 林永鑫

常规修改

parent be6fb833
/*地图底图配置*/ /*地图底图配置*/
OpMap.prototype.$baseMapConfig = [ 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: [ type: "TileArcGISRest",
0.7039144156731805, requestType: "POST",
0.35195720784848755, url:
0.17597860391234646, "https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}",
0.08798930195617323, layerId: "OpVectorBaseMap",
0.04399465098998392, Visible: true,
0.02199732549499196, projection: "EPSG:4326",
0.01099866274749598, label: "矢量"
0.00549933137374799, }
0.002749665686873995, // {
0.0013748328434369974, // 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: [
6.874164098211937E-4, // 0.7039144156731805,
3.437082168079019E-4, // 0.35195720784848755,
1.7185409650664595E-4, // 0.17597860391234646,
8.592704825332297E-5, // 0.08798930195617323,
4.296352412666149E-5, // 0.04399465098998392,
2.148177396063577E-5, // 0.02199732549499196,
1.0740886980317885E-5, // 0.01099866274749598,
5.370443490158943E-6 // 0.00549933137374799,
], origin: [-400.0, 399.9999999999998] // 0.002749665686873995,
}, // 0.0013748328434369974,
{ // 6.874164098211937E-4,
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: [ // 3.437082168079019E-4,
0.7039144156731805, // 1.7185409650664595E-4,
0.35195720784848755, // 8.592704825332297E-5,
0.17597860391234646, // 4.296352412666149E-5,
0.08798930195617323, // 2.148177396063577E-5,
0.04399465098998392, // 1.0740886980317885E-5,
0.02199732549499196, // 5.370443490158943E-6
0.01099866274749598, // ], origin: [-400.0, 399.9999999999998]
0.00549933137374799, // },
0.002749665686873995, // {
0.0013748328434369974, // 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: [
6.874164098211937E-4, // 0.7039144156731805,
3.437082168079019E-4, // 0.35195720784848755,
1.7185409650664595E-4, // 0.17597860391234646,
8.592704825332297E-5, // 0.08798930195617323,
4.296352412666149E-5, // 0.04399465098998392,
2.148177396063577E-5, // 0.02199732549499196,
1.0740886980317885E-5, // 0.01099866274749598,
5.370443490158943E-6 // 0.00549933137374799,
], origin: [-180.0, 90.0] // 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 = { OpMap.prototype.$MapPz = {
center: [113.74597550136968, 23.023338310886174], center: [113.74597550136968, 23.023338310886174],
zoom: 13, zoom: 13,
...@@ -62,19 +72,19 @@ OpMap.prototype.$MapPz = { ...@@ -62,19 +72,19 @@ OpMap.prototype.$MapPz = {
0.005493164062500001, 0.005493164062500001,
0.0027465820312500004, 0.0027465820312500004,
0.0013732910156250002, 0.0013732910156250002,
6.866455078125001E-4, 6.866455078125001e-4,
3.4332275390625005E-4, 3.4332275390625005e-4,
1.7166137695312503E-4, 1.7166137695312503e-4,
8.583068847656251E-5, 8.583068847656251e-5,
4.2915344238281264E-5, 4.2915344238281264e-5,
2.14576721191406E-5, 2.14576721191406e-5,
1.07288360595703E-5, 1.07288360595703e-5,
5.36441802978516E-6, 5.36441802978516e-6,
2.68220901485E-6, 2.68220901485e-6,
1.341104507425E-6, 1.341104507425e-6,
6.705522537124998E-7 6.705522537124998e-7
] ]
} };
OpMap.prototype.$ZoomToMapScale = { OpMap.prototype.$ZoomToMapScale = {
5: 9244667.36, 5: 9244667.36,
...@@ -90,4 +100,4 @@ OpMap.prototype.$ZoomToMapScale = { ...@@ -90,4 +100,4 @@ OpMap.prototype.$ZoomToMapScale = {
15: 9028, 15: 9028,
16: 4514, 16: 4514,
17: 2257 17: 2257
} };
let base = { let base = {
eqMhUrl:'http://155.1.31.20:8080', eqMhUrl: "http://155.1.31.20:8080",
bigurl: "", bigurl: "",
dwcxURL:'', dwcxURL: "",
maURL:'', maURL: "",
mapurl: "", mapurl: "",
baseMaURL:"", baseMaURL: "",
ztptURL:'http://89.0.23.237:8088', ztptURL: "http://89.0.23.237:8088",
codeUrl:'', codeUrl: "",
BaseURL:'/apiAjzbGaw',//基础查询页得ip BaseURL: "/apiXzxt", //基础查询页得ip
rzURL:'/apiXzxtGaw',//刑专二期得(日志)ip rzURL: "/apiXzxt", //刑专二期得(日志)ip
// bigwfwurl: "", // bigwfwurl: "",
// bigservicesurl: "", // bigservicesurl: "",
// alyIP: "", // alyIP: "",
naotuPath: "", naotuPath: "",
XingZhen: "", XingZhen: "",
ZhiTu_url: "", ZhiTu_url: "",
// naotuurl: "", // naotuurl: "",
Ptlogin: "", Ptlogin: "",
ebss: "", ebss: "",
test: "" test: ""
}; };
export default base; export default base;
...@@ -9,7 +9,7 @@ const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;*/ ...@@ -9,7 +9,7 @@ const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;*/
module.exports = { module.exports = {
publicPath: process.env.NODE_ENV === "development" ? "/" : "./", publicPath: process.env.NODE_ENV === "development" ? "/" : "./",
assetsDir: "static", assetsDir: "static",
transpileDependencies:['@jiaminghi/data-view'], transpileDependencies: ["@jiaminghi/data-view"],
configureWebpack: config => { configureWebpack: config => {
"#source-map"; "#source-map";
if (process.env.NODE_ENV === "production") { if (process.env.NODE_ENV === "production") {
...@@ -34,12 +34,12 @@ module.exports = { ...@@ -34,12 +34,12 @@ module.exports = {
const oneOfsMap = config.module.rule("scss").oneOfs.store; const oneOfsMap = config.module.rule("scss").oneOfs.store;
oneOfsMap.forEach(item => { oneOfsMap.forEach(item => {
item item
.use("sass-resources-loader") .use("sass-resources-loader")
.loader("sass-resources-loader") .loader("sass-resources-loader")
.options({ .options({
resources: "./src/assets/styles/main.scss" resources: "./src/assets/styles/main.scss"
}) })
.end(); .end();
}); });
// if (process.env.NODE_ENV === 'production') { // if (process.env.NODE_ENV === 'production') {
// config.plugin('compressionPlugin') // config.plugin('compressionPlugin')
...@@ -65,15 +65,15 @@ module.exports = { ...@@ -65,15 +65,15 @@ module.exports = {
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiAjzb': '/' "^/apiAjzb": "/"
} }
}, },
"/apiXzxt": { "/apiXzxt": {
target: "http://39.98.114.80:8501/", //统一的请求头部每次修改都要重启才会生效 target: "http://39.99.155.173:8501/", //统一的请求头部每次修改都要重启才会生效
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiXzxt': '/' "^/apiXzxt": "/"
} }
}, },
"/apiDwcx": { "/apiDwcx": {
...@@ -81,7 +81,7 @@ module.exports = { ...@@ -81,7 +81,7 @@ module.exports = {
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiDwcx': '/' "^/apiDwcx": "/"
} }
}, },
"/apiAjzbGaw": { "/apiAjzbGaw": {
...@@ -89,7 +89,7 @@ module.exports = { ...@@ -89,7 +89,7 @@ module.exports = {
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiAjzbGaw': '/' "^/apiAjzbGaw": "/"
} }
}, },
"/apiXzxtGaw": { "/apiXzxtGaw": {
...@@ -97,7 +97,7 @@ module.exports = { ...@@ -97,7 +97,7 @@ module.exports = {
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiXzxtGaw': '/' "^/apiXzxtGaw": "/"
} }
}, },
"/apiDwcxGaw": { "/apiDwcxGaw": {
...@@ -105,7 +105,7 @@ module.exports = { ...@@ -105,7 +105,7 @@ module.exports = {
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiDwcxGaw': '/' "^/apiDwcxGaw": "/"
} }
}, },
"/apiAjzbXzGaw": { "/apiAjzbXzGaw": {
...@@ -113,16 +113,16 @@ module.exports = { ...@@ -113,16 +113,16 @@ module.exports = {
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
pathRewrite: { pathRewrite: {
'^/apiAjzbXzGaw': '/' "^/apiAjzbXzGaw": "/"
} }
}, },
"/apiXzxtXzGaw": { "/apiXzxtXzGaw": {
target: "https://155.1.33.10:20003", // 运控管理 target: "https://155.1.33.10:20003", // 运控管理
changeOrigin: true, changeOrigin: true,
secure: false, secure: false,
pathRewrite: { pathRewrite: {
'^/apiXzxtXzGaw': '/' "^/apiXzxtXzGaw": "/"
} }
}, },
"/apiMa": { "/apiMa": {
...@@ -130,7 +130,7 @@ module.exports = { ...@@ -130,7 +130,7 @@ module.exports = {
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiMa': '/' "^/apiMa": "/"
} }
}, },
"/apiMaGaw": { "/apiMaGaw": {
...@@ -138,16 +138,17 @@ module.exports = { ...@@ -138,16 +138,17 @@ module.exports = {
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/apiMaGaw': '/' "^/apiMaGaw": "/"
} }
},"/pictureSearchByPicture": { },
"/pictureSearchByPicture": {
target: "http://26.3.13.184:2009/", //公安网刑专二期地址西藏:(89.0.23.236:8501),内蒙:(http://26.13.5.1:8501/) target: "http://26.3.13.184:2009/", //公安网刑专二期地址西藏:(89.0.23.236:8501),内蒙:(http://26.13.5.1:8501/)
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { 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