419638610@qq.com hace 1 año
padre
commit
5cf01d1053

+ 1 - 0
src/main/resources/static/maps/js/configTest.js

@@ -6,6 +6,7 @@ window.URL_CONFIG = {
     GX_TransportationAnalyst_BaseUrl: "http://39.99.237.110:8090/iserver/services/transportationAnalyst-weiweiGIS110/rest/networkanalyst/DaAnPostgrsSQL_Network@weiweiGIS110"
 };
 window.CONST_VALUES = {
+    Center: [45.507908, 124.290565],
     GX_CZ: ["全部", "铸铁", "钢","PVC","PE","PP-R", "铜", "陶制", "铝塑复合管", "不锈钢复合管", "PP-B"],
     GX_GJ: ["全部", "110","160","200","300","400", "500", "600", "700", "800", "900", "1000"],
     GX_GK: ["全部", "200×200", "300×300", "400×400", "500×500", "600×600", "800×800", "1000×1000"],

+ 217 - 0
src/main/resources/static/maps/js/configTestCL.js

@@ -0,0 +1,217 @@
+window.URL_CONFIG = {
+    GX_Map_BaseUrl: "",
+    GX_Datas_BaseUrl: "http://39.99.237.110:8090/iserver/services/data-weiweiGisCommon/rest/data",
+    GX_Plot_BaseUrl: "http://39.99.237.110:8090/iserver/services/plot-TY/rest/plot/",
+    GX_Spatialanalyst_BaseUrl: "http://39.99.237.110:8090/iserver/services/spatialAnalysis-weiweiGisCommon/restjsr/spatialanalyst",
+    GX_TransportationAnalyst_BaseUrl: "http://39.99.237.110:8090/iserver/services/transportationAnalyst-weiweiGisCommon/rest/networkanalyst/weiweiGIS110_Network@weiweiGIS110"
+};
+window.CONST_VALUES = {
+    Center: [36.711296,118.847301],
+    GX_CZ: ["全部", "铸铁", "钢","PVC","PE","PP-R", "铜", "陶制", "铝塑复合管", "不锈钢复合管", "PP-B"],
+    GX_GJ: ["全部", "110","160","200","300","400", "500", "600", "700", "800", "900", "1000"],
+    GX_GK: ["全部", "200×200", "300×300", "400×400", "500×500", "600×600", "800×800", "1000×1000"],
+    GX_DataSourceName: "weiweiGIS110",
+    GX_DataSetName: "gsGx_CL",
+    JD_DataSourceName: "weiweiGIS110",
+    JD_DataSetName: "gsGD_CL",
+    SP_Min: "1.00",
+    CZ_Min: "0.11",
+    QUERY_BufferDistance: "1",
+    GX_Datas:
+        [{
+            id: "waterLine",
+            name: "供水管线",
+            dataSourceName: "weiweiGIS110",
+            dataSetName: "gsGx_CL",
+            tableName: "gsGX_CL",
+            dataType: "line",
+            showZoom: 0,
+            cols:"SMID:实体编号,BSM:管段编号,QSDH:起始点号,ZDDH:终点点号,CZ:材质,GJ:管径(MM),QDMS:起点埋深(M),ZDMS:终点埋深(M),CD:长度(M),DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,GCBH:工程编号,ZCBH:资产编号,QSDW:权属单位,CQBH:测区编号,TCDW:探测单位,BZ:备注,FLDM:分类代码,TZBM:特征编码,ENABLED:是否可用,YL:压力,LX:流向"
+        },
+        {
+            id: "waterPoint",
+            name: "管网节点",
+            dataSourceName: "weiweiGIS110",
+            dataSetName: "gsGD_CL",
+            tableName: "gsGD_CL",
+            dataType: "point",
+            showZoom: 15,
+            cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+        },
+        {
+            id: "waterMeter",
+            name: "水表",
+            dataSourceName: "weiweiGIS110",
+            dataSetName: "dvSB_CL",
+            tableName: "dvSB_CL",
+            dataType: "point",
+            showZoom: 15,
+            cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+        },
+            {
+                id: "xfsPoint",
+                name: "消防栓",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvXFS_CL",
+                tableName: "dvXFS_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            },
+            {
+                id: "fmPoint",
+                name: "阀门",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvFM_CL",
+                tableName: "dvFM_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            },
+            {
+                id: "jyzPoint",
+                name: "加压站",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvJY_CL",
+                tableName: "dvJY_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            },
+            {
+                id: "pqfPoint",
+                name: "排气阀",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvPQF_CL",
+                tableName: "dvPQF_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            },
+            {
+                id: "cldPoint",
+                name: "流量监测点",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvLL_CL",
+                tableName: "dvLL_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            },
+            {
+                id: "cydPoint",
+                name: "压力监测点",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvYL_CL",
+                tableName: "dvYL_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            },
+            {
+                id: "szdPoint",
+                name: "水质监测点",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvSZ_CL",
+                tableName: "dvSZ_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            },
+            {
+                id: "scPoint",
+                name: "水厂",
+                dataSourceName: "weiweiGIS110",
+                dataSetName: "dvSC_CL",
+                tableName: "dvSC_CL",
+                dataType: "point",
+                showZoom: 15,
+                cols:"SMID:实体编号,BSM:管点编号,FSW:附属物,TZ:特征,CZ:材质,GG:规格,DMGC:地面高程(M),DINGGC:管顶高程(M),MS:埋深(M),X:X坐标,Y:Y坐标,TFH:图幅号,DZMS:地址描述,LRRQ:录入日期,MSRQ:埋设日期,MSFS:埋设方式,QSDW:权属单位,SSBH:设施编号,XH:型号,BZ:备注,CQBH:测区编号,WTH:物探号,FLDM:分类代码,YL:压力,DMT:多媒体"
+            }]
+};
+
+// 覆土分析标准埋深
+FTFX_Mins = new Map([["PE",0.70],["铸铁",0.70],["PVC",1.00],["砼",1.00],["钢",1.00],["PPR",1.00]]);
+
+// 各个图层的样式
+var layerStyles = new Map();
+
+// 管线节点样式
+var waterPointStyle = L.supermap.circleStyle({
+    color: '#953716',
+    fill: true,
+    fillColor: 'green'
+});
+layerStyles.set("waterPoint",waterPointStyle);
+
+// 管线水表样式
+var imgsb = new Image();
+imgsb.src = "/static/maps/images/style/sb.png";
+var waterMeterStyle = L.supermap.imageStyle({
+    img: imgsb
+});
+layerStyles.set("waterMeter",waterMeterStyle);
+
+// 消防栓样式
+var imgxfs = new Image();
+imgxfs.src = "/static/maps/images/style/xfs.png";
+var xfsPointStyle = L.supermap.imageStyle({
+    img: imgxfs
+});
+layerStyles.set("xfsPoint",xfsPointStyle);
+
+// 阀门样式
+var imgfm = new Image();
+imgfm.src = "/static/maps/images/style/fm.png";
+var fmPointStyle = L.supermap.imageStyle({
+    img: imgfm
+});
+layerStyles.set("fmPoint",fmPointStyle);
+
+// 加压站样式
+var imgjyz = new Image();
+imgjyz.src = "/static/maps/images/style/jyz.png";
+var jyzPointStyle = L.supermap.imageStyle({
+    img: imgjyz
+});
+layerStyles.set("jyzPoint",jyzPointStyle);
+
+// 排气阀样式
+var imgpqf = new Image();
+imgpqf.src = "/static/maps/images/style/pqf.png";
+var pqfPointStyle = L.supermap.imageStyle({
+    img: imgpqf
+});
+layerStyles.set("pqfPoint",pqfPointStyle);
+
+// 流量监测点样式
+var imgcld = new Image();
+imgcld.src = "/static/maps/images/style/cld.png";
+var cldPointStyle = L.supermap.imageStyle({
+    img: imgcld
+});
+layerStyles.set("cldPoint",cldPointStyle);
+
+// 压力监测点样式
+var imgcyd = new Image();
+imgcyd.src = "/static/maps/images/style/cyd.png";
+var cydPointStyle = L.supermap.imageStyle({
+    img: imgcyd
+});
+layerStyles.set("cydPoint",cydPointStyle);
+
+// 水质监测点样式
+var imgszd = new Image();
+imgszd.src = "/static/maps/images/style/szd.png";
+var szdPointStyle = L.supermap.imageStyle({
+    img: imgszd
+});
+layerStyles.set("szdPoint",szdPointStyle);
+
+// 水厂样式
+var imgsc = new Image();
+imgsc.src = "/static/maps/images/style/sc.png";
+var scPointStyle = L.supermap.imageStyle({
+    img: imgsc
+});
+layerStyles.set("scPoint",scPointStyle);

+ 1 - 1
src/main/resources/static/maps/js/mapsTest.js

@@ -213,7 +213,7 @@ function loadLayerTrees () {
     crs = L.Proj.CRS("EPSG:4549");
     map = L.map('cesiumContainer', {
         preferCanvas: true,
-        center: [45.507908,124.290565],
+        center: CONST_VALUES.Center,
         zoom: 14,
         crs: L.CRS.TianDiTu_WGS84
     });

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 4 - 4
src/main/resources/templates/daAnGis.html


+ 3 - 2
src/main/resources/templates/login.html

@@ -3,15 +3,16 @@
 <head>
     <th:block th:include="include :: header('登录')"/>
     <link rel="stylesheet" th:href="@{/static/admin/css/other/login.css}" />
+    <link href="/static/admin/images/wwkj.bmp" rel="icon" type="image/x-icon" />
 </head>
 <!-- 代 码 结 构 -->
 <body th:background="@{/static/admin/images/login.svg}">
 <form class="layui-form" action="javascript:void(0);">
     <div class="layui-form-item">
-        <img class="logo" th:src="@{/static/admin/images/daan_icon.png}" />
+        <img class="logo" th:src="@{/static/admin/images/wwkj.bmp}" />
         <div class="title">供水管网地理信息系统</div>
         <div class="desc">
-            	大安-供水管网地理信息系统
+<!--            	大安-供水管网地理信息系统-->
         </div>
     </div>
     <div class="layui-form-item">