|
|
@ -120,7 +120,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div class="submit"> |
|
|
|
<el-button @click="visible = false">{{ $t("cancel") }}</el-button> |
|
|
|
<el-button @click="closeSubmit">{{ $t("cancel") }}</el-button> |
|
|
|
<el-button type="primary" @click="dataFormSubmitHandle()">{{ |
|
|
|
$t("confirm") |
|
|
|
}}</el-button> |
|
|
@ -253,10 +253,12 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getFormInfo(); |
|
|
|
this.initMap(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
closeSubmit(){ |
|
|
|
this.$emit('closeDialog') |
|
|
|
}, |
|
|
|
// 地图初始化函数,本例取名为init,开发者可根据实际情况定义 |
|
|
|
initMap() { |
|
|
|
// 定义地图中心点坐标 |
|
|
|