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
0ec0835b
Commit
0ec0835b
authored
Nov 15, 2021
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改二维配置方案配置保存后弹窗不关闭
parent
dab81db2
Pipeline
#37874
passed with stages
in 23 minutes 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
card.jsx
...ormCenter/schemeConfig/projectMessage/components/card.jsx
+10
-2
No files found.
src/pages/platformCenter/schemeConfig/projectMessage/components/card.jsx
View file @
0ec0835b
...
@@ -98,7 +98,14 @@ const CardData = props => {
...
@@ -98,7 +98,14 @@ const CardData = props => {
}
}
const
submitExtent
=
(
extent
,
areaName
)
=>
{
const
submitExtent
=
(
extent
,
areaName
,
flag
)
=>
{
if
(
flag
===
0
)
{
notification
.
warn
({
message
:
'提交失败'
,
description
:
'请框选范围'
,
});
return
;
}
const
jsConfig
=
{
const
jsConfig
=
{
extent
:
extent
,
extent
:
extent
,
areaName
:
areaName
,
areaName
:
areaName
,
...
@@ -117,7 +124,7 @@ const CardData = props => {
...
@@ -117,7 +124,7 @@ const CardData = props => {
).
then
(
).
then
(
res
=>
{
res
=>
{
if
(
res
.
msg
===
"Ok"
)
{
if
(
res
.
msg
===
"Ok"
)
{
setMapScopeVisible
(
tru
e
)
setMapScopeVisible
(
fals
e
)
message
.
info
(
"范围设置成功"
)
message
.
info
(
"范围设置成功"
)
}
}
}
}
...
@@ -204,6 +211,7 @@ const CardData = props => {
...
@@ -204,6 +211,7 @@ const CardData = props => {
visible=
{
mapScopeVisible
}
visible=
{
mapScopeVisible
}
onCancel=
{
()
=>
setMapScopeVisible
(
false
)
}
onCancel=
{
()
=>
setMapScopeVisible
(
false
)
}
confirmModal=
{
submitExtent
}
confirmModal=
{
submitExtent
}
schemename=
{
props
.
item
.
schemename
}
/>
/>
</>
</>
)
)
...
...
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