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
4dab662c
Commit
4dab662c
authored
Dec 13, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '切片管网接口修改'
parent
6597dd07
Pipeline
#83033
passed with stages
Changes
8
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
21 deletions
+14
-21
设备表.png
public/images/tableModel/设备表.png
+0
-0
AddModal.jsx
...s/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
+5
-5
NewEditModal.jsx
...atformCenter/gis/schemeConfig/TileConfig/NewEditModal.jsx
+4
-9
TileConfig.jsx
...platformCenter/gis/schemeConfig/TileConfig/TileConfig.jsx
+1
-4
AddSlicedModal.jsx
...formCenter/gis/schemeConfig/VectorData/AddSlicedModal.jsx
+1
-0
VectorData.jsx
...platformCenter/gis/schemeConfig/VectorData/VectorData.jsx
+1
-1
AddModal.jsx
...atformCenter/gis/schemeConfig/projectMessage/AddModal.jsx
+1
-1
EditModal.jsx
...tformCenter/gis/schemeConfig/projectMessage/EditModal.jsx
+1
-1
No files found.
public/images/tableModel/设备表.png
0 → 100644
View file @
4dab662c
This diff was suppressed by a .gitattributes entry.
src/pages/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
View file @
4dab662c
...
...
@@ -110,7 +110,7 @@ const AddModal = props => {
levelEnd
:
obj
.
levelEnd
,
levelEndEnlarge
:
obj
.
levelEndEnlarge
,
m_Ip
:
obj
.
IP
,
m_Port
:
obj
.
Port
||
'808
0
'
,
m_Port
:
obj
.
Port
||
'808
8
'
,
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
:
'808
0
'
,
Port
:
'808
8
'
,
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
||
'808
0
'
,
m_Port
:
obj
.
Port
||
'808
8
'
,
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
||
'808
0
'
,
m_Port
:
obj
.
Port
||
'808
8
'
,
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
||
'808
0
'
,
m_Port
:
obj
.
Port
||
'808
8
'
,
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 @
4dab662c
...
...
@@ -336,7 +336,7 @@ const NewEditModal = props => {
gis
:
'geoserver217'
,
proxy
:
'javasvc.panda-water.cn/geoserver'
,
levelEndEnlarge
:
false
,
Port
:
'808
0
'
,
Port
:
'808
8
'
,
User
:
'admin'
,
Pwd
:
'geoserver'
,
});
...
...
@@ -415,7 +415,7 @@ const NewEditModal = props => {
console
.
log
(
result
);
}
GetGridSetList
({
m_Port
:
obj
.
Port
||
'808
0
'
,
m_Port
:
obj
.
Port
||
'808
8
'
,
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
||
'808
0
'
,
m_Port
:
obj
.
Port
||
'808
8
'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
...
...
@@ -467,22 +467,18 @@ const NewEditModal = props => {
setCurrent
(
false
);
setAdvanced
(
0
);
}
console
.
log
(
e
);
console
.
log
(
event
);
};
const
choose
=
()
=>
{
let
obj
=
form
.
getFieldsValue
();
GetCustomBaseMapList
({
m_Port
:
obj
.
Port
||
'808
0
'
,
m_Port
:
obj
.
Port
||
'808
8
'
,
m_User
:
obj
.
User
||
'admin'
,
m_Pwd
:
obj
.
Pwd
||
'geoserver'
,
m_Ip
:
obj
.
IP
||
'192.168.12.7'
,
gsAppName
:
obj
.
gis
,
}).
then
(
res
=>
{
if
(
res
.
IsSuccess
==
true
)
{
console
.
log
(
res
.
results
);
console
.
log
(
Object
.
keys
(
res
.
results
));
setSpaceData
(
res
.
results
);
setKeyData
(
Object
.
keys
(
res
.
results
));
let
aa
=
Object
.
keys
(
res
.
results
)[
0
];
...
...
@@ -490,7 +486,6 @@ const NewEditModal = props => {
let
bb
=
res
.
results
[
aa
];
let
index
=
bb
[
0
].
indexOf
(
':'
);
let
result
=
bb
[
0
].
substr
(
index
+
1
,
bb
[
0
].
length
);
console
.
log
(
result
);
getGetGridSetList
(
aa
,
result
);
form
.
setFieldsValue
({
workSpance
:
aa
,
layer
:
bb
[
0
]
});
}
else
{
...
...
src/pages/platformCenter/gis/schemeConfig/TileConfig/TileConfig.jsx
View file @
4dab662c
...
...
@@ -203,9 +203,6 @@ const TileData = props => {
QueryBaseMapItems
()
.
then
(
res
=>
{
if
(
res
.
code
===
'0'
)
{
res
.
data
.
forEach
(
item
=>
{
item
.
items
=
item
.
items
.
filter
(
i
=>
i
.
type
!==
'google-user'
);
});
setJson
(
res
.
data
);
}
})
...
...
@@ -244,7 +241,7 @@ const TileData = props => {
.
then
(
res
=>
{
if
(
res
.
code
==
'0'
)
{
setTreeLoading
(
false
);
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
type
!==
'google-user'
);
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
isVector
===
0
);
setTileData
(
newdata
);
let
data
=
[];
res
.
data
.
general
.
baseMap
.
layers
.
map
(
item
=>
{
...
...
src/pages/platformCenter/gis/schemeConfig/VectorData/AddSlicedModal.jsx
View file @
4dab662c
...
...
@@ -76,6 +76,7 @@ const AddModal = props => {
proxyUrl
:
obj
.
proxy
,
levelStart
:
obj
.
levelStart
,
origin
:
obj
.
origin
,
isVector
:
1
,
resolution
:
obj
.
resolution
,
tileMatrix
:
obj
.
coordinate
,
levelEnd
:
obj
.
levelEnd
,
...
...
src/pages/platformCenter/gis/schemeConfig/VectorData/VectorData.jsx
View file @
4dab662c
...
...
@@ -336,7 +336,7 @@ const VectorData = props => {
.
then
(
res
=>
{
setTreeTileLoading
(
false
);
if
(
res
.
code
==
'0'
)
{
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
type
===
'google-user'
);
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
isVector
===
1
);
setTileSlicedData
(
newdata
);
let
data
=
[];
newdata
.
map
(
item
=>
{
...
...
src/pages/platformCenter/gis/schemeConfig/projectMessage/AddModal.jsx
View file @
4dab662c
...
...
@@ -167,7 +167,7 @@ const AddModal = props => {
})
.
then
(
res
=>
{
if
(
res
.
code
==
'0'
)
{
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
type
===
'google-user'
);
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
isVector
===
1
);
setTileSlicedData
(
newdata
);
}
else
{
notification
.
error
({
...
...
src/pages/platformCenter/gis/schemeConfig/projectMessage/EditModal.jsx
View file @
4dab662c
...
...
@@ -72,7 +72,7 @@ const EditModal = props => {
})
.
then
(
res
=>
{
if
(
res
.
code
==
'0'
)
{
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
type
===
'google-user'
);
let
newdata
=
res
.
data
.
general
.
baseMap
.
layers
?.
filter
(
i
=>
i
.
isVector
===
1
);
setTileSlicedData
(
newdata
);
}
else
{
notification
.
error
({
...
...
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