系统字段不要展示修改
parent
8539157a94
commit
c4526eeb28
|
|
@ -115,15 +115,17 @@
|
||||||
:label-col="labelCol"
|
:label-col="labelCol"
|
||||||
:wrapper-col="wrapperCol"
|
:wrapper-col="wrapperCol"
|
||||||
>
|
>
|
||||||
<a-form-item
|
<template v-for="(item, index) in headData">
|
||||||
v-for="(item, index) in headData"
|
<a-form-item
|
||||||
:ref="item"
|
v-if="!['Id','Lng','Lat','UpdateTime'].includes(item.dataIndex)"
|
||||||
:label="item.title"
|
:ref="item"
|
||||||
:name="item"
|
:label="item.title"
|
||||||
:key="index"
|
:name="item"
|
||||||
>
|
:key="index"
|
||||||
<a-input v-model:value="formState[item.dataIndex]" />
|
>
|
||||||
</a-form-item>
|
<a-input v-model:value="formState[item.dataIndex]" />
|
||||||
|
</a-form-item>
|
||||||
|
</template>
|
||||||
</a-form>
|
</a-form>
|
||||||
<div class="data-button">
|
<div class="data-button">
|
||||||
<a-button type="primary" @click="onSubmit">保存</a-button>
|
<a-button type="primary" @click="onSubmit">保存</a-button>
|
||||||
|
|
@ -400,7 +402,6 @@
|
||||||
});
|
});
|
||||||
} else if (showTable.value == 'add') {
|
} else if (showTable.value == 'add') {
|
||||||
params.list = [];
|
params.list = [];
|
||||||
|
|
||||||
headData.value?.forEach((item, index) => {
|
headData.value?.forEach((item, index) => {
|
||||||
params.list.push({
|
params.list.push({
|
||||||
name: item.dataIndex,
|
name: item.dataIndex,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue