管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-08-21 dc412901096a7ea7d65d1c7e097d7f9043073d93
src/views/datamanage/uploadmanage.vue
@@ -1053,13 +1053,18 @@
      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) {
@@ -1069,7 +1074,7 @@
          // } else {
          //   lerro.push(this.osgbLasOption[i].name)
          // }
          srids.push("00")
          srids.push(0)
        }
        // if (lerro.length > 0) {
        //   return this.$message(lerro + '未选择发布数据的坐标系');
@@ -1084,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