企微助手 ,仓库名 短剧

43.ea6b3a37ad845010b9ef.js 28KB

1
  1. webpackJsonp([43],{"15oQ":function(t,e){},HmWx:function(t,e){},Qm9U:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Xxa5"),i=a.n(s),n=a("exGp"),l=a.n(n),r=a("gzej"),o=a("mGJs"),c=a("cthc"),d=a("erru"),_=a("McOJ"),u=a("bqGD"),p={components:{datePicker:r.a,createMsg:o.a,detail:c.a,selfChannel:d.a,selfInput:_.a,cancelSendListDialog:u.a},data:function(){return{detialFlag:!1,massMsgFlag:!1,loading:!1,page:1,pages:0,total:0,page_size:20,pageOptionValue:2,tableData:[],add_date_start:"",add_date_end:"",create_time_start:"",create_time_end:"",resetFlag:!1,height:"",detail_rule_id:"",is_copy:!1,sort_field:"send_time",circleCreate_val:"",input_keyword:"",cancelSendDialogVisible:!1,cancelSendListType:3}},created:function(){this.height=document.documentElement.clientHeight-260>400?document.documentElement.clientHeight-260:400,this.init(1)},methods:{sortFieldEvent:function(t){t!=this.sort_field&&(this.sort_field=t,this.init(1))},detailClose:function(t){"update"==t?this.init(this.page):"update_new"==t&&(this.sort_field="created_at",this.init(1),this.$refs.multipleTable.bodyWrapper.scrollTop=0),this.massMsgFlag=!1,this.detialFlag=!1},createdMassMsg:function(){this.detail_rule_id="",this.massMsgFlag=!0},remind_send:function(t){var e=this;this.$loading(this.$loadingConfig),this.$axios.post(this.URL.BASEURL+this.URL.chatGroupMassMsg_noticeUser,{rule_id:t.rule_id}).then(function(t){t=t.data;e.$loading(e.$loadingConfig).close(),t&&0==t.errno?e.$message({message:"操作成功!",type:"success"}):e.$message({message:t.err,type:"warning"})}).catch(function(){e.$loading(e.$loadingConfig).close()})},goDetail:function(t){this.detail_rule_id=t.rule_id,this.is_copy=!1,1==t.enable?this.massMsgFlag=!0:this.detialFlag=!0},copyDetail:function(t){this.massMsgFlag=!0,this.is_copy=!0,this.detail_rule_id=t.rule_id},welcomeMsg_del:function(t){var e=this;1!=t.enable&&0!=t.enable||this.$confirm("确定"+(1==t.enable?"禁用":"启用")+"【"+t.name+"】?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$loading(e.$loadingConfig),e.$axios.post(e.URL.BASEURL+e.URL.chatGroupMassMsg_updateStatus,{rule_id:t.rule_id,status:1==t.enable?0:1}).then(function(t){t=t.data;e.$loading(e.$loadingConfig).close(),t&&0==t.errno?(e.$message({message:"操作成功!",type:"success"}),e.init(1)):e.$message({message:t.err,type:"warning"})}).catch(function(){e.$loading(e.$loadingConfig).close()})}).catch(function(){})},changeTime:function(t){!t||t&&0==t.length?(this.add_date_start="",this.add_date_end=""):(this.add_date_start=t[0],this.add_date_end=t[1]),this.init(1)},changeTimeCj:function(t){!t||t&&0==t.length?(this.create_time_start="",this.create_time_end=""):(this.create_time_start=t[0],this.create_time_end=t[1]),this.init(1)},init:function(t,e){var a=this;if("export"!=e)this.page=t||this.page;else if(0==this.total)return void this.$message({message:"暂无数据可导出",type:"warning"});this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.chatGroupMassMsg_ruleLists,{params:{send_time_start:this.add_date_start?this.add_date_start+" 00:00:00":"",send_time_end:this.add_date_end?this.$day_format(this.$date_compatible(this.add_date_end+" 24:00:00")):"",page:"export"==e?1:this.page,page_size:"export"==e?this.$store.state.exportNumber:this.page_size,sort_column:this.sort_field,creator_id:this.circleCreate_val,rule_name:this.input_keyword,create_time_start:this.create_time_start?this.create_time_start+" 00:00:00":"",create_time_end:this.create_time_end?this.$day_format(this.$date_compatible(this.create_time_end+" 24:00:00")):""}}).then(function(t){t=t.data;a.loading=!1,t&&0==t.errno?"export"==e?a.exportEvent(t.rst.data):(a.tableData=t.rst.data,a.total=t.rst.pageInfo.total,a.pages=t.rst.pageInfo.pages):4002!=t.errno&&a.$message({message:t.err,type:"warning"})}).catch(function(t){a.loading=!1})},handleCurrentChange:function(t){this.init(t)},exportEvent:function(t){var e=t;e.forEach(function(t){t.send_type_name=1==t.send_type?"立即发送":2==t.send_type?"定时发送":"",t.enable_name=-2==t.enable?"已删除":-1==t.enable?"发送失败":1==t.enable?"待发送":2==t.enable?"正在发送中":3==t.enable?"待客服确认":""});var a=[{tHeader:["企业ID","群发标题","发送类型","发送时间","消息文本内容","附件信息","发送状态","创建人","已发送群主","未发送群主","送达群聊","未送达群聊"],filterVal:["corpid","name","send_type_name","send_time","content","attachments","enable_name","creator","send_user_success","send_user_fail","send_chat_success","send_chat_fail"],tableDatas:e,sheetName:""}];this.$exportOrder({excelDatas:a,name:"客户群群发(导出时间:"+this.$getDay(0)+")"})},onClickCancelSend:function(t){var e=this,a=t.name,s=t.rule_id;return l()(i.a.mark(function t(){return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$confirm("确定停止当前群发任务吗?",""+a,{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:e.handleCancelSend(s),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.log("error => ",t.t0);case 9:case"end":return t.stop()}},t,e,[[0,6]])}))()},handleCancelSend:function(t){var e=this;return l()(i.a.mark(function a(){var s,n,l,r,o;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,e.loading=!0,s=""+e.URL.BASEURL+e.URL.massMsgCancel_setConfig,n={rule_id:t,type:e.cancelSendListType},a.next=6,e.$axios.post(s,n);case 6:l=a.sent,r=l.data,(o=void 0===r?{}:r)&&0==o.errno?(e.$message.success("操作成功"),e.init(e.page)):4002!=o.errno&&e.$message.warning(o.err),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(0),console.log(a.t0);case 15:return a.prev=15,e.loading=!1,a.finish(15);case 18:case"end":return a.stop()}},a,e,[[0,12,15,18]])}))()},onClickCancelSendList:function(){this.cancelSendDialogVisible=!0},onCloseCancelSendDialog:function(){this.cancelSendDialogVisible=!1}}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[a("div",{staticClass:"screenBox",staticStyle:{"align-items":"center","padding-right":"16px"}},[a("div",{staticClass:"flex-align-center",staticStyle:{flex:"1","flex-wrap":"wrap"}},[a("self-input",{attrs:{reset:t.resetFlag,labelWidth:!0,label_name:"群发标题"},on:{inputChange:function(e){t.input_keyword=e,t.init(1)}}}),t._v(" "),a("self-channel",{attrs:{title:"创建人",labelWidth:!0,type:"circleCreate"},on:{channelDefine:function(e){t.circleCreate_val=e,t.init(1)}}}),t._v(" "),a("date-picker",{attrs:{title:"发送时间",labelWidth:!0,reset:t.resetFlag},on:{changeTime:t.changeTime}}),t._v(" "),a("date-picker",{attrs:{title:"创建时间",labelWidth:!0,reset:t.resetFlag},on:{changeTime:t.changeTimeCj}})],1)]),t._v(" "),a("div",{staticClass:"tableInfo"},[a("div",[a("div",{staticClass:"flex"},[a("div",{staticClass:"totalCustom"},[t._v("共有"),a("span",[t._v(t._s(t.total))]),t._v("条群发内容")])])]),t._v(" "),a("div",{staticClass:"flex"},[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.createdMassMsg}},[t._v("新建群发")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:"",size:"mini"},on:{click:t.onClickCancelSendList}},[t._v("停止群发记录")]),t._v(" "),a("el-button",{attrs:{type:"primary",plain:"",size:"mini"},on:{click:function(e){return t.init(1,"export")}}},[t._v("导出Excel")])],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{height:t.height,data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"name",label:"群发标题","show-overflow-tooltip":"",align:"center",fixed:"left","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{label:"模式",align:"center","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){var s=e.row;return[a("div",[t._v(t._s(1==s.operate_type?"单个企微主体":"多个企微主体"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"群发方式",align:"center","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(1==e.row.send_mode?"按群主发送":2==e.row.send_mode?"按群聊发送":""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"消息类型",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(1==e.row.send_type?"立即发送":2==e.row.send_type?"定时发送":""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"创建人",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"customerServiceTagBox"},[a("div",{staticClass:"customerServiceTag"},[a("i",{staticClass:"el-icon-user-solid"}),t._v(" "+t._s(e.row.creator))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"send_time","min-width":"140",label:"发送时间","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"header",fn:function(){return[a("div",{class:["flex-align-jus-center","pointer","send_time"==t.sort_field?"sortFieldStyle":""],on:{click:function(e){return t.sortFieldEvent("send_time")}}},[t._v("\n 发送时间\n "),a("i",{staticClass:"el-icon-caret-bottom"})])]},proxy:!0},{key:"default",fn:function(e){return[a("div",{class:"send_time"==t.sort_field?"sortFieldStyle":""},[t._v(t._s(e.row.send_time))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间","min-width":"140","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"header",fn:function(){return[a("div",{class:["flex-align-jus-center","pointer","created_at"==t.sort_field?"sortFieldStyle":""],on:{click:function(e){return t.sortFieldEvent("created_at")}}},[t._v("\n 创建时间\n "),a("i",{staticClass:"el-icon-caret-bottom"})])]},proxy:!0},{key:"default",fn:function(e){return[a("div",{class:"created_at"==t.sort_field?"sortFieldStyle":""},[t._v("\n "+t._s(e.row.created_at)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"send_user_success",label:"已发送群主","show-overflow-tooltip":"",align:"center","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"send_user_fail",label:"未发送群主","show-overflow-tooltip":"",align:"center","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"send_chat_success",label:"送达群聊","show-overflow-tooltip":"",align:"center","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"send_chat_fail",label:"未送达群聊","show-overflow-tooltip":"",align:"center","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{label:"发送状态",align:"center","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){var s=e.row;return[a("div",{staticClass:"status-wrap"},[-2==s.enable?a("span",{staticClass:"c-F03F5C"},[t._v("已删除")]):-1==s.enable?a("span",{class:[s.err_msg&&s.err_msg.length?"c-F03F5C":"c-666"]},[t._v("发送失败")]):0==s.enable?a("span",{staticClass:"c-F03F5C"},[t._v("禁用")]):1==s.enable?a("span",{staticClass:"c-FFB055"},[t._v("待发送")]):2==s.enable?a("span",{staticClass:"c-448AFF"},[t._v("正在发送中")]):3==s.enable?a("span",{staticClass:"c-58BCA6",class:[s.err_msg&&s.err_msg.length?"c-F03F5C":"c-58BCA6"]},[t._v("待客服确认")]):4==s.enable?a("span",{staticClass:"c-58BCA6",class:[s.err_msg&&s.err_msg.length?"c-F03F5C":"c-58BCA6"]},[t._v("发送完成")]):t._e(),t._v(" "),s.err_msg&&s.err_msg.length?[t._l(s.err_msg,function(e){return[e.length>9?a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"left",content:e}},[a("div",{staticClass:"c-666 reason"},[t._v(t._s(e))])]):a("div",{staticClass:"c-666",attrs:{title:e}},[t._v(t._s(e))])]})]:t._e()],2)]}}])}),t._v(" "),a("el-table-column",{attrs:{"min-width":"150",label:"操作",align:"center",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex",staticStyle:{"justify-content":"center","flex-wrap":"wrap"}},[a("el-popconfirm",{attrs:{disabled:3!=e.row.enable,title:"猎羽将提醒未发送的群主发送消息,是否确认提醒 ?"},on:{confirm:function(a){return t.remind_send(e.row)}}},[3==e.row.enable?a("div",{staticClass:"table_button",class:3==e.row.enable?"c-00B38A pointer":"pointer-drop c-999",attrs:{slot:"reference"},slot:"reference"},[t._v("提醒\n ")]):t._e()]),t._v(" "),1==e.row.enable||0==e.row.enable?a("div",{class:["pointer","table_button",1==e.row.enable?"c-FF604D":"c-007AFF"],on:{click:function(a){return t.welcomeMsg_del(e.row)}}},[t._v("\n "+t._s(1==e.row.enable?"禁用":0==e.row.enable?"启用":"")+"\n ")]):t._e(),t._v(" "),a("div",{staticClass:"c-00B38A pointer table_button",on:{click:function(a){return t.goDetail(e.row)}}},[t._v("详情")]),t._v(" "),a("el-popconfirm",{attrs:{title:"确定复制【"+e.row.name+"】群发消息?"},on:{confirm:function(a){return t.copyDetail(e.row)}}},[a("div",{staticClass:"c-00B38A pointer table_button",attrs:{slot:"reference"},slot:"reference"},[t._v("复制")])]),t._v(" "),3==e.row.enable?a("div",{staticClass:"pointer table_button c-FF604D",on:{click:function(a){return t.onClickCancelSend(e.row)}}},[t._v("\n 停止群发\n ")]):t._e()],1)]}}])})],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-count":Number(t.pages)},on:{"current-change":t.handleCurrentChange}})],1),t._v(" "),a("el-drawer",{attrs:{size:"1200px",visible:t.massMsgFlag,"with-header":!1},on:{"update:visible":function(e){t.massMsgFlag=e}}},[t.massMsgFlag?a("createMsg",{attrs:{is_copy:t.is_copy,title:t.detail_rule_id?"群发详情":"新建群发",rule_id:t.detail_rule_id},on:{close:t.detailClose}}):t._e()],1),t._v(" "),a("el-drawer",{attrs:{size:"1200px",visible:t.detialFlag,"with-header":!1},on:{"update:visible":function(e){t.detialFlag=e}}},[t.detialFlag?a("detail",{attrs:{title:"群发详情",rule_id:t.detail_rule_id},on:{close:t.detailClose}}):t._e()],1),t._v(" "),a("cancelSendListDialog",{attrs:{dialogVisible:t.cancelSendDialogVisible,listType:t.cancelSendListType},on:{close:t.onCloseCancelSendDialog}})],1)},staticRenderFns:[]};var g=a("VU/8")(p,v,!1,function(t){a("15oQ")},"data-v-18846aec",null);e.default=g.exports},R3bO:function(t,e){},cthc:function(t,e,a){"use strict";var s=a("Gu7T"),i=a.n(s),n=a("ifoU"),l=a.n(n),r=a("McOJ"),o=a("fGUm"),c=a("erru"),d=a("1b6Z"),_=a("bEx1"),u={components:{userTag:a("/X3M").a},props:{dialogVisible:{type:Boolean,default:function(){return!1}},groupOwnList:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1}},computed:{title:function(){return""}},watch:{dialogVisible:function(t){}},methods:{handleCancel:function(){this.$emit("close")}}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{staticClass:"video-dialog",attrs:{visible:t.dialogVisible,"before-close":t.handleCancel,title:t.title,width:"550px","append-to-body":""},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"content-wrap"},t._l(t.groupOwnList,function(e,s){return a("div",{key:s,staticClass:"corp-wrap"},[a("div",{staticClass:"corp-name-wrap"},[a("span",[t._v("企微主体:")]),t._v(" "),a("span",[t._v(t._s(e.corp_name))])]),t._v(" "),a("userTag",{staticClass:"sender-wrap",attrs:{list:e.sender_list||[],bgColor:"transparent",textColor:"#00b38a"}}),t._v(" "),s!==t.groupOwnList.length-1?a("el-divider"):t._e()],1)}),0),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:t.handleCancel}},[t._v("关 闭")])],1)])},staticRenderFns:[]};var v=a("VU/8")(u,p,!1,function(t){a("HmWx")},"data-v-25618914",null).exports,g=new l.a([[1,"群主已发送"],[0,"群主未发送"],[3,"发送失败"]]),f={components:{selfInput:r.a,selfCustomerservice:o.a,selfChannel:c.a,qunDetail:d.a,phonePreview:_.a,groupOwnDialog:v},props:["title","rule_id","sysMsgCorpid"],data:function(){return{detialFlag:!1,loading:!1,dataInfo:{},attachments:[],input_keyword:"",page:1,pages:0,total:0,page_size:20,listLoading:!1,tableData:[],user_id_list:[],send_status:"",detail_chat_id:"",groupOwnDialogVisible:!1,currentGroupOwnList:[]}},created:function(){this.detail(),this.init(1)},methods:{goDetail:function(t){this.detail_chat_id=t.chat_id,this.detialFlag=!0},detail:function(){var t=this;this.loading=!0;var e={rule_id:this.rule_id};this.sysMsgCorpid&&(e.corpid=this.sysMsgCorpid),this.$axios.get(this.URL.BASEURL+this.URL.chatGroupMassMsg_ruleDetail,{params:e}).then(function(e){e=e.data;t.loading=!1,e&&0==e.errno?(t.dataInfo=e.rst,t.attachments=e.rst.attachments&&""!=e.rst.attachments?JSON.parse(e.rst.attachments):[]):4002!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loading=!1})},init:function(t,e){var a=this;if("export"!=e)this.page=t||this.page;else if(0==this.total)return void this.$message({message:"暂无数据可导出",type:"warning"});this.listLoading=!0;var s={rule_id:this.rule_id,page:"export"==e?1:this.page,page_size:"export"==e?this.$store.state.exportNumber:this.page_size,chat_group_name:this.input_keyword,sender_list:this.user_id_list,status:this.send_status};this.sysMsgCorpid&&(s.corpid=this.sysMsgCorpid),this.$axios.get(this.URL.BASEURL+this.URL.chatGroupMassMsg_chatGroupReceiveDetail,{params:s}).then(function(t){t=t.data;a.listLoading=!1,t&&0==t.errno?"export"==e?a.exportEvent(t.rst.data):(a.tableData=t.rst.data,a.total=t.rst.pageInfo.total,a.pages=t.rst.pageInfo.pages):4002!=t.errno&&a.$message({message:t.err,type:"warning"})}).catch(function(t){a.listLoading=!1})},handleCurrentChange:function(t){this.init(t)},exportEvent:function(t){var e=t;e.forEach(function(t){t.self_send_status=1==t.send_status?"群主已发送":2==t.send_status?"群主未发送":3==t.send_status?"发送失败":""});var a=[{tHeader:["群名称","群主","群主所属部门","客户群成员数","消息送达状态","群聊发送时间"],filterVal:["name","owner_name","department_name","chat_member_count","self_send_status","send_time"],tableDatas:e,sheetName:""}];this.$exportOrder({excelDatas:a,name:"("+this.dataInfo.name+")群发详情(导出时间:"+this.$getDay(0)+")"})},onClickShowGroupOwn:function(t){if(!t)return!1;this.currentGroupOwnList=[].concat(i()(t)),this.groupOwnDialogVisible=!0},onCloseGroupOwn:function(){this.groupOwnDialogVisible=!1},handleGetStatusDesc:function(t){return g.get(Number(t))||"-"}}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"self_drawer_title"},[a("div",{staticClass:"flex"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),a("div",{staticClass:"flex-align-center"},[a("i",{staticClass:"el-icon-close pointer",on:{click:function(e){return t.$emit("close")}}})])]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"modular"},[a("h3",{staticClass:"bigTitle"},[t._v("基础信息\n "),t.rule_id?[-2==t.dataInfo.enable?a("span",{staticClass:"detail_status status_del"},[t._v("已删除")]):t._e(),t._v(" "),-1==t.dataInfo.enable?a("span",{staticClass:"detail_status status_fail"},[t._v("发送失败")]):t._e(),t._v(" "),0==t.dataInfo.enable?a("span",{staticClass:"detail_status status_del"},[t._v("禁用")]):t._e(),t._v(" "),1==t.dataInfo.enable?a("span",{staticClass:"detail_status status_wait"},[t._v("待发送")]):t._e(),t._v(" "),2==t.dataInfo.enable?a("span",{staticClass:"detail_status status_ing"},[t._v("正在发送中")]):t._e(),t._v(" "),3==t.dataInfo.enable?a("span",{staticClass:"detail_status status_success"},[t._v("待客服确认")]):t._e(),t._v(" "),4==t.dataInfo.enable?a("span",{staticClass:"detail_status status_success"},[t._v("发送完成")]):t._e()]:t._e()],2),t._v(" "),a("div",{staticClass:"flex-start"},[a("div",{staticClass:"dataInfoBox"},[a("div",{staticClass:"tMar20 flex-align-center"},[a("span",{staticClass:"lable"},[t._v("群发标题:")]),t._v(" "),a("span",{staticClass:"txt"},[t._v(t._s(t.dataInfo.name))])]),t._v(" "),a("div",{staticClass:"tMar20 flex-align-center"},[a("span",{staticClass:"lable"},[t._v("模式:")]),t._v(" "),a("span",{staticClass:"txt"},[t._v(t._s(1==t.dataInfo.operate_type?"单个企微主体":"多个企微主体"))])]),t._v(" "),a("div",{staticClass:"tMar20 flex-align-center"},[a("span",{staticClass:"lable"},[t._v("群发方式:")]),t._v(" "),a("span",{staticClass:"txt"},[t._v(t._s(1==t.dataInfo.send_mode?"按群主发送":"按群聊发送"))])]),t._v(" "),1==t.dataInfo.send_mode?a("div",{staticClass:"tMar20 flex-align-center"},[a("span",{staticClass:"lable"},[t._v("使用群主:")]),t._v(" "),t.dataInfo.sender_data&&t.dataInfo.sender_data.length?a("div",{staticClass:"btn-text",on:{click:function(e){return t.onClickShowGroupOwn(t.dataInfo.sender_data)}}},[t._v("查看")]):a("div",{staticClass:"txt"},[t._v("-")])]):t._e(),t._v(" "),a("div",{staticClass:"tMar20 flex-start"},[a("span",{staticClass:"lable"},[t._v("群发内容:")]),t._v(" "),a("div",[a("span",{staticClass:"txt"},[t._v(t._s(t.dataInfo.content))]),t._v(" "),t.attachments&&t.attachments.length>0?a("div",{staticClass:"syllable_ul"},t._l(t.attachments,function(e,s){return a("div",{key:s,staticClass:"fujianItem"},[a("div",{staticClass:"left"},["image"==e.msgtype?a("span",{staticClass:"flex-align-center"},[t._v("【图片】:"),a("img",{staticStyle:{width:"16px",height:"16px"},attrs:{src:e.image.pic_url,alt:""}})]):t._e(),t._v(" "),"link"==e.msgtype?a("span",[t._v("【链接】:"+t._s(e.link.title))]):t._e(),t._v(" "),"miniprogram"==e.msgtype?a("span",[t._v("【小程序】:"+t._s(e.miniprogram.title))]):t._e(),t._v(" "),"radar"==e.msgtype?a("span",[t._v("【智能雷达】:"+t._s(e.radar.title))]):t._e(),t._v(" "),"promote"==e.msgtype?a("span",[t._v("【H5推广】:"+t._s(e.promote.title))]):t._e()])])}),0):t._e()])]),t._v(" "),a("div",{staticClass:"tMar20 flex-align-center"},[a("span",{staticClass:"lable"},[t._v("发送类型:")]),t._v(" "),a("span",{staticClass:"txt"},[t._v(t._s(1==t.dataInfo.send_type?"立即发送":2==t.dataInfo.send_type?"定时发送":"-"))])]),t._v(" "),a("div",{staticClass:"tMar20 flex-align-center"},[a("span",{staticClass:"lable"},[t._v("发送时间:")]),t._v(" "),a("span",{staticClass:"txt"},[t._v(t._s(t.dataInfo.send_time))])])]),t._v(" "),a("phonePreview",{staticStyle:{"margin-top":"-30px"},attrs:{phone_width:"260px",position_top:"0px",content:t.dataInfo.content,attachments:t.attachments}})],1)]),t._v(" "),a("div",{staticClass:"splitLine"}),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"modular"},[a("h3",{staticClass:"bigTitle"},[t._v("数据详情")]),t._v(" "),a("div",{staticClass:"flex",staticStyle:{"margin-top":"30px"}},[a("div",{staticClass:"member_total"},[a("div",{staticClass:"member_total_item"},[a("div",{staticClass:"num"},[t._v("\n "+t._s(t.dataInfo.send_user_success||0==t.dataInfo.send_user_success?t.$formatNum(t.dataInfo.send_user_success):"-")+"\n ")]),t._v(" "),a("div",{staticClass:"txt"},[t._v("已发送群主")])]),t._v(" "),a("div",{staticClass:"splitLine_small"}),t._v(" "),a("div",{staticClass:"member_total_item"},[a("div",{staticClass:"num"},[t._v("\n "+t._s(t.dataInfo.wait_send_user||0==t.dataInfo.wait_send_user?t.$formatNum(t.dataInfo.wait_send_user):"-"))]),t._v(" "),a("div",{staticClass:"txt"},[t._v("未发送群主")])]),t._v(" "),a("div",{staticClass:"splitLine_small"}),t._v(" "),a("div",{staticClass:"member_total_item"},[a("div",{staticClass:"num"},[t._v("\n "+t._s(t.dataInfo.send_user_fail||0==t.dataInfo.send_user_fail?t.$formatNum(t.dataInfo.send_user_fail):"-")+"\n ")]),t._v(" "),a("div",{staticClass:"txt"},[t._v("发送失败群主")])]),t._v(" "),a("div",{staticClass:"splitLine_small"}),t._v(" "),a("div",{staticClass:"member_total_item"},[a("div",{staticClass:"num"},[t._v("\n "+t._s(t.dataInfo.send_chat_success||0==t.dataInfo.send_chat_success?t.$formatNum(t.dataInfo.send_chat_success):"-")+"\n ")]),t._v(" "),a("div",{staticClass:"txt"},[t._v("已发送群聊")])]),t._v(" "),a("div",{staticClass:"splitLine_small"}),t._v(" "),a("div",{staticClass:"member_total_item"},[a("div",{staticClass:"num"},[t._v("\n "+t._s(t.dataInfo.send_chat_fail||0==t.dataInfo.send_chat_fail?t.$formatNum(t.dataInfo.send_chat_fail):"-")+"\n ")]),t._v(" "),a("div",{staticClass:"txt"},[t._v("未发送群聊")])]),t._v(" "),a("div",{staticClass:"splitLine_small"}),t._v(" "),a("div",{staticClass:"member_total_item"},[a("div",{staticClass:"num"},[t._v("\n "+t._s(t.dataInfo.success_member_count||0==t.dataInfo.success_member_count?t.$formatNum(t.dataInfo.success_member_count):"-")+"\n ")]),t._v(" "),a("div",{staticClass:"txt"},[t._v("已触达群成员数")])]),t._v(" "),a("div",{staticClass:"splitLine_small"}),t._v(" "),a("div",{staticClass:"member_total_item"},[a("div",{staticClass:"num"},[t._v("\n "+t._s(t.dataInfo.fail_member_count||0==t.dataInfo.fail_member_count?t.$formatNum(t.dataInfo.fail_member_count):"-")+"\n ")]),t._v(" "),a("div",{staticClass:"txt"},[t._v("未触达群成员数")])])])])]),t._v(" "),a("div",{staticClass:"splitLine"}),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"modular"},[a("h3",{staticClass:"bigTitle flex"},[t._v("客户群接收详情\n "),a("el-button",{attrs:{type:"primary",plain:"",size:"mini"},on:{click:function(e){return t.init(1,"export")}}},[t._v("导出Excel")])],1),t._v(" "),a("div",{staticClass:"screenBox",staticStyle:{"margin-top":"15px"}},[a("div",{staticClass:"flex-align-center",staticStyle:{"flex-wrap":"wrap"}},[a("self-input",{attrs:{labelWidth:!0,label_name:"群聊名称"},on:{inputChange:function(e){t.input_keyword=e,t.init(1)}}}),t._v(" "),a("self-customerservice",{attrs:{source:"chatGroup",title:"群主"},on:{customerDefine:function(e){t.user_id_list=e,t.init(1)}}}),t._v(" "),a("self-channel",{attrs:{title:"送达状态",type:"chat_group_status",labelWidth:!0},on:{channelDefine:function(e){t.send_status=e,t.init(1)}}})],1)]),t._v(" "),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%","margin-top":"15px"},attrs:{data:t.tableData,"tooltip-effect":"dark","header-cell-style":function(){return{backgroundColor:"#f9f9f9 !important"}}}},[a("el-table-column",{attrs:{prop:"name",label:"群名称","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{style:e.row.name?"":"color:#bbb"},[t._v(t._s(e.row.name?e.row.name:"未设置群名"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"群主",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"customerServiceTagBox"},[a("div",{staticClass:"customerServiceTag"},[a("i",{staticClass:"el-icon-user-solid"}),t._v(" "+t._s(e.row.owner_name))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"department_name",label:"企微主体","show-overflow-tooltip":"",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"status","min-width":"80",label:"消息送达状态","show-overflow-tooltip":"",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var s=e.row;return[a("div",[t._v(t._s(t.handleGetStatusDesc(s.status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"send_time",label:"群聊发送时间","show-overflow-tooltip":"",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{"min-width":"120",label:"操作",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"c-00B38A pointer table_button",on:{click:function(a){return t.goDetail(e.row)}}},[t._v("群详情")])]}}])})],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],staticClass:"pagination"},[a("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-count":Number(t.pages)},on:{"current-change":t.handleCurrentChange}})],1)],1),t._v(" "),a("el-drawer",{attrs:{size:"1200px",visible:t.detialFlag,"with-header":!1,"append-to-body":""},on:{"update:visible":function(e){t.detialFlag=e}}},[t.detialFlag?a("qunDetail",{attrs:{title:"客户群详情",chat_id:t.detail_chat_id},on:{close:function(e){t.detialFlag=!1}}}):t._e()],1),t._v(" "),a("groupOwnDialog",{attrs:{dialogVisible:t.groupOwnDialogVisible,groupOwnList:t.currentGroupOwnList},on:{close:t.onCloseGroupOwn}})],1)},staticRenderFns:[]};var h=a("VU/8")(f,m,!1,function(t){a("R3bO")},"data-v-228848fe",null);e.a=h.exports}});