Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 64782f23
authored
Jun 24, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.5.0' into kuangyq_dev_v2.5.0
2 parents
6829d0af
7bbc7c80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/views/employee/components/createRole.vue
src/views/employee/components/createRole.vue
View file @
64782f2
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-06-10 15:36:06
* @LastEditors: huyue
* @LastEditTime: 2022-06-22 1
0:49:55
* @LastEditTime: 2022-06-22 1
7:22:54
-->
<
template
>
<div>
...
...
@@ -27,7 +27,7 @@
<el-checkbox-group
v-model=
"ruleForm.roleAuth"
>
<el-checkbox
v-for=
"(itm, idx) in accountListSelect"
:label=
"itm.accounttypeName"
@
change=
"selectCurAccount(itm, idx)"
:key=
"idx"
>
{{
itm
.
accounttypeName
}}
</el-checkbox>
</el-checkbox-group>
<SelectProduct
ref=
"productFrom"
:roleType=
"true"
title=
"角色权限"
></SelectProduct>
<SelectProduct
v-if=
"roleVisible"
ref=
"productFrom"
:roleType=
"true"
title=
"角色权限"
></SelectProduct>
</el-form-item>
</el-form>
<div
slot=
"footer"
>
...
...
@@ -68,6 +68,7 @@ export default {
methods
:
{
init
()
{
this
.
roleVisible
=
true
if
(
this
.
$refs
.
ruleForm
)
this
.
$refs
.
ruleForm
.
resetFields
()
this
.
getMerchantName
()
},
handleClose
()
{
...
...
@@ -139,6 +140,12 @@ export default {
res
?
this
.
$message
.
success
(
'操作成功'
)
:
this
.
$message
.
error
(
'操作失败'
)
this
.
$emit
(
'updataRole'
,
true
)
this
.
roleVisible
=
!
res
this
.
ruleForm
=
{
merchantId
:
''
,
roleName
:
''
,
roleDesc
:
''
,
roleAuth
:
''
}
})
}
else
{
return
false
...
...
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