1"use strict";(self.webpackChunkblockman_pc=self.webpackChunkblockman_pc||[]).push([[5217],{14585:function(t,e,s){s.r(e),s.d(e,{default:function(){return r}});s(26910),s(26099),s(23500);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bm-clan-request-item cr fl",on:{click:function(e){return t.handleClickFriendCard()}}},[e("div",{staticClass:"fl"},[e("div",{staticClass:"bm-friend-head-border"},[e("div",{staticClass:"bm-friend-avatar-box"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.item.headPic||t.$config.default_head_src,expression:"item.headPic || $config.default_head_src"}],key:t.item.headPic||t.$config.default_head_src,staticClass:"bm-new-friend-head",attrs:{alt:""}})])])]),t._v(" "),e("div",{staticClass:"bm-friends-info-name fl"},[e("div",{staticClass:"ellipse bm-user-name"},[t._v(t._s(t.item.nickName))]),t._v(" "),e("div",{staticClass:"ellipse bm-user-name"},[t._v(t._s(t.$t("clan.user_id"))+"ï¼"+t._s(t.item.userId))]),t._v(" "),t.item.msg?e("div",{staticClass:"ellipse bm-friends-status",attrs:{title:t.item.msg}},[t._v(t._s(t.$t("friends.greeting"))+": "+t._s(t.item.msg))]):t._e()]),t._v(" "),e("div",{staticClass:"bm-new-friends-status-btn"},[0==t.item.status?e("div",[e("el-button",{staticClass:"bm-btn bm-btn-active w210",attrs:{type:"text"},on:{click:function(e){return e.stopPropagation(),t.put_agreement()}}},[t._v(t._s(t.$t("clan.consent")))]),t._v(" "),e("el-button",{staticClass:"bm-btn bm-btn-active w220",attrs:{type:"text"},on:{click:function(e){return e.stopPropagation(),t.put_rejection()}}},[t._v(t._s(t.$t("clan.refuse")))])],1):1==t.item.status?e("div",{staticClass:"bm-friend-handled"},[e("span",[t._v(t._s(t.$t("friends.consented")))])]):2==t.item.status?e("div",{staticClass:"bm-friend-handled"},[e("span",[t._v(t._s(t.$t("friends.refused")))])]):3==t.item.status?e("div",{staticClass:"bm-friend-handled"},[e("span",[t._v(t._s(t.$t("clan.into_clan")))])]):t._e()])])};a._withStripped=!0;var i=s(82667),n={data:function(){return{}},props:["item"],created:function(){},methods:{put_agreement:function(){var t=this;return this.$td("åæå å
¥ç³è¯·","clan_apply_consent"),(0,i.RF)(this.item.userId).then(function(e){1==e.data.code?(t.$messager.success(t.$t("clan.tips_join_clan_success")),t.$store.state.global_event.get_clan_message(),t.$store.state.global_event.get_clan_member_list()):7001==e.data.code?t.$messager.error(t.$t("clan.tips_joined_clan")):7005==e.data.code?t.$messager.error(t.$t("clan.tips_clan_member_full")):7015==e.data.code?t.$messager.error(t.$t("clan.tips_day_member_full")):t.$messager.error(e.data.msg)})},put_rejection:function(){var t=this;return this.$td("æç»å å
¥ç³è¯·","clan_apply_refuse"),(0,i.qy)(this.item.userId).then(function(e){t.$store.state.global_event.get_clan_message(),1==e.data.code?t.$messager.success(t.$t("clan.tips_refuse_join_clan")):7004==e.data.code?t.$messager.error(t.$t("clan.not_is_elder")):t.$messager.error(e.data.msg)})},handleClickFriendCard:function(){this.$store.commit("change_state",{name:"friend_info_dialog_config",newData:{show_status:!0,user_id:this.item.userId}})}}},r={template:'<div class="bm-clan-request"> <section v-if="is_clan_role==20"> <label>{{$t(\'clan.join_clan_without_verify\')}}</label> <el-switch class="bm-verification-switch" v-model="verificationValue" width="73" active-color="#3faa27" inactive-color="#cccccc" @change="handleChangeVerification"> </el-switch> </section> <div class="bm-request-box"> <requestCard v-for="(item,index) in requestList" :item="item"></requestCard> <div v-if="requestList.length === 0"> <null-data :show="true"> <p>{{$t(\'friends.not_available\')}}</p> </null-data> </div> </div> </div> ',data:function(){return{verificationValue:!1}},components:{requestCard:(0,s(14486).A)(n,a,[],!1,null,"b970d850",null).exports},computed:{requestList:function(){var t=[];return this.$store.state.clan_message.forEach(function(e){0===e.type&&t.push(e)}),t.sort(function(t,e){return 0==t.status?-1:0==e.status?1:0}),t},is_clan_role:function(){return this.$store.getters.is_clan_role}},watch:{"$store.state.clanData":function(t){this.verificationValue=1==t.freeVerify},"$store.state.isCallClanData":function(){this.$store.state.needQuitClan||this.$store.state.global_event.get_clan_message()}},created:function(){this.verificationValue=1==this.$store.state.clanData.freeVerify,this.$store.state.isCallClanData&&!this.$store.state.needQuitClan&&this.$store.state.global_event.get_clan_message()},methods:{handleChangeVerification:function(){var t=this;this.verificationValue?this.$td("æå¼å
认è¯å å
¥","clan_certify_on"):this.$td("å
³éå
认è¯å å
¥","clan_certify_off"),20==this.is_clan_role&&(0,i.E_)(this.verificationValue?1:0).then(function(e){1==e.data.code?(t.$store.state.global_event.get_clan_info_base(),t.$messager.success(t.$t("global.modifySuccess"))):t.$messager.error(e.data.message)})}}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.