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
9f127906
Commit
9f127906
authored
May 28, 2021
by
mayongxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口优化
parent
35e4d3c2
Pipeline
#28450
skipped with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
28 deletions
+40
-28
index.jsx
src/pages/platformCenter/bsmanager/tablemanager/index.jsx
+10
-2
VisibleRoleModal.jsx
...projectManage/components/RolseSelect/VisibleRoleModal.jsx
+2
-2
VectorPreviewModal.jsx
...formCenter/schemeConfig/VectorData/VectorPreviewModal.jsx
+2
-2
config.js
src/routes/config.js
+22
-22
gis.jsx
src/services/platform/gis.jsx
+4
-0
No files found.
src/pages/platformCenter/bsmanager/tablemanager/index.jsx
View file @
9f127906
...
...
@@ -269,10 +269,18 @@ const TableManager = () => {
<
Table
columns=
{
columns
}
dataSource=
{
tableData
}
pagination=
{
{
pageSize
:
10
}
}
scroll=
{
{
y
:
700
}
}
//
pagination={{ pageSize: 10 }}
scroll=
{
{
x
:
'max-content'
,
y
:
'calc(100vh - 238px)'
}
}
size=
"small"
rowKey=
{
(
record
,
index
)
=>
`complete${record.tableID}${index}`
}
pagination=
{
{
showTotal
:
(
total
,
range
)
=>
`第${range[0]}-${range[1]} 条/共 ${total} 条`
,
pageSizeOptions
:
[
10
,
20
,
50
,
100
],
defaultPageSize
:
20
,
showQuickJumper
:
true
,
showSizeChanger
:
true
,
}
}
/>
</
div
>
</
div
>
...
...
src/pages/platformCenter/messageManage/projectManage/components/RolseSelect/VisibleRoleModal.jsx
View file @
9f127906
...
...
@@ -67,7 +67,7 @@ const VisibleRoleModal = props => {
useEffect
(()
=>
{
setSelectRole
(
props
.
value
)
GetRoleGroupList
()
},
[
props
])
},
[])
const
handleCancel
=
()
=>
{
...
...
@@ -110,7 +110,7 @@ const VisibleRoleModal = props => {
<
SiteModal
{
...
props
}
title=
{
title
?
`选择${title}`
:
关联角色
}
title=
{
title
?
`选择${title}`
:
"关联角色"
}
bodyStyle=
{
{
width
:
'100%'
,
minHeight
:
'100px'
}
}
style=
{
{
top
:
200
,
borderRadius
:
'20px'
}
}
width=
"800px"
...
...
src/pages/platformCenter/schemeConfig/VectorData/VectorPreviewModal.jsx
View file @
9f127906
...
...
@@ -38,7 +38,7 @@ const VectorPreviewModal = props => {
map
&&
map
.
clearMap
()
map
&&
map
.
remove
(
map
.
getLayers
())
setIsLoading
(
true
)
map
&&
GetMetaData
(
metaData
.
service
Name
).
then
(
map
&&
GetMetaData
(
metaData
.
GISServerProject
Name
).
then
(
res2
=>
{
if
(
res2
&&
res2
.
units
)
{
setIsLoading
(
false
)
...
...
@@ -54,7 +54,7 @@ const VectorPreviewModal = props => {
};
const
wmsOption
=
{
tileSize
:
512
,
url
:
`
${
location
.
origin
}
/Cityinterface/rest/services/MapServer.svc/
${
metaData
.
service
Name
}
/GeoServerProxy/wms`
,
url
:
`
${
location
.
origin
}
/Cityinterface/rest/services/MapServer.svc/
${
metaData
.
GISServerProject
Name
}
/GeoServerProxy/wms`
,
blend
:
false
,
params
:
params
,
zooms
:
[
2
,
20
],
...
...
src/routes/config.js
View file @
9f127906
...
...
@@ -177,28 +177,28 @@ export default {
// },
// ],
},
{
path
:
'/platformCenter/iot'
,
name
:
'组态平台'
,
component
:
BaseFrameContainer
,
tabs
:
[
{
tabName
:
'模型类型'
,
url
:
'/web4/?widget=configuration/ConfigurationsOperationV1/ModelTypeManage/ModelTypeManage|hideMap=true'
,
},
{
tabName
:
'模型文件'
,
url
:
'/web4/?widget=configuration/ConfigurationsOperationV1/ModelFileManage/ModelFileManage|hideMap=true'
,
},
{
tabName
:
'画板管理'
,
url
:
'/web4/?widget=configuration/ConfigurationsOperationV1/DrawBoardManage/DrawBoardManage|hideMap=true'
,
},
],
},
//
{
//
path: '/platformCenter/iot',
//
name: '组态平台',
//
component: BaseFrameContainer,
//
tabs: [
//
{
//
tabName: '模型类型',
//
url:
//
'/web4/?widget=configuration/ConfigurationsOperationV1/ModelTypeManage/ModelTypeManage|hideMap=true',
//
},
//
{
//
tabName: '模型文件',
//
url:
//
'/web4/?widget=configuration/ConfigurationsOperationV1/ModelFileManage/ModelFileManage|hideMap=true',
//
},
//
{
//
tabName: '画板管理',
//
url:
//
'/web4/?widget=configuration/ConfigurationsOperationV1/DrawBoardManage/DrawBoardManage|hideMap=true',
//
},
//
],
//
},
// {
// path: '/platformCenter/order',
// name: '业务平台',
...
...
src/services/platform/gis.jsx
View file @
9f127906
...
...
@@ -6,5 +6,9 @@ export const GetAllConfig = param =>
export
const
GetMetaData
=
param
=>
get
(
`
${
CITY_SERVICE
}
/MapServer.svc/
${
param
}
`
);
//3.获取元数据新
export
const
GetMetaDataNew
=
param
=>
get
(
`
${
CITY_SERVICE
}
/MapServer.svc/
${
param
}
`
);
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