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
1980dc39
Commit
1980dc39
authored
Sep 15, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改同步人群选择
parent
a13042c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sync-crowd-dialog.vue
src/components/app/my-customer/sync-crowd-dialog.vue
+5
-5
No files found.
src/components/app/my-customer/sync-crowd-dialog.vue
View file @
1980dc39
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 10:31:09
* @LastEditors: 无尘
* @LastEditTime: 2020-09-15 16:5
1
:59
* @LastEditTime: 2020-09-15 16:5
9
:59
-->
<!--
<sync-crowd-dialog :brand-id="brandId" :select-ids="selectIds" :total-num="totalNum" @refreshData="refreshData"></sync-crowd-dialog>
...
...
@@ -173,15 +173,15 @@ export default {
handleSelectionChange
(
val
)
{
const
that
=
this
;
// 1.选择的数量>可选数量
if
(
val
&&
val
.
length
>
20
-
that
.
totalNum
)
{
val
.
splice
(
val
.
length
-
1
,
1
);
const
ids
=
val
.
map
(
ele
=>
ele
.
sceneCrowdId
);
const
selNum
=
20
-
that
.
totalNum
;
if
(
val
&&
val
.
length
>
selNum
)
{
that
.
multipleSelection
=
val
.
slice
(
0
,
selNum
);
const
ids
=
that
.
multipleSelection
.
map
(
ele
=>
ele
.
sceneCrowdId
);
that
.
tableData
.
forEach
(
row
=>
{
if
(
ids
.
includes
(
row
.
sceneCrowdId
))
{
that
.
$refs
.
multipleTable
.
toggleRowSelection
(
row
);
}
});
that
.
multipleSelection
=
val
;
return
false
;
}
that
.
multipleSelection
=
val
;
...
...
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