1"use strict";(self["webpackChunkdemo5_vue2"]=self["webpackChunkdemo5_vue2"]||[]).push([[956],{3575:function(e,t,a){a.r(t),a.d(t,{default:function(){return p}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"information"},[t("div",{staticClass:"info_header"},[t("div",{staticClass:"header_box"},[t("span",{staticClass:"box_name"},[e._v("è´¦æ·ä¿¡æ¯")]),t("div",[t("el-link",{staticStyle:{"margin-right":"20px"},attrs:{type:"info"},on:{click:e.cancelAccount}},[e._v("注éè´¦å·")]),t("el-link",{staticStyle:{"margin-right":"20px"},attrs:{type:"info"},on:{click:e.exportAccount}},[e._v("个人信æ¯å¯¼åº")])],1)]),t("el-divider")],1),t("div",{staticClass:"info_center"},[t("div",{staticClass:"info_item mb20"},[t("span",{staticClass:"item_name mr10"},[e._v(" ç¨æ·å:")]),t("span",{staticClass:"item_value"},[e._v(e._s(e.userInfo.nickname))])]),t("div",{staticClass:"info_item mb20"},[t("span",{staticClass:"item_name mr10"},[e._v(" ææº:")]),t("span",{staticClass:"item_value"},[e._v(e._s(e.userInfo.phone))])]),e.userInfo.staffCode?e._e():t("div",{staticClass:"info_item mb20"},[t("span",{staticClass:"item_name mr10"},[e._v(" ä¼åç级:")]),t("span",{staticClass:"item_value"},[e._v(e._s(e.userObj.cardLevelName))])]),e.userInfo.staffCode?e._e():t("div",{staticClass:"info_item"},[t("span",{staticClass:"item_name mr10"},[e._v(" ä¼åå¡å·:")]),t("span",{staticClass:"item_value"},[e._v(e._s(e.userObj.cardNo))])])]),t("ConfirmDialog",{attrs:{"dialog-visible":e.isDialogShow,title:"è´¦å·æ³¨é",width:"420px",confirmText:"ä¸ä¸æ¥",showCancel:!1},on:{handleCancel:function(t){e.isDialogShow=!1},handleConfirm:e.ConformcanCellation}},[t("template",{slot:"default"},[t("div",{staticClass:"form_center"},[t("el-radio-group",{on:{change:e.radioChange},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},e._l(e.radioList,function(a){return t("el-radio",{key:a.label,attrs:{label:a.name}},[e._v(e._s(a.name))])}),1),"å
¶ä»"==e.radio?t("el-input",{attrs:{"prefix-icon":"el-icon-search",type:"textarea",autosize:{minRows:2,maxRows:4},placeholder:"æå¾
æ¨çåé¦ï¼æä»¬ä¼å°½å¿«ä¼åæå",maxlength:200},model:{value:e.textarea,callback:function(t){e.textarea=t},expression:"textarea"}},[t("i",{staticClass:"el-icon-edit el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):e._e()],1)])],2),t("ConfirmDialog",{attrs:{"dialog-visible":e.isDialogShowSure,title:"è´¦å·æ³¨é",width:"500px",confirmText:"注éè´¦å·",cancelText:"æåæ³æ³",showCancel:!0,ifDisabled:!e.checked},on:{handleCancel:function(t){e.isDialogShowSure=!1},handleConfirm:e.ConformcanCellationSure}},[t("template",{slot:"default"},[t("div",{staticClass:"form_center_sure"},[t("p",{staticClass:"header_title mb20"},[e._v(" å¾éæ¾ï¼æ æ³ç»§ç»ä¸ºæ¨æä¾æå¡ï¼æè°¢ä½ ä¸ç´ä»¥æ¥çéªä¼´ï¼æ³¨éè´¦å·åæ¨éè¦äºè§£ä»¥ä¸å
容: ")]),t("p",{staticClass:"title_value"},[e._v(" 1.æ¨çè´¦å·å°æ æ³ç»å½ä¸ä½¿ç¨ï¼æ¨çç¨æ·æçå°è¢«æ¸
ç©ºä¸æ æ³æ¢å¤ã ")]),t("p",{staticClass:"title_value"},[e._v(" 2.æ¨å°æ æ³ä¾¿æ·å°æ¥è¯¢è´¦å·åå²äº¤æè®°å½ã ")]),t("p",{staticClass:"title_value"},[e._v(" 3.æ¨çè´¦å·ä¸å
¶ä»åºç¨è´¦å·å°èªå¨è§£é¤å
³èã ")]),t("p",{staticClass:"title_value"},[e._v(" 4.æ¨çè´¦å·æ³¨éæåå伿¸
é¤å¨å¨å¤§ç¦ç å®ä¸çç»å½å¯ç ï¼ä¼æ å¸ï¼çº¢å
ï¼è´ç©æ´¥è´´ï¼è®¢åä¿¡æ¯ï¼æµè§è®°å½ï¼æ¶èï¼æ¶ä»¶å°åã ")]),t("el-checkbox",{staticStyle:{"margin-top":"40px"},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},[e._v("æ¯çï¼æç¡®è®¤æ³¨éè´¦å·ï¼æ¤æä½ä¸å¯æ¤éã")])],1)])],2),t("ConfirmDialog",{attrs:{"dialog-visible":e.exportVisable,title:"个人信æ¯å¯¼åº",width:"500px",showFooter:!1},on:{handleCancel:function(t){e.exportVisable=!1}}},[t("template",{slot:"default"},[t("div",{staticClass:"export_pop"},[t("div",{staticClass:"explain"},[t("div",{staticClass:"row"},[t("div",{staticClass:"label"},[e._v("1.")]),t("div",{staticClass:"val"},[e._v("å¯å¯¼åºå¤´åå°åãæµç§°ãä¼åå¡å·ãææºå·ç¸å
³ä¸ªäººä¿¡æ¯")])]),t("div",{staticClass:"row"},[t("div",{staticClass:"label"},[e._v("2.")]),t("div",{staticClass:"val"},[e._v("æ¯å¤©æå¤å¯ç³è¯·ä¸æ¬¡")])]),t("div",{staticClass:"row"},[t("div",{staticClass:"label"},[e._v("3.")]),t("div",{staticClass:"val"}
1,[e._v("妿¨éä¸è½½å
¶ä»ä¸ªäººä¿¡æ¯ææä»»ä½çé®ï¼å¯æ¥é
"),t("span",{staticClass:"label",on:{click:function(t){return e.showAgreementInfo("Personal_information_collection_statement_V2")}}},[e._v("ã"+e._s(e.agreement.Personal_information_collection_statement_V2.clauseTitle)+"ã")]),e._v("ï¼æéè¿è¯¥å£°æç 9.èç³»æ¹å¼ 䏿们èç³»")])]),t("div",{staticClass:"row"},[t("div",{staticClass:"label"},[e._v("4.")]),t("div",{staticClass:"val"},[e._v("æä»¬å°ä»¥é®ä»¶çå½¢å¼å°æ¨ç个人信æ¯åéè³æ¨æäº¤çé®ç®±")])])]),t("div",{staticClass:"form"},[e.isCanExport?t("div",{staticClass:"input-wrap"},[t("el-input",{attrs:{placeholder:"请è¾å
¥é®ç®±å°å"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.exportSendEmail.apply(null,arguments)}},model:{value:e.exportForm.email,callback:function(t){e.$set(e.exportForm,"email",t)},expression:"exportForm.email"}})],1):e._e(),e.isCanExport?t("div",{staticClass:"btn",on:{click:e.exportSendEmail}},[e._v("ç³è¯·å¯¼åº")]):t("div",{staticClass:"btn gray"},[e._v("å·²ç³è¯·å¯¼åº")]),e.isCanExport?e._e():t("div",{staticClass:"tips"},[e._v("æä»¬å°å¨24å°æ¶å
å°æ¨ç个人信æ¯åéè³æ¨æäº¤çç³è¯·é®ç®±ï¼24å°æ¶å
ä¸å¯éå¤ç³è¯·")])])])])],2),t("ConfirmDialog",{attrs:{"dialog-visible":e.exportEmailVisable,title:"个人信æ¯å¯¼åº",width:"500px",showFooter:!1},on:{handleCancel:function(t){e.exportEmailVisable=!1}}},[t("template",{slot:"default"},[t("div",{staticClass:"export_pop"},[t("div",{staticClass:"form"},[t("div",{staticClass:"input-wrap"},[t("div",{staticClass:"label"},[e._v("éªè¯ç å·²åéè³ "+e._s(e.exportForm.email))]),t("el-input",{attrs:{placeholder:"请è¾å
¥é®ç®±éªè¯ç "},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.exportSubmit.apply(null,arguments)}},model:{value:e.exportForm.code,callback:function(t){e.$set(e.exp
1ortForm,"code",t)},expression:"exportForm.code"}},[t("template",{slot:"append"},[t("div",{class:["countdown",e.exportCountdown.disabled?"disabled":""],on:{click:e.handleExportSend}},[e._v(e._s(e.exportCountdown.text))])])],2)],1),t("div",{staticClass:"btn",on:{click:e.exportSubmit}},[e._v("æäº¤ç³è¯·")])])])])],2),t("ConfirmDialog",{attrs:{append:!0,"dialog-visible":e.agreementDialogShow,title:e.agreementShowTitle,width:"800px",closeOnClickModal:!0,showClose:!0,showFooter:!1,showCancel:!1},on:{handleCancel:function(t){e.agreementDialogShow=!1}}},[t("template",{slot:"default"},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.agreementShowLoading,expression:"agreementShowLoading"}],staticClass:"login_slot_agre_box"},[t("div",{staticClass:"login_agreement_popup_box"},[t("el-image",{staticClass:"login_agreement_popup_img",staticStyle:{display:"block",width:"100%",height:"auto"},attrs:{placeholder:"è½½å
¥ä¸",src:e.agreementShowUrl}})],1),t("div",{staticClass:"login_agreement_popup_btn_box"})])])],2)],1)},s=[],o=a(2865),l=a(6776),n=a(283),r=a(3007),c=a(5353),d={name:"information",components:{ConfirmDialog:o.A},data(){return{isDialogShow:!1,isDialogShowSure:!1,radio:"éè¦è§£ç»ææº",checked:!1,textarea:"",userObj:{},radioList:[{value:"0",name:"éè¦è§£ç»ææº",checked:"false"},{value:"1",name:"éè¦è§£ç»é®ç®±",checked:"false"},{value:"2",name:"å®å
¨/éç§é¡¾è",checked:"false"},{value:"3",name:"è¿æ¯å¤ä½çè´¦å·",checked:"false"}
1,{value:"4",name:"ååè´ç©éå°å°é¾",checked:"false"},{value:"5",name:"å
¶ä»",checked:"false"}],agreement:{Personal_information_collection_statement_V2:{clauseKey:"Personal_information_collection_statement_V2",clauseTitle:"å¨å¤§ç¦å¹³å°ä¸ªäººä¿¡æ¯æ¶é声æ",clauseVersion:"",clauseUrl:""}},agreementDialogShow:!1,agreementShowTitle:"",agreementShowUrl:"",agreementShowLoading:!1,exportVisable:!1,exportForm:{email:"",emailOld:"",code:""},exportCountdown:{num:60,timer:null,text:"åééªè¯ç ",disabled:!1},isCanExport:!1,exportEmailVisable:!1,isRequestExport:!1}},created(){this.userInfo.staffCode||this.getMembershipInfo(),this.getAgreementInfo(),this.getExportPermission()},computed:{...(0,c.L8)(["userInfo"])},beforeDestroy(){clearTimeout(this.exportCountdown.timer)},methods:{cancelAccount(){this.isDialogShow=!0},radioChange(){this.textarea=""},ConformcanCellation(){"å
¶ä»"!==this.radio||this.textarea?(this.isDialogShow=!1,this.isDialogShowSure=!0):this.$toast("æè§åé¦ä¸è½ä¸ºç©º")},getMembershipInfo(){const e={cardNo:this.userInfo.cardNo,sourceSystem:"OFFICIAL_MALL_WEB"};(0,n.lj)(e).then(e=>{this.userObj=e})},ConformcanCellationSure(){const e={comments:"å
¶ä»"==this.radio?this.textarea:this.radio,uid:this.userInfo.uid};(0,l.HB)(e).then(e=>{200==e.code?(this.$toast("注éæå"),this.isDialogShowSure=!1,this.$store.dispatch("user/ClearUserInfo"),window.location.href=window.location.origin+"/home"):this.$toast(e.msg)})},getAgreementInfo(){this.agreementInfoRequest()},agreementInfoRequest(){let e=this;return new Promise((t,a)=>{let i=Object.keys(e.agreement),s={clauseKeys:i};(0,r.O6)(s).then(a=>{if(""+a.resultCode=="200"){let t=Object.keys(a.data);t.forEach(t=>{e.agreement[t].clauseUrl||(e.agreement[t]={},e.agreement[t].clauseKey=a.data[t].clauseKey,e.agreement[t].clauseTitle=a.data[t].clauseTitle,e.agreement[t].clauseVersion=a.data[t].clauseVersion,e.agreement[t].clauseUrl=a.data[t].clauseUrl)})}t(!0)})})},showAgreementInfo(e){this.agreementDialogShow=!0,this.agreementShowLoading=!0;let t={clauseKeys:[e]};(0,r.O6)(t).then(t=>{this.agreementShowLoading=!1,200==t.resultCode?(this.agreementShowTitle=t.data[e].clauseTitle.replace(/ï¼.*?ï¼/g,""),this.agreementShowUrl=t.data[e].clauseUrl):this.$toast(t.resultMessage)})},getExportPermission(){(0,l.fW)({uid:this.userInfo.uid}).then(e=>{200==e.code&&1==e.data&&(this.isCanExport=!0)})},exportAccount(){this.exportVisable=!0},exportSendEmail(){if(!/^.+@.+$/.test(this.exportForm.email))return this.$toast("请è¾å
¥æ£ç¡®é®ç®±å°å"),!1;this.exportForm.email==this.exportForm.emailOld?this.exportEmailVisable=!0:(this.exportCountdown.disabled=!1,this.exportCountdown.text="éæ°åé",clearTimeout(this.exportCountdown.timer),this.handleExportSend(e=>{e&&(this.exportEmailVisable=!0)}))},handleExportSend(e){if(this.exportCountdown.disabled)return!1;this.exportCountdown.disabled=!1,this.exportCountdown.text="åéä¸",this.exportForm.emailOld=this.exportForm.email,(0,l.ID)({uid:this.userInfo.uid,mail:this.exportForm.email}).then(t=>{200==t.code?(this.handleExportCountdonw(),"function"==typeof e&&e(!0)):(this.exportCountdown.disabled=!1,this.exportCountdown.text="éæ°åé",clearTimeout(this.exportCountdown.timer),this.$toast("åé失败"+(t.msg?"ï¼"+t.msg:"ï¼è¯·ç¨ååè¯")))}).catch(()=>{this.exportCountdown.disabled=!1,this.exportCountdown.text="éæ°åé",clearTimeout(this.exportCountdown.timer),this.$toast("åé失败ï¼è¯·ç¨ååè¯")})},handleExportCountdonw(){let e=this.exportCountdown.num;e--,e<=0?(this.exportCountdown.num=60,this.exportCountdown.disabled=!1,this.exportCountdown.text="éæ°åé"):(this.exportCountdown.num=e,this.exportCountdown.text=e+"s",this.exportCountdown.timer=setTimeout(()=>{this.handleExportCountdonw()},1e3))},exportSubmit(){if(this.isRequestExport)return!1;if(!/^.+@.+$/.test(this.exportForm.email))return this.$toast("请è¾å
¥æ£ç¡®é®ç®±å°å"),!1;if(!this.exportForm.code)return this.$toast("请è¾å
¥éªè¯ç "),!1;this.isRequestExport=!0;let e=this.$loading({lock:!0});(0,l.uJ)({uid:this.userInfo.uid,mail:this.exportForm.email,verificationCode:this.exportForm.code}).then(t=>{e.close(),this.isRequestExport=!1,200==t.code?(this.isCanExport=!1,this.$toast("ç³è¯·å·²æäº¤ï¼è¯·çææ¨çé®ä»¶ä¿¡æ¯"),this.exportEmailVisable=!1):this.$toast(t.msg||"ç½ç»é误")}).catch(()=>{e.close(),this.isRequestExport=!1,this.$toast("ç½ç»é误")})}}},m=d,u=a(1656),h=(0,u.A)(m,i,s,!1,null,"333a87b2",null),p=h.exports}}]);
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.