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
0088ce13
Commit
0088ce13
authored
Dec 18, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '修改默认底图端口号为18088'
parent
f7fcb47c
Pipeline
#83219
failed with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
21 deletions
+21
-21
AddModal.jsx
...s/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
+5
-5
NewEditModal.jsx
...atformCenter/gis/schemeConfig/TileConfig/NewEditModal.jsx
+12
-12
AddSlicedModal.jsx
...formCenter/gis/schemeConfig/VectorData/AddSlicedModal.jsx
+4
-4
No files found.
src/pages/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
View file @
0088ce13
...
...
@@ -110,7 +110,7 @@ const AddModal = props => {
levelEnd
:
obj
.
levelEnd
,
levelEndEnlarge
:
obj
.
levelEndEnlarge
,
m_Ip
:
obj
.
IP
,
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
gsAppName
:
obj
.
gis
,
...
...
@@ -215,7 +215,7 @@ const AddModal = props => {
gis
:
'geoserver217'
,
IP
:
'192.168.12.7'
,
proxy
:
'javasvc.panda-water.cn/geoserver'
,
Port
:
'8088'
,
Port
:
'
1
8088'
,
User
:
'admin'
,
Pwd
:
'geoserver'
,
isTainDiTu
:
0
,
...
...
@@ -368,7 +368,7 @@ const AddModal = props => {
result
=
aa
.
substr
(
index
+
1
,
aa
.
length
);
}
GetGridSetList
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
@@ -389,7 +389,7 @@ const AddModal = props => {
const
getGetCustomBaseMapByName
=
(
a
,
bb
,
cc
)
=>
{
let
obj
=
form
.
getFieldsValue
();
GetCustomBaseMapByName
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
@@ -427,7 +427,7 @@ const AddModal = props => {
const
choose
=
()
=>
{
let
obj
=
form
.
getFieldsValue
();
GetCustomBaseMapList
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
src/pages/platformCenter/gis/schemeConfig/TileConfig/NewEditModal.jsx
View file @
0088ce13
...
...
@@ -219,8 +219,8 @@ const NewEditModal = props => {
setAlpha
(
formObj
.
alpha
);
let
aa
;
if
(
formObj
.
baseLayer
)
{
let
index
=
formObj
.
baseLayer
.
lastIndexOf
(
':'
);
aa
=
formObj
.
baseLayer
.
substring
(
0
,
index
);
let
index
=
formObj
.
baseLayer
?
.
lastIndexOf
(
':'
);
aa
=
formObj
.
baseLayer
?
.
substring
(
0
,
index
);
console
.
log
(
aa
);
}
console
.
log
(
formObj
.
baseLayer
);
...
...
@@ -260,9 +260,9 @@ const NewEditModal = props => {
workSpance
:
aa
,
// type: `${formObj.servicename}(${formObj.type})`,
});
let
index
=
formObj
.
icon
.
lastIndexOf
(
'/'
);
let
index
=
formObj
.
icon
?
.
lastIndexOf
(
'/'
);
console
.
log
(
index
);
let
str
=
formObj
.
icon
.
substring
(
index
+
1
,
formObj
.
icon
.
length
);
let
str
=
formObj
.
icon
?.
substring
(
index
+
1
,
formObj
.
icon
?
.
length
);
console
.
log
(
str
);
let
defaultIndex
=
arr
.
filter
((
item
,
index
)
=>
{
if
(
item
.
indexOf
(
str
)
!=
-
1
)
{
...
...
@@ -270,13 +270,13 @@ const NewEditModal = props => {
}
});
console
.
log
(
defaultIndex
);
if
(
str
.
indexOf
(
1
)
!=
-
1
)
{
if
(
str
?
.
indexOf
(
1
)
!=
-
1
)
{
setPickItem
(
0
);
}
else
if
(
str
.
indexOf
(
2
)
!=
-
1
)
{
}
else
if
(
str
?
.
indexOf
(
2
)
!=
-
1
)
{
setPickItem
(
1
);
}
else
if
(
str
.
indexOf
(
3
)
!=
-
1
)
{
}
else
if
(
str
?
.
indexOf
(
3
)
!=
-
1
)
{
setPickItem
(
2
);
}
else
if
(
str
.
indexOf
(
4
)
!=
-
1
)
{
}
else
if
(
str
?
.
indexOf
(
4
)
!=
-
1
)
{
setPickItem
(
3
);
}
setRadio
(
defaultIndex
[
0
]);
...
...
@@ -336,7 +336,7 @@ const NewEditModal = props => {
gis
:
'geoserver217'
,
proxy
:
'javasvc.panda-water.cn/geoserver'
,
levelEndEnlarge
:
false
,
Port
:
'8088'
,
Port
:
'
1
8088'
,
User
:
'admin'
,
Pwd
:
'geoserver'
,
});
...
...
@@ -415,7 +415,7 @@ const NewEditModal = props => {
console
.
log
(
result
);
}
GetGridSetList
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
@@ -438,7 +438,7 @@ const NewEditModal = props => {
const
getGetCustomBaseMapByName
=
(
a
,
bb
,
cc
)
=>
{
let
obj
=
form
.
getFieldsValue
();
GetCustomBaseMapByName
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
@@ -472,7 +472,7 @@ const NewEditModal = props => {
const
choose
=
()
=>
{
let
obj
=
form
.
getFieldsValue
();
GetCustomBaseMapList
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
src/pages/platformCenter/gis/schemeConfig/VectorData/AddSlicedModal.jsx
View file @
0088ce13
...
...
@@ -142,7 +142,7 @@ const AddModal = props => {
gsAppName
:
'geoserver217'
,
IP
:
'192.168.12.7'
,
proxy
:
'javasvc.panda-water.cn/geoserver'
,
Port
:
'8088'
,
Port
:
'
1
8088'
,
User
:
'admin'
,
Pwd
:
'geoserver'
,
isTainDiTu
:
0
,
...
...
@@ -228,7 +228,7 @@ const AddModal = props => {
result
=
aa
.
substr
(
index
+
1
,
aa
.
length
);
}
GetGridSetList
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
@@ -249,7 +249,7 @@ const AddModal = props => {
const
getGetCustomBaseMapByName
=
(
a
,
bb
,
cc
)
=>
{
let
obj
=
form
.
getFieldsValue
();
GetCustomBaseMapByName
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
@@ -282,7 +282,7 @@ const AddModal = props => {
const
choose
=
(
e
,
value
)
=>
{
let
obj
=
value
?
value
:
form
.
getFieldsValue
();
GetCustomBaseMapList
({
m_Port
:
obj
.
Port
||
'8088'
,
m_Port
:
obj
.
Port
||
'
1
8088'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
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