Commit a93614ce292dd9972a8a81161b4f1414ba981bcd

Authored by 史婷婷
1 parent 333cfff4

feat: 关联表-人员表&客户池-增加 启用条件

... ... @@ -129,7 +129,7 @@ export default {
129 129 if (this.source === 'customer') {
130 130 console.log('customer_extra', extra)
131 131 const source = (extra && extra.source) || '';
132   - const params = { pageIndex, pageSize, name, source }
  132 + const params = { pageIndex, pageSize, name, source, available: true }
133 133 return customerQueryApi(params).then(res => {
134 134 const _data = res.data || {}
135 135 const records = _data.datas || []
... ... @@ -139,7 +139,7 @@ export default {
139 139 })
140 140 } else if (this.source === 'user') {
141 141 // 人员表
142   - const params = { pageIndex, pageSize, name }
  142 + const params = { pageIndex, pageSize, name, available: true }
143 143 return userSelector(params).then(res => {
144 144 const _data = res.data || {}
145 145 const records = _data.datas || _data.records || _data.list || []
... ...