Commit c61e01e7 by 无尘

fix: 修改同步人群选择

parent bc0ef216
.line-18[data-v-550d8f3b]{line-height:18px}.w-165[data-v-550d8f3b]{width:165px}.dialog-footer[data-v-550d8f3b]{margin-top:-20px}.el-table .cell.el-tooltip div[data-v-550d8f3b]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-22[data-v-72e45954]{font-size:22px}.common-bottom-border[data-v-72e45954]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.w-162[data-v-72e45954]{width:162px}.move-row-cell .icontuozhuaiopen[data-v-72e45954]{display:none}.move-row-cell:hover .show-icon[data-v-72e45954]{display:inline-block;vertical-align:middle}.crowd-scene-table .line-18[data-v-72e45954]{line-height:18px} .line-18[data-v-6240ab4d]{line-height:18px}.w-165[data-v-6240ab4d]{width:165px}.dialog-footer[data-v-6240ab4d]{margin-top:-20px}.el-table .cell.el-tooltip div[data-v-6240ab4d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-22[data-v-72e45954]{font-size:22px}.common-bottom-border[data-v-72e45954]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.w-162[data-v-72e45954]{width:162px}.move-row-cell .icontuozhuaiopen[data-v-72e45954]{display:none}.move-row-cell:hover .show-icon[data-v-72e45954]{display:inline-block;vertical-align:middle}.crowd-scene-table .line-18[data-v-72e45954]{line-height:18px}
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-08-28 10:31:09 * @Date: 2020-08-28 10:31:09
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-15 17:33:26 * @LastEditTime: 2020-09-15 17:37:21
--> -->
<!-- <!--
<sync-crowd-dialog :brand-id="brandId" :select-ids="selectIds" :total-num="totalNum" @refreshData="refreshData"></sync-crowd-dialog> <sync-crowd-dialog :brand-id="brandId" :select-ids="selectIds" :total-num="totalNum" @refreshData="refreshData"></sync-crowd-dialog>
...@@ -177,6 +177,7 @@ export default { ...@@ -177,6 +177,7 @@ export default {
if (val && val.length > selNum) { if (val && val.length > selNum) {
that.multipleSelection = val.slice(0, selNum); that.multipleSelection = val.slice(0, selNum);
const ids = that.multipleSelection.map(ele => ele.sceneCrowdId); const ids = that.multipleSelection.map(ele => ele.sceneCrowdId);
that.$refs.multipleTable.clearSelection();
that.tableData.forEach(row => { that.tableData.forEach(row => {
localStorage.setItem('ids', ids); localStorage.setItem('ids', ids);
if (ids.includes(row.sceneCrowdId)) { if (ids.includes(row.sceneCrowdId)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment