Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -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 || [] |