Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
d94315bd
Commit
d94315bd
authored
Sep 23, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.调整按钮展示权限
parent
cc9e0b6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
HGWD003.js
src/main/webapp/HG/WD/HGWD003.js
+7
-1
No files found.
src/main/webapp/HG/WD/HGWD003.js
View file @
d94315bd
...
@@ -255,11 +255,17 @@ let showAuthButton = function () {
...
@@ -255,11 +255,17 @@ let showAuthButton = function () {
inInfo
.
set
(
"inqu_status-0-fileId"
,
label
);
inInfo
.
set
(
"inqu_status-0-fileId"
,
label
);
EiCommunicator
.
send
(
'HGWD003'
,
'isProjectManager'
,
inInfo
,
{
EiCommunicator
.
send
(
'HGWD003'
,
'isProjectManager'
,
inInfo
,
{
onSuccess
:
function
(
res
)
{
onSuccess
:
function
(
res
)
{
if
(
res
.
getStatus
()
>=
0
&&
res
.
extAttr
.
isProjectManager
==
1
)
{
let
status
=
res
.
getStatus
();
if
(
status
>=
0
&&
res
.
extAttr
.
isManager
==
1
)
{
$
(
"#AUTH"
).
show
();
$
(
"#AUTH"
).
show
();
$
(
"#REMOVE_USER"
).
show
();
$
(
"#REMOVE_USER"
).
show
();
$
(
"#COPY_USER"
).
show
();
$
(
"#COPY_USER"
).
show
();
$
(
"#SAVE"
).
show
();
$
(
"#SAVE"
).
show
();
}
else
if
(
status
>=
0
&&
res
.
extAttr
.
isProjectManager
==
1
)
{
$
(
"#AUTH"
).
show
();
$
(
"#REMOVE_USER"
).
show
();
$
(
"#COPY_USER"
).
hide
();
$
(
"#SAVE"
).
hide
();
}
else
{
}
else
{
$
(
"#AUTH"
).
hide
();
$
(
"#AUTH"
).
hide
();
$
(
"#REMOVE_USER"
).
hide
();
$
(
"#REMOVE_USER"
).
hide
();
...
...
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