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
69c4f0a8
Commit
69c4f0a8
authored
Apr 29, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '修改web配置'
parent
86f1afb0
Pipeline
#49164
passed with stages
in 4 minutes 40 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
29 deletions
+31
-29
AddModal.jsx
...s/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
+6
-6
NewEditModal.jsx
...atformCenter/gis/schemeConfig/TileConfig/NewEditModal.jsx
+22
-21
TileConfig.jsx
...platformCenter/gis/schemeConfig/TileConfig/TileConfig.jsx
+1
-0
siteConfigDrawer.js
...es/productCenter/webConfig/components/siteConfigDrawer.js
+2
-2
No files found.
src/pages/platformCenter/gis/schemeConfig/TileConfig/AddModal.jsx
View file @
69c4f0a8
...
...
@@ -504,12 +504,12 @@ const AddModal = props => {
<
Form
form=
{
form
}
{
...
layout
}
onFinish=
{
onFinish
}
>
<
Item
label=
"类型"
name=
"type"
rules=
{
[{
required
:
true
,
message
:
'请选择服务名'
}]
}
>
<
Select
onChange=
{
handleChange
}
>
<
Option
value=
"amap-v"
>
amap-v(高德地形
)
</
Option
>
<
Option
value=
"amap-i"
>
amap-i(高德影像
)
</
Option
>
<
Option
value=
"tianditu-v-va"
>
tianditu-v-va(天地图地形
)
</
Option
>
<
Option
value=
"tianditu-i-ia"
>
tianditu-i-ia(天地图影像
)
</
Option
>
<
Option
value=
"pipenet-tile"
>
pipenet-tile(矢量底图切片
)
</
Option
>
<
Option
value=
"google-user"
>
google-user(自定义底图
)
</
Option
>
<
Option
value=
"amap-v"
>
高德地形(amap-v
)
</
Option
>
<
Option
value=
"amap-i"
>
高德影像(amap-i
)
</
Option
>
<
Option
value=
"tianditu-v-va"
>
天地图地形(tianditu-v-va
)
</
Option
>
<
Option
value=
"tianditu-i-ia"
>
天地图影像(tianditu-i-ia
)
</
Option
>
<
Option
value=
"pipenet-tile"
>
矢量底图切片(pipenet-tile
)
</
Option
>
<
Option
value=
"google-user"
>
自定义底图(google-user
)
</
Option
>
</
Select
>
</
Item
>
<
Item
...
...
src/pages/platformCenter/gis/schemeConfig/TileConfig/NewEditModal.jsx
View file @
69c4f0a8
...
...
@@ -63,6 +63,7 @@ const NewEditModal = props => {
if
(
validate
)
{
let
obj
=
form
.
getFieldsValue
();
let
arr
=
{};
console
.
log
(
mapType
);
if
(
mapType
==
1
)
{
arr
=
{
servicename
:
obj
.
servicename
,
...
...
@@ -101,20 +102,20 @@ const NewEditModal = props => {
url
:
obj
.
url
,
icon
:
obj
.
icon
,
type
:
obj
.
type
,
extent
:
''
,
baseLayer
:
''
,
proxyUrl
:
''
,
levelStart
:
''
,
origin
:
''
,
resolution
:
''
,
tileMatrix
:
''
,
levelEnd
:
''
,
levelEndEnlarge
:
''
,
m_Ip
:
''
,
m_Port
:
''
,
m_User
:
''
,
m_Pwd
:
''
,
gsAppName
:
''
,
//
extent: '',
//
baseLayer: '',
//
proxyUrl: '',
//
levelStart: '',
//
origin: '',
//
resolution: '',
//
tileMatrix: '',
//
levelEnd: '',
//
levelEndEnlarge: '',
//
m_Ip: '',
//
m_Port: '',
//
m_User: '',
//
m_Pwd: '',
//
gsAppName: '',
}),
};
}
...
...
@@ -156,7 +157,7 @@ const NewEditModal = props => {
console
.
log
(
aa
);
}
console
.
log
(
formObj
.
baseLayer
);
if
(
formObj
.
baseLayer
)
{
if
(
formObj
.
type
==
'pipenet-tile'
||
formObj
.
type
==
'google-user'
)
{
setMapType
(
1
);
}
else
{
setMapType
(
0
);
...
...
@@ -467,12 +468,12 @@ const NewEditModal = props => {
<
Form
form=
{
form
}
{
...
layout
}
onFinish=
{
onFinish
}
>
<
Item
label=
"类型"
name=
"type"
rules=
{
[{
required
:
true
,
message
:
'请选择服务名'
}]
}
>
<
Select
onChange=
{
handleChange
}
>
<
Option
value=
"amap-v"
>
amap-v(高德地形
)
</
Option
>
<
Option
value=
"amap-i"
>
amap-i(高德影像
)
</
Option
>
<
Option
value=
"tianditu-v-va"
>
tianditu-v-va(天地图地形
)
</
Option
>
<
Option
value=
"tianditu-i-ia"
>
tianditu-i-ia(天地图影像
)
</
Option
>
<
Option
value=
"pipenet-tile"
>
pipenet-tile(矢量底图切片
)
</
Option
>
<
Option
value=
"google-user"
>
google-user(自定义底图
)
</
Option
>
<
Option
value=
"amap-v"
>
高德地形(amap-v
)
</
Option
>
<
Option
value=
"amap-i"
>
高德影像(amap-i
)
</
Option
>
<
Option
value=
"tianditu-v-va"
>
天地图地形(tianditu-v-va
)
</
Option
>
<
Option
value=
"tianditu-i-ia"
>
天地图影像(tianditu-i-ia
)
</
Option
>
<
Option
value=
"pipenet-tile"
>
矢量底图切片(pipenet-tile
)
</
Option
>
<
Option
value=
"google-user"
>
自定义底图(google-user
)
</
Option
>
</
Select
>
</
Item
>
<
Item
...
...
src/pages/platformCenter/gis/schemeConfig/TileConfig/TileConfig.jsx
View file @
69c4f0a8
...
...
@@ -40,6 +40,7 @@ const TileData = props => {
dataIndex
:
'alpha'
,
key
:
'alpha'
,
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
span
>
{
`${(text * 100).toFixed()}%`
}
</
span
>,
},
{
title
:
'编辑'
,
...
...
src/pages/productCenter/webConfig/components/siteConfigDrawer.js
View file @
69c4f0a8
...
...
@@ -20,8 +20,8 @@ import WebConfigForm from './webConfigForm';
import
Upload
from
'@/components/Upload'
;
import
styles
from
'./siteConfigDrawer.less'
;
const
{
Option
}
=
Select
;
const
plainOptions
=
[
'搜索'
,
'首页'
,
'反馈'
,
'消息'
];
const
defaultCheckedList
=
[
'搜索'
,
'首页'
,
'反馈'
,
'消息'
];
const
plainOptions
=
[
'搜索'
,
'首页'
,
'反馈'
,
'消息'
,
'常用'
];
const
defaultCheckedList
=
[
'搜索'
,
'首页'
,
'反馈'
,
'消息'
,
'常用'
];
export
default
props
=>
{
const
{
visible
,
onClose
,
config
,
hasIntegerate
,
isEdit
,
onOk
,
submitting
,
productList
}
=
props
;
...
...
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