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