Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
bp
op-web-service
Commits
76e9d39c
Commit
76e9d39c
authored
Jul 30, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:判断审核按钮权限
parent
901d6aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
index.vue
src/pages/Withdrawal/Examine/index.vue
+6
-4
No files found.
src/pages/Withdrawal/Examine/index.vue
View file @
76e9d39c
...
@@ -534,19 +534,21 @@ export default {
...
@@ -534,19 +534,21 @@ export default {
return
false
;
return
false
;
}
}
const
WITHDRAWAL_PERMISSION_ID
=
10
||
10000005
;
const
WITHDRAWAL_PERMISSION_ID
=
10
;
const
WITHDRAWAL_PERMISSION_ID1
=
10000005
;
let
withdrawlPermission
=
this
.
permissions
.
filter
(
let
withdrawlPermission
=
this
.
permissions
.
filter
(
(
item
)
=>
item
.
id
===
WITHDRAWAL_PERMISSION_ID
(
item
)
=>
(
item
.
id
===
WITHDRAWAL_PERMISSION_ID
||
item
.
id
===
WITHDRAWAL_PERMISSION_ID1
)
);
);
// 无此模块权限
// 无此模块权限
if
(
withdrawlPermission
.
length
===
0
)
{
if
(
withdrawlPermission
.
length
===
0
)
{
return
false
;
return
false
;
}
}
const
AUDIT_PERMSSION_ID
=
14
||
10000014
;
const
AUDIT_PERMSSION_ID
=
14
;
const
AUDIT_PERMSSION_ID1
=
10000014
;
const
auditPermission
=
withdrawlPermission
[
0
].
sub_permissions
.
filter
(
const
auditPermission
=
withdrawlPermission
[
0
].
sub_permissions
.
filter
(
(
item
)
=>
item
.
id
===
AUDIT_PERMSSION_ID
(
item
)
=>
(
item
.
id
===
AUDIT_PERMSSION_ID
||
item
.
id
===
AUDIT_PERMSSION_ID1
)
);
);
return
auditPermission
.
length
!==
0
;
return
auditPermission
.
length
!==
0
;
...
...
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