管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-04-13 04e2c2e8f79368c462bc13c285c349cb9d387bde
图层管理修改,项目管理修改
已修改3个文件
25 ■■■■ 文件已修改
src/components/ProjectOl.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Tools/LayerTree.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/dataUpdata.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/ProjectOl.vue
@@ -73,11 +73,20 @@
  },
  methods: {
    initOlMap() {
      var val = 'http://{host}/LFData/2d/tiles/img/{z}/{x}/{y}.png';
      if (val.indexOf('{host}') > -1) {
        val = val.replace("{host}", iisHost)
      }
      var vectorLayer = new TileLayer({
        source: new XYZ({
          url: 'http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}',
          url: val,
        }),
      });
      this.mapol = new Map({
        target: 'mapView',
        layers: [vectorLayer],
src/views/Tools/LayerTree.vue
@@ -330,14 +330,15 @@
      } else {
        this.shwoHistogram = false;
      }
      if (Node.level === 3) {
      if (Node.data.children == null) {
        this.firstLevel = false;
      } else {
        this.firstLevel = true;
      }
      if (Node.level === 3 && Node.data.serveType == "Tileset") {
      if (Node.data.children == null && Node.data.serveType == "Tileset") {
        this.showlocal = true;
      } else if (Node.level === 3 && Node.data.serveType != "Tileset") {
      } else if (Node.data.children == null && Node.data.serveType != "Tileset") {
        this.showlocal = false;
      }
      this.menuVisible = true;
src/views/datamanage/dataUpdata.vue
@@ -1384,6 +1384,7 @@
      :visible.sync="warehouseDialog"
      width="70%"
      :close-on-click-modal="false"
      :before-close="handleWarehouseClose"
    >
      <div style="height:65vh">
        <el-table
@@ -1660,7 +1661,7 @@
        label1: '上传',
        label2: '文件上传进度:'
      },
      warehouseDialog: true,
      warehouseDialog: false,
      wareData: [],
    };
  },
@@ -2051,6 +2052,10 @@
      this.setInsrtWareTableClose();
    },
    handleWarehouseClose() {
      this.warehouseDialog = false;
      this.wareData = [];
    },
    //自动匹配
    autoMatchWare() {
      var val1 = this.tableWareOne;