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