|
@@ -1895,6 +1895,11 @@ export default {
|
|
|
this.$message.warning('请选择成员')
|
|
this.$message.warning('请选择成员')
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+ // 验证是否选择了主体
|
|
|
|
|
+ if (!this.queryParams.corpId) {
|
|
|
|
|
+ this.$message.warning('请先在搜索栏选择主体')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// 发送请求
|
|
// 发送请求
|
|
|
this.ipadBlindAddDialog.loading = true
|
|
this.ipadBlindAddDialog.loading = true
|
|
@@ -1904,11 +1909,12 @@ export default {
|
|
|
linkId: this.ipadBlindAddDialog.rowData.linkId,
|
|
linkId: this.ipadBlindAddDialog.rowData.linkId,
|
|
|
userId: this.ipadBlindAddDialog.selectedUserId,
|
|
userId: this.ipadBlindAddDialog.selectedUserId,
|
|
|
phone: phone,
|
|
phone: phone,
|
|
|
- qwAcquisitionAssistantId: this.ipadBlindAddDialog.rowData.id
|
|
|
|
|
|
|
+ qwAcquisitionAssistantId: this.ipadBlindAddDialog.rowData.id,
|
|
|
|
|
+ corpId: this.queryParams.corpId //当前选中的主体ID
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 调用接口
|
|
// 调用接口
|
|
|
- this.ipadBlindAdd(params).then(response => {
|
|
|
|
|
|
|
+ ipadBlindAdd(params).then(response => {
|
|
|
if (response.code === 200) {
|
|
if (response.code === 200) {
|
|
|
this.$message.success(response.msg || '添加成功')
|
|
this.$message.success(response.msg || '添加成功')
|
|
|
this.ipadBlindAddDialog.visible = false
|
|
this.ipadBlindAddDialog.visible = false
|