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