| | |
| | | > |
| | | <p>请输入内容:</p> |
| | | <el-input v-model="label.name" placeholder="请输入内容" /> |
| | | <p>请输入内容:</p> |
| | | <el-select v-model="color" placeholder="请输入内容" > |
| | | <p>请选择风险等级:</p> |
| | | <el-select v-model="color" placeholder="请选择" > |
| | | <el-option |
| | | v-for="item in colorList" |
| | | :key="item.id" |
| | |
| | | }) |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | }, |
| | | closeCreateHandle() { |
| | |
| | | }, |
| | | }, |
| | | (entity) => { |
| | | debugger |
| | | console.log(wutu3d.draw.attr.getCoordinates(entity)); |
| | | this._initLabel(); |
| | | this.$store.dispatch('map/updateTimestamp'); |
| | | this.form = { |
| | | id:'', |
| | | etype:this.type, |
| | | "type": "Feature", |
| | | "properties": |
| | | "properties": |
| | | JSON.stringify(entity.attribute), |
| | | "geometry": JSON.stringify({ |
| | | "type": "Polygon", |
| | | "coordinates": [ |
| | | |
| | | |
| | | wutu3d.draw.attr.getCoordinates(entity) |
| | | |
| | | |
| | | ] |
| | | }) |
| | | } |