|
|
@@ -844,6 +844,10 @@ export default { |
|
|
|
methods: { |
|
|
|
submitzjd(){ |
|
|
|
this.$refs.form.validate().then(() => { |
|
|
|
if(this.form.theGeomJson == null){ |
|
|
|
Dialog({ type: 'danger', message: '请在地图上标注宅基地所在位置!' }); |
|
|
|
return; |
|
|
|
} |
|
|
|
if(this.form.id == null){ |
|
|
|
let surveyItem = JSON.parse(localStorage.getItem("surveyItem")); |
|
|
|
this.$set(this.form, 'surveyId', surveyItem.id); |
|
|
|