|
@@ -567,7 +567,7 @@ export default {
|
|
|
if (this.query.srcType == 'SALES') {
|
|
|
// 业务员
|
|
|
this.srcforParameter = { key: 'id', label: 'name', value: 'id' }
|
|
|
- this.salesUserGetListfun(value)
|
|
|
+ this.salesUserGetListfun(value, '业务员')
|
|
|
} else if (this.form.srcType == 'AGENT') {
|
|
|
// 代理
|
|
|
this.srcforParameter = { key: 'id', label: 'cnName', value: 'id' }
|
|
@@ -592,7 +592,7 @@ export default {
|
|
|
} else if (value == 'SALES') {
|
|
|
// 业务员
|
|
|
this.srcforParameter = { key: 'id', label: 'name', value: 'id' }
|
|
|
- this.salesUserGetListfun()
|
|
|
+ this.salesUserGetListfun('', '业务员')
|
|
|
} else { }
|
|
|
this.$set(this.query, name, value)
|
|
|
} else if (name == 'accDeptName') {
|
|
@@ -652,8 +652,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 获取业务来源业务员数据
|
|
|
- salesUserGetListfun(account) {
|
|
|
- userGetList(1, 10, { account }).then(res => {
|
|
|
+ salesUserGetListfun(account, role) {
|
|
|
+ console.info('account-----', account)
|
|
|
+ userGetList(1, 10, { account: account, roleId: role }).then(res => {
|
|
|
this.srcIdData = res.data.data.records
|
|
|
})
|
|
|
},
|