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
6210d2d0
Commit
6210d2d0
authored
Mar 28, 2023
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改用户管理参数
parent
5a487c7b
Pipeline
#69955
passed with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
CurrentSolution.jsx
src/pages/currentSolution/CurrentSolution.jsx
+3
-5
SiteManage.jsx
src/pages/userCenter/siteManage/SiteManage.jsx
+2
-2
UserManage.jsx
src/pages/userCenter/userManage/UserManage.jsx
+3
-3
api.js
src/services/database/api.js
+3
-1
No files found.
src/pages/currentSolution/CurrentSolution.jsx
View file @
6210d2d0
...
...
@@ -55,21 +55,19 @@ const CurrentSolution = () => {
setLoading
(
true
);
changeSolution
({
solution
:
currentData
,
_version
:
9999
,
_dc
:
new
Date
().
getTime
(),
})
.
then
(
res
=>
{
setLoading
(
false
);
if
(
res
.
success
)
{
if
(
res
.
code
===
0
)
{
notification
.
success
({
message
:
'提示'
,
description
:
res
.
message
||
'切换成功'
,
description
:
'切换成功'
,
duration
:
3
,
});
}
else
{
notification
.
error
({
message
:
'提示'
,
description
:
res
.
m
essage
||
'切换失败'
,
description
:
res
.
m
sg
||
'切换失败'
,
duration
:
15
,
});
}
...
...
src/pages/userCenter/siteManage/SiteManage.jsx
View file @
6210d2d0
...
...
@@ -162,7 +162,7 @@ const SiteManageV2 = () => {
// 重新渲染树
const
updateTrees
=
value
=>
{
setTreeLoading
(
true
);
getSiteTree
({
selectN
ode
:
-
1
,
keyword
:
value
}).
then
(
res
=>
{
getSiteTree
({
n
ode
:
-
1
,
keyword
:
value
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
setTreeLoading
(
false
);
setTreeData
(
res
.
data
.
list
);
...
...
@@ -418,7 +418,7 @@ const SiteManageV2 = () => {
};
const
getValue
=
()
=>
{
getSiteTree
({
selectN
ode
:
-
1
}).
then
(
res
=>
{
getSiteTree
({
n
ode
:
-
1
}).
then
(
res
=>
{
getData1
(
res
.
data
);
});
};
...
...
src/pages/userCenter/userManage/UserManage.jsx
View file @
6210d2d0
...
...
@@ -716,7 +716,7 @@ const UserManage = () => {
// setTreeLoading(false);
// message.error(err);
// });
GetOUTreeNew
({
selectOU
:
-
1
,
keyword
:
e
})
GetOUTreeNew
({
groupId
:
-
1
,
keyword
:
e
})
.
then
(
newres
=>
{
setTreeLoading
(
false
);
if
(
newres
.
code
===
0
)
{
...
...
@@ -755,7 +755,7 @@ const UserManage = () => {
const
updateTrees1
=
e
=>
{
console
.
log
(
e
);
setTreeLoading
(
true
);
GetOUTreeNew
({
selectOU
:
-
1
})
GetOUTreeNew
({
groupId
:
-
1
})
.
then
(
newres
=>
{
if
(
newres
.
code
===
0
)
{
let
res
=
newres
.
data
.
list
;
...
...
@@ -1462,7 +1462,7 @@ const UserManage = () => {
};
// 重置默认第一个
const
handleReset
=
()
=>
{
GetOUTreeNew
({
selectOU
:
-
1
})
GetOUTreeNew
({
groupId
:
-
1
})
.
then
(
newres
=>
{
if
(
newres
.
code
===
0
)
{
let
res
=
newres
.
data
.
list
;
...
...
src/services/database/api.js
View file @
6210d2d0
...
...
@@ -78,7 +78,9 @@ export const getSolutionList = params => get(`${CITY_SERVICE}/OMS.svc/W4_GetSolu
export
const
publishGetSolutionList
=
params
=>
get
(
`
${
PUBLISH_SERVICE
}
/PlatformCenter/GetSolutionList`
,
params
);
// 切换解决方案
export
const
changeSolution
=
params
=>
get
(
`
${
CITY_SERVICE
}
/OMS.svc/W4_ChangeSolution`
,
params
);
// export const changeSolution = params => get(`${CITY_SERVICE}/OMS.svc/W4_ChangeSolution`, params);
export
const
changeSolution
=
params
=>
get
(
`
${
PUBLISH_SERVICE
}
/PlatformCenter/ChangeSolution`
,
params
);
/**
*
...
...
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