1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-81a02e6e"],{"5bd6":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isLoading,expression:"isLoading"}],staticClass:"pub-modal invite-modal",attrs:{"element-loading-text":e.$t("public.loading"),"element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.2)"}},[s("div",{staticClass:"modal-hd"},[s("i",{staticClass:"el-icon-close",on:{click:e.hidePopup}})]),s("div",{staticClass:"modal-bd clearfix"},[s("div",{staticClass:"left"},[s("div",{staticClass:"search-input"},[s("input",{attrs:{type:"text",placeholder:e.$t("invite.searchContact")},on:{input:function(t){return e.searchUser(t,e.checkList)}}}),s("i",{staticClass:"el-icon-search"})]),s("div",{staticClass:"user-list select-list pub-scroll-box"},[e.showNum>0&&!e.isSearchGroup?e._l(e.checkList,function(t,i){return s("div",{key:i},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"item.isShow"}],staticClass:"user-item",class:{checked:t.isChecked},on:{click:function(s){return e.changeState(t.user_id)}}},[t.cover_photo?s("img",{staticClass:"user-avatar",attrs:{src:t.cover_photo,alt:""}}):s("div",{staticClass:"user-avatar",class:"avatar_bg"+t.user_id%9,attrs:{"data-name":t.nick_name.slice(0,2).toUpperCase()}}),s("span",{staticClass:"name"},[e._v(e._s(t.nick_name))]),t.isChoosed?s("i",{staticClass:"el-icon-circle-check is-choosed"}):2!=t.is_admin?s("div",[t.isChecked?s("i",{staticClass:"el-icon-circle-check"}):s("i",{staticClass:"el-icon-circle-uncheck"})]):e._e()])])}):s("div",{staticClass:"no-data"},[e._v(e._s(e.$t("invite.noContact")))])],2)]),s("div",{staticClass:"right"},[5==this.inviteType?s("p",{staticClass:"tips"},[e._v(e._s(e.$t("invite.transferGroupOwner")))]):this.checkedNum?s("p",{staticClass:"tips"},[e._v(e._s(e.$t("invite.seleted"))+e._s(e.checkedNum)+e._s(e.$t("invite.numberMember")))]):3==this.inviteType?s("p",{staticClass:"tips"},[e._v(e._s(e.$t("invite.checkDeleteMemberTips")))]):s("p",{staticClass:"tips"},[e._v(e._s(e.$t("invite.checkAddMemberTips"))+e._s(4==this.inviteType?e.$t("public.admin"):e.$t("public.contact")))]),1==this.inviteType?s("div",{staticClass:"group-name"},[s("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.groupName,expression:"groupName"}],attrs:{type:"text",placeholder:e.$t("invite.writeGroupName")},domProps:{value:e.groupName},on:{input:function(t){t.target.composing||(e.groupName=t.target.value)}}})]):e._e(),s("div",{staticClass:"user-list pub-scroll-box"},[e._l(e.checkList,function(t,i){return[t.isChecked?s("div",{key:i,staticClass:"user-item"},[t.cover_photo?s("img",{staticClass:"user-avatar",attrs:{src:t.cover_photo,alt:""}}):s("div",{staticClass:"user-avatar",class:"avatar_bg"+t.user_id%9,attrs:{"data-name":t.nick_name.slice(0,2).toUpperCase()}}),s("span",{staticClass:"name"},[e._v(e._s(t.nick_name))]),s("i",{staticClass:"el-icon-circle-close",on:{click:function(s){return e.changeState(t.user_id,!1)}}})]):e._e()]})],2),s("div",{staticClass:"send-btn"},[s("el-button",{attrs:{type:"primary",disabled:1!=this.inviteType&&e.checkedNum<=0},on:{click:e.optSubmit}},[e._v(e._s(e.$t("public.confirm")))]),s("el-button",{on:{click:e.hidePopup}},[e._v(e._s(e.$t("public.cancel")))])],1)])])])},a=[],c=(s("46b5"),s("dc12"),s("5cf1"),s("ad09"),s("94c8")),n=s.n(c),o=s("8973"),l=s("bced");o["default"].component(n.a.name,n.a);var r={name:"invitePopup",props:{inviteType:Number,ext:Object},mixins:[l["b"]],methods:{hidePopup:function(){this.$emit("hidePopup")}}},u=r,p=(s("cebf"),s("fc05")),d=Object(p["a"])(u,i,a,!1,null,"3b244fb2",null);t["default"]=d.exports},"628a":function(e,t,s){},cebf:function(e,t,s){"use strict";var i=s("628a"),a=s.n(i);a.a}}]);
|