管道基础大数据平台系统开发-【前端】-新系統界面
1
王旭
2023-02-22 e154927eecbe36abd245f196ddcfc08a8b0d9be4
1
已添加1个文件
已修改9个文件
56 ■■■■ 文件已修改
jsconfig.json 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/config/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/globle/globle.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/config.css 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/configure.css 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapView/mapSpacePop.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/mapsdk.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Synthesis/LeftMenu.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Tools/LayerTree.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jsconfig.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,5 @@
{
    "include": [
        "./src/*"
    ]
}
package.json
@@ -25,12 +25,11 @@
    "install": "^0.13.0",
    "jquery": "^3.6.0",
    "moment": "^2.29.4",
    "node-sass": "^7.0.3",
    "node-sass": "^4.14.1",
    "npm": "^8.15.1",
    "object-assign": "^4.1.1",
    "ol": "^6.15.1",
    "sql.js": "^1.5.0",
    "sqlite3": "^5.0.2",
    "sass-loader": "^8.0.0",
    "terraformer-wkt-parser": "^1.2.1",
    "theme-vue": "0.0.8",
    "vant": "^2.12.25",
@@ -57,7 +56,6 @@
    "lint-staged": "^9.5.0",
    "postcss-pxtorem": "^5.1.1",
    "prettier": "^2.2.1",
    "sass-loader": "^10.3.1",
    "vue-particles": "^1.0.9",
    "vue-template-compiler": "^2.6.11"
  },
public/config/config.js
@@ -24,7 +24,7 @@
var geoserverWFSLine = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Am_pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname=';
// æ¨¡åž‹åŠ è½½åœ°å€
var modelUrl = LFData + '/tileset/SN/tileset.json';
var modelUrl = LFData + '/tileset';
// DEM
 var demLayer = LFData + '/dem';
public/globle/globle.js
@@ -18,3 +18,10 @@
    window.TSExcavation = null;
  }
}
window.XZOutlie="dlg_100w_boua"; //1:100万行政面layer名称
window.ImageLayer3=null;//1:100万行政面图层
src/assets/css/config.css
@@ -404,7 +404,7 @@
}
.Black_theme .twoMenu_imge414 {
    background: url("../../assets/img/synthesis/images/3d视域分析.png") no-repeat center;
    background: url("../../assets/img/synthesis/images/2.png") no-repeat center;
}
src/assets/css/configure.css
@@ -236,7 +236,7 @@
}
.twoMenu_imge414 {
    background: url("../../assets/img/synthesis/images/3白底_162.png") no-repeat center;
    background: url("../../assets/img/synthesis/images/1.png") no-repeat center;
}
src/components/MapView/mapSpacePop.vue
@@ -232,7 +232,7 @@
      obj = this.optionx.find(function (item) {
        return item.field === value;
      });
      // debugger
      // if (obj.type == 'serial' || obj.type == 'int') {
      //   this.options = this.options2;
      // } else {
src/components/mapsdk.vue
@@ -415,6 +415,8 @@
        })
      )
      window.ImageLayer3=this.layer3;
      // for (var i in gaoDeBaseUrl) {
      //   sgworld.Creator.createUrlTemplateImageryProvider(
      //     gaoDeBaseUrl[i].label,
src/views/Synthesis/LeftMenu.vue
@@ -1167,7 +1167,7 @@
          var that = this;
          window.model = sgworld.Creator.create3DTilesets(
            '',
            modelUrl,
            modelUrl+'/SN/tileset.json',
            {},
            {},
            '0',
@@ -1214,9 +1214,7 @@
                },
                function (entity) {
                    let   positions = entity.polygon.hierarchy.getValue().positions;
                    console.log(positions);
                    sgworld.Creator.SimpleGraphic.remove(entity.id);
                    window.DXTerrainFlattening = sgworld.Creator.createTerrainModifier("地形压平", positions, 10, {});
                }
            );
@@ -1368,7 +1366,7 @@
          window.sgworld.Command.execute(2, 3, '', (data) => {
            data.showPoint = false;
            data.showLine = true;
            data.mode = 1;
            data.mode = 0;
            // å¼¹çª—数据
            window.PathAnimationData = {
              flyData: data,
@@ -1477,8 +1475,10 @@
            this.$refs && this.$refs.maplayer && this.$refs.maplayer.open();
            this.$store.state.layerMnage = true;
          } else if (this.$store.state.layerMnage == true) {
                       this.$bus.$emit("treeDataCopy","true");
            this.$refs && this.$refs.maplayer && this.$refs.maplayer.closeAll();
            this.$store.state.layerMnage = false;
          }
          break;
@@ -1519,7 +1519,7 @@
  margin: 0;
  padding: 0;
  overflow-y: auto;
  text-align: center;
  // text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
@@ -1533,6 +1533,7 @@
    margin-left: 10px;
    margin-top: 10px;
    border-radius: 5px;
    text-align: center;
  }
  .leftMen_div:hover {
    background: rgba(64, 158, 255, 0.4);
src/views/Tools/LayerTree.vue
@@ -405,9 +405,20 @@
    handleDrop (draggingNode, dropNode, dropType, ev) {
      console.log('tree drop: ', dropNode.label, dropType);
    },
    handleCheckChange (data, checked, indeterminate) {
    handleCheckChange(data, checked, indeterminate) {
      if (data.type != 2) return;
      //做判断是否是1:100万行政界面
      if(data.layer==window.XZOutlie&&checked){
        window.ImageLayer3.show=false;
      }else{
        window.ImageLayer3.show=true;
      }
      var std = [];
      if (data.layerType == 'WMS') {
        var layers_ol = window.map.getAllLayers();
@@ -452,7 +463,7 @@
        }
      }
    },
    setAddLayers (res) {
    setAddLayers(res) {
      if (res.layerType == 'WMS') {
        var url = geoServerURl;
        if (res.url != null && res.url != undefined) {
@@ -669,7 +680,7 @@
      this.$store.state.treeData = this.treeData;
      this.$store.state.checkedKeys = this.$refs.tree.getCheckedKeys()
    });
    if (this.$store.state.showAllLayers == true) {
      this.layersStart();
      this.$store.state.showAllLayers = false;