Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-operation-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
达摩4.0重构
haoban-operation-4
Commits
0f4779e6
Commit
0f4779e6
authored
Aug 11, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复企业详情查看共享范围bug
parent
dcb39db5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
enterprise-detail.vue
src/views/enterprise/enterprise-detail.vue
+3
-1
No files found.
src/views/enterprise/enterprise-detail.vue
View file @
0f4779e6
...
...
@@ -68,7 +68,7 @@
</el-table>
<el-dialog
:visible
.
sync=
"bindInfo.show"
title=
"门店授权范围"
width=
"600px"
@
closed=
"onBindInfoClose"
>
<el-form
label-width=
"140px"
>
<el-form-item
label=
"门店绑定授权范围
"
>
<el-form-item
:label=
"bindInfo.type == 0 ? '门店绑定授权范围' : '门店共享授权范围'
"
>
<el-select
style=
"width: 392px"
disabled
multiple
:value=
"bindInfo.selected"
>
<el-option
v-for=
"el in bindInfo.data"
:key=
"el.id"
:value=
"el.id"
:label=
"el.name"
></el-option>
</el-select>
...
...
@@ -99,6 +99,7 @@ export default {
},
bindInfo
:
{
show
:
false
,
type
:
0
,
data
:
[],
selected
:
[]
}
...
...
@@ -140,6 +141,7 @@ export default {
operationType
:
type
,
// 0 门店绑定 1门店分享
}
this
.
bindInfo
.
show
=
true
;
this
.
bindInfo
.
type
=
type
;
storeRangeDetail
(
params
).
then
(
res
=>
{
this
.
bindInfo
.
data
=
res
.
result
||
[];
this
.
bindInfo
.
selected
=
this
.
bindInfo
.
data
.
map
(
el
=>
el
.
id
);
...
...
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