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
ff24f073
Commit
ff24f073
authored
Jul 20, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '地图配置新增配置失效问题'
parent
cb71ad19
Pipeline
#55762
passed with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
2 deletions
+21
-2
ManagementDataBase.jsx
src/pages/database/ManagementDataBase/ManagementDataBase.jsx
+5
-1
AddModal.jsx
...s/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
+2
-0
NewEditModal.jsx
...atformCenter/gis/schemeConfig/TileConfig/NewEditModal.jsx
+11
-1
productConfig.less
src/pages/productCenter/productConfig/productConfig.less
+3
-0
No files found.
src/pages/database/ManagementDataBase/ManagementDataBase.jsx
View file @
ff24f073
...
...
@@ -175,7 +175,11 @@ const ManagementDataBase = () => {
const
handleLog
=
(
text
,
val
)
=>
{
setModalTitle
(
val
);
let
arr
=
[];
arr
.
push
(
text
.
split
(
/
(\r\n)
|
(\n)
/
).
map
((
item
,
index
)
=>
<
p
key=
{
index
}
>
{
item
}
</
p
>));
arr
.
push
(
text
.
split
(
/
(\r\n)
|
(\n)
/
)
.
map
((
item
,
index
)
=>
<
p
key=
{
index
}
dangerouslySetInnerHTML=
{
{
__html
:
item
}
}
/>),
);
setModalVisible
(
true
);
// setContent(text);
setContent
(
arr
);
...
...
src/pages/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
View file @
ff24f073
...
...
@@ -104,6 +104,8 @@ const AddModal = props => {
url
=
'//map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetGray/MapServer'
;
}
else
if
(
obj
.
type
==
'streetWarm'
)
{
url
=
'//map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetWarm/MapServer'
;
}
else
if
(
obj
.
type
==
'mapbox-i-ia'
)
{
url
=
'//api.mapbox.com/v4/mapbox.satellite'
;
}
arr
=
{
servicename
:
obj
.
servicename
,
...
...
src/pages/platformCenter/gis/schemeConfig/TileConfig/NewEditModal.jsx
View file @
ff24f073
...
...
@@ -93,6 +93,16 @@ const NewEditModal = props => {
}),
};
}
else
{
let
url
=
''
;
if
(
obj
.
type
==
'streetPurplishBlue'
)
{
url
=
'//map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer'
;
}
else
if
(
obj
.
type
==
'streetGray'
)
{
url
=
'//map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetGray/MapServer'
;
}
else
if
(
obj
.
type
==
'streetWarm'
)
{
url
=
'//map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetWarm/MapServer'
;
}
else
if
(
obj
.
type
==
'mapbox-i-ia'
)
{
url
=
'//api.mapbox.com/v4/mapbox.satellite'
;
}
arr
=
{
servicename
:
obj
.
servicename
,
terminalType
:
'base'
,
...
...
@@ -100,7 +110,7 @@ const NewEditModal = props => {
jsonCfg
:
JSON
.
stringify
({
alpha
:
alpha
,
label
:
obj
.
label
,
url
:
obj
.
url
,
url
:
url
,
icon
:
obj
.
icon
,
type
:
obj
.
type
,
extent
:
null
,
...
...
src/pages/productCenter/productConfig/productConfig.less
View file @
ff24f073
...
...
@@ -5,6 +5,8 @@
}
.leftList {
width: 500px;
height: calc(100vh - 72px);
// overflow: scroll;
}
.rightForm {
width: 100%;
...
...
@@ -14,6 +16,7 @@
justify-content: space-between;
align-items: center;
margin-top: -12px;
margin-bottom: 25px;
padding: 10px 0;
font-size: 16px;
font-weight: bold;
...
...
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