From 2e09a502c01e702a1d63a20c47b7e0a220e0c796 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Tue, 17 May 2022 17:42:21 +0800
Subject: [PATCH] '安全风险空间分布图'
---
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