管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-08-21 dc412901096a7ea7d65d1c7e097d7f9043073d93
src/views/datamanage/uploadmanage.vue
@@ -49,7 +49,7 @@
          class="tabsSpan"
          :class="{ changetabs : active == 'third'}"
        >
          <span> {{$t('dataManage.uploadObj.modelAttachMount')}}</span>
          <span> {{$t('dataManage.uploadObj.attachMount')}}</span>
        </div>
      </div>
    </div>
@@ -807,13 +807,10 @@
        <div
          v-for="item in osgbLasOption"
          style="margin-top: 10px; display: flex; align-items: center; "
          style="margin-top: 10px; display: flex; justify-content: center; align-items: center; "
        >
          <div
            class="contLable"
            style=" margin: 0px 10px;  float: left;"
          >
          <div style=" text-align: center; ">
            {{ item.name }}
          </div>
          <!-- <div style="display: flex; align-items: center; margin: 0px 10px;">
@@ -1056,27 +1053,32 @@
      var ids = [];
      var zs = []
      var models = []
      var srids = [];
      var lerro = [];
      for (var i in this.osgbLasOption) {
        ids.push(this.osgbLasOption[i].id)
        // zs.push(this.osgbLasOption[i].zs)
        zs.push("00")
        zs.push(0)
        srids.push(0)
        models.push(0)
      }
      var srids = [];
      var lerro = [];
      var name = this.osgbLasOption[0].name
      if (this.formInline.type == 'LAS') {
        for (var i in this.osgbLasOption) {
          if (this.osgbLasOption[i].srids) {
            var epsg = this.osgbLasOption[i].srids.replace('EPSG:', '')
            // srids.push(epsg)
            srids.push("00")
          } else {
            lerro.push(this.osgbLasOption[i].name)
          }
          // if (this.osgbLasOption[i].srids) {
          //   //var epsg = this.osgbLasOption[i].srids.replace('EPSG:', '')
          //   // srids.push(epsg)
          //   srids.push("00")
          // } else {
          //   lerro.push(this.osgbLasOption[i].name)
          // }
          srids.push(0)
        }
        if (lerro.length > 0) {
          return this.$message(lerro + '未选择发布数据的坐标系');
        }
        // if (lerro.length > 0) {
        //   return this.$message(lerro + '未选择发布数据的坐标系');
        // }
        // if (!this.osgbLasLayer.strid) {
        //   return this.$message('请选择发布数据的坐标系');
@@ -1087,15 +1089,15 @@
      var obj = {
        dircode: this.formInline.dirid,
        depcode: this.formInline.depid,
        min: null,
        max: null,
        name: null,
        min: 0,
        max: 0,
        name: name,
        type: this.formInline.type,
        noData: null,
        noData: 0,
        ids: ids,
        models: null,
        srids: srids,
        zx: zs
        models: models,
        srids: [],
        zs: zs
      }
      this.loadingText = '数据发布中';
      this.loadDialogVisible = true