Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj_app
sass-admin
Commits
4447bc4e
Commit
4447bc4e
authored
Jun 17, 2025
by
end
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
81675eed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
src/pages/TrainingPrograms/ProgeamsManage/Baseinfoform.jsx
+15
-2
src/pages/TrainingPrograms/ProgeamsManage/index.jsx
+2
-2
No files found.
src/pages/TrainingPrograms/ProgeamsManage/Baseinfoform.jsx
View file @
4447bc4e
...
@@ -369,8 +369,21 @@ class App extends React.Component {
...
@@ -369,8 +369,21 @@ class App extends React.Component {
<
Row
gutter=
{
12
}
>
<
Row
gutter=
{
12
}
>
<
Col
span=
{
16
}
>
<
Col
span=
{
16
}
>
{
getFieldDecorator
(
"organizer"
,
{
{
getFieldDecorator
(
"organizer"
,
{
initialValue
:
initialValue
:
(()
=>
{
trainfirstinfo
!==
""
?
trainfirstinfo
.
organizer
?.
split
(
','
)
:
[],
try
{
if
(
trainfirstinfo
!==
""
&&
trainfirstinfo
.
organizer
)
{
// 尝试解析 JSON 字符串为数组
const
parsedOrganizer
=
JSON
.
parse
(
trainfirstinfo
.
organizer
);
// 确保解析结果是数组
if
(
Array
.
isArray
(
parsedOrganizer
))
{
return
parsedOrganizer
;
}
}
}
catch
(
error
)
{
console
.
error
(
'解析组织方数据失败:'
,
error
);
}
return
[];
})(),
rules
:
[
rules
:
[
{
{
required
:
false
,
required
:
false
,
...
...
src/pages/TrainingPrograms/ProgeamsManage/index.jsx
View file @
4447bc4e
...
@@ -1178,7 +1178,7 @@ class NewTP extends Component {
...
@@ -1178,7 +1178,7 @@ class NewTP extends Component {
},
},
],
],
activityAddress
:
values
.
activityAddress
,
activityAddress
:
values
.
activityAddress
,
organizer
:
values
.
organizer
,
organizer
:
JSON
.
stringify
(
values
.
organizer
)
,
activityReward
:
values
.
activityReward
,
activityReward
:
values
.
activityReward
,
// logo地址
// logo地址
logoImg
:
values
.
logo
,
logoImg
:
values
.
logo
,
...
@@ -1630,7 +1630,7 @@ class NewTP extends Component {
...
@@ -1630,7 +1630,7 @@ class NewTP extends Component {
},
},
],
],
activityAddress
:
values
.
activityAddress
,
activityAddress
:
values
.
activityAddress
,
organizer
:
values
.
organizer
,
organizer
:
JSON
.
stringify
(
values
.
organizer
)
,
activityReward
:
values
.
activityReward
,
activityReward
:
values
.
activityReward
,
// logo地址
// logo地址
logoImg
:
this
.
state
.
logourl
,
logoImg
:
this
.
state
.
logourl
,
...
...
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