Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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-3
Commits
f5c7b7d4
Commit
f5c7b7d4
authored
Apr 26, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 门店帮顶bug修复
parent
0ae0d4f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
gic-select-group-auth.vue
src/components/common/gic-select-group-auth.vue
+4
-9
authMerchant.vue
src/views/business/authMerchant.vue
+1
-1
No files found.
src/components/common/gic-select-group-auth.vue
View file @
f5c7b7d4
...
...
@@ -97,7 +97,7 @@ export default {
children
:
'children'
,
label
:
'storeGroupName'
},
checkedKeys
:
this
.
selectData
.
length
?
this
.
selectData
.
map
(
ele
=>
ele
.
relationId
)
:
[]
checkedKeys
:
[]
};
},
...
...
@@ -242,8 +242,8 @@ export default {
selectData
:
function
(
newData
,
oldData
)
{
let
that
=
this
;
if
(
!!
newData
.
length
)
{
that
.
groupIds
=
newData
;
that
.
checkedKeys
=
that
.
newData
.
map
(
ele
=>
ele
.
relationId
);
that
.
checkedKeys
=
newData
.
map
(
ele
=>
ele
.
relationId
)
;
that
.
groupIds
=
that
.
$refs
.
groupTree
.
getCheckedNodes
(
);
}
else
{
that
.
groupIds
=
[];
}
...
...
@@ -263,6 +263,7 @@ export default {
},
checkedListCopy
(
val
)
{
this
.
$nextTick
(()
=>
{
this
.
groupIds
=
[];
val
.
forEach
(
i
=>
{
const
node
=
this
.
$refs
.
groupTree
.
getNode
(
i
);
this
.
groupIds
.
push
(
node
.
data
);
...
...
@@ -276,12 +277,6 @@ export default {
},
mounted
()
{
const
that
=
this
;
// 对否有默认选中数据
if
(
!!
that
.
selectData
.
length
)
{
that
.
groupIds
=
that
.
selectData
;
}
else
{
that
.
groupIds
=
[];
}
that
.
getGroup
();
}
};
...
...
src/views/business/authMerchant.vue
View file @
f5c7b7d4
...
...
@@ -173,9 +173,9 @@ export default {
let
para
=
{};
getRequest
(
'/haoban-manage3-web/wx-enterprise-list'
,
para
)
.
then
(
res
=>
{
that
.
loading
=
false
;
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
that
.
loading
=
false
;
that
.
tableData
=
resData
.
result
||
[];
return
false
;
}
...
...
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