功能优化
This commit is contained in:
parent
5fa60f28e7
commit
68e6be693e
@ -127,6 +127,10 @@
|
||||
title: '所属乡村',
|
||||
dataIndex: 'villageName',
|
||||
},
|
||||
{
|
||||
title: '土地名称',
|
||||
dataIndex: 'name',
|
||||
},
|
||||
{
|
||||
title: '土地类型',
|
||||
dataIndex: 'typeName',
|
||||
|
||||
@ -14,6 +14,11 @@
|
||||
<a-col :span="24">
|
||||
<a-page-header style="padding: 0 0 10px 0" title="基本信息" />
|
||||
</a-col>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="土地名称" name="name">
|
||||
<a-input v-model:value="form.name" placeholder="请输入土地名称" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="土地类型" name="type">
|
||||
<DictSelect v-model:value="form.type" key-code="LAND_TYPE" width="100%" placeholder="请选择土地类型" />
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user