|
@@ -74,7 +74,9 @@
|
|
|
<el-form-item label="所属销售" prop="companyUserNickName">
|
|
<el-form-item label="所属销售" prop="companyUserNickName">
|
|
|
|
|
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="queryParams.companyUserId"
|
|
|
|
|
|
|
+ v-model="queryParams.companyUserIds"
|
|
|
|
|
+ multiple
|
|
|
|
|
+ collapse-tags
|
|
|
placeholder="请选择所属销售"
|
|
placeholder="请选择所属销售"
|
|
|
clearable
|
|
clearable
|
|
|
filterable
|
|
filterable
|
|
@@ -472,7 +474,9 @@ export default {
|
|
|
endCreateTime: null,
|
|
endCreateTime: null,
|
|
|
companyId: null,
|
|
companyId: null,
|
|
|
companyUserNickName: null,
|
|
companyUserNickName: null,
|
|
|
- userId: null
|
|
|
|
|
|
|
+ userId: null,
|
|
|
|
|
+ companyUserIds: [], //销售id 多选数组
|
|
|
|
|
+ companyUserIdMulti: null, //销售id 用于传到后端
|
|
|
},
|
|
},
|
|
|
// 表单参数
|
|
// 表单参数
|
|
|
form: {},
|
|
form: {},
|
|
@@ -562,6 +566,7 @@ export default {
|
|
|
/** 查询用户列表 */
|
|
/** 查询用户列表 */
|
|
|
getList() {
|
|
getList() {
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
|
|
+ this.queryParams.companyUserIdMulti =this.queryParams.companyUserIds.join(",");
|
|
|
listUserByProject(this.queryParams).then(response => {
|
|
listUserByProject(this.queryParams).then(response => {
|
|
|
this.userList = response.rows;
|
|
this.userList = response.rows;
|
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
@@ -796,6 +801,7 @@ export default {
|
|
|
if (!this.changeCompanyUserForm.companyId) {
|
|
if (!this.changeCompanyUserForm.companyId) {
|
|
|
this.$message.warning('请先选择公司');
|
|
this.$message.warning('请先选择公司');
|
|
|
this.changeCompanyUserForm.companyUserId = null;
|
|
this.changeCompanyUserForm.companyUserId = null;
|
|
|
|
|
+
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|