1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d9b7d3a"],{4994:function(t,e,s){"use strict";var i=s("dff4"),a=s.n(i);a.a},"5bd6":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.isLoading,expression:"isLoading"}],staticClass:"pub-modal invite-modal",attrs:{"element-loading-text":t.$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:t.hidePopup}})]),s("div",{staticClass:"modal-bd clearfix"},[s("div",{staticClass:"left"},[s("div",{staticClass:"search-input"},[s("input",{attrs:{type:"text",placeholder:t.$t("invite.searchContact")},on:{input:function(e){return t.searchUser(e,t.checkList)}}}),s("i",{staticClass:"el-icon-search"})]),s("div",{staticClass:"user-list select-list pub-scroll-box"},[t.showNum>0&&!t.isSearchGroup?t._l(t.checkList,function(e,i){return s("div",{key:i},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"item.isShow"}],staticClass:"user-item",class:{checked:e.isChecked},on:{click:function(s){return t.changeState(e.user_id)}}},[e.cover_photo?s("img",{staticClass:"user-avatar",attrs:{src:e.cover_photo,alt:""}}):s("div",{staticClass:"user-avatar",class:"avatar_bg"+e.user_id%9,attrs:{"data-name":e.nick_name.slice(0,2).toUpperCase()}}),s("span",{staticClass:"name"},[t._v(t._s(e.nick_name))]),e.isChoosed?s("i",{staticClass:"el-icon-circle-check is-choosed"}):2!=e.is_admin?s("div",[e.isChecked?s("i",{staticClass:"el-icon-circle-check"}):s("i",{staticClass:"el-icon-circle-uncheck"})]):t._e()])])}):s("div",{staticClass:"no-data"},[t._v(t._s(t.$t("invite.noContact")))])],2)]),s("div",{staticClass:"right"},[5==this.inviteType?s("p",{staticClass:"tips"},[t._v(t._s(t.$t("invite.transferGroupOwner")))]):this.checkedNum?s("p",{staticClass:"tips"},[t._v(t._s(t.$t("invite.seleted"))+t._s(t.checkedNum)+t._s(t.$t("invite.numberMember")))]):3==this.inviteType?s("p",{staticClass:"tips"},[t._v(t._s(t.$t("invite.checkDeleteMemberTips")))]):s("p",{staticClass:"tips"},[t._v(t._s(t.$t("invite.checkAddMemberTips"))+t._s(4==this.inviteType?t.$t("public.admin"):t.$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:t.groupName,expression:"groupName"}],attrs:{type:"text",placeholder:t.$t("invite.writeGroupName")},domProps:{value:t.groupName},on:{input:function(e){e.target.composing||(t.groupName=e.target.value)}}})]):t._e(),s("div",{staticClass:"user-list pub-scroll-box"},[t._l(t.checkList,function(e,i){return[e.isChecked?s("div",{key:i,staticClass:"user-item"},[e.cover_photo?s("img",{staticClass:"user-avatar",attrs:{src:e.cover_photo,alt:""}}):s("div",{staticClass:"user-avatar",class:"avatar_bg"+e.user_id%9,attrs:{"data-name":e.nick_name.slice(0,2).toUpperCase()}}),s("span",{staticClass:"name"},[t._v(t._s(e.nick_name))]),s("i",{staticClass:"el-icon-circle-close",on:{click:function(s){return t.changeState(e.user_id,!1)}}})]):t._e()]})],2),s("div",{staticClass:"send-btn"},[s("el-button",{attrs:{type:"primary",disabled:1!=this.inviteType&&t.checkedNum<=0},on:{click:t.optSubmit}},[t._v(t._s(t.$t("public.confirm")))]),s("el-button",{on:{click:t.hidePopup}},[t._v(t._s(t.$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},mixins:[l["b"]],methods:{hidePopup:function(){this.$emit("hidePopup")}}},d=r,u=(s("4994"),s("fc05")),p=Object(u["a"])(d,i,a,!1,null,"28045daa",null);e["default"]=p.exports},dff4:function(t,e,s){}}]);
|