Commit 1786c99f authored by 杨子龙's avatar 杨子龙

调整配置

parent 2079bbb2
......@@ -3964,6 +3964,12 @@ const mapWidgets = [
displayType: 'row',
labelWidth: 75,
},
$id: {
title: '数据源',
type: 'string',
widget: 'FieldNames',
required: true,
},
title: {
title: '展示名称',
type: 'string',
......@@ -4831,12 +4837,6 @@ const advancedWidgets = [
],
widget: 'OptionRender',
},
isGIS: {
title: '是否含有GIS数据',
type: 'boolean',
widget: "switch",
default: true,
},
pagination: {
title: '是否启用分页',
type: 'boolean',
......
......@@ -12,7 +12,6 @@ const DataTable = props => {
const {
disabled,
fieldList,
isGIS,
optionRender ,
titleShow ,
pagination ,
......@@ -163,6 +162,12 @@ const DataTable = props => {
const getColumns = () => {
const arr = [];
const list = statusOption?.length !== 0 ? statusOption : fieldList;
let isGIS = false;
list?.forEach(item => {
if(item.fieldType === "gis"){
isGIS = true
}
})
list?.forEach(item => {
if (item.fieldType === '台账' && schema?.widget === 'FileUpload') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment