Browse Source

修复发送短信 bug;

庄逸洲 5 years ago
parent
commit
4b6308da8b
2 changed files with 4 additions and 3 deletions
  1. 3 3
      src/api/sms/index.js
  2. 1 0
      src/scrm_pages/members/members.vue

+ 3 - 3
src/api/sms/index.js View File

39
     return request({
39
     return request({
40
         url: "/api/sms/send2all",
40
         url: "/api/sms/send2all",
41
         method: "post",
41
         method: "post",
42
-        param: {
42
+        params: {
43
             content: content,
43
             content: content,
44
         }
44
         }
45
     })
45
     })
49
     return request({
49
     return request({
50
         url: "/api/sms/send2tag",
50
         url: "/api/sms/send2tag",
51
         method: "post",
51
         method: "post",
52
-        param: {
52
+        params: {
53
             content: content,
53
             content: content,
54
             tags: tag_ids,
54
             tags: tag_ids,
55
         }
55
         }
60
     return request({
60
     return request({
61
         url: "/api/sms/send2specific",
61
         url: "/api/sms/send2specific",
62
         method: "post",
62
         method: "post",
63
-        param: {
63
+        params: {
64
             content: content,
64
             content: content,
65
             ids: customer_ids,
65
             ids: customer_ids,
66
         }
66
         }

+ 1 - 0
src/scrm_pages/members/members.vue View File

347
           this.$refs.editMemberTagsForm.open();
347
           this.$refs.editMemberTagsForm.open();
348
         },
348
         },
349
         openEdit(row, index){
349
         openEdit(row, index){
350
+          this.memberData.tags= [];
350
           this.memberData.illness = [];
351
           this.memberData.illness = [];
351
           this.memberData.city = [];
352
           this.memberData.city = [];
352
           this.memberData.birthday = '';
353
           this.memberData.birthday = '';