Commit a93614ce292dd9972a8a81161b4f1414ba981bcd

Authored by 史婷婷
1 parent 333cfff4

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

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