| | |
| | | this.insertLayer.number = this.multipleSelection.length |
| | | this.insertLayer.noData = '0'; |
| | | this.insertDialogVisible = true; |
| | | } if (this.formInline.type == "3DML" || this.formInline.type == "BIM") { |
| | | } else if (this.formInline.type == "3DML" || this.formInline.type == "BIM") { |
| | | var val = JSON.parse(JSON.stringify(this.multipleSelection)) |
| | | for (var i in val) { |
| | | val[i].isModel = null |
| | |
| | | this.insertDialogVisible = false; |
| | | |
| | | const data = await publish_insert(obj); |
| | | if (data.code != 200) { |
| | | this.$message.error("数据发布失败") |
| | | |
| | | } else { |
| | | if (data.code == 200 && data.result > 0) { |
| | | this.$message({ |
| | | message: '数据发布成功', |
| | | type: 'success' |
| | | }); |
| | | } else { |
| | | this.$message.error("数据发布失败") |
| | | } |
| | | |
| | | this.loadDialogVisible = false |
| | | this.getTableData(); |
| | | } |