|
@@ -178,10 +178,10 @@ class FollowUp extends Component {
|
|
<div>
|
|
<div>
|
|
<Switch checked={text == 1}
|
|
<Switch checked={text == 1}
|
|
onChange={() => {
|
|
onChange={() => {
|
|
- this.upAddGroupChat(record.uid, text == 0 ? 1 : 0)
|
|
|
|
|
|
+ this.upAddGroupChat(record.orderNo, text == 0 ? 1 : 0)
|
|
}}
|
|
}}
|
|
/>
|
|
/>
|
|
- <div>{record.addGroupChatTime}</div>
|
|
|
|
|
|
+ <div>{text == 1 && record.addGroupChatTime}</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
)
|
|
}
|
|
}
|
|
@@ -474,7 +474,7 @@ class FollowUp extends Component {
|
|
globalConfig.context + "/open/download?fileName=" + fileName;
|
|
globalConfig.context + "/open/download?fileName=" + fileName;
|
|
}
|
|
}
|
|
// 入群
|
|
// 入群
|
|
- upAddGroupChat(uid, addGroupChat) {
|
|
|
|
|
|
+ upAddGroupChat(orderNo, addGroupChat) {
|
|
this.setState({
|
|
this.setState({
|
|
listLoading: true,
|
|
listLoading: true,
|
|
});
|
|
});
|
|
@@ -482,9 +482,9 @@ class FollowUp extends Component {
|
|
method: "post",
|
|
method: "post",
|
|
dataType: "json",
|
|
dataType: "json",
|
|
crossDomain: false,
|
|
crossDomain: false,
|
|
- url: "/api/admin/updateUseService",
|
|
|
|
|
|
+ url: "/api/admin/newOrder/updateAddGroupChat",
|
|
data: {
|
|
data: {
|
|
- uid,
|
|
|
|
|
|
+ orderNo,
|
|
addGroupChat
|
|
addGroupChat
|
|
},
|
|
},
|
|
success: function (data) {
|
|
success: function (data) {
|