Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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
office
haoban-4
Commits
268112ca
Commit
268112ca
authored
Sep 11, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 根据查看范围控制管理范围
parent
4d1e3ced
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
edit-store-role.vue
src/views/enterprise/edit-store-role.vue
+7
-2
No files found.
src/views/enterprise/edit-store-role.vue
View file @
268112ca
...
...
@@ -39,7 +39,7 @@
<p
class=
"type-title"
>
当前门店
</p>
<div>
<span
class=
"type-label"
>
查看导购
</span>
<el-radio-group
v-model=
"roleData.seeType"
>
<el-radio-group
v-model=
"roleData.seeType"
@
change=
"onSeeTypeChange"
>
<el-radio
label=
"1"
>
门店下全部导购
</el-radio>
<el-radio
label=
"0"
>
仅自己
</el-radio>
</el-radio-group>
...
...
@@ -47,7 +47,7 @@
<div>
<span
class=
"type-label"
>
管理导购
</span>
<el-radio-group
v-model=
"roleData.managerType"
>
<el-radio
label=
"1"
>
门店下全部导购
</el-radio>
<el-radio
:disabled=
"roleData.seeType == 0"
label=
"1"
>
门店下全部导购
</el-radio>
<el-radio
label=
"0"
>
仅自己
</el-radio>
</el-radio-group>
</div>
...
...
@@ -283,6 +283,11 @@ export default {
});
}
},
onSeeTypeChange
()
{
if
(
this
.
roleData
.
seeType
==
0
)
{
this
.
roleData
.
managerType
=
'0'
;
}
},
onSave
()
{
this
.
$refs
.
roleData
.
validate
(
vali
=>
{
if
(
!
vali
)
return
;
...
...
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