lyfO_o
2022-05-19 8db1be8ebb65735d0f9880cf81703df98fc81ec6
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)
                                    ]
                                })
                            }