Browse Source

入群接口替换

dev01 1 week ago
parent
commit
6d5968e612

+ 5 - 5
js/component/manageCenter/customerService/administration/followUp.jsx

@@ -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) {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "afanti",
-  "version": "1.3.27",
+  "version": "1.3.28",
   "description": "",
   "main": "index.js",
   "scripts": {