Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
田翔
xform
Commits
1786c99f
Commit
1786c99f
authored
5 months ago
by
杨子龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整配置
parent
2079bbb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
settings.js
src/core/FormDesigner/config/settings.js
+6
-6
index.js
src/core/widgets/coord/DataTable/index.js
+6
-1
No files found.
src/core/FormDesigner/config/settings.js
View file @
1786c99f
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
src/core/widgets/coord/DataTable/index.js
View file @
1786c99f
...
...
@@ -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'
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment