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
4ff2023e
Commit
4ff2023e
authored
2 years ago
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '表字段形态'
parent
e163b3ff
Pipeline
#53883
passed with stages
Changes
3
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
fieldEditor.jsx
...s/bsmanager/base/tablemanager/filedConfig/fieldEditor.jsx
+0
-0
filedConfig.jsx
...s/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
+14
-0
DrawBoardManage.jsx
...er/baseFrameContainer/drawBoardManage/DrawBoardManage.jsx
+2
-2
No files found.
src/pages/bsmanager/base/tablemanager/filedConfig/fieldEditor.jsx
View file @
4ff2023e
This diff is collapsed.
Click to expand it.
src/pages/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
View file @
4ff2023e
...
@@ -27,6 +27,7 @@ import {
...
@@ -27,6 +27,7 @@ import {
reloadTableFields
,
reloadTableFields
,
removeFields
,
removeFields
,
loadUnattachedTables
,
loadUnattachedTables
,
LoadLedgers
,
}
from
'@/services/tablemanager/tablemanager'
;
}
from
'@/services/tablemanager/tablemanager'
;
import
{
useHistory
}
from
'react-router-dom'
;
import
{
useHistory
}
from
'react-router-dom'
;
import
FieldEditor
from
'./fieldEditor'
;
import
FieldEditor
from
'./fieldEditor'
;
...
@@ -61,6 +62,7 @@ const AddModal = props => {
...
@@ -61,6 +62,7 @@ const AddModal = props => {
const
[
deleteUserVisible
,
setDeleteUserVisible
]
=
useState
(
false
);
// 批量删除
const
[
deleteUserVisible
,
setDeleteUserVisible
]
=
useState
(
false
);
// 批量删除
const
[
checkStrictly
,
setCheckStrictly
]
=
useState
(
false
);
const
[
checkStrictly
,
setCheckStrictly
]
=
useState
(
false
);
const
[
selectGroup
,
setSelectGroup
]
=
useState
([]);
const
[
selectGroup
,
setSelectGroup
]
=
useState
([]);
const
[
keepStandingBook
,
setKeepStandingBook
]
=
useState
([]);
const
editor
=
record
=>
{
const
editor
=
record
=>
{
console
.
log
(
record
);
console
.
log
(
record
);
...
@@ -300,6 +302,17 @@ const AddModal = props => {
...
@@ -300,6 +302,17 @@ const AddModal = props => {
},
},
},
},
];
];
useEffect
(()
=>
{
LoadLedgers
().
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
let
data
=
[];
res
.
data
.
root
.
map
(
i
=>
{
data
.
push
(
i
.
name
);
});
setKeepStandingBook
(
data
);
}
});
},
[]);
useEffect
(()
=>
{
useEffect
(()
=>
{
console
.
log
(
props
);
console
.
log
(
props
);
...
@@ -724,6 +737,7 @@ const AddModal = props => {
...
@@ -724,6 +737,7 @@ const AddModal = props => {
treeData=
{
treeData
}
treeData=
{
treeData
}
keepTreeFirst=
{
keepTreeFirst
}
keepTreeFirst=
{
keepTreeFirst
}
callBackSubmit=
{
Submit
}
callBackSubmit=
{
Submit
}
keepStandingBook=
{
keepStandingBook
}
/>
/>
{
visible
&&
type
===
'affiliateAdd'
&&
(
{
visible
&&
type
===
'affiliateAdd'
&&
(
<
AffiliateAdd
<
AffiliateAdd
...
...
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/baseFrameContainer/drawBoardManage/DrawBoardManage.jsx
View file @
4ff2023e
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* @Description:
* @Description:
* @Author: leizhe
* @Author: leizhe
* @Date: 2022-04-06 11:38:46
* @Date: 2022-04-06 11:38:46
* @LastEditTime: 2022-0
5-23 10:49:46
* @LastEditTime: 2022-0
6-22 13:53:09
* @LastEditors: leizhe
* @LastEditors: leizhe
*/
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
...
@@ -119,8 +119,8 @@ const DrawBoardManage = () => {
...
@@ -119,8 +119,8 @@ const DrawBoardManage = () => {
const
updateTrees
=
e
=>
{
const
updateTrees
=
e
=>
{
setTreeLoading
(
true
);
setTreeLoading
(
true
);
typeList
().
then
(
res
=>
{
typeList
().
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
setTreeLoading
(
false
);
setTreeLoading
(
false
);
if
(
res
.
code
===
0
)
{
if
(
e
)
{
if
(
e
)
{
let
aa
=
res
.
data
.
find
(
i
=>
i
.
name
===
e
);
let
aa
=
res
.
data
.
find
(
i
=>
i
.
name
===
e
);
setPickItem
(
aa
);
setPickItem
(
aa
);
...
...
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