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
d4617766
Commit
d4617766
authored
Nov 30, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '地图方案权限配置关联站点优化'
parent
01c660bd
Pipeline
#82569
passed with stages
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
index.jsx
src/components/RolePmSite/index.jsx
+0
-0
solutionConfig.jsx
...Center/gis/schemeConfig/solutionConfig/solutionConfig.jsx
+11
-2
api.js
src/services/webConfig/api.js
+3
-0
No files found.
src/components/RolePmSite/index.jsx
View file @
d4617766
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/gis/schemeConfig/solutionConfig/solutionConfig.jsx
View file @
d4617766
...
...
@@ -35,6 +35,7 @@ const VectorData = props => {
const
[
leafs
,
setLeafs
]
=
useState
([]);
const
[
addVisible
,
setAddVisible
]
=
useState
(
false
);
const
[
checkValue
,
setCheckValue
]
=
useState
([]);
const
[
gisType
,
setGisType
]
=
useState
(
''
);
const
columns
=
[
{
...
...
@@ -65,7 +66,10 @@ const VectorData = props => {
render
:
record
=>
(
<
Space
size=
"middle"
>
<
UserAddOutlined
onClick=
{
()
=>
pickRole
(
record
)
}
onClick=
{
()
=>
{
pickRole
(
record
);
setGisType
(
'web'
);
}
}
style=
{
{
fontSize
:
'18px'
,
color
:
'#1890FF'
}
}
/>
</
Space
>
...
...
@@ -124,7 +128,10 @@ const VectorData = props => {
render
:
record
=>
(
<
Space
size=
"middle"
>
<
UserAddOutlined
onClick=
{
()
=>
pickRole
(
record
)
}
onClick=
{
()
=>
{
pickRole
(
record
);
setGisType
(
'phone'
);
}
}
style=
{
{
fontSize
:
'18px'
,
color
:
'#1890FF'
}
}
/>
</
Space
>
...
...
@@ -779,6 +786,8 @@ const VectorData = props => {
groupName=
"站点"
// 打开组件展示的分组名,用来首次获取数据
chooseGroupName=
{
[
'站点'
]
}
// 可选分组名
dataType=
"id"
mapSite=
{
true
}
gisType=
{
gisType
}
// isRadio={true} // 站点单选
/>
{
/* <RoleModal
...
...
src/services/webConfig/api.js
View file @
d4617766
...
...
@@ -349,3 +349,6 @@ export const SortSchemePost = param => post(`${PANDA_GIS}/MapLayer/SortSchemePos
export
const
GetUserName
=
param
=>
get
(
`
${
PUBLISH_SERVICE
}
/UserCenter/GetUserName`
,
param
);
export
const
ProductRepair
=
param
=>
get
(
`
${
PUBLISH_SERVICE
}
/DBManager/ProductRepair`
,
param
);
export
const
GetMapLayerStationList
=
param
=>
get
(
`
${
PANDA_GIS
}
/MapLayer/GetMapLayerStationList`
,
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