Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
authority
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6eb7e222
authored
Oct 19, 2018
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并
2 parents
9a5825e7
21791c84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/customer/role/index.vue
src/views/customer/role/index.vue
View file @
6eb7e22
...
...
@@ -247,6 +247,7 @@ export default {
},
createOrEditSuccess
()
{
this
.
createDialogVisible
()
this
.
loading
=
false
this
.
message
(
this
.
flagCOrE
?
'创建角色成功!'
:
'已经成功修改数据!'
,
'success'
)
this
.
loading
=
false
this
.
roleMenu
=
[]
...
...
@@ -287,6 +288,7 @@ export default {
},
handleCreateOrEdit
()
{
this
.
roleParam
=
this
.
flagCOrE
?
this
.
$deep_clone
(
roleCreateStructure
)
:
this
.
roleParam
// this.createDialogVisible()
this
.
flagCOrE
&&
this
.
createDialogVisible
()
!
this
.
flagCOrE
&&
this
.
getMenuTree
(
this
.
roleParam
.
id
,
this
.
editOrDetail
=
true
)
},
...
...
@@ -302,7 +304,6 @@ export default {
// 将数据提交给后台,根据返回结果做判断
this
.
flagCOrE
&&
this
.
addRole
(
data
)
!
this
.
flagCOrE
&&
this
.
updateRoleInfo
(
data
)
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment