From 8db1be8ebb65735d0f9880cf81703df98fc81ec6 Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期四, 19 五月 2022 16:12:22 +0800 Subject: [PATCH] 风险缝隙单元:v1 --- src/components/Tab/Plot.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/Tab/Plot.vue b/src/components/Tab/Plot.vue index d062258..f50ff87 100644 --- a/src/components/Tab/Plot.vue +++ b/src/components/Tab/Plot.vue @@ -70,8 +70,8 @@ > <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" @@ -193,7 +193,7 @@ }) } } - + }, closeCreateHandle() { @@ -233,21 +233,21 @@ }, }, (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) - + ] }) } -- Gitblit v1.9.2