Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
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
王衍超
rbc-demo
Commits
ee7693b2
Commit
ee7693b2
authored
Feb 16, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(@gms/gms-plugin-workflow): 指定机构角色增加角色描述
parent
ed39915f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
role-participant.vue
...ugin-workflow/src/actions/components/role-participant.vue
+4
-4
No files found.
develop/@gms/gms-plugin-workflow/src/actions/components/role-participant.vue
View file @
ee7693b2
...
@@ -53,16 +53,16 @@ export default {
...
@@ -53,16 +53,16 @@ export default {
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
status
==
200
)
{
if
(
res
.
status
==
200
)
{
callback
(
this
.
formatTree
(
res
.
data
,
item
.
children
));
callback
(
this
.
formatTree
(
res
.
data
,
true
));
}
}
});
});
},
},
formatTree
(
data
)
{
formatTree
(
data
,
withTag
)
{
return
data
.
map
((
element
)
=>
{
return
data
.
map
((
element
)
=>
{
var
checked
=
this
.
formData
.
value
&&
this
.
formData
.
value
.
includes
(
element
.
id
);
var
checked
=
this
.
formData
.
value
&&
this
.
formData
.
value
.
includes
(
element
.
id
);
if
(
element
.
hasOwnProperty
(
"leaf"
))
if
(
element
.
hasOwnProperty
(
"leaf"
))
return
{
return
{
title
:
element
.
title
,
title
:
withTag
?
element
.
name
?
`
${
element
.
title
}
(
${
element
.
name
}
)`
:
element
.
title
:
element
.
title
,
loading
:
false
,
loading
:
false
,
id
:
element
.
id
,
id
:
element
.
id
,
leaf
:
false
,
leaf
:
false
,
...
@@ -70,7 +70,7 @@ export default {
...
@@ -70,7 +70,7 @@ export default {
};
};
else
else
return
{
return
{
title
:
element
.
title
,
title
:
withTag
?
element
.
name
?
`
${
element
.
title
}
(
${
element
.
name
}
)`
:
element
.
title
:
element
.
title
,
id
:
element
.
id
,
id
:
element
.
id
,
checked
:
checked
,
checked
:
checked
,
leaf
:
true
,
leaf
:
true
,
...
...
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