功能优化
This commit is contained in:
parent
5fa60f28e7
commit
68e6be693e
@ -127,6 +127,10 @@
|
|||||||
title: '所属乡村',
|
title: '所属乡村',
|
||||||
dataIndex: 'villageName',
|
dataIndex: 'villageName',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '土地名称',
|
||||||
|
dataIndex: 'name',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '土地类型',
|
title: '土地类型',
|
||||||
dataIndex: 'typeName',
|
dataIndex: 'typeName',
|
||||||
|
|||||||
@ -14,6 +14,11 @@
|
|||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-page-header style="padding: 0 0 10px 0" title="基本信息" />
|
<a-page-header style="padding: 0 0 10px 0" title="基本信息" />
|
||||||
</a-col>
|
</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-col :span="8">
|
||||||
<a-form-item label="土地类型" name="type">
|
<a-form-item label="土地类型" name="type">
|
||||||
<DictSelect v-model:value="form.type" key-code="LAND_TYPE" width="100%" placeholder="请选择土地类型" />
|
<DictSelect v-model:value="form.type" key-code="LAND_TYPE" width="100%" placeholder="请选择土地类型" />
|
||||||
@ -62,6 +67,7 @@
|
|||||||
|
|
||||||
let form = ref({
|
let form = ref({
|
||||||
landId: '',
|
landId: '',
|
||||||
|
name: '',
|
||||||
type: undefined,
|
type: undefined,
|
||||||
area: '',
|
area: '',
|
||||||
descInfo: '',
|
descInfo: '',
|
||||||
@ -71,6 +77,7 @@
|
|||||||
});
|
});
|
||||||
const defaultForm = {
|
const defaultForm = {
|
||||||
landId: '',
|
landId: '',
|
||||||
|
name: '',
|
||||||
type: undefined,
|
type: undefined,
|
||||||
area: '',
|
area: '',
|
||||||
descInfo: '',
|
descInfo: '',
|
||||||
@ -79,6 +86,7 @@
|
|||||||
mapData: [],
|
mapData: [],
|
||||||
};
|
};
|
||||||
const rules = ref({
|
const rules = ref({
|
||||||
|
name: [{ required: true, message: '请输入土地名称' }],
|
||||||
type: [{ required: true, message: '请选择土地类型' }],
|
type: [{ required: true, message: '请选择土地类型' }],
|
||||||
});
|
});
|
||||||
const polygonMapRef = ref(null);
|
const polygonMapRef = ref(null);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user