diff --git a/src/views/business/land/land-list.vue b/src/views/business/land/land-list.vue index 76690cf..969ee50 100644 --- a/src/views/business/land/land-list.vue +++ b/src/views/business/land/land-list.vue @@ -127,6 +127,10 @@ title: '所属乡村', dataIndex: 'villageName', }, + { + title: '土地名称', + dataIndex: 'name', + }, { title: '土地类型', dataIndex: 'typeName', diff --git a/src/views/business/land/land-modal.vue b/src/views/business/land/land-modal.vue index de1db0e..f9bd441 100644 --- a/src/views/business/land/land-modal.vue +++ b/src/views/business/land/land-modal.vue @@ -14,6 +14,11 @@ + + + + + @@ -62,6 +67,7 @@ let form = ref({ landId: '', + name: '', type: undefined, area: '', descInfo: '', @@ -71,6 +77,7 @@ }); const defaultForm = { landId: '', + name: '', type: undefined, area: '', descInfo: '', @@ -79,6 +86,7 @@ mapData: [], }; const rules = ref({ + name: [{ required: true, message: '请输入土地名称' }], type: [{ required: true, message: '请选择土地类型' }], }); const polygonMapRef = ref(null);