| | |
| | | class="tabsSpan" |
| | | :class="{ changetabs : active == 'third'}" |
| | | > |
| | | <span> {{$t('dataManage.uploadObj.modelAttachMount')}}</span> |
| | | <span> {{$t('dataManage.uploadObj.attachMount')}}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <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;"> |
| | |
| | | |
| | | 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('请选择发布数据的坐标系'); |
| | |
| | | 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 |