1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9ed8bea2"],{"097b":function(e,t,i){var a=i("d87e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("499e").default;r("f0aacbd6",a,!0,{sourceMap:!1,shadowMode:!1})},"17fa":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'.page[data-v-702910b4]{background:#fff;min-height:100vh}.page[data-v-702910b4] .van-sticky--fixed{background:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/group_develop_user_index_bg.png);background-position:0 0;background-size:cover}.header[data-v-702910b4]{width:100%;height:17.188rem;padding:0 .938rem;background:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/group_develop_user_index_bg.png);background-size:cover}.header .tabs[data-v-702910b4]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:2.84rem}.header .tabs[data-v-702910b4],.header .tabs .tab[data-v-702910b4]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#fff}.header .tabs .tab[data-v-702910b4]{font-size:.938rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.header .tabs .tab.active[data-v-702910b4]{font-weight:700;font-size:1.125rem;position:relative}.header .tabs .tab.active[data-v-702910b4]:after{content:"";display:block;width:1.375rem;height:.188rem;background-color:#fff;border-radius:.094rem;position:absolute;bottom:.2rem;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.header .userInfo[data-v-702910b4]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.header .userInfo .face[data-v-702910b4]{background-color:#fff}.header .userInfo .face[data-v-702910b4],.header .userInfo .face img[data-v-702910b4]{width:1.75rem;height:1.75rem;border-radius:50%}.header .userInfo .nickname[data-v-702910b4]{margin-left:.531rem;font-size:.938rem;color:#fff}.header .infoList[data-v-702910b4]{display:grid;grid-template-columns:repeat(3,1fr);grid-column-gap:.625rem;grid-row-gap:.969rem;padding-top:.9rem}.header .infoList .infoItem[data-v-702910b4]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:4.419rem;width:100%;background:#fff;border-radius:.188rem;border-bottom-width:.188rem;border-bottom-style:solid}.header .infoList .infoItem[data-v-702910b4]:first-child{border-bottom-color:#fdde99}.header .infoList .infoItem[data-v-702910b4]:nth-child(2){border-bottom-color:#b8eeff}.header .infoList .infoItem[data-v-702910b4]:nth-child(3){border-bottom-color:#e1d4fd}.header .infoList .infoItem[data-v-702910b4]:nth-child(4){border-bottom-color:#c6d2ff}.header .infoList .infoItem[data-v-702910b4]:nth-child(5){border-bottom-color:#ffccbd}.header .infoList .infoItem .num[data-v-702910b4]{padding-bottom:.1rem;font-size:1rem;color:#202020;font-weight:700}.header .infoList .infoItem .desc[data-v-702910b4]{font-size:.75rem;color:#666}.header .infoList .infoItem .otherInfo[data-v-702910b4]{font-size:.688rem;color:#999}.history[data-v-702910b4]{width:100%;margin:-1rem auto 1rem;background-color:#fff;border-radius:.938rem .938rem 0 0;border-bottom:.625rem solid #eff0f1}.history .history-title[data-v-702910b4]{padding:.938rem .938rem .506rem .938rem;text-align:left;font-weight:700;font-size:12px;color:#17243e}.history .history-time[data-v-702910b4]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;padding:.2rem .8rem;border:.04rem solid #efefef;border-radius:.3rem}.history .history-wrapper[data-v-702910b4]{padding:0 .875rem .906rem;min-height:10rem}.enterpriseWrapper .tabs[data-v-702910b4]{margin-top:-1rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;height:2rem;border-top-right-radius:.938rem;border-top-left-radius:.938rem;background:#fff}.enterpriseWrapper .tabs .tab[data-v-702910b4]{font-size:.875rem;color:#666}.enterpriseWrapper .tabs .tab.active[data-v-702910b4]{font-size:1rem;color:#f14e4e;font-weight:700}.enterpriseWrapper .searchWrapper[data-v-702910b4]{padding:0 .938rem;padding-top:1.29rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.enterpriseWrapper .searchWrapper .search[data-v-702910b4]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:1.875rem;background-color:#eff0f1;border-radius:1.063rem;text-align:left}.enterpriseWrapper .searchWrapper .search[data-v-702910b4],.enterpriseWrapper .searchWrapper .search i[data-v-702910b4]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center}.enterpriseWrapper .searchWrapper .search i[data-v-702910b4]{padding-top:.35rem;padding-left:10px;color:#666}.enterpriseWrapper .searchWrapper .search form[data-v-702910b4]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding-right:.531rem}.enterpriseWrapper .searchWrapper .search form input[data-v-702910b4]{width:100%;margin-left:6px;font-size:.875rem;font-weight:400;font-stretch:normal;line-height:1.5rem;letter-spacing:.044rem;color:#666;border:none}.enterpriseWrapper .searchWrapper .search form input[data-v-702910b4]::-webkit-input-placeholder{color:#666}.enterpriseWrapper .filter-wrapper[data-v-702910b4]{padding:.75rem .938rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.enterpriseWrapper .filter-wrapper .filter-btn[data-v-702910b4]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;margin-right:10px}.enterpriseWrapper .filter-wrapper .select-filter-item[data-v-702910b4]{position:relative;height:18px;line-height:18px;background-color:#fff4f4;border-radius:2px;color:#f25552;padding:0 8px;font-size:10px;margin-right:15px}.enterpriseWrapper .filter-wrapper .select-filter-item .icon-adsystem_icon_cancle[data-v-702910b4]{position:absolute;top:-8px;right:-8px}.enterpriseWrapper .filter-wrapper .select-filter-item[data-v-702910b4]:nth-child(n+5){margin-top:10px}.enterpriseWrapper .groupList[data-v-702910b4]{padding:0 .938rem;padding-bottom:1rem}.enterpriseWrapper .groupList .groupItem[data-v-702910b4]{margin-top:1rem}',""]),e.exports=t},"2c28":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".item[data-v-255ae694]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:5rem;padding:.625rem;background-color:#fff;-webkit-box-shadow:0 .031rem .5rem 0 hsla(0,0%,84.7%,.41);box-shadow:0 .031rem .5rem 0 hsla(0,0%,84.7%,.41);border-radius:.313rem}.item .group_img[data-v-255ae694]{width:3.125rem;height:3.125rem;background-color:#e7e7e7}.item .wrapper[data-v-255ae694]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-left:.625rem;text-align:left}.item .wrapper .name[data-v-255ae694]{font-size:.938rem;color:#333}.item .wrapper .name .num[data-v-255ae694],.item .wrapper .time[data-v-255ae694]{font-size:.75rem;color:#999}.item .wrapper .time[data-v-255ae694]{margin-top:.1rem}.item .wrapper .lockguest[data-v-255ae694]{margin-top:.3rem;color:#999}.item .wrapper .lockguest[data-v-255ae694],.item .wrapper .lockguest .member[data-v-255ae694]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:.75rem}.item .wrapper .lockguest .member[data-v-255ae694]{color:#333}.item .wrapper .lockguest .member img[data-v-255ae694]{width:1rem;height:1rem;border-radius:50%;margin-right:.144rem}.item .qrcode[data-v-255ae694]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.item .qrcode .iconfont[data-v-255ae694]{font-size:2.2rem;color:#222}",""]),e.exports=t},"3c92e":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"page"},[i("c-title",{attrs:{text:"群拓客"}}),i("div",{staticClass:"header"},[i("van-sticky",{attrs:{"offset-top":40,"z-index":"1"}},[i("div",{staticClass:"tabs"},[i("div",{staticClass:"tab",class:{active:0==e.tabIndex},on:{click:function(t){return e.setTabIndex(0)}}},[e._v("企业员工")]),i("div",{staticClass:"tab",class:{active:1==e.tabIndex},staticStyle:{"margin-left":"2.469rem"},on:{click:function(t){return e.setTabIndex(1)}}},[e._v("会员")])])]),i("div",{staticClass:"userInfo"},[e.employee&&e.employee.member?i("div",{staticClass:"face"},[i("img",{attrs:{src:e.employee.member.avatar_image,alt:""}})]):e._e(),e.employee&&e.employee.member?i("div",{staticClass:"nickname"},[e._v(e._s(e.employee.member.nickname))]):e._e()]),0==e.tabIndex&&null!=e.employee?i("div",{staticClass:"infoList"},[i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.employee.total_chats_count))]),i("div",{staticClass:"desc"},[e._v("我创建群数")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.employee.total_user_count))]),i("div",{staticClass:"desc"},[e._v("群客户总数")]),i("div",{staticClass:"otherInfo"},[e._v("(未去重)")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.employee.total_distinct_user_count))]),i("div",{staticClass:"desc"},[e._v("群客户总数")]),i("div",{staticClass:"otherInfo"},[e._v("(去重)")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.employee.total_ingroup_user_count))]),i("div",{staticClass:"desc"},[e._v("在群总人数")]),i("div",{staticClass:"otherInfo"},[e._v("(未去重)")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.employee.total_distinct_ingroup_user_count))]),i("div",{staticClass:"desc"},[e._v("在群总人数")]),i("div",{staticClass:"otherInfo"},[e._v("(去重)")])])]):e._e(),1==e.tabIndex&&null!=e.owner?i("div",{staticClass:"infoList"},[i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.owner.total_chats_count))]),i("div",{staticClass:"desc"},[e._v("加入群数")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.owner.unique_invite_member))]),i("div",{staticClass:"desc"},[e._v("邀请会员总数")]),i("div",{staticClass:"otherInfo"},[e._v("(去重)")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.owner.repeat_invite_member))]),i("div",{staticClass:"desc"},[e._v("邀请会员总数")]),i("div",{staticClass:"otherInfo"},[e._v("(未去重)")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.owner.total_new_member))]),i("div",{staticClass:"desc"},[e._v("新粉丝总数")])]),i("div",{staticClass:"infoItem"},[i("div",{staticClass:"num"},[e._v(e._s(e.owner.today_new_member))]),i("div",{staticClass:"desc"},[e._v("今日新粉丝人数")])])]):e._e()],1),1==e.tabIndex&&null!=e.owner?i("div",{staticClass:"history"},[i("div",{staticClass:"history-title"},[e._v("历史记录")]),i("div",{staticClass:"history-time",on:{click:function(t){e.datetimePopup=!0}}},[e._v(e._s(e.currentTimeText)),i("i",{staticClass:"iconfont icon-member-bottom",staticStyle:{"margin-left":"0.4rem"}})]),i("div",{staticClass:"history-wrapper"},[i("line-echarts",{attrs:{id:"gdu_index1",charts:e.lineCharts}})],1)]):e._e(),i("div",{staticClass:"enterpriseWrapper"},[0==e.tabIndex?i("div",{staticClass:"tabs"},[i("div",{staticClass:"tab",class:{active:0==e.childTabIndex},on:{click:function(t){return e.setChildTabIndex(0)}}},[e._v("全部")]),i("div",{staticClass:"tab",class:{active:1==e.childTabIndex},on:{click:function(t){return e.setChildTabIndex(1)}}},[e._v("已绑定锁客会员")]),i("div",{staticClass:"tab",class:{active:2==e.childTabIndex},on:{click:function(t){return e.setChildTabIndex(2)}}},[e._v("未绑定锁客会员")])]):e._e(),1==e.tabIndex?i("div",{staticClass:"tabs"},[i("div",{staticClass:"tab",class:{active:3==e.childTabIndex},on:{click:function(t){return e.setChildTabIndex(3)}}},[e._v("群聊")]),i("div",{staticClass:"tab",class:{active:4==e.childTabIndex},on:{click:function(t){return e.setChildTabIndex(4)}}},[e._v("邀请会员")])]):e._e(),i("div",{staticClass:"searchWrapper"},[i("div",{staticClass:"search"},[i("i",{staticClass:"iconfont icon-all_search_2"}),i("form",{attrs:{action:"javascript:void 0;"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],attrs:{type:"search",placeholder:"搜索群"},domProps:{value:e.searchText},on:{keyup:function(t){return t.type.indexOf("key")||13===t.keyCode?e.getListData.apply(null,arguments):null},input:function(t){t.target.composing||(e.searchText=t.target.value)}}})])]),1==e.tabIndex&&4==e.childTabIndex?[i("div",{staticClass:"search",staticStyle:{margin:"0 0.5rem"}},[i("i",{staticClass:"iconfont icon-all_search_2"}),i("form",{attrs:{action:"javascript:void 0;"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.searchMemberName,expression:"searchMemberName"}],attrs:{type:"search",placeholder:"搜索会员昵称"},domProps:{value:e.searchMemberName},on:{keyup:function(t){return t.type.indexOf("key")||13===t.keyCode?e.getListData.apply(null,arguments):null},input:function(t){t.target.composing||(e.searchMemberName=t.target.value)}}})])]),i("van-button",{attrs:{type:"primary",size:"mini",color:"#f14e4e"},on:{click:e.getListData}},[e._v("搜索")])]:e._e()],2),1==e.tabIndex&&4==e.childTabIndex?i("div",{staticClass:"filter-wrapper"},[i("div",{staticClass:"filter-btn",on:{click:function(t){e.filterPopup=!0}}},[e._v("筛选"),i("i",{staticClass:"iconfont icon-fontclass-shaixuan1"})]),e._l(e.filterConfig,(function(t,a,r){return i("div",{key:r,staticClass:"select-filter-item",on:{click:function(t){return t.stopPropagation(),e.delFilter(a)}}},[e._v(e._s(t.name)+" "),i("i",{staticClass:"iconfont icon-adsystem_icon_cancle"})])}))],2):e._e(),i("div",{staticClass:"groupList"},e._l(e.listData,(function(t){return i("div",{key:t.id,staticClass:"groupItem"},[4!=e.childTabIndex?i("index-group-item",{attrs:{share:0==e.tabIndex,level:e.tabIndex,item:t},on:{handQrcode:e.showQrcode}}):e._e(),4==e.childTabIndex?i("inviter-member-item",{attrs:{item:t}}):e._e()],1)})),0)]),i("qrcode",{attrs:{show:e.qrcodePopup,img:e.qrcodeImg},on:{"update:show":function(t){e.qrcodePopup=t}}}),i("van-popup",{attrs:{position:"bottom"},model:{value:e.datetimePopup,callback:function(t){e.datetimePopup=t},expression:"datetimePopup"}},[i("van-datetime-picker",{attrs:{type:"date"},on:{confirm:e.confirmTime},model:{value:e.currentDate,callback:function(t){e.currentDate=t},expression:"currentDate"}})],1),i("van-popup",{attrs:{position:"bottom",closeable:"",round:""},on:{close:e.closeFilterPop},model:{value:e.filterPopup,callback:function(t){e.filterPopup=t},expression:"filterPopup"}},[i("filterPopup",{ref:"filterPopup",on:{confirm:e.confirmFilter}})],1),i("share-poster",{attrs:{pid:e.posterID,img:e.qrcodeImg},model:{value:e.sharePopup,callback:function(t){e.sharePopup=t},expression:"sharePopup"}})],1)},r=[],s=i("c7eb"),o=i("1da1"),n=(i("e7e5"),i("d399")),l=(i("99af"),i("d3b7"),i("25f0"),i("ac1f"),i("4d63"),i("c607"),i("2c3e"),i("5319"),i("4d90"),i("ac0d")),d=i("5de5"),c=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"item",on:{click:e.gotoDetails}},[e._e(),i("div",{staticClass:"wrapper"},[i("div",{staticClass:"name"},[e._v(" "+e._s(e.item.group_name)+" "),i("span",{staticClass:"num"},[e._v("("+e._s(e.item.member_count)+"人)")])]),i("div",{staticClass:"time"},[e._v("创建时间:"+e._s(e.item.group_created_time_str))]),0==e.level?i("div",{staticClass:"lockguest"},[i("div",{staticClass:"text"},[e._v("锁客会员:")]),e.item.group_owner_member_uid?i("div",{staticClass:"member"},[i("img",{attrs:{src:e.item.group_owner_member_avatar,alt:""}}),e._v(" "+e._s(e.item.group_owner_member_nickname)+" ")]):i("div",{staticClass:"member"},[e._v("无")])]):e._e(),1==e.level?i("div",{staticClass:"lockguest"},[i("div",{staticClass:"text"},[e._v("邀请会员数:")]),i("div",{staticClass:"member"},[e._v(e._s(e.item.has_many_member_log_count))])]):e._e()]),e.share?i("div",{staticClass:"qrcode",on:{click:function(t){return t.stopPropagation(),e.showQrcode(1)}}},[i("i",{staticClass:"iconfont icon-zb_all_share"})]):e._e(),i("div",{staticClass:"qrcode",on:{click:function(t){return t.stopPropagation(),e.showQrcode(0)}}},[i("i",{staticClass:"iconfont icon-fontclass-erweima"})])])},m=[],p=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"imgs"},[i("div",{staticClass:"wrapper"},e._l(e.num,(function(e){return i("div",{key:e.id,staticClass:"img"})})),0)])},f=[],b={data:function(){return{num:2}}},u=b,g=(i("6e9a"),i("2877")),h=Object(g["a"])(u,p,f,!1,null,"663ce06c",null),v=h.exports,x={props:["level","item","share"],data:function(){return{}},components:{faceImg:v},created:function(){},methods:{showQrcode:function(e){this.$emit("handQrcode",{id:this.item.id,is_worker:e})},gotoDetails:function(){this.$router.push(this.fun.getUrl("gduEnterpriseDetails",{},{level:this.level,group_id:this.item.id}))}}},w=x,_=(i("525d"),Object(g["a"])(w,c,m,!1,null,"255ae694",null)),k=_.exports,y=i("a13c"),C=i("57f8"),I=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"item"},[i("div",{staticClass:"wrapper"},[i("div",{staticClass:"info"},[i("div",{staticClass:"name"},[i("div",{staticClass:"text"},[e._v("会员昵称:"+e._s(e.item.name))])]),i("div",{staticClass:"time"},[e._v("群昵称:"+e._s(e.item.group_name))]),i("div",{staticClass:"time"},[e._v("加入时间:"+e._s(e.item.join_time_str))])]),i("div",{staticClass:"status"},[e.item.is_bind_business?[1==e.item.is_fans?i("div",{staticClass:"label"},[e._v("粉丝")]):e._e(),i("div",{staticClass:"label"},[e._v(e._s(0==e.item.is_old?"新会员":"老会员"))])]:e._e(),i("div",{staticClass:"label"},[e._v(e._s(1==e.item.join_scene?"直接邀请":2==e.item.is_old?"邀请链接":"扫描入群"))]),i("div",{staticClass:"label",class:{gray:2==e.item.status}},[e._v(e._s(1==e.item.status?"在群":"退群"))])],2)])])},P=[],T={props:["item"],data:function(){return{}},created:function(){},methods:{seeMemberInfo:function(){this.$emit("handSee",this.item)}}},L=T,M=(i("9f66"),Object(g["a"])(L,I,P,!1,null,"3bf6f16c",null)),z=M.exports,D=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("van-popup",{staticClass:"sharePopup",staticStyle:{"background-color":"transparent"},attrs:{closeable:"","close-icon-position":"bottom-right"},on:{closed:e.closed},model:{value:e.sharePopup,callback:function(t){e.sharePopup=t},expression:"sharePopup"}},[i("div",{staticClass:"sharePopup-box"},[i("img",{staticClass:"posterImg",attrs:{src:e.img,alt:""}}),i("div",{staticClass:"text"},[e._v("长按保存图片")]),i("div",{staticClass:"text"},[e._v("用户打开链接或图片,生成自己分享的海报,邀请好友。")]),i("div",{staticClass:"poster-url"},[i("input",{attrs:{type:"text"},domProps:{value:e.url}}),i("van-button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.url,expression:"url",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopy,expression:"onCopy",arg:"success"}],attrs:{type:"info",size:"mini",color:"#f15353"},on:{click:function(e){e.stopPropagation()}}},[e._v("复制")])],1)])])},j=[],W={model:{prop:"sharePopup",event:"onEmit"},props:{img:{type:String,default:""},pid:{type:String,default:""},sharePopup:{type:Boolean,default:!1}},data:function(){return{url:""}},activated:function(){},components:{},computed:{},mounted:function(){},watch:{sharePopup:function(e,t){this.url=this.fun.getSiteRoot()+"/addons/yun_shop/?menu#/member/gduEnterprisePoster/"+this.pid+"?i="+this.fun.getKeyByI()+"&mid="+this.fun.getKeyByMid()}},methods:{onCopy:function(){this.$toast("复制成功")},closed:function(){this.$emit("onEmit",!1)}}},q=W,$=(i("7878"),Object(g["a"])(q,D,j,!1,null,"9f1b13e8",null)),O=$.exports,S={mixins:[l["a"]],components:{lineEcharts:d["a"],indexGroupItem:k,qrcode:y["a"],filterPopup:C["a"],inviterMemberItem:z,sharePoster:O},data:function(){return{tabIndex:0,childTabIndex:0,datetimePopup:!1,qrcodePopup:!1,currentDate:new Date,employee:null,owner:null,currentTimeText:"",listData:[],searchText:"",searchMemberName:"",page:1,isLoadMore:!0,total_page:0,qrcodeList:{},qrcodeImg:"",sharePosterList:{},lineCharts:{},filterPopup:!1,filterConfig:null,sharePopup:!1,posterID:""}},activated:function(){window.scrollTo(0,0),this.getEmployee(),this.currentTimeText=this.dateFormat("YYYY-mm-dd",this.currentDate),this.getListData()},methods:{initData:function(){this.page=1,this.isLoadMore=!0,this.total_page=0},setTabIndex:function(e){e!=this.tabIndex&&(null==this.owner&&this.getOwner(),this.tabIndex=e,this.childTabIndex=0==this.tabIndex?0:3,this.getListData())},setChildTabIndex:function(e){e!=this.childTabIndex&&(this.childTabIndex=e,this.getListData())},showQrcode:function(e){var t=e.id,i=e.is_worker;this._getQrcode(t,i)},confirmTime:function(e){this.datetimePopup=!1,this.currentTimeText=this.dateFormat("YYYY-mm-dd",e),this.getOwner()},getEmployee:function(){var e=this;n["a"].loading({message:"",forbidClick:!0}),$http.get("plugin.group-develop-user.frontend.index.employee-summary").then((function(t){n["a"].clear(),1===t.result?e.employee=t.data:Object(n["a"])(t.msg)}))},getOwner:function(){var e=this;n["a"].loading({message:"",forbidClick:!0}),$http.get("plugin.group-develop-user.frontend.index.owner-member-summary",{end_day:this.currentTimeText}).then((function(t){n["a"].clear(),1===t.result?(e.owner=t.data,e._setLineChartsData(t.data.charts)):Object(n["a"])(t.msg)}))},_setLineChartsData:function(e){this.lineCharts={x:e.x,y:[{name:"新会员人数",color:"rgb(24,144,255)",data:e.y},{name:"邀请人数",color:"rgb(65,198,76)",data:e.invite_y}]}},_getQrcode:function(e,t){var i=this;return this.posterID=e,0==t&&this.qrcodeList[e]?(this.qrcodeImg=this.qrcodeList[e],void(this.qrcodePopup=!0)):1==t&&this.sharePosterList[e]?(this.qrcodeImg=this.sharePosterList[e],void(this.sharePopup=!0)):void $http.get("plugin.group-develop-user.frontend.group-chat.get-new-post",{id:e,is_worker:t},"").then((function(a){1===a.result?(i.qrcodeImg=a.data.image_url,0==t&&(i.qrcodeList[e]=a.data.image_url,i.qrcodePopup=!0),1==t&&(i.sharePosterList[e]=a.data.image_url,i.sharePopup=!0)):Object(n["a"])(a.msg)}))},getListData:function(){var e=this;n["a"].loading({message:"",forbidClick:!0}),this.initData();var t={},i="";if(4!=this.childTabIndex&&(t.owner_type=this.tabIndex,0==this.tabIndex&&(t.is_bind_owner_uid=this.childTabIndex),""!=this.searchText&&(t.kwd=this.searchText),i="plugin.group-develop-user.frontend.group-chat.get-list"),1==this.tabIndex&&4==this.childTabIndex){if(t.member_name=this.searchMemberName,t.group_name=this.searchText,this.filterConfig)for(var a in this.filterConfig)t[a]=this.filterConfig[a].value;i="plugin.group-develop-user.frontend.group-chat-member.inviterGetList"}$http.get(i,t).then((function(t){n["a"].clear(),1===t.result?(e.listData=t.data.data,e.isLoadMore=!0,e.total_page=t.data.last_page,e.total_page||(e.total_page=0)):Object(n["a"])(t.msg)}))},getMoreData:function(){var e=this;return Object(o["a"])(Object(s["a"])().mark((function t(){var i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isLoadMore=!1,!(e.page>=e.total_page)){t.next=5;break}return t.abrupt("return");case 5:e.page+=1,i={owner_type:e.tabIndex,page:e.page},0==tabIndex&&(i.is_bind_owner_uid=e.childTabIndex),""!=e.searchText&&(i.kwd=e.searchText),$http.get("plugin.group-develop-user.frontend.group-chat.get-list",i).then((function(t){if(e.isLoadMore=!0,1!==t.result)return e.page=e.page-1,void(e.isLoadMore=!1);var i=t.data.data;e.listData=e.listData.concat(i)}));case 10:case"end":return t.stop()}}),t)})))()},dateFormat:function(e,t){var i,a={"Y+":t.getFullYear().toString(),"m+":(t.getMonth()+1).toString(),"d+":t.getDate().toString(),"H+":t.getHours().toString(),"M+":t.getMinutes().toString(),"S+":t.getSeconds().toString()};for(var r in a)i=new RegExp("("+r+")").exec(e),i&&(e=e.replace(i[1],1==i[1].length?a[r]:a[r].padStart(i[1].length,"0")));return e},confirmFilter:function(e){this.filterConfig=e,this.filterPopup=!1,this.getListData()},delFilter:function(e){var t=this;this.$refs.filterPopup[e]=null,setTimeout((function(){t.$refs.filterPopup.confirm()}),50)},closeFilterPop:function(){this.$refs.filterPopup.confirm()}}},E=S,F=E,N=(i("ef25"),Object(g["a"])(F,a,r,!1,null,"702910b4",null));t["default"]=N.exports},"525d":function(e,t,i){"use strict";i("e99c")},"5db34":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".imgs[data-v-663ce06c]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%}.imgs[data-v-663ce06c],.imgs .wrapper[data-v-663ce06c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%}.imgs .wrapper[data-v-663ce06c]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.imgs .img[data-v-663ce06c]{height:0;background-image:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/group_develop_user_index_bg.png);background-size:cover;background-repeat:no-repeat}.imgs .img[data-v-663ce06c]:first-child:last-child{width:100%;padding-bottom:100%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(2),.imgs .img:first-child:nth-last-child(2)+.img[data-v-663ce06c]{width:40%;padding-bottom:40%}.imgs .img:first-child:nth-last-child(2)+.img[data-v-663ce06c]{margin-left:5%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(3){width:40%;padding-bottom:40%;margin-left:30%;margin-right:30%;margin-bottom:5%}.imgs .img:first-child:nth-last-child(3)~.img[data-v-663ce06c]{width:40%;padding-bottom:40%;margin-left:5%}.imgs .img:first-child:nth-last-child(3)+.img[data-v-663ce06c]{margin-left:0}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(4),.imgs .img:first-child:nth-last-child(4)~.img[data-v-663ce06c]{width:40%;padding-bottom:40%;margin:2.5%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(5){margin-left:10%;margin-right:2.5%;margin-bottom:2.5%;margin-top:2%;width:29%;padding-bottom:29%}.imgs .img:first-child:nth-last-child(5)~.img[data-v-663ce06c]{width:29%;padding-bottom:29%;margin:2% 1.25%}.imgs .img:first-child:nth-last-child(5)+.img[data-v-663ce06c]{margin-right:10%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(6),.imgs .img:first-child:nth-last-child(6)~.img[data-v-663ce06c]{width:29%;padding-bottom:29%;margin:1%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(7){width:29%;padding-bottom:29%;margin-left:30%;margin-right:32%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(7),.imgs .img:first-child:nth-last-child(7)~.img[data-v-663ce06c]{width:29%;padding-bottom:29%}.imgs .img:first-child:nth-last-child(7)~.img[data-v-663ce06c]{margin-top:2%;margin-right:2%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(8){margin-left:10%;margin-right:2%;margin-top:2%;width:29%;padding-bottom:29%}.imgs .img:first-child:nth-last-child(8)~.img[data-v-663ce06c]{width:29%;padding-bottom:29%;margin-top:2%;margin-left:2%}.imgs .img:first-child:nth-last-child(8)+.img[data-v-663ce06c]{margin-right:10%}.imgs .img[data-v-663ce06c]:first-child:nth-last-child(9),.imgs .img:first-child:nth-last-child(9)~.img[data-v-663ce06c]{width:29%;padding-bottom:29%;margin:1%}",""]),e.exports=t},"6e9a":function(e,t,i){"use strict";i("fde0")},7878:function(e,t,i){"use strict";i("097b")},"9f66":function(e,t,i){"use strict";i("eac6")},b34e:function(e,t,i){var a=i("17fa");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("499e").default;r("2f0ec093",a,!0,{sourceMap:!1,shadowMode:!1})},cacc:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".item[data-v-3bf6f16c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;background-color:#fff;-webkit-box-shadow:0 .031rem .5rem 0 hsla(0,0%,84.7%,.41);box-shadow:0 .031rem .5rem 0 hsla(0,0%,84.7%,.41);padding:.625rem;border-radius:.313rem}.item .group_img[data-v-3bf6f16c],.item .group_img img[data-v-3bf6f16c]{width:2.813rem;height:2.813rem}.item .group_img img[data-v-3bf6f16c]{background-color:#d0d0d0;border-radius:.125rem}.item .wrapper[data-v-3bf6f16c]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;flex-direction:column;margin-left:.625rem;text-align:left}.item .wrapper[data-v-3bf6f16c],.item .wrapper .info[data-v-3bf6f16c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column}.item .wrapper .info[data-v-3bf6f16c]{flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;line-height:20px}.item .wrapper .info .name[data-v-3bf6f16c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.item .wrapper .info .name .text[data-v-3bf6f16c]{font-size:.938rem;color:#333}.item .wrapper .info .name .label[data-v-3bf6f16c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:2.5rem;height:1.125rem;margin-left:.5rem;font-size:.75rem;color:#fff;background-image:-webkit-gradient(linear,left top,right top,from(#ff762a),to(#ffa210));background-image:-webkit-linear-gradient(left,#ff762a,#ffa210);background-image:linear-gradient(90deg,#ff762a,#ffa210);border-radius:.188rem}.item .wrapper .info .time[data-v-3bf6f16c]{font-size:.75rem;color:#999}.item .wrapper .status[data-v-3bf6f16c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-top:.3rem}.item .wrapper .status .label[data-v-3bf6f16c]{padding:.2rem .35rem;margin-left:.625rem;color:#38a5fa;font-size:.688rem;background-color:#e3f2fe;border-radius:.125rem}.item .wrapper .status .label.gray[data-v-3bf6f16c]{color:#7e7e7e;background-color:#ededed}.item .wrapper .status .label[data-v-3bf6f16c]:first-child{margin-left:0}.item .qrcode[data-v-3bf6f16c]{font-size:.75rem;color:#f14e4e}",""]),e.exports=t},d87e:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".sharePopup-box[data-v-9f1b13e8]{width:16.875rem;background-color:#fff;border-radius:.313rem;padding:1rem .625rem;margin-bottom:40px}.sharePopup-box .posterImg[data-v-9f1b13e8]{margin-bottom:.625rem;width:15.625rem;background-color:#e8e8e8;border-radius:.313rem}.sharePopup-box .text[data-v-9f1b13e8]{text-align:left;font-size:.688rem;color:#202020;margin-bottom:.625rem}.sharePopup-box .poster-url[data-v-9f1b13e8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.sharePopup-box input[data-v-9f1b13e8]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:24px;padding:0 .5rem;font-size:.625rem;background-color:#f8f7f7;border:none;margin-right:.625rem}.sharePopup[data-v-9f1b13e8] .van-popup__close-icon{right:125px;bottom:0;padding:4px;font-size:14px;color:#fff;border:2px solid #fff;font-weight:600;border-radius:50%}",""]),e.exports=t},e99c:function(e,t,i){var a=i("2c28");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("499e").default;r("1cfead46",a,!0,{sourceMap:!1,shadowMode:!1})},eac6:function(e,t,i){var a=i("cacc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("499e").default;r("736f4dc2",a,!0,{sourceMap:!1,shadowMode:!1})},ef25:function(e,t,i){"use strict";i("b34e")},fde0:function(e,t,i){var a=i("5db34");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("499e").default;r("192c89b6",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |