|
@@ -495,6 +495,10 @@ export default {
|
|
|
? this.calculateRolesMask(row.visibleRoles)
|
|
|
: (row.visibleRoles || 7); // 默认所有角色可见
|
|
|
|
|
|
+ /**
|
|
|
+ * 过滤后的客户黑名单数据
|
|
|
+ * @type {Array<CustomerRecord>}
|
|
|
+ */
|
|
|
const updateCustomerBlacklist = this.currentCustomerBlacklist.filter(customer => {
|
|
|
const ids = row.customerBlacklist.map(customer => customer.id);
|
|
|
return ids.includes(customer.id);
|