Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
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
biyuewuhua
isc-web-vue
Commits
5a512254
Commit
5a512254
authored
Sep 30, 2024
by
niewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
departmentNumber大小写,需要改成departmentnumber
parent
04a31f1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.vue
src/page/index.vue
+3
-3
No files found.
src/page/index.vue
View file @
5a512254
...
@@ -581,13 +581,13 @@ export default {
...
@@ -581,13 +581,13 @@ export default {
let
orgObj
=
this
.
header
.
orgList
.
find
(
item
=>
item
.
id
===
param
)
let
orgObj
=
this
.
header
.
orgList
.
find
(
item
=>
item
.
id
===
param
)
let
roleObj
=
this
.
header
.
roleTypeList
.
find
(
item
=>
item
.
key
===
this
.
header
.
curRole
.
id
+
""
)
let
roleObj
=
this
.
header
.
roleTypeList
.
find
(
item
=>
item
.
key
===
this
.
header
.
curRole
.
id
+
""
)
this
.
initRoleList
(
orgObj
);
this
.
initRoleList
(
orgObj
);
if
(
this
.
header
.
roleList
&&
this
.
header
.
roleList
.
length
>
0
&&
((
orgObj
.
department
N
umber
===
"1000"
&&
roleObj
.
value
!==
"HEAD"
)
if
(
this
.
header
.
roleList
&&
this
.
header
.
roleList
.
length
>
0
&&
((
orgObj
.
department
n
umber
===
"1000"
&&
roleObj
.
value
!==
"HEAD"
)
||
(
orgObj
.
department
N
umber
!==
"1000"
&&
roleObj
.
value
===
"HEAD"
))){
||
(
orgObj
.
department
n
umber
!==
"1000"
&&
roleObj
.
value
===
"HEAD"
))){
this
.
changeRoles
(
this
.
header
.
roleList
[
0
].
id
);
this
.
changeRoles
(
this
.
header
.
roleList
[
0
].
id
);
sessionStorage
.
setItem
(
'curRole'
,
JSON
.
stringify
(
this
.
header
.
roleList
[
0
]));
sessionStorage
.
setItem
(
'curRole'
,
JSON
.
stringify
(
this
.
header
.
roleList
[
0
]));
}
}
if
(
this
.
header
.
roleList
&&
this
.
header
.
roleList
.
length
===
0
)
{
if
(
this
.
header
.
roleList
&&
this
.
header
.
roleList
.
length
===
0
)
{
if
(
orgObj
.
department
N
umber
===
"1000"
)
{
if
(
orgObj
.
department
n
umber
===
"1000"
)
{
this
.
$notify
({
title
:
"失败"
,
message
:
"请先维护总行机构角色!"
,
type
:
"error"
,});
this
.
$notify
({
title
:
"失败"
,
message
:
"请先维护总行机构角色!"
,
type
:
"error"
,});
}
else
{
}
else
{
this
.
$notify
({
title
:
"失败"
,
message
:
"请先维护分行机构角色!"
,
type
:
"error"
,});
this
.
$notify
({
title
:
"失败"
,
message
:
"请先维护分行机构角色!"
,
type
:
"error"
,});
...
...
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