|
@@ -98,7 +98,12 @@ class ModalAttribution extends React.Component {
|
98
|
98
|
// 网路请求
|
99
|
99
|
request({ ...apis.customer.batchConsultantAssist, data: { userId: record.userId, customerIds: this.state.visibleData.customerId } }).then(res => {
|
100
|
100
|
// eslint-disable-next-line no-unused-expressions
|
101
|
|
- this.openNotificationWithIcon('success', '操作成功')
|
|
101
|
+ debugger
|
|
102
|
+ if(res!= null && res.failNum > 0 ){
|
|
103
|
+ this.openNotificationWithIcon('success', '共'+res.totalNum+'条数据,失败操作'+res.failNum+'条')
|
|
104
|
+ }else{
|
|
105
|
+ this.openNotificationWithIcon('success', '操作成功')
|
|
106
|
+ }
|
102
|
107
|
this.handleCancel()
|
103
|
108
|
}).catch(err => {
|
104
|
109
|
// eslint-disable-next-line no-unused-expressions
|