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

+ 1 - 1
package.json

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