Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
5f0c9a9c
Commit
5f0c9a9c
authored
Dec 14, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '台账选择器映射字段'
parent
385cda55
Pipeline
#65454
passed with stages
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
fieldEditor.jsx
...s/bsmanager/base/tablemanager/filedConfig/fieldEditor.jsx
+0
-0
filedConfig.jsx
...s/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
+8
-3
AddModal.jsx
...ages/bsmanager/patrolMaintenance/maintenance/AddModal.jsx
+1
-1
No files found.
src/pages/bsmanager/base/tablemanager/filedConfig/fieldEditor.jsx
View file @
5f0c9a9c
This diff is collapsed.
Click to expand it.
src/pages/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
View file @
5f0c9a9c
...
...
@@ -15,6 +15,7 @@ import {
Empty
,
Checkbox
,
Switch
,
Tag
,
}
from
'antd'
;
import
{
EditOutlined
,
...
...
@@ -112,7 +113,7 @@ const AddModal = props => {
title
:
'字段名'
,
dataIndex
:
'name'
,
key
:
'name'
,
align
:
'
left
'
,
align
:
'
center
'
,
width
:
300
,
onCell
:
()
=>
({
style
:
{
...
...
@@ -132,7 +133,7 @@ const AddModal = props => {
</
div
>
);
let
bb
=
(
<
Tooltip
placement=
"topLeft"
title=
{
text
}
>
<
Tooltip
title=
{
text
}
>
<
div
style=
{
{
color
:
styleConfig
(
record
)
}
}
>
{
text
}
</
div
>
</
Tooltip
>
);
...
...
@@ -239,7 +240,11 @@ const AddModal = props => {
width
:
100
,
render
:
(
text
,
record
)
=>
{
const
obj
=
{
children
:
<
span
style=
{
{
color
:
styleConfig
(
record
)
}
}
>
{
text
}
</
span
>,
children
:
(
<
span
style=
{
{
color
:
styleConfig
(
record
)
}
}
>
<
Tag
color=
{
text
===
1
?
'success'
:
'processing'
}
>
{
text
===
1
?
'是'
:
'否'
}
</
Tag
>
</
span
>
),
props
:
{},
};
obj
.
props
.
colSpan
=
record
.
children
?
0
:
1
;
...
...
src/pages/bsmanager/patrolMaintenance/maintenance/AddModal.jsx
View file @
5f0c9a9c
...
...
@@ -513,7 +513,7 @@ const AddModal = props => {
<
TreeSelect
showSearch
dropdownStyle=
{
{
maxHeight
:
400
,
overflow
:
'auto'
}
}
placeholder=
"请选择
表名
"
placeholder=
"请选择
执行周期
"
allowClear
treeDefaultExpandAll
showCheckedStrategy
...
...
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