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/i67cumjpBAAv4gj5F00gHnrKTeF4jHfKsqP+AJoNPJn+L1ws8KT/SwZA1r0HmJrfFKcsqQ6ZJyz8uFmXBICELJ/B82VkuSbTUjsbx7JEz7xaoyl5FtaMNdEZeddC/xW5yMSPoD1C/PjniPpFKab1CJQ/zgMKEiyPt6HBtF3HxvG8TSZRXloDePLkSQHw0y7Oy4dQS9g4Ol3kEmKnNYBBj22BtfxH6yUEzAcTQqcfSrZDez/UP14Rjn1+/syTvDMxvXBqZtreA3hvD6aVaQ0gwAiAewFwKmW5PwwcDFjzWsj3M23/NJjgSduXxElE/mAEL6juArSZ+CRv+15lx313sMEban8IgSEE0h6B/wMjyDvPMfA1bAAAAABJRU5ErkJggg=="},DGGA:function(e,t){},"DNL+":function(e,t){},L7kf:function(e,t){},M0cn:function(e,t){},OuDs:function(e,t,i){e.exports=i.p+"static/img/replyCode.02b4815.png"},TVS0:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABNRSURBVHhe7Z07kuQ6DkVnXbOgWc9bzZjjt9/eM9pvu/0agI+XAUEgSErKX+meCESmJH5BXJJSZlX+64sQ0oUCISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJIECISSBAiEkgQIhJOF1Avnzd33zYn7/5+vrh9ij+P3ff+xPPT7Ln7++vn5JeT30+k/pT5bmLH+kbF/Hb6n394Vj2vrx2jh5jUC08/+Tqn+6QYRTjtryAEn6H9KOqC2XYMq/aqB/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gpEzy/aSCC9DxtHhnuE0wJBfyfNlxUJpGEEEIGnfR9+XyI9uBMjgdRZd8Rohsf1s7YkEOkb2n5mBbFkAsGEEgpAzum1nng+COnFnQgEgsB4hEDs5wwrNipfsWl0O6P9QvpRX2bKVzKBlDprOWq6WmrbyyPfem5U/gcgvbgTMoBNIPIeM6kO5EMEUo9XWRGIrgL62tqOPib5rxAIUFHsHgcP8nwQ0pM7YYKnverMJ5c+VSDFTLux9cH56JPrKwWiYAVr9VaDbz8Y6cWNwIDD7Ce/m8CatJFAzloWwK29RhyoV+8L2lMkMQ3UspWUQO8Zrluyr9Vo+XiKZevRtrSv9OB8R6gfgLT+RrTANUEFEHD2MW7PMPBDgbh8szYqv62Ekhb9aOKXIAUaxNH2p2daH0Thz2NL2l0pAgF4oUR+f3Ok1XdCB1kGLeLTtlh6M+yvawCH2yE5hydVajrz7x4vV7/4VdY+pbLiKatSVFcAhPKBj3yl1eQfZLCjWTBklHalrA/jw1aAs1AghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIQkUCCEJFAghCRQIIR0+fr6P0rbUe2sAEUaAAAAAElFTkSuQmCC"},ZsPT:function(e,t){},laa5:function(e,t){},pujB:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i("Xxa5"),a=i.n(s),n=i("exGp"),l=i.n(n),r={props:{replyObj:{type:Object,default:{}}},data:function(){return{sourceList:[{name:"公众号搜索",key:"ADD_SCENE_SEARCH"},{name:"公众号迁移",key:"ADD_SCENE_ACCOUNT_MIGRATION"},{name:"名片分享",key:"ADD_SCENE_PROFILE_CARD"},{name:"图文页内名称点击",key:"ADD_SCENE_PROFILE_LINK"},{name:"图文页右上角菜单",key:"ADD_SCENE_PROFILE_ITEM"},{name:"支付后关注",key:"ADD_SCENE_PAID"},{name:"微信广告",key:"ADD_SCENE_WECHAT_ADVERTISEMENT"},{name:"他人转载",key:"ADD_SCENE_REPRINT"},{name:"视频号直播",key:"ADD_SCENE_LIVESTREAM"},{name:"视频号",key:"ADD_SCENE_CHANNELS"},{name:"扫描二维码",key:"ADD_SCENE_QR_CODE"},{name:"其他",key:"ADD_SCENE_OTHERS"}],dialogVisible:!1}},methods:{handleClose:function(){this.dialogVisible=!1,this.$emit("clear")},editEvent:function(){this.dialogVisible=!1,this.$emit("edit",this.replyObj)}}},o={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-dialog",{attrs:{visible:e.dialogVisible,"append-to-body":!0,"show-close":!1,width:"40%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[s("div",{staticClass:"pageFlex f16",attrs:{slot:"title"},slot:"title"},[s("span",{staticClass:"c-333 fWeight600"},[e._v(e._s(1==e.replyObj.type?"个性化回复":"默认回复"))]),e._v(" "),s("el-button",{staticClass:"lMarauto",attrs:{size:"mini"},on:{click:function(t){return e.editEvent(e.replyObj)}}},[e._v("修改")])],1),e._v(" "),s("div",{staticClass:"infoDialog"},[s("div",{staticClass:"pageFlex"},[s("div",{staticClass:"name"},[e._v("名称: ")]),e._v(" "),s("div",{staticClass:"con"},[e._v(e._s(e.replyObj.title||"-"))])]),e._v(" "),e.replyObj.subscribe_scene?s("div",{staticClass:"pageFlex tMar30"},[s("div",{staticClass:"name"},[e._v("来源: ")]),e._v(" "),s("div",{staticClass:"con"},[e._v(e._s(e.sourceList&&e.sourceList.length>0&&e.sourceList[e.sourceList.findIndex(function(t){return t.key==e.replyObj.subscribe_scene})]&&e.sourceList[e.sourceList.findIndex(function(t){return t.key==e.replyObj.subscribe_scene})].name||"-"))])]):e._e(),e._v(" "),s("div",{staticClass:"pageFlex tMar30",staticStyle:{"align-items":"flex-start"}},[s("div",{staticClass:"name"},[e._v("回复: ")]),e._v(" "),s("div",{staticClass:"con"},[e._l(e.replyObj.parseContent,function(t,a){return s("div",{staticClass:"reItemItem"},[e.replyObj.parseContent&&e.replyObj.parseContent.length>=2?s("div",{staticClass:"f14 bMar15"},[e._v("消息"+e._s(a+1)+". ")]):e._e(),e._v(" "),"text"==t.msgtype?s("pre",{staticClass:"bMar10",domProps:{innerHTML:e._s(t.text.content)}},[e._v(" "+e._s(t.text.content)+"\n ")]):e._e(),e._v(" "),"image"==t.msgtype?s("img",{staticClass:"bMar10",staticStyle:{width:"100px"},attrs:{src:t.image.imageUrl,alt:""}}):e._e(),e._v(" "),"miniprogrampage"==t.msgtype?s("div",{staticClass:"phone_miniprogram bMar10"},[s("div",{staticClass:"phone_miniprogram_title"},[s("img",{attrs:{src:i("mKVt"),alt:""}}),e._v(" "),s("div",{staticClass:"name"},[e._v(e._s(t.miniprogrampage.title))])]),e._v(" "),s("img",{staticClass:"phone_miniprogram_img",attrs:{src:t.miniprogrampage.pic_url,alt:""}}),e._v(" "),s("div",{staticClass:"phone_minirpogram_mark"},[s("img",{attrs:{src:i("mKVt"),alt:""}}),e._v(" "),s("span",[e._v("小程序")])])]):e._e(),e._v(" "),"voice"==t.msgtype?s("div",{staticClass:"bMar10"},[s("p",{staticClass:"words pageFlex"},[s("img",{attrs:{src:i("55vA"),alt:"",width:"15px"}}),e._v(" "),s("span",{staticClass:"f12 lMarauto"},[e._v("10''")])])]):e._e(),e._v(" "),"video"==t.msgtype?s("div",{staticClass:"bMar10"},[s("div",{staticClass:"videoBox"},[s("div",{staticClass:"coverBox"},[s("i",{staticClass:"el-icon-video-play c-ddd f32",staticStyle:{position:"absolute",left:"50%",top:"50%","margin-left":"-16px","margin-top":"-16px"}}),e._v(" "),t.video.thumb_url?s("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.video.thumb_url,alt:""}}):e._e()]),e._v(" "),s("div",{staticClass:"txt"},[e._v(e._s(t.video.title||"-"))]),e._v(" "),s("div",{staticClass:"txt c-333 bMar10"},[e._v(e._s(t.video.description||"-"))])])]):e._e()])}),e._v(" "),1==e.replyObj.type?s("div",[e.replyObj.bgtempl?s("div",{staticClass:"imgPreview"},[s("img",{staticClass:"bcgImg",attrs:{src:e.replyObj.bgtempl,alt:""}}),e._v(" "),s("img",{staticClass:"codeImg",attrs:{src:i("OuDs"),alt:""}})]):s("img",{staticStyle:{width:"150px"},attrs:{src:i("OuDs"),alt:""}})]):e._e()],2)])]),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.handleClose}},[e._v("我知道了")])],1)])],1)},staticRenderFns:[]};var c=i("VU/8")(r,o,!1,function(e){i("ZsPT")},"data-v-40a581df",null).exports,p=i("vieU"),d=i("mvHQ"),m=i.n(d),g={components:{selfInput:i("McOJ").a},props:{title:{type:String,default:"所属客服"},clearable:{type:Boolean,default:!0},reset:{type:Boolean,default:!1},width:{type:String},labelWidth:{type:String},afferent_users:{type:Array},disabled:{type:Boolean,default:!1},mar0flag:{type:Boolean,default:!1},afferent_user_obj:{type:Object,default:{}}},watch:{reset:function(){this.selectUser=[],this.final_result=[]}},data:function(){return{input_keyword:"",visible:!1,resetFlag:!1,loading:!1,userList:[],old_user_list:[],userTotal:0,selectUser:[],final_result:[],chooseUserObj:{}}},created:function(){var e=this;this.$nextTick(function(){e.init(),e.chooseUserObj=e.afferent_user_obj,e.selectUser=[],e.chooseUserObj&&e.chooseUserObj.name&&e.selectUser.push(e.chooseUserObj)})},methods:{clear:function(){this.disabled||(this.selectUser&&0!=this.selectUser.length?(this.selectUser=[],this.final_result=[],this.$emit("customerDefine",{}),""!=this.input_keyword&&(this.input_keyword="",this.resetFlag=!this.resetFlag,this.init())):this.visible=!this.visible)},defineEvent:function(){this.$emit("customerDefine",this.chooseUserObj),this.visible=!1},userSearch:function(){var e=this,t=[];this.old_user_list.forEach(function(i){var s=i.user_list.filter(function(t){return-1!=t.name.indexOf(e.input_keyword)});if(s&&s.length>0){var a=JSON.parse(m()(i));a.user_list=s,t.push(a)}}),this.userList=t;var i=0;this.userList.forEach(function(e){e.is_open=!1,e.is_select=!1,e.user_list.forEach(function(e){e.is_select=!1}),i+=e.user_list.length}),this.userTotal=i},init:function(e){var t=this;this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.userList).then(function(e){e=e.data;t.loading=!1,e&&0==e.errno?(t.userList=e.rst.list,t.old_user_list=JSON.parse(m()(e.rst.list)),t.userList.forEach(function(e){e.is_open=!1,e.is_select=!1,e.user_list.forEach(function(e){e.is_select=!1})}),t.userTotal=e.rst.count):4002!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loading=!1})},openEvent:function(e){var t=this.userList[e];t.is_open=!t.is_open,this.$set(this.userList,e,t)},selectUserEvent:function(e){this.chooseUserObj=e,this.selectUser=[],this.selectUser.push(e)},closeUser:function(){this.chooseUserObj={},this.selectUser=[]}}},v={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"common-screen-item",style:{margin:e.mar0flag?"0":"10px 0",background:e.mar0flag?"#fff":""}},[e.title&&""!=e.title?i("label",{staticClass:"common-screen-label",style:e.labelWidth?"width:"+e.labelWidth:""},[e._v(e._s(e.title))]):i("el-popover",{attrs:{"append-to-body":"",placement:"bottom",trigger:"click",disabled:e.disabled},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[i("div",{class:["common-screen-self-box","common-input-select",e.final_result&&0!=e.final_result.length&&e.clearable&&!e.disabled?"common-input-select-hover":"",e.disabled?"pointer-drop":""],style:e.width?"width:"+e.width:"",attrs:{slot:"reference"},slot:"reference"},[i("div",{class:["common-screen-self-con",e.final_result&&0!=e.final_result.length?"":"common-screen-self-placeholder"]},[i("div",{staticClass:"common-screen-self-con-div"},[e.chooseUserObj&&e.chooseUserObj.name?[i("span",{staticClass:"c-333"},[e._v(e._s(e.chooseUserObj&&e.chooseUserObj.name))])]:i("span",[e._v("请选择成员")])],2)]),e._v(" "),i("div",{staticClass:"common-screen-self-icon"},[i("i",{staticClass:"el-icon-arrow-down"})])]),e._v(" "),i("div",{staticClass:"flex",staticStyle:{padding:"10px"}},[i("div",{staticClass:"propoverItem"},[i("self-input",{staticStyle:{"margin-top":"0"},attrs:{reset:e.resetFlag,hasLabel:!1,label_name:"成员名称",inputFlag:!0,width:"270px"},on:{inputChange:function(t){e.input_keyword=t,e.userSearch()}}}),e._v(" "),i("div",{staticClass:"allMember"},[e._v("全部成员("+e._s(e.userTotal)+"):")]),e._v(" "),i("div",{staticClass:"memberBoxBig self-scrollbar-3"},[e._l(e.userList,function(t,s){return[i("div",{key:s+"userList"+t.department_id,staticClass:"memberBox"},[i("i",{class:["el-icon-caret-bottom",t.is_open?"reversalAnimation":""],on:{click:function(t){return e.openEvent(s)}}}),e._v(" "),i("div",{staticClass:"meberList"},[i("div",{staticClass:"department"},[i("div",{staticClass:"pageFlex"},[i("i",{staticClass:"el-icon-s-cooperation",staticStyle:{"margin-top":"3px"}}),e._v(" "),i("span",[e._v(e._s(t.department_name?t.department_name:"部门"+(s+1)))])])]),e._v(" "),e._l(t.user_list,function(s,a){return i("div",{key:s.user_id,staticClass:"memberItem",style:t.is_open?"display:none":"",on:{click:function(t){return e.selectUserEvent(s)}}},[i("div",{staticClass:"flex",staticStyle:{flex:"1"}},[i("div",{staticClass:"memberInfo"},[i("div",{staticClass:"name"},[e._v(e._s(s.name))]),e._v(" "),i("div",{staticClass:"other"},[e._v("部门:"+e._s(s.department_list&&s.department_list.join(",")))])])]),e._v(" "),i("div",{class:["checkbox",s.user_id==e.chooseUserObj.user_id?"checkbox_active":""]},[i("i",{staticClass:"el-icon-check"})])])})],2)])]})],2)],1),e._v(" "),i("div",{staticClass:"line"}),e._v(" "),i("div",{staticClass:"propoverItem",staticStyle:{"padding-left":"20px"}},[i("div",{staticClass:"title"},[e._v("已选择的成员")]),e._v(" "),i("div",{staticClass:"choice_result_top"},[i("div",{staticClass:"result_num"},[e._v("已选择"),i("span",[e._v(e._s(e.selectUser&&e.selectUser.length))]),e._v("人")])]),e._v(" "),i("div",{staticClass:"member_result self-scrollbar-3"},e._l(e.selectUser,function(t,s){return i("div",{key:s,staticClass:"memberItem"},[i("div",{staticClass:"flex",staticStyle:{flex:"1"}},[i("div",{staticClass:"memberInfo"},[i("div",{staticClass:"name"},[e._v(e._s(t.name))])])]),e._v(" "),i("i",{staticClass:"el-icon-close",staticStyle:{"margin-left":"10px"},on:{click:function(t){return e.closeUser(s)}}})])}),0),e._v(" "),i("div",{staticClass:"buttons"},[i("el-button",{attrs:{type:"primary",plain:"",size:"mini"},on:{click:function(t){e.visible=!1}}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.defineEvent}},[e._v("确定")])],1)])])])],1)},staticRenderFns:[]};var u=i("VU/8")(g,v,!1,function(e){i("L7kf")},"data-v-7f9f8db4",null).exports,h={props:{dialogWidth:{type:String,default:"30%"},title:{type:String,default:"提示"},cancleText:{type:String,default:"取消"},confirmText:{type:String,default:"确定"},haveConfirm:{type:Boolean,default:!0},haveCancle:{type:Boolean,default:!0}},data:function(){return{dialogVisible:!1}},methods:{handleClose:function(){this.$emit("close")},handleEvent:function(e){this.dialogVisible=e}}},_={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,"append-to-body":!0,width:e.dialogWidth},on:{"update:visible":function(t){e.dialogVisible=t}}},[e._t("default"),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e.haveCancle?i("el-button",{attrs:{size:"mini"},on:{click:function(t){e.dialogVisible=!1}}},[e._v(e._s(e.cancleText))]):e._e(),e._v(" "),e.haveConfirm?i("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.handleClose}},[e._v(e._s(e.confirmText))]):e._e()],1)],2)],1)},staticRenderFns:[]};var f=i("VU/8")(h,_,!1,function(e){i("DNL+")},"data-v-8f6c820c",null).exports,C=i("KMaP"),y={components:{Picker:C.Picker,commonDialog:f},props:{item:{type:Object,default:{}},updateFlag:{type:Boolean,default:!1},app_id:{type:String|Number,default:""},replyType:{type:String|Number,default:""}},watch:{app_id:function(){this.FileData.app_id=this.app_id,this.FileData2.app_id=this.app_id,this.itemPage=JSON.parse(m()(this.item))},updateFlag:function(){this.updateFlagEmit()},"itemPage.con_type":{handler:function(){this.itemPage.con_type<=3&&(this.FileData.type=this.itemPage.con_type),this.updateFlagEmit()}},"itemPage.content":{handler:function(){this.updateFlagEmit()}},"itemPage.imgMedia_id":{handler:function(){this.updateFlagEmit()}},"itemPage.voiceMedia_id":{handler:function(){this.updateFlagEmit()}},"itemPage.video.media_id":{handler:function(){this.updateFlagEmit()}},"itemPage.miniprogram.appid":{handler:function(){this.updateFlagEmit()}}},data:function(){return{FileData:{admin_id:this.$cookie.getCookie("admin_id"),ttl:this.$cookie.getCookie("ttl"),sign:this.$cookie.getCookie("sign"),corpid:this.$localSelfStore.getLocal("defaultCorp")&&"undefined"!=this.$localSelfStore.getLocal("defaultCorp")?JSON.parse(this.$localSelfStore.getLocal("defaultCorp")).corpid:"",type:1,app_id:this.app_id},FileData2:{admin_id:this.$cookie.getCookie("admin_id"),ttl:this.$cookie.getCookie("ttl"),sign:this.$cookie.getCookie("sign"),corpid:this.$localSelfStore.getLocal("defaultCorp")&&"undefined"!=this.$localSelfStore.getLocal("defaultCorp")?JSON.parse(this.$localSelfStore.getLocal("defaultCorp")).corpid:"",type:4,app_id:this.app_id},FileList:[],seeVisible:!1,FileUrl:"",videoUrl:"",audioUrl:"",itemPage:{},emojiShow:!1,commonDialogRef:null,link_name:"",link_link:""}},created:function(){this.itemPage=JSON.parse(m()(this.item))},methods:{updateFlagEmit:function(){this.$emit("updateItem",this.itemPage)},beforeUploadEvent:function(){if(!this.app_id)return this.$message({message:"请先选择公众号",type:"warning"}),!1},progressUpload:function(e){this.$loading(this.$loadingConfig)},uploadSuccess:function(e,t){this.$loading(this.$loadingConfig).close();Number(t.size/1024/1024);0==e.errno?1==this.itemPage.con_type?(this.itemPage.imageUrl=e.rst.url,this.itemPage.imgMedia_id=e.rst.media_id):5==this.itemPage.con_type?(this.itemPage.miniprogram.pic_url=e.rst.url,this.itemPage.miniprogram.thumb_media_id=e.rst.media_id):3==this.itemPage.con_type?this.itemPage.video.media_id=e.rst.media_id:2==this.itemPage.con_type&&(this.itemPage.voiceMedia_id=e.rst.media_id):this.$message({message:e.err,type:"warning"})},uploadSuccess_thumb:function(e,t){this.app_id&&(this.$loading(this.$loadingConfig).close(),0==e.errno?(this.itemPage.video.thumb_url=e.rst.url,this.itemPage.video.thumb_media_id=e.rst.media_id):this.$message({message:e.err,type:"warning"}))},uploadFail:function(e,t){console.log(e,t)},getInputFocusVal:function(e){var t=document.getElementById("emojiInput"+this.itemPage.id),i=t.selectionStart,s=t.selectionEnd;if(void 0!==i&&void 0!==s){var a=t.value,n=a.substring(0,i)+e+a.substring(s);t.value=n,t.focus(),t.selectionStart=i+e.length,t.selectionEnd=i+e.length,this.itemPage.content=n}},addEmoji:function(e){this.getInputFocusVal(e.native)},confirmLinkEvent:function(){this.getInputFocusVal('<a href="'+this.link_link+'">'+this.link_name+"</a>"),this.$refs.commonDialogRef.dialogVisible=!1},addLinkEvent:function(){this.link_link="",this.link_name="",this.$refs.commonDialogRef.dialogVisible=!0}}},b={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"bcgBox"},[s("div",{staticClass:"pageFlex",staticStyle:{width:"80%"}},[s("el-radio",{attrs:{label:4},model:{value:e.itemPage.con_type,callback:function(t){e.$set(e.itemPage,"con_type",t)},expression:"itemPage.con_type"}},[s("span",{staticClass:"fWeight600"},[e._v("文本")])]),e._v(" "),s("el-radio",{attrs:{label:5},model:{value:e.itemPage.con_type,callback:function(t){e.$set(e.itemPage,"con_type",t)},expression:"itemPage.con_type"}},[s("span",{staticClass:"fWeight600"},[e._v("小程序")])]),e._v(" "),s("el-radio",{attrs:{label:1},model:{value:e.itemPage.con_type,callback:function(t){e.$set(e.itemPage,"con_type",t)},expression:"itemPage.con_type"}},[s("span",{staticClass:"fWeight600"},[e._v("图片")])]),e._v(" "),s("el-radio",{attrs:{label:2},model:{value:e.itemPage.con_type,callback:function(t){e.$set(e.itemPage,"con_type",t)},expression:"itemPage.con_type"}},[s("span",{staticClass:"fWeight600"},[e._v("语音")])]),e._v(" "),s("el-radio",{attrs:{label:3},model:{value:e.itemPage.con_type,callback:function(t){e.$set(e.itemPage,"con_type",t)},expression:"itemPage.con_type"}},[s("span",{staticClass:"fWeight600"},[e._v("视频")])])],1),e._v(" "),s("div",{staticClass:"conBcg"},[4==e.itemPage.con_type?s("div",{staticClass:"textCon"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.itemPage.content,expression:"itemPage.content"}],ref:"textareaRef",staticClass:"textarea self-scrollbar-3",attrs:{id:"emojiInput"+e.itemPage.id,placeholder:"请输入内容"},domProps:{value:e.itemPage.content},on:{input:function(t){t.target.composing||e.$set(e.itemPage,"content",t.target.value)}}}),e._v(" "),s("div",{staticClass:"attachBox",staticStyle:{"padding-bottom":"0"}},[s("div",{staticClass:"pageFlex f12"},[s("div",{staticClass:" c-999"},[e._v("点击插入")]),e._v(" "),s("span",{staticClass:"lMar10 pointer",on:{click:function(t){e.emojiShow=!e.emojiShow}}},[e._v("表情")]),e._v(" "),s("span",{staticClass:"lMar10 pointer",on:{click:e.addLinkEvent}},[e._v("超链")])])]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.emojiShow,expression:"emojiShow"}]},[s("picker",{staticStyle:{width:"100%",height:"200px"},attrs:{include:["people","Smileys"],showSearch:!1,showPreview:!1,showCategories:!1},on:{select:e.addEmoji}})],1),e._v(" "),s("commonDialog",{ref:"commonDialogRef",attrs:{title:"超链内容"},on:{close:e.confirmLinkEvent}},[s("div",{staticClass:"pageFlex"},[s("div",{staticClass:"flexShrink0 f14 rMar10"},[e._v("链接地址:")]),e._v(" "),s("el-input",{attrs:{type:"text",size:"small",placeholder:"请输入链接地址,例:https://www.baidu.com/",clearable:""},model:{value:e.link_link,callback:function(t){e.link_link=t},expression:"link_link"}})],1),e._v(" "),s("div",{staticClass:"pageFlex tMar20"},[s("div",{staticClass:"flexShrink0 f14 rMar10"},[e._v("文本内容:")]),e._v(" "),s("el-input",{attrs:{type:"text",size:"small",placeholder:"请输入文本,例:查看详情",clearable:""},model:{value:e.link_name,callback:function(t){e.link_name=t},expression:"link_name"}})],1)])],1):e._e(),e._v(" "),5==e.itemPage.con_type?s("div",{staticClass:"miniProCon"},[e._m(0),e._v(" "),s("div",{staticClass:"lineItem"},[e._m(1),e._v(" "),s("div",{staticClass:"input"},[s("div",{staticClass:"flex"},[s("el-input",{staticClass:"input",attrs:{type:"textarea",size:"small",placeholder:"请输入小程序标题",clearable:""},model:{value:e.itemPage.miniprogram.title,callback:function(t){e.$set(e.itemPage.miniprogram,"title",t)},expression:"itemPage.miniprogram.title"}}),e._v(" "),s("span",{staticClass:"font_zj"},[e._v(e._s(e.$getStrBytes(e.itemPage.miniprogram.title))+"/64字节")])],1),e._v(" "),e.$getStrBytes(e.itemPage.miniprogram.title)>64?s("div",{staticClass:"warning_hint f12",staticStyle:{"margin-left":"0"}},[s("i",{staticClass:"el-icon-warning-outline"}),e._v(" 小程序标题,最多64个字节,已超出!")]):e._e()])]),e._v(" "),s("div",{staticClass:"lineItem"},[e._m(2),e._v(" "),s("div",{staticStyle:{flex:"1"}},[s("el-input",{staticClass:"input",attrs:{size:"small",placeholder:"请输入小程序appID",clearable:""},model:{value:e.itemPage.miniprogram.appid,callback:function(t){e.$set(e.itemPage.miniprogram,"appid",t)},expression:"itemPage.miniprogram.appid"}}),e._v(" "),e._m(3)],1)]),e._v(" "),s("div",{staticClass:"lineItem"},[e._m(4),e._v(" "),s("div",{staticStyle:{flex:"1"}},[s("el-input",{staticClass:"input",attrs:{size:"small",placeholder:"请输入小程序路径",clearable:""},model:{value:e.itemPage.miniprogram.pagepath,callback:function(t){e.$set(e.itemPage.miniprogram,"pagepath",t)},expression:"itemPage.miniprogram.pagepath"}}),e._v(" "),e._m(5)],1)]),e._v(" "),s("div",{staticClass:"lineItem"},[e._m(6),e._v(" "),s("div",[s("el-upload",{key:"imgUpload_cover",staticClass:"avatar-uploader",attrs:{action:e.URL.BASEURL+e.URL.pub_uploadMedia,data:e.FileData,"show-file-list":!1,accept:".jpg,.jpeg,.png,.bmp,.gif","before-upload":e.beforeUploadEvent,"on-progress":e.progressUpload,"on-success":e.uploadSuccess,"on-error":e.uploadFail}},[e.itemPage.miniprogram.pic_url?s("img",{staticClass:"fm_img",attrs:{src:e.itemPage.miniprogram.pic_url}}):s("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),s("p",{staticClass:"uploadImgHint"},[e._v("*图片支持.jpg,.jpeg,.png,.bmp,.gif格式,且文件大小不得超过10M。封面图建议尺寸为520*416。")])],1)])]):e._e(),e._v(" "),e.itemPage.con_type<=2?s("div",{staticClass:"replyConimgUpload"},[s("el-upload",{key:"imgUpload",staticClass:"avatar-uploader",attrs:{action:e.URL.BASEURL+e.URL.pub_uploadMedia,data:e.FileData,"show-file-list":!1,accept:2==e.itemPage.con_type?".mp3,.wma,.wav,.amr":".jpg,.jpeg,.png,.bmp,.gif","before-upload":e.beforeUploadEvent,"on-progress":e.progressUpload,"on-success":e.uploadSuccess,"on-error":e.uploadFail}},[e.itemPage.imageUrl&&1==e.itemPage.con_type?s("img",{staticClass:"fm_img",attrs:{src:e.itemPage.imageUrl}}):e.itemPage.voiceMedia_id&&2==e.itemPage.con_type?s("img",{staticClass:"fm_img",attrs:{src:i("TVS0")}}):s("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),1==e.itemPage.con_type?s("p",{staticClass:"uploadImgHint"},[e._v("*图片支持.jpg,.jpeg,.png,.bmp,.gif格式,且文件大小不得超过10M。封面图建议尺寸为520*416。")]):e._e(),e._v(" "),2==e.itemPage.con_type?s("p",{staticClass:"uploadImgHint"},[e._v("*语音支持.mp3,.wma,.wav,.amr格式,且文件大小不得超过2M,播放长度不超过60s。")]):e._e()],1):e._e(),e._v(" "),3==e.itemPage.con_type?s("div",{staticClass:"miniProCon"},[s("div",{staticClass:"lineItem"},[e._m(7),e._v(" "),s("div",{staticClass:"input"},[s("div",{staticClass:"flex"},[s("el-input",{staticClass:"input",attrs:{type:"textarea",size:"small",placeholder:"请输入视频标题",clearable:""},model:{value:e.itemPage.video.title,callback:function(t){e.$set(e.itemPage.video,"title",t)},expression:"itemPage.video.title"}}),e._v(" "),s("span",{staticClass:"font_zj"},[e._v(e._s(e.$getStrBytes(e.itemPage.video.title))+"/64字节")])],1),e._v(" "),e.$getStrBytes(e.itemPage.video.title)>64?s("div",{staticClass:"warning_hint f12",staticStyle:{"margin-left":"0"}},[s("i",{staticClass:"el-icon-warning-outline"}),e._v(" 视频标题,最多64个字节,已超出!")]):e._e()])]),e._v(" "),s("div",{staticClass:"lineItem"},[e._m(8),e._v(" "),s("div",{staticStyle:{flex:"1"}},[s("el-input",{staticClass:"input",attrs:{size:"small",placeholder:"请输入视频描述",clearable:""},model:{value:e.itemPage.video.description,callback:function(t){e.$set(e.itemPage.video,"description",t)},expression:"itemPage.video.description"}})],1)]),e._v(" "),s("div",{staticClass:"lineItem"},[s("label",[e._v("视频封面:")]),e._v(" "),s("div",[s("div",{staticStyle:{display:"flex","align-items":"flex-end"}},[s("el-upload",{key:"imgUpload_cover",staticClass:"avatar-uploader",attrs:{action:e.URL.BASEURL+e.URL.pub_uploadMedia,data:e.FileData2,"show-file-list":!1,accept:".jpg","before-upload":e.beforeUploadEvent,"on-progress":e.progressUpload,"on-success":e.uploadSuccess_thumb,"on-error":e.uploadFail}},[e.itemPage.video.thumb_url?s("img",{staticClass:"fm_img",attrs:{src:e.itemPage.video.thumb_url}}):s("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),s("div",[s("i",{staticClass:"el-icon-delete pointer lMar10",attrs:{title:"删除封面"},on:{click:function(t){e.itemPage.video.thumb_url="",e.itemPage.video.thumb_media_id=""}}})])],1),e._v(" "),s("p",{staticClass:"uploadImgHint"},[e._v("*封面支持.jpg格式,且文件大小不得超过64KB。")])])]),e._v(" "),s("div",{staticClass:"lineItem"},[e._m(9),e._v(" "),s("div",[s("el-upload",{key:"imgUpload_cover",staticClass:"avatar-uploader",attrs:{action:e.URL.BASEURL+e.URL.pub_uploadMedia,data:e.FileData,accept:".mp4","show-file-list":!1,"before-upload":e.beforeUploadEvent,"on-progress":e.progressUpload,"on-success":e.uploadSuccess,"on-error":e.uploadFail}},[e.itemPage.video.media_id?s("img",{staticClass:"fm_img",attrs:{src:i("TVS0")}}):s("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),s("p",{staticClass:"uploadImgHint"},[e._v("*视频支持.mp4格式,且文件大小不得超过10MB。")])],1)])]):e._e()]),e._v(" "),s("div",{staticClass:"f12",staticStyle:{opacity:"0"}},[e._v(e._s(e.app_id))])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"self-hint",staticStyle:{"margin-bottom":"20px",border:"none"}},[t("i",{staticClass:"el-icon-message-solid"}),this._v(" "),t("span",[this._v("请填写企业微信后台绑定的小程序id和路径,否则会造成发送失败")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("label",[t("em",[this._v("*")]),this._v("小程序标题:")])},function(){var e=this.$createElement,t=this._self._c||e;return t("label",[t("em",[this._v("*")]),this._v("小程序appID:")])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"otherHint",staticStyle:{color:"#f9a527"}},[this._v("*小程序appID"),t("a",{attrs:{href:"https://docs.qq.com/doc/p/cb25fa9e1aba98ce5f8b942f2900f0247b9e5dc6?dver=2.1.27292865",target:"_blank"}},[this._v("(如何获取小程序appID)")]),this._v(",必须是关联到企业的小程序应用。")])},function(){var e=this.$createElement,t=this._self._c||e;return t("label",[t("em",[this._v("*")]),this._v("小程序路径:")])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"otherHint"},[t("a",{attrs:{href:"https://docs.qq.com/doc/p/16fa15eeb1fc21849904a0a82ebda04732e3bc16?dver=2.1.27292865",target:"_blank"}},[this._v("如何获取小程序路径?")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("label",[t("em",[this._v("*")]),this._v("小程序封面:")])},function(){var e=this.$createElement,t=this._self._c||e;return t("label",[t("em",[this._v("*")]),this._v("视频标题:")])},function(){var e=this.$createElement,t=this._self._c||e;return t("label",[t("em",[this._v("*")]),this._v("视频描述:")])},function(){var e=this.$createElement,t=this._self._c||e;return t("label",[t("em",[this._v("*")]),this._v("视频:")])}]};var A={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"phonePreview",style:e.phone_width?"width:"+e.phone_width+";top:"+(e.position_top?e.position_top:"120px"):""},[s("img",{staticClass:"phoneImg",attrs:{src:i("5ng9"),alt:""}}),e._v(" "),s("div",{staticClass:"phoneCon self-scrollbar-3"},[e._l(e.attachments,function(t,a){return s("div",{key:a,staticClass:"phoneConItem"},[s("div",{key:a+"div2",staticClass:"pageFlex",staticStyle:{"align-items":"flex-start"}},[e._m(0,!0),e._v(" "),s("div",["text"==t.msgtype&&t.text.content?s("div",{staticClass:"phoneConItemCon"},[s("p",{staticClass:"words",domProps:{innerHTML:e._s(t.text.content)}},[e._v(e._s(t.text.content))])]):e._e(),e._v(" "),"voice"==t.msgtype&&t.voice.media_id?s("div",{staticClass:"phoneConItemCon"},[e._m(1,!0)]):e._e(),e._v(" "),"image"==t.msgtype?s("div",{staticClass:"phoneConItemCon"},[s("img",{staticClass:"phoneConImg",attrs:{src:t.image.imageUrl,alt:""}})]):e._e(),e._v(" "),"miniprogrampage"==t.msgtype&&t.miniprogrampage.pic_url?s("div",{staticClass:"phoneConItemCon"},[s("div",{staticClass:"phone_miniprogram"},[s("div",{staticClass:"phone_miniprogram_title"},[s("img",{attrs:{src:i("mKVt"),alt:""}}),e._v(" "),s("div",{staticClass:"name"},[e._v(e._s(t.miniprogrampage.title))])]),e._v(" "),s("img",{staticClass:"phone_miniprogram_img",attrs:{src:t.miniprogrampage.pic_url,alt:""}}),e._v(" "),e._m(2,!0)])]):e._e(),e._v(" "),"video"==t.msgtype&&t.video.media_id?s("div",{staticClass:"phoneConItemCon"},[s("div",{staticClass:"videoBox"},[s("div",{staticClass:"coverBox"},[s("i",{staticClass:"el-icon-video-play c-ddd f32",staticStyle:{position:"absolute",left:"50%",top:"50%","margin-left":"-16px","margin-top":"-16px"}}),e._v(" "),t.video.thumb_url?s("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.video.thumb_url,alt:""}}):e._e()]),e._v(" "),s("div",{staticClass:"txt"},[e._v(e._s(t.video.title||"-"))]),e._v(" "),s("div",{staticClass:"txt c-333 bMar10"},[e._v(e._s(t.video.description||"-"))])])]):e._e()])])])}),e._v(" "),1==e.replyType?s("div",{staticClass:"pageFlex",staticStyle:{"align-items":"flex-start"}},[e._m(3),e._v(" "),s("div",{staticClass:"phoneConItemCon"},[e.bcgImg?s("div",{staticClass:"imgPreview"},[s("img",{staticClass:"bcgImg",attrs:{src:e.bcgImg,alt:""}}),e._v(" "),s("img",{staticClass:"codeImg",attrs:{src:i("OuDs"),alt:""}})]):s("img",{staticStyle:{width:"150px"},attrs:{src:i("OuDs"),alt:""}})])]):e._e()],2)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"phonePeople"},[t("i",{staticClass:"el-icon-s-custom"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"words pageFlex"},[t("img",{attrs:{src:i("55vA"),alt:"",width:"15px"}}),this._v(" "),t("span",{staticClass:"lMar38 f12"},[this._v("10''")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"phone_minirpogram_mark"},[t("img",{attrs:{src:i("mKVt"),alt:""}}),this._v(" "),t("span",[this._v("小程序")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"phonePeople"},[t("i",{staticClass:"el-icon-s-custom"})])}]};var E={components:{selfCustomerservice:u,replyCon:i("VU/8")(y,b,!1,function(e){i("t5wn"),i("v8E6")},"data-v-e293a024",null).exports,phonePreview:i("VU/8")({props:["phone_width","attachments","position_top","replyType","bcgImg"]},A,!1,function(e){i("uQk9")},"data-v-78a0a8e2",null).exports},props:{propsTitle:{type:String,default:"标题"},editObj:{type:Object,default:{}},gghNameList:{type:Array,default:[]}},data:function(){return{title:"",type:1,subscribe_scene:"",sourceList:[{name:"公众号搜索",key:"ADD_SCENE_SEARCH"},{name:"公众号迁移",key:"ADD_SCENE_ACCOUNT_MIGRATION"},{name:"名片分享",key:"ADD_SCENE_PROFILE_CARD"},{name:"图文页内名称点击",key:"ADD_SCENE_PROFILE_LINK"},{name:"图文页右上角菜单",key:"ADD_SCENE_PROFILE_ITEM"},{name:"支付后关注",key:"ADD_SCENE_PAID"},{name:"微信广告",key:"ADD_SCENE_WECHAT_ADVERTISEMENT"},{name:"他人转载",key:"ADD_SCENE_REPRINT"},{name:"视频号直播",key:"ADD_SCENE_LIVESTREAM"},{name:"视频号",key:"ADD_SCENE_CHANNELS"},{name:"扫描二维码",key:"ADD_SCENE_QR_CODE"},{name:"其他",key:"ADD_SCENE_OTHERS"}],con_type:4,user_id:"",user_Obj:{user_id:"",name:""},app_id:"",loading:!1,replyList:[{id:0,con_type:4,content:"",imgMedia_id:"",imageUrl:"",voiceMedia_id:"",video:{media_id:"",thumb_media_id:"",title:"",description:"",thumb_url:""},miniprogram:{title:"",appid:"",pagepath:"",thumb_media_id:"",pic_url:""}}],replyListLen:2,updateFlag:!1,contentParam:[],complateFlag:!0,fileData:{admin_id:this.$cookie.getCookie("admin_id"),ttl:this.$cookie.getCookie("ttl"),sign:this.$cookie.getCookie("sign"),corpid:this.$localSelfStore.getLocal("defaultCorp")&&"undefined"!=this.$localSelfStore.getLocal("defaultCorp")?JSON.parse(this.$localSelfStore.getLocal("defaultCorp")).corpid:""},pageInfo:{imgList:[],chooseImgid:"",PreviewImgFlag:!1,PreviewImgSrc:""}}},watch:{type:function(e){this.replyListLen=Number(e)+1,1==e&&this.replyList&&3==this.replyList.length&&this.replyList.splice(2,1),this.formatContent()}},created:function(){this.editObj&&this.editObj.id&&this.initDetial(),this.getCodeBcgList()},methods:{getCodeBcgList:function(){var e=this;return l()(a.a.mark(function t(){var i,s,n;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.get(e.URL.BASEURL+e.URL.getBgtemplList);case 2:i=t.sent,s=i.data,(n=void 0===s?{}:s)&&0==n.errno?e.pageInfo.imgList=n.rst:e.$message.warning(n.err||"操作失败");case 6:case"end":return t.stop()}},t,e)}))()},addBgtemplEvent:function(e){var t=this;return l()(a.a.mark(function i(){var s,n,l;return a.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,t.$axios.post(t.URL.BASEURL+t.URL.addBgtempl,{bgtempl:e});case 2:s=i.sent,n=s.data,l=void 0===n?{}:n,t.$message.warning(l.err||"操作失败");case 6:case"end":return i.stop()}},i,t)}))()},handleAvatarSuccess:function(e,t,i){var s=this;return l()(a.a.mark(function t(){return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(0!=e.errno){t.next=7;break}return t.next=3,s.addBgtemplEvent(e.rst.url);case 3:return t.next=5,s.getCodeBcgList();case 5:t.next=8;break;case 7:s.$message.error("图片上传失败");case 8:case"end":return t.stop()}},t,s)}))()},handleAvatarError:function(e,t,i){this.$message.error("操作失败")},previewClose:function(){this.pageInfo.PreviewImgFlag=!1},chooseImgEvent:function(e){this.pageInfo.chooseImgid==e.id?(this.pageInfo.chooseImgid="",this.pageInfo.PreviewImgSrc=""):(this.pageInfo.chooseImgid=e.id,this.pageInfo.PreviewImgSrc=e.bgtempl)},deleImgEvent:function(e){var t=this;this.$confirm("是否删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(l()(a.a.mark(function i(){var s,n,l;return a.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(e.id!=t.editObj.bgtempl_id){i.next=3;break}return t.$message.warning("此模板正在使用,不可删除"),i.abrupt("return");case 3:return i.next=5,t.$axios.post(t.URL.BASEURL+t.URL.deleBgtempl,{bgtempl_id:e.id});case 5:if(s=i.sent,n=s.data,0!=(l=void 0===n?{}:n).errno){i.next=12;break}return i.next=11,t.getCodeBcgList();case 11:e.id==t.pageInfo.chooseImgid&&(t.pageInfo.chooseImgid="",t.pageInfo.PreviewImgSrc="");case 12:t.$message.warning(l.err||"操作失败");case 13:case"end":return i.stop()}},i,t)})))},appIdChange:function(){this.replyList=[{id:0,con_type:4,content:"",imgMedia_id:"",imageUrl:"",voiceMedia_id:"",video:{media_id:"",thumb_media_id:"",title:"",description:"",thumb_url:""},miniprogram:{title:"",appid:"",pagepath:"",thumb_media_id:"",pic_url:""}}],this.formatContent()},initDetial:function(){var e=this,t=this.editObj;this.app_id=t.app_id,this.type=t.type,this.title=t.title,this.subscribe_scene=t.subscribe_scene,this.user_id=t.user_id,this.user_Obj={user_id:t.user_id,name:t.user_name},this.pageInfo.PreviewImgSrc=t.bgtempl,this.pageInfo.chooseImgid=t.bgtempl_id,t.parseContent=JSON.parse(t.content),this.replyList=[],t.parseContent.forEach(function(t,i){var s={id:0,con_type:4,content:"",imgMedia_id:"",imageUrl:"",voiceMedia_id:"",video:{media_id:"",thumb_media_id:"",title:"",description:"",thumb_url:""},miniprogram:{title:"",appid:"",pagepath:"",thumb_media_id:"",pic_url:""}};s.id=i,"image"==t.msgtype?(s.con_type=1,s.imgMedia_id=t.image.media_id,s.imageUrl=t.image.imageUrl,e.replyList.push(s)):"text"==t.msgtype?(s.con_type=4,s.content=t.text.content,e.replyList.push(s)):"video"==t.msgtype?(s.con_type=3,s.video=t.video,e.replyList.push(s)):"miniprogrampage"==t.msgtype?(s.con_type=5,s.miniprogram=t.miniprogrampage,e.replyList.push(s)):"voice"==t.msgtype&&(s.con_type=2,s.voiceMedia_id=t.voice.media_id,e.replyList.push(s))})},updateItemEvent:function(e,t){this.replyList[t]=e,this.formatContent()},formatContent:function(){var e=this;this.contentParam=[],this.replyList.forEach(function(t){4==t.con_type&&e.contentParam.push({msgtype:"text",text:{content:t.content}}),1==t.con_type&&e.contentParam.push({msgtype:"image",image:{media_id:t.imgMedia_id,imageUrl:t.imageUrl}}),2==t.con_type&&e.contentParam.push({msgtype:"voice",voice:{media_id:t.voiceMedia_id}}),3==t.con_type&&e.contentParam.push({msgtype:"video",video:t.video}),5==t.con_type&&e.contentParam.push({msgtype:"miniprogrampage",miniprogrampage:t.miniprogram})})},miniprogramDefine:function(e){""==e.title||this.$getStrBytes(e.title)>64?(this.$message({message:"请正确输入小程序标题",type:"warning"}),this.complateFlag=!1):/^wx(?=.*\d)(?=.*[a-z])[\da-z]{16}$/.test(e.appid)?""==e.pagepath?(this.$message({message:"请输入小程序路径",type:"warning"}),this.complateFlag=!1):""==e.thumb_media_id?(this.$message({message:"请选择小程序封面",type:"warning"}),this.complateFlag=!1):this.complateFlag=!0:(this.$message({message:"请正确输入小程序appID",type:"warning"}),this.complateFlag=!1)},setEventJudge:function(){var e=this;this.complateFlag=!0,""==this.app_id?(this.$message({message:"请选择公众号",type:"warning"}),this.complateFlag=!1):""==this.type?(this.$message({message:"请选择类型",type:"warning"}),this.complateFlag=!1):""==this.title?(this.$message({message:"请输入名称",type:"warning"}),this.complateFlag=!1):this.replyList&&0==this.replyList.length?(this.$message({message:"请输入回复内容",type:"warning"}),this.complateFlag=!1):this.replyList&&this.replyList.length>0&&this.replyList.forEach(function(t){5==t.con_type?e.miniprogramDefine(t.miniprogram):4==t.con_type?""==t.content&&(e.$message({message:"请输入文本内容",type:"warning"}),e.complateFlag=!1):1==t.con_type?""==t.imgMedia_id&&(e.$message({message:"请上传图片",type:"warning"}),e.complateFlag=!1):3==t.con_type?""==t.video.title?(e.$message({message:"请填写视频标题",type:"warning"}),e.complateFlag=!1):""==t.video.description?(e.$message({message:"请填写视频描述",type:"warning"}),e.complateFlag=!1):""==t.video.media_id&&(e.$message({message:"请上传视频文件",type:"warning"}),e.complateFlag=!1):2==t.con_type&&""==t.voiceMedia_id&&(e.$message({message:"请上传语音文件",type:"warning"}),e.complateFlag=!1)})},setEvent:function(){var e=this;return l()(a.a.mark(function t(){return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.updateFlag=!e.updateFlag,t.next=3,e.setEventJudge();case 3:e.complateFlag&&1==Number(e.type)&&(e.subscribe_scene?e.user_id||(e.$message({message:"请选择客服",type:"warning"}),e.complateFlag=!1):(e.$message({message:"请选择来源",type:"warning"}),e.complateFlag=!1)),setTimeout(l()(a.a.mark(function t(){var i,s,n,l,r;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.complateFlag){t.next=2;break}return t.abrupt("return");case 2:return e.loading=!0,2==Number(e.type)&&(e.subscribe_scene="",e.pageInfo.chooseImgid=""),i={app_id:e.app_id,type:e.type,title:e.title,subscribe_scene:e.subscribe_scene,user_id:e.user_id,bgtempl_id:e.pageInfo.chooseImgid,content:m()(e.contentParam)},s=e.URL.followReply_Add,e.editObj&&e.editObj.id&&"复制"!==e.editObj.id&&(i.id=e.editObj.id,s=e.URL.followReply_Edit),e.loading=!1,t.next=10,e.$axios.post(e.URL.BASEURL+s,i);case 10:n=t.sent,l=n.data,r=void 0===l?{}:l,e.loading=!1,e.$emit("close"),e.$emit("init"),e.$message({message:r.err,type:"info"});case 17:case"end":return t.stop()}},t,e)})),300);case 5:case"end":return t.stop()}},t,e)}))()},addReplyEvent:function(){this.replyList.push({id:Number(this.replyList[Number(this.replyList&&this.replyList.length)-1].id+1),con_type:4,content:"",imgMedia_id:"",imageUrl:"",voiceMedia_id:"",video:{media_id:"",thumb_media_id:"",title:"",description:"",thumb_url:""},miniprogram:{title:"",appid:"",pagepath:"",thumb_media_id:"",pic_url:""}})},deleEvent:function(e){var t=this.replyList.findIndex(function(t){return t.id==e});this.replyList.splice(t,1),this.formatContent()},upClick:function(e){if(0==e)return this.$message({message:"已经是第一个了",type:"info"}),!1;this.replyList=this.swapItems(this.replyList,e,e-1),this.formatContent()},downClick:function(e){if(e==this.replyList&&this.replyList.length-1)return this.$message({message:"已经是最后一个了",type:"info"}),!1;this.replyList=this.swapItems(this.replyList,e,e+1),this.formatContent()},swapItems:function(e,t,i){return e[t]=e.splice(i,1,e[t])[0],e}}},I={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[s("div",{staticClass:"self_drawer_title"},[s("div",[e._v(e._s(e.propsTitle))]),e._v(" "),s("div",{staticClass:"flex-align-center"},[s("i",{staticClass:"el-icon-close pointer",on:{click:function(t){return e.$emit("close")}}})])]),e._v(" "),s("div",{staticClass:"drawerBox"},[s("div",{staticClass:"regulations"},[e._m(0),e._v(" "),s("el-select",{staticStyle:{width:"300px"},attrs:{placeholder:"请选择",size:"small",disabled:!!(this.editObj&&this.editObj.id||this.editObj&&0==Number(this.editObj.id))},on:{change:e.appIdChange},model:{value:e.app_id,callback:function(t){e.app_id=t},expression:"app_id"}},e._l(e.gghNameList,function(e){return s("el-option",{key:e.key,attrs:{label:e.name,value:e.key}})}),1)],1),e._v(" "),s("div",{staticClass:"regulations",staticStyle:{"align-items":"center"}},[e._m(1),e._v(" "),s("div",[s("div",{staticClass:"pageFlex"},[s("el-radio",{attrs:{label:2},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[e._v("默认回复")]),e._v(" "),s("el-radio",{attrs:{label:1},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},[e._v("个性化回复")])],1)])]),e._v(" "),s("div",{staticClass:"regulations"},[e._m(2),e._v(" "),s("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"关注回复名称",clearable:"",size:"small"},model:{value:e.title,callback:function(t){e.title="string"==typeof t?t.trim():t},expression:"title"}})],1),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:1==e.type,expression:"type==1"}],staticClass:"regulations"},[e._m(3),e._v(" "),s("div",{staticClass:"sourceBox"},e._l(e.sourceList,function(t){return s("div",{key:t.key,staticClass:"sourceItem"},[s("el-radio",{attrs:{label:t.key},model:{value:e.subscribe_scene,callback:function(t){e.subscribe_scene=t},expression:"subscribe_scene"}},[e._v(e._s(t.name))])],1)}),0)]),e._v(" "),s("div",{staticClass:"regulations"},[e._m(4),e._v(" "),s("div",{staticStyle:{flex:"1"}},[e._l(e.replyList,function(t,i){return s("div",{key:t.id,class:1==i?"tMar30":""},[s("replyCon",{attrs:{item:t,replyType:e.type,app_id:e.app_id,updateFlag:e.updateFlag},on:{updateItem:function(t){return e.updateItemEvent(t,i)}}}),e._v(" "),s("div",{staticClass:"attachBox"},[e.replyList&&e.replyList.length>1?s("div",{staticClass:"pageFlex lMarauto c-999 f12"},[i>0?s("span",{on:{click:function(t){return e.upClick(i)}}},[e._v("上移")]):e._e(),e._v(" "),i<Number(e.replyList&&e.replyList.length)-1?s("span",{staticClass:"lMar10",on:{click:function(t){return e.downClick(i)}}},[e._v("下移")]):e._e(),e._v(" "),s("span",{staticClass:"lMar10",on:{click:function(i){return e.deleEvent(t.id)}}},[s("i",{staticClass:"el-icon-delete"})])]):e._e()])],1)}),e._v(" "),e.replyList&&e.replyList.length<=Number(e.replyListLen-1)?s("div",{staticClass:"addBtn",on:{click:e.addReplyEvent}},[s("i",{staticClass:"el-icon-plus rMar5"}),e._v(" 添加回复内容")]):e._e()],2)]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:1==e.type,expression:"type==1"}],staticClass:"regulations"},[e._m(5),e._v(" "),s("div",[s("self-customerservice",{attrs:{title:"",width:"300px",mar0flag:!0,afferent_user_obj:e.user_Obj},on:{customerDefine:function(t){e.user_id=t.user_id}}})],1)]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:1==e.type,expression:"type==1"}],staticClass:"regulations"},[s("div",{staticClass:"label"},[e._v("选择背景")]),e._v(" "),s("div",[s("div",{staticClass:"pageFlex"},[s("el-upload",{staticClass:"promote-uploader",attrs:{multiple:"",accept:".png",action:e.URL.BASEURL+e.URL.goods_fileUpload,data:e.fileData,"show-file-list":!1,"on-success":e.handleAvatarSuccess,"on-error":e.handleAvatarError}},[s("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e._v(" "),e._l(e.pageInfo.imgList,function(t){return s("div",{key:t.id,staticClass:"imgBoxList",on:{click:function(i){return i.stopPropagation(),e.chooseImgEvent(t)}}},[s("img",{attrs:{src:t.bgtempl,alt:""}}),e._v(" "),s("span",{staticClass:"iconChoose"},[e.pageInfo.chooseImgid==t.id?s("i",{staticClass:"el-icon-check",staticStyle:{color:"#FF4848","font-size":"16px","font-weight":"700"}}):e._e()]),e._v(" "),s("i",{staticClass:"el-icon-delete f14 c-ddd pointer",on:{click:function(i){return i.stopPropagation(),e.deleImgEvent(t)}}})])})],2),e._v(" "),s("div",{staticClass:"f12 tMar6",staticStyle:{color:"#f9a527"}},[e._v("*图片仅支持.png格式")])])]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.pageInfo.PreviewImgSrc&&1==e.type,expression:"pageInfo.PreviewImgSrc && type==1"}],staticClass:"regulations"},[s("div",{staticClass:"label"},[e._v("客服预览")]),e._v(" "),s("div",{staticClass:"imgPreview"},[s("img",{staticClass:"bcgImg",attrs:{src:e.pageInfo.PreviewImgSrc,alt:""}}),e._v(" "),s("img",{staticClass:"codeImg",attrs:{src:i("OuDs"),alt:""}})])]),e._v(" "),s("phonePreview",{staticStyle:{width:"300px",top:"25%",right:"-60%",position:"absolute"},attrs:{phone_width:"300px",replyType:e.type,bcgImg:e.pageInfo.PreviewImgSrc,attachments:e.contentParam}}),e._v(" "),s("button",{staticClass:"btn",on:{click:e.setEvent}},[e._v("保存")])],1)])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("em",[this._v("*")]),this._v("公众号")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("em",[this._v("*")]),this._v("类型:")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("em",[this._v("*")]),this._v("名称")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("em",[this._v("*")]),this._v("来源")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("em",[this._v("*")]),this._v("回复")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"label"},[t("em",[this._v("*")]),this._v("选择客服")])}]};var k=i("VU/8")(E,I,!1,function(e){i("laa5"),i("M0cn")},"data-v-0e7f04ac",null).exports,S={name:"followReply",mixins:[i("K7TI").a],components:{TableList:p.a,reply:k,replyConfig:c},data:function(){return{descolList:[{name:"名称",column:"title",alignSelf:"center"},{name:"公众号",column:"account_name",alignSelf:"center"},{name:"操作时间",column:"updated_at",alignSelf:"center"},{name:"操作人",column:"creator",alignSelf:"center"},{name:"关注回复",column:"reply",slotFlag:!0,alignSelf:"center"},{name:"操作",column:"operate",slotFlag:!0,alignSelf:"center"}],replyFlag:!1,replyConfigRef:null,replyObj:{},editObj:{},sourceList:[{name:"公众号搜索",key:"ADD_SCENE_SEARCH"},{name:"公众号迁移",key:"ADD_SCENE_ACCOUNT_MIGRATION"},{name:"名片分享",key:"ADD_SCENE_PROFILE_CARD"},{name:"图文页内名称点击",key:"ADD_SCENE_PROFILE_LINK"},{name:"图文页右上角菜单",key:"ADD_SCENE_PROFILE_ITEM"},{name:"支付后关注",key:"ADD_SCENE_PAID"},{name:"微信广告",key:"ADD_SCENE_WECHAT_ADVERTISEMENT"},{name:"他人转载",key:"ADD_SCENE_REPRINT"},{name:"视频号直播",key:"ADD_SCENE_LIVESTREAM"},{name:"视频号",key:"ADD_SCENE_CHANNELS"},{name:"扫描二维码",key:"ADD_SCENE_QR_CODE"},{name:"其他",key:"ADD_SCENE_OTHERS"}],gghNameList:[],tableHeight:"auto"}},created:function(){this.tableHeight=document.documentElement.clientHeight-60-20-52-10},mounted:function(){var e=this;this.$nextTick(l()(a.a.mark(function t(){return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.init();case 2:return t.next=4,e.init_gghList();case 4:case"end":return t.stop()}},t,e)})))},methods:{replayEvent:function(){var e=this;return l()(a.a.mark(function t(){return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.editObj={},e.replyFlag=!0;case 2:case"end":return t.stop()}},t,e)}))()},init_gghList:function(){var e=this;return l()(a.a.mark(function t(){var i,s,n;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$axios.get(e.URL.BASEURL+e.URL.authAccountList,{params:{page:1,pageSize:1e3}});case 2:i=t.sent,s=i.data,(n=void 0===s?{}:s)&&0==n.errno?(e.gghNameList=[],n.rst.data.forEach(function(t){-1==e.gghNameList.findIndex(function(e){return e.key==t.app_id})&&e.gghNameList.push({key:t.app_id,name:t.nickname})})):e.$message({message:n.err,type:"warning"});case 6:case"end":return t.stop()}},t,e)}))()},init:function(){var e=this;return l()(a.a.mark(function t(){var i,s,n;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$axios.get(e.URL.BASEURL+e.URL.followReply_List);case 3:i=t.sent,s=i.data,n=void 0===s?{}:s,e.loading=!1,n&&0==n.errno?e.tableList=n.rst:e.$message({message:n.err,type:"warning"});case 8:case"end":return t.stop()}},t,e)}))()},previewEvent:function(e){this.replyObj=e,this.replyObj.parseContent=JSON.parse(e.content),this.$refs.replyConfigRef.dialogVisible=!0},clearReply:function(){this.replyObj={}},copyEvent:function(e){e.id="复制",this.editObj=e,this.replyFlag=!0},editEvent:function(e){this.editObj=e,this.replyFlag=!0},deleEvent:function(e){var t=this;return l()(a.a.mark(function i(){var s,n,l;return a.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,t.$axios.post(t.URL.BASEURL+t.URL.followReply_Dele,{id:e.id});case 2:if(s=i.sent,n=s.data,l=void 0===n?{}:n,t.$message({message:l.err,type:"warning"}),!l||0!=l.errno){i.next=9;break}return i.next=9,t.init();case 9:case"end":return i.stop()}},i,t)}))()},closeDetial:function(){this.replyFlag=!1}}},w={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"screenBox"},[i("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.replayEvent}},[e._v("关注回复")])],1),e._v(" "),i("div",{staticClass:"tMar10"},[i("TableList",{ref:"tableListRef",attrs:{loading:e.loading,showPagination:!1,tableData:e.tableList,descol:e.descolList,tableHeight:e.tableHeight},scopedSlots:e._u([{key:"reply",fn:function(t){return[i("div",{staticClass:"text-center"},[i("span",{staticClass:"operate_text",on:{click:function(i){return e.previewEvent(t.row)}}},[e._v("查看配置")])])]}},{key:"operate",fn:function(t){return[i("div",{staticClass:"text-center"},[i("span",{staticClass:"operate_text",on:{click:function(i){return e.editEvent(t.row)}}},[e._v("编辑")]),e._v(" "),i("el-popconfirm",{attrs:{title:"确定删除【"+t.row.title+"】?"},on:{confirm:function(i){return e.deleEvent(t.row)}}},[i("span",{staticClass:"operate_text lMar14",attrs:{slot:"reference"},slot:"reference"},[e._v("删除")])])],1)]}}])})],1),e._v(" "),i("el-drawer",{attrs:{size:"90%",visible:e.replyFlag,"with-header":!1},on:{"update:visible":function(t){e.replyFlag=t}}},[e.replyFlag?i("reply",{attrs:{gghNameList:e.gghNameList,propsTitle:"关注回复",editObj:e.editObj},on:{close:e.closeDetial,init:e.init}}):e._e()],1),e._v(" "),i("replyConfig",{ref:"replyConfigRef",attrs:{replyObj:e.replyObj},on:{clear:e.clearReply,edit:function(t){return e.editEvent(t)}}})],1)},staticRenderFns:[]};var x=i("VU/8")(S,w,!1,function(e){i("DGGA")},"data-v-519a0a2a",null);t.default=x.exports},t5wn:function(e,t){},uQk9:function(e,t){},v8E6:function(e,t){}});
|