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
c591fa9e
Commit
c591fa9e
authored
1 year ago
by
程恺文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
站点别名
parent
3e22479a
Pipeline
#78362
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
.env
.env
+4
-12
.gitignore
.gitignore
+1
-0
SiteManage.jsx
src/pages/userCenter/siteManage/SiteManage.jsx
+5
-0
No files found.
.env
View file @
c591fa9e
# PUBLIC_PATH = reactOMS, 默认转发 /cityinterface
PROXY=/PandaGIS:http://59.63.182.50:8200;/Cityinterface:http://59.63.182.50:8200;/PandaOMS:http://59.63.182.50:8200;/Publish:http://59.63.182.50:8200;/web4:http://59.63.182.50:8200;/CityTemp:http://59.63.182.50:8200
#PROXY=/PandaGIS:http://192.168.12.149:8300;/Cityinterface:http://192.168.12.149:8300;/PandaOMS:http://192.168.12.149:8300;/Publish:http://192.168.12.149:8300;/web4:http://192.168.12.149:8300;/CityTemp:http://192.168.12.149:8300
#PROXY=/PandaGIS:http://192.168.12.14:8400;/Cityinterface:http://192.168.12.14:8400;/PandaOMS:http://192.168.12.14:8400;/Publish:http://192.168.12.14:8400;/web4:http://192.168.12.14:8400;/CityTemp:http://192.168.12.14:8400
#PROXY=/PandaGIS:http://192.168.12.116:8018;/Cityinterface:http://192.168.12.116:8018;/PandaOMS:http://192.168.12.116:8018;/Publish:http://192.168.12.116:8018;/web4:http://192.168.12.116:8018;/CityTemp:http://192.168.12.116:8018
#PROXY=/PandaGIS:http://192.168.12.178:8085;/Cityinterface:http://192.168.12.178:8085;/PandaOMS:http://192.168.12.178:8085;/Publish:http://192.168.12.178:8085;/web4:http://192.168.12.178:8085;/CityTemp:http://192.168.12.178:8085
#PROXY=/PandaGIS:http://192.168.10.168:8098;/Cityinterface:http://192.168.10.168:8098;/PandaOMS:http://192.168.10.168:8098;/Publish:http://192.168.10.168:8098;/web4:http://192.168.10.168:8098;/CityTemp:http://192.168.10.168:8098
#PROXY=/PandaGIS:http://192.168.19.103:8288;/Cityinterface:http://192.168.19.103:8288;/PandaOMS:http://192.168.19.103:8288;/PandaConfiguration:http://192.168.19.103:8288;/web4:http://192.168.19.103:8288;/CityTemp:http://192.168.19.103:8288
PROXY=/PandaGIS:http://192.168.12.149:8400;/PandaWorkFlow:http://192.168.12.149:8400;/PandaCore:http://192.168.12.149:8400;/Cityinterface:http://192.168.12.149:8400;/PandaOMS:http://192.168.12.149:8400;/Publish:http://192.168.12.149:8400;/Web4:http://192.168.12.149:8400;/CityTemp:http://192.168.12.149:8400
# PROXY=/Cityinterface:http://192.168.12.121:8082;/PandaOMS:http://192.168.12.121:8082;/Web4:http://192.168.12.121:8082;/CityTemp:http://192.168.12.121:8082
# 可设置第二个代理,test为转发前缀,后面为代理转发的地址
# PROXY2 = test : http://localhost:8006/
REACT_APP_SERVER=http://59.63.182.50:8200
# 本地应用启动的host域名
HOST =
192.168.12.154
HOST = 192.168.12.154
# 本地应用启动的端口
#PORT = 3002
PORT = 3003
PORT = 3001
This diff is collapsed.
Click to expand it.
.gitignore
View file @
c591fa9e
...
...
@@ -16,3 +16,4 @@ src/.umi
*.local
.history
.env
This diff is collapsed.
Click to expand it.
src/pages/userCenter/siteManage/SiteManage.jsx
View file @
c591fa9e
...
...
@@ -227,11 +227,16 @@ const SiteManageV2 = () => {
setCheckLoading
(
false
);
setShowSearchStyle
(
true
);
let
list
=
res
.
data
.
data
;
console
.
log
(
list
,
'站点数据。。。。。。。。。。。。。。。。。。。。。。。'
);
// 还原选择的数据
list
.
map
(
v
=>
{
v
.
groupName
=
v
.
level
})
let
indete
=
indeterminate
;
if
(
selectList
.
size
>
0
)
{
[...
selectList
].
map
(
item
=>
{
list
.
forEach
((
value
,
index
)
=>
{
// value.groupName=value.level
// if (item[1].groupId == value.groupId) {
list
[
index
].
users
.
forEach
((
user
,
userIndex
)
=>
{
if
(
user
.
userId
===
item
[
1
].
userId
)
{
...
...
This diff is collapsed.
Click to expand it.
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