Browse Source

feat: 系统消息 - 新增客户朋友圈提醒逻辑

zhengxy 1 year ago
parent
commit
a95940f48e

+ 1 - 0
project/src/assets/config/interface_api.js

@@ -448,6 +448,7 @@ var api = {
448 448
   inviteRule_editStatus: '/api/chatGroup/inviteRuleStatusChange',
449 449
   inviteRule_ownerListOfCompany: '/api/chatGroup/ownerListOfCompany',
450 450
   system_sendNoticeList: '/api/massMsg/sendNoticeList', // 系统管理 - 系统消息
451
+  system_sendNoticeListNew: '/api/massMsg/sendNoticeListNew', // 系统管理 - 系统消息(新)
451 452
 
452 453
   statistics_customerServiceDataTotal: '/api/statistics/customerServiceDataTotal',//客服数据统计总概
453 454
   pitcher_adqAccountBindUserList: '/api/pitcher/adqAccountBindUserList', // adq账号已绑定客服列表

+ 12 - 1
project/src/components/assembly/conTwo.vue

@@ -1,6 +1,7 @@
1 1
 <template>
2 2
   <div v-loading="loading">
3 3
     <div class="conBcg">
4
+      <div v-if="disabled" class="disabled-wrap"></div>
4 5
       <div class="friendCircleUploader" v-show="conType==0">
5 6
         <el-upload key="imgUpload" multiple class="imgUploader" :action="URL.BASEURL + URL.material_upload" :data="imgFileData" :file-list="imageFileList" name="material_file" accept=".jpg,.jpeg,.png" list-type="picture-card" :limit="9" :before-upload="beforeUploadUpload" :on-preview="handleSee" :on-remove="handleRemove" :on-success="uploadSuccess" :on-error='uploadFail' :on-exceed="handleExceed">
6 7
           <div>
@@ -94,7 +95,7 @@
94 95
 import radarEntrance from './radarEntrance.vue'
95 96
 export default {
96 97
   name: "conTwo",
97
-  props: ['conType', 'reBackData'],
98
+  props: ['conType', 'reBackData', 'disabled'],
98 99
   components:{radarEntrance},
99 100
   data () {
100 101
     return {
@@ -383,6 +384,16 @@ export default {
383 384
   width: 54%;
384 385
   display: flex;
385 386
   align-items: center;
387
+  position: relative;
388
+  .disabled-wrap {
389
+    position: absolute;
390
+    top: 0;
391
+    left: 0;
392
+    right: 0;
393
+    bottom: 0;
394
+    z-index: 999;
395
+    cursor: not-allowed;
396
+  }
386 397
   .phoneLinkCon {
387 398
     display: flex;
388 399
     .phoneLinkDesc {

+ 1 - 0
project/src/components/assembly/screen/channel.vue

@@ -295,6 +295,7 @@ export default {
295 295
         { key: 1, val: '客户群发消息' },
296 296
         { key: 2, val: '客户群群发消息' },
297 297
         { key: 3, val: '智能群发消息' },
298
+        { key: 4, val: '客户朋友圈消息' },
298 299
       ]
299 300
       this.placeholderVal = '消息类型'
300 301
     } else {

+ 1 - 0
project/src/components/assembly/screen/channelMultiple.vue

@@ -275,6 +275,7 @@ export default {
275 275
         { key: 1, val: '客户群发消息' },
276 276
         { key: 2, val: '客户群群发消息' },
277 277
         { key: 3, val: '智能群发消息' },
278
+        { key: 4, val: '客户朋友圈消息' },
278 279
       ]
279 280
       this.placeholderVal = '消息类型'
280 281
     } else {

+ 1 - 0
project/src/components/assembly/screen/channelV2.vue

@@ -538,6 +538,7 @@ export default {
538 538
           { key: 1, val: '客户群发消息' },
539 539
           { key: 2, val: '客户群群发消息' },
540 540
           { key: 3, val: '智能群发消息' },
541
+          { key: 4, val: '客户朋友圈消息' },
541 542
         ]
542 543
         this.placeholderVal = '消息类型'
543 544
       } else {

+ 41 - 31
project/src/components/customOperate/createFriendsCircle.vue

@@ -35,8 +35,8 @@
35 35
         <label><em>*</em>朋友圈类型:</label>
36 36
         <div>
37 37
           <div style="display:flex">
38
-            <el-radio v-model="fc_type" :label="1">企业发表</el-radio>
39
-            <el-radio v-model="fc_type" :label="2">个人发表</el-radio>
38
+            <el-radio v-model="fc_type" :label="1" :disabled="isDisabled">企业发表</el-radio>
39
+            <el-radio v-model="fc_type" :label="2" :disabled="isDisabled">个人发表</el-radio>
40 40
           </div>
41 41
         </div>
42 42
       </div>
@@ -45,7 +45,7 @@
45 45
       <h3 class="bigTitle">编辑朋友圈</h3>
46 46
       <div class="regulations">
47 47
         <label><em>*</em>朋友圈主题</label>
48
-        <el-input placeholder="例:活动推送/拉新等" style="width:300px" v-model.trim="themeName" clearable size="small"></el-input>
48
+        <el-input placeholder="例:活动推送/拉新等" style="width:300px" v-model.trim="themeName" clearable size="small" :disabled="isDisabled"></el-input>
49 49
         <p style="font-size:13px;line-height:30px;color:#f9a527;margin-left:10px">*仅作为企业内部人员记录朋友圈摘要,不会推送给客户</p>
50 50
       </div>
51 51
 
@@ -53,8 +53,8 @@
53 53
       <div class="regulations">
54 54
         <label><em>*</em>选择模式:</label>
55 55
         <div style="display:flex">
56
-          <el-radio v-model="operate_type" :label="1" @input="changeEvent">单个企微主体</el-radio>
57
-          <el-radio v-model="operate_type" :label="2" @input="changeEvent">多个企微主体</el-radio>
56
+          <el-radio v-model="operate_type" :label="1" @input="changeEvent" :disabled="isDisabled">单个企微主体</el-radio>
57
+          <el-radio v-model="operate_type" :label="2" @input="changeEvent" :disabled="isDisabled">多个企微主体</el-radio>
58 58
         </div>
59 59
       </div>
60 60
       <!-- E 选择模式 -->
@@ -64,8 +64,8 @@
64 64
         <label><em>*</em>发表成员:</label>
65 65
         <div>
66 66
           <div style="display:flex">
67
-            <el-radio v-model="is_for_all" :label="1" @change="changeEvent">全部员工</el-radio>
68
-            <el-radio v-model="is_for_all" :label="0" @change="changeEvent">部分员工</el-radio>
67
+            <el-radio v-model="is_for_all" :label="1" @change="changeEvent" :disabled="isDisabled">全部员工</el-radio>
68
+            <el-radio v-model="is_for_all" :label="0" @change="changeEvent" :disabled="isDisabled">部分员工</el-radio>
69 69
           </div>
70 70
           <self-customerservice-f-c v-if="is_for_all==0" :partDepart="partDepart" :partUser="partUser" @getSenderList="(val)=>{sender_list=val,isLookCount=true}" @getDepartList="(val)=>{department_list=val,isLookCount=true}" style="margin-top: 10px;width: 300px"></self-customerservice-f-c>
71 71
         </div>
@@ -77,13 +77,13 @@
77 77
         <label><em>*</em>使用员工:</label>
78 78
         <div>
79 79
           <div style="display:flex">
80
-            <el-radio v-model="is_operation" :label="1" @input="changeEvent">运营组</el-radio>
81
-            <el-radio v-model="is_operation" :label="0" @input="changeEvent">选择成员</el-radio>
80
+            <el-radio v-model="is_operation" :label="1" @input="changeEvent" :disabled="isDisabled">运营组</el-radio>
81
+            <el-radio v-model="is_operation" :label="0" @input="changeEvent" :disabled="isDisabled">选择成员</el-radio>
82 82
           </div>
83 83
           <!-- 运营组 -->
84
-          <selfChannel v-show="is_operation == 1" ref="operatorIdEl" :afferent_value="operator_group_id" title="" type='operatorGroup' width="300px" @channelDefine="onChangeOperatorGroupId" />
84
+          <selfChannel v-show="is_operation == 1" ref="operatorIdEl" :afferent_value="operator_group_id" title="" type='operatorGroup' width="300px" :disabled="isDisabled" @channelDefine="onChangeOperatorGroupId" />
85 85
           <!-- 多主体选择成员 -->
86
-          <customerServiceCorpV2 v-show="is_operation == 0" title="" width="300px" :afferent_users="afferent_multiple_senders" @customerDefine="onChangeMultiCorpUsers" />
86
+          <customerServiceCorpV2 v-show="is_operation == 0" title="" width="300px" :afferent_users="afferent_multiple_senders" :disabled="isDisabled" @customerDefine="onChangeMultiCorpUsers" />
87 87
         </div>
88 88
       </div>
89 89
       <!-- S 使用员工 - 多个企微主体 模式 -->
@@ -93,11 +93,11 @@
93 93
         <label><em>*</em>选择客户</label>
94 94
         <div>
95 95
           <div>
96
-            <el-radio v-model="customer_filter" :label="0" @change="changeEvent">全部客户</el-radio>
97
-            <el-radio v-model="customer_filter" :label="1" @change="changeEvent">筛选客户</el-radio>
96
+            <el-radio v-model="customer_filter" :label="0" :disabled="isDisabled" @change="changeEvent">全部客户</el-radio>
97
+            <el-radio v-model="customer_filter" :label="1" :disabled="isDisabled" @change="changeEvent">筛选客户</el-radio>
98 98
           </div>
99 99
           <div class="" v-if="customer_filter==1">
100
-            <enterprise-tag title="" width="300px" :afferent_obj='afferent_tag_obj' :reset='resetFlag' @tagDefine="tagDefine" style="margin:0;margin-top: 10px"></enterprise-tag>
100
+            <enterprise-tag title="" width="300px" :afferent_obj='afferent_tag_obj' :reset='resetFlag' :disabled="isDisabled" @tagDefine="tagDefine" style="margin:0;margin-top: 10px"></enterprise-tag>
101 101
           </div>
102 102
           <div class="customer_all">将群发消息给{{customer_filter==0?'全部客户的':customer_filter==1?'筛选客户的':''}}
103 103
             <span @click="massMsg_customerMatchCount" v-if="isLookCount" class="pointer">
@@ -115,7 +115,7 @@
115 115
         <label>消息内容1</label>
116 116
         <div style="flex: 1">
117 117
           <div style="position: relative">
118
-            <el-input class="contentOne" style="width: 56%" type="textarea" rows="6" autocomplete="off" placeholder="请输入消息内容" v-model="content1" clearable></el-input>
118
+            <el-input class="contentOne" style="width: 56%" type="textarea" rows="6" autocomplete="off" placeholder="请输入消息内容" v-model="content1" clearable :disabled="isDisabled"></el-input>
119 119
             <span class="f_zj">{{$getStrBytes(content1)}}/2000字节</span>
120 120
           </div>
121 121
           <div class="warning_hint_fc f12" style="margin-left:0" v-if="$getStrBytes(content1)>2000"> <i class="el-icon-warning-outline"></i> 消息内容1,最多2000个字节,已超出!</div>
@@ -125,14 +125,14 @@
125 125
         <label>消息内容2</label>
126 126
         <div style="flex: 1">
127 127
           <div style="display:flex">
128
-            <el-radio v-model="con_type" :label="0" style="width: 60px">图片</el-radio>
129
-            <el-radio v-model="con_type" :label="1" style="width: 60px">视频</el-radio>
130
-            <el-radio v-model="con_type" :label="2">图文链接</el-radio>
128
+            <el-radio v-model="con_type" :label="0" style="width: 60px" :disabled="isDisabled">图片</el-radio>
129
+            <el-radio v-model="con_type" :label="1" style="width: 60px" :disabled="isDisabled">视频</el-radio>
130
+            <el-radio v-model="con_type" :label="2" :disabled="isDisabled">图文链接</el-radio>
131 131
             <div @click="$refs.conTwo.radarShow()">
132
-              <el-radio v-model="con_type" :label="3" >智能雷达</el-radio>
132
+              <el-radio v-model="con_type" :label="3" :disabled="isDisabled">智能雷达</el-radio>
133 133
             </div>
134 134
           </div>
135
-          <conTwo :conType="con_type" :reBackData="reBackData" ref="conTwo"></conTwo>
135
+          <conTwo :conType="con_type" :reBackData="reBackData" ref="conTwo" :disabled="isDisabled"></conTwo>
136 136
        </div>
137 137
       </div>
138 138
       <div class="line" style="margin-top:20px"></div>
@@ -141,12 +141,12 @@
141 141
         <label><em>*</em>发布方式:</label>
142 142
         <div>
143 143
           <div style="display:flex">
144
-            <el-radio v-model="send_type" :label="1">立即发送</el-radio>
145
-            <el-radio v-model="send_type" :label="2">定时发送</el-radio>
144
+            <el-radio v-model="send_type" :label="1" :disabled="isDisabled">立即发送</el-radio>
145
+            <el-radio v-model="send_type" :label="2" :disabled="isDisabled">定时发送</el-radio>
146 146
           </div>
147 147
           <div style="margin-top:15px;" v-if="send_type==2">
148
-            <el-date-picker v-model="send_time.date" :picker-options="pickerOptions" size="small" value-format="yyyy-MM-dd" type="date" style="width:160px" placeholder="选择日期"></el-date-picker>
149
-            <el-time-picker v-model="send_time.time" size="small" format="HH:mm" value-format="HH:mm:ss" placeholder="请输入时间" style="width:130px"></el-time-picker>
148
+            <el-date-picker v-model="send_time.date" :picker-options="pickerOptions" size="small" value-format="yyyy-MM-dd" type="date" style="width:160px" placeholder="选择日期" :disabled="isDisabled"></el-date-picker>
149
+            <el-time-picker v-model="send_time.time" size="small" format="HH:mm" value-format="HH:mm:ss" placeholder="请输入时间" style="width:130px" :disabled="isDisabled"></el-time-picker>
150 150
           </div>
151 151
         </div>
152 152
       </div>
@@ -163,7 +163,7 @@
163 163
           <img v-if="processFlag" src="@/assets/img/friendsCircleSend.png" class="img" alt="">
164 164
         </div>
165 165
       </div>
166
-      <div class="flex-align-center lMar100 tMar20">
166
+      <div v-if="!isDisabled" class="flex-align-center lMar100 tMar20">
167 167
         <button class="button" @click="getAttachments">通知成员发送</button>
168 168
       </div>
169 169
 
@@ -183,7 +183,7 @@ import customerServiceCorpV2 from '@/components/assembly/screen/customerServiceC
183 183
 export default {
184 184
   name: 'createFriendsCircle',
185 185
   components: { selfCustomerserviceFC, editCon, welcomEdit, enterpriseTag, datePicker, conTwo, selfChannel, customerServiceCorpV2 },
186
-  props: ['title', 'rule_id', 'is_copy'],
186
+  props: ['title', 'rule_id', 'is_copy', 'sysMsgCorpid'], //sysMsgCorpid是否来自“系统消息” 系统消息查看详情不可编辑
187 187
   data () {
188 188
     return {
189 189
       loading: false,
@@ -261,6 +261,11 @@ export default {
261 261
       multiple_senders: [], // 多个主体时选择的客服成员结果
262 262
     }
263 263
   },
264
+  computed: {
265
+    isDisabled() {  // sysMsgCorpid是否来自“系统消息” 系统消息查看详情不可编辑
266
+      return !!this.sysMsgCorpid
267
+    },
268
+  },
264 269
   created () {
265 270
     this.loading = false;
266 271
     if (this.rule_id) {
@@ -271,11 +276,11 @@ export default {
271 276
   methods: {
272 277
     editInfo_reback () {
273 278
       this.loading = true
274
-      this.$axios.get(this.URL.BASEURL + this.URL.FriendsCircleDetial, {
275
-        params: {
276
-          rule_id: this.rule_id
277
-        }
278
-      }).then((res) => {
279
+      const params = {
280
+        rule_id: this.rule_id
281
+      }
282
+      if (this.sysMsgCorpid) { params.corpid = this.sysMsgCorpid }
283
+      this.$axios.get(this.URL.BASEURL + this.URL.FriendsCircleDetial, { params }).then((res) => {
279 284
         this.loading = false
280 285
         var res = res.data
281 286
         if (res && res.errno == 0) {
@@ -653,6 +658,11 @@ export default {
653 658
       }
654 659
       this.changeEvent()
655 660
     },
661
+
662
+    handleStopPropagation() {
663
+      console.log('handleStopPropagation => ')
664
+      return false
665
+    },
656 666
   }
657 667
 }
658 668
 </script>

+ 42 - 31
project/src/components/manage/systemMsg.vue

@@ -10,7 +10,7 @@
10 10
       <selfInputV2 style="margin-left: -20px;"  :labelWidth="true" v-model="filter.user_name" label_name="成员" placeholder="请输入" @change="onChangeUserName" />
11 11
       <!-- <selfChannelV2 v-model="filter.platform_id" title="平台" type="platform" labelWidth multiple collapseTags :multipleLimit="3" @change="onChangePlatform" /> -->
12 12
       <selfChannelV2 v-model="filter.msg_type" title="消息类型" type="msgType" labelWidth @change="onChangeMsgType" />
13
-      <selfChannelV2 v-model="filter.send_status" title="发送状态" type="msgSendStatus" labelWidth @change="onChangeSendStatus" />
13
+      <!-- <selfChannelV2 v-model="filter.send_status" title="发送状态" type="msgSendStatus" labelWidth @change="onChangeSendStatus" /> -->
14 14
       <div class="reset" @click="onClickReset">重置</div>
15 15
     </div>
16 16
     <!-- E 筛选区 -->
@@ -67,6 +67,12 @@
67 67
         <detailRuleZNQF v-if="isShowDetailZNQF" title="智能推送详情" :rule_id='currentRuleId' :sysMsgCorpid="currentCorpid" :isCopy="false" :createGroupId="currentGroupId" @close="detailClose" />
68 68
       </el-drawer>
69 69
       <!-- E 详情 - 智能群发 -->
70
+
71
+      <!-- S 详情 - 客户朋友圈 -->
72
+      <el-drawer size="1100px" :visible.sync="isShowRuleKHPYQ" :with-header="false">
73
+        <detailRuleKHPYQ v-if="isShowRuleKHPYQ" :is_copy='false' title="朋友圈详情" :rule_id='currentRuleId' :sysMsgCorpid="currentCorpid" @close="detailClose" />
74
+      </el-drawer>
75
+      <!-- E 详情 - 客户朋友圈 -->
70 76
     </div>
71 77
     <!-- E 明细表 detailsTable -->
72 78
   </div>
@@ -86,6 +92,8 @@ import detailKHQF from '@/components/customOperate/massMsgDetail/index.vue' // 
86 92
 
87 93
 import detailRuleZNQF from '@/components/smartPushV3/createMassMsg.vue' // 智能群发-规则详情
88 94
 
95
+import detailRuleKHPYQ from '@/components/customOperate/createFriendsCircle.vue' // 客户朋友圈-规则详情
96
+
89 97
 export default {
90 98
   components: {
91 99
     selfInputV2,
@@ -97,6 +105,7 @@ export default {
97 105
     detailRuleKHQF,
98 106
     detailKHQF,
99 107
     detailRuleZNQF,
108
+    detailRuleKHPYQ,
100 109
   },
101 110
   data() {
102 111
     const DEFAULT_TIME = [this.$getDay(-30, false), this.$getDay(0, false)]
@@ -111,7 +120,7 @@ export default {
111 120
         { column: 'corp_name', name: '企微主体', 'min_width': 200, fixed: '', },
112 121
         { column: 'user_name', name: '成员', 'min_width': 140, fixed: '', },
113 122
         { column: 'msg_type_text', name: '消息类型', 'min_width': 140, fixed: '', },
114
-        { column: 'send_status_text', name: '发送状态', 'min_width': 140, fixed: '', },
123
+        // { column: 'send_status_text', name: '发送状态', 'min_width': 140, fixed: '', },
115 124
         { column: 'notice', name: '消息内容', 'min_width': 400, fixed: '', },
116 125
         { column: 'handler', name: '操作', 'min_width': 90, fixed: 'right', },
117 126
       ],
@@ -127,8 +136,8 @@ export default {
127 136
         corpid: '', // 企微主体
128 137
         user_name: '', // 成员
129 138
         // platform_id: [], // 平台
130
-        send_status: 1,
131
-        msg_type: '',
139
+        // send_status: 1,
140
+        msg_type: 1,
132 141
       },
133 142
 
134 143
       currentCorpid: '',
@@ -139,6 +148,7 @@ export default {
139 148
       isShowRuleKHQF: false,
140 149
       isShowDetailKHQF: false,
141 150
       isShowDetailZNQF: false,
151
+      isShowRuleKHPYQ: false,
142 152
     }
143 153
   },
144 154
   created() {
@@ -159,13 +169,13 @@ export default {
159 169
           end_date: this.filter.time[1],
160 170
           corp_id: this.filter.corpid,
161 171
           user_name: this.filter.user_name,
162
-          send_status: this.filter.send_status,
172
+          // send_status: this.filter.send_status,
163 173
           msg_type: this.filter.msg_type,
164 174
           // platform_id: this.filter.platform_id,
165 175
           page: this.pagination.page,
166 176
           page_size: this.pagination.page_size,
167 177
         }
168
-        const url = `${this.URL.BASEURL}${this.URL.system_sendNoticeList}`
178
+        const url = `${this.URL.BASEURL}${this.URL.system_sendNoticeListNew}`
169 179
         const { data: res = {} } = await this.$axios.get(url, { params })
170 180
         if (res && res.errno == 0) {
171 181
           const detailsTableList = Array.isArray(res.rst.data) ? res.rst.data : []
@@ -211,21 +221,18 @@ export default {
211 221
     },
212 222
     // // 监听平台选择变化
213 223
     // onChangePlatform(val) {
214
-    //   console.log('onChangePlatform => ', val)
215 224
     //   this.filter.platform_id = val
216 225
     //   this.pagination.page = 1
217 226
     //   this.handleGetData()
218 227
     // },
219 228
     // 发送状态
220
-    onChangeSendStatus(val) {
221
-      console.log('onChangeSendStatus => ', val)
222
-      this.filter.send_status = val
223
-      this.pagination.page = 1
224
-      this.handleGetData()
225
-    },
229
+    // onChangeSendStatus(val) {
230
+    //   this.filter.send_status = val
231
+    //   this.pagination.page = 1
232
+    //   this.handleGetData()
233
+    // },
226 234
     // 消息类型
227 235
     onChangeMsgType(val) {
228
-      console.log('onChangeSendStatus => ', val)
229 236
       this.filter.msg_type = val
230 237
       this.pagination.page = 1
231 238
       this.handleGetData()
@@ -236,8 +243,8 @@ export default {
236 243
       this.filter.time = this.default_time
237 244
       this.filter.corpid = ''
238 245
       this.filter.user_name = ''
239
-      this.filter.send_status = 1
240
-      this.filter.msg_type = ''
246
+      this.filter.msg_type = 1
247
+      // this.filter.send_status = 1
241 248
       // this.filter.platform_id = []
242 249
       this.pagination.page = 1
243 250
       this.handleGetData()
@@ -250,8 +257,6 @@ export default {
250 257
     },
251 258
 
252 259
     onClickDetail({ send_status, msg_type, rule_id, corpid, group_id }) {
253
-      console.log('onClickDetail => send_status ', send_status)
254
-      console.log('onClickDetail => msg_type ', msg_type)
255 260
       this.currentRuleId = rule_id
256 261
       this.currentCorpid = corpid
257 262
       this.currentGroupId = group_id
@@ -261,30 +266,35 @@ export default {
261 266
       if (msg_type == 2) this.handleShowKHQQF(send_status)
262 267
       // 智能群发
263 268
       if (msg_type == 3) this.handleShowZNQF(send_status)
269
+      // 智能群发
270
+      if (msg_type == 4) this.handleShowKHPYQ(send_status)
264 271
     },
265 272
     // 客户群发详情
266 273
     handleShowKHQF(send_status) {
267
-      console.log('handleShowKHQF => ', send_status)
268
-      if (send_status == 1) { // 待发送
269
-        this.isShowRuleKHQF = true
270
-      } else { // 已发送
271
-        this.isShowDetailKHQF = true
272
-      }
274
+      // if (send_status == 1) { // 待发送
275
+      //   this.isShowRuleKHQF = true
276
+      // } else { // 已发送
277
+      //   this.isShowDetailKHQF = true
278
+      // }
279
+      this.isShowRuleKHQF = true // 目前列表返回的都是待发送状态消息(直接查看配置规则详情)
273 280
     },
274 281
     // 客户群群发
275 282
     handleShowKHQQF(send_status) {
276
-      console.log('handleShowKHQQF => ', send_status)
277
-      if (send_status == 1) { // 待发送
278
-        this.isShowRuleKHQQF = true
279
-      } else { // 已发送
280
-        this.isShowDetailKHQQF = true
281
-      }
283
+      // if (send_status == 1) { // 待发送
284
+      //   this.isShowRuleKHQQF = true
285
+      // } else { // 已发送
286
+      //   this.isShowDetailKHQQF = true
287
+      // }
288
+      this.isShowRuleKHQQF = true // 目前列表返回的都是待发送状态消息(直接查看配置规则详情)
282 289
     },
283 290
     // 智能群发
284 291
     handleShowZNQF(send_status) {
285
-      console.log('handleShowZNQF => ', send_status)
286 292
       this.isShowDetailZNQF = true
287 293
     },
294
+    // 客户朋友圈
295
+    handleShowKHPYQ(send_status) {
296
+      this.isShowRuleKHPYQ = true // 目前列表返回的都是待发送状态消息(直接查看配置规则详情)
297
+    },
288 298
 
289 299
     detailClose() {
290 300
       this.currentCorpid = ''
@@ -295,6 +305,7 @@ export default {
295 305
       this.isShowRuleKHQF = false
296 306
       this.isShowDetailKHQF = false
297 307
       this.isShowDetailZNQF = false
308
+      this.isShowRuleKHPYQ = false
298 309
     },
299 310
   },
300 311
 }