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OjYFrgBk54FZ/G1QE7kq3RJL5vRWIo5KW98guM7PZoN46/4hwgdsWeCwP3MMcT6NmSnIju0otIi5OMiHf8i0CjpVkz7d62JMScPN4M8YN3HO/Z+qqtiJPHBH7AVOBg3Pr24qviBicpMiTeeCunBY/syS1jMsigIquSaM7J6PD0xqmz8YiIo4BTCJdDsEsxo9MyTkHmC7pt6Igqq5L9OaGwlNdJ+pwSS01Uhpfj0nJOUnSfEXEIcBk4KBESx432BueBzr7i4in7vidlM9K+jb/RURDYjjpd3MHlBRl5vG7gWnAYkm/Z/siYh3AE7Or0xhkHjDCwB1rI3KK7SfAieA59/VAS2bow9MuKJdKMp83LCLMUKcBZ6XC42KSb/fM35a9rwFTPE+XtCwijk763WFic6M92sA9gDwgB8RUZg730+9R0eMe9M+X5KG+QXvuYsnsn9v51Jd5GHqVlWpEuDDelApVtq/LwP2qw41AZvbwRElOnI5YRNgBjuPtSxzogejJwLW5JM62zzXw91J8Zx/6JxsnaUKJS9ouTVQ2vaC3fZZzwdrb1dI0eFu3KjvLwK0Z/BrESWL7CjhVkgeTHbGIsN4f0i2m251tLA4zj+j2Ajx/yV7TuG8db+Aeod0DmCf9lszZbiGzIrFAbfBVX1Ylvrf3PQJx3jnBZ7hby3jcGT4SmAu8mbLZktN0WPsNWcUn971uqu1tq8cTgF1T67Y0A+6S71m3tUpjUBMRpkKzQBUer4h1pW3G9r4ruqRFEeGpsEWW5XJTq1jW+u3CtJw6dFfthVV4vBPAfYaJYqFf7CbgZj8r2KasNbm7Ok0ewD2nPd4D+H+hyzdwE4m1VNPjjnF7fI4kv7oecJYmw666jvHlWXL6v3s6zy4sdsyhZaZNq/pB3Vi7/50t6e2sQjUuTSLojKRP3MAOJODWPs9LMl037F/VSxprn+WSqAAAAABJRU5ErkJggg=="},lkys:function(t,a,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=i("SQ4B"),s=i("vGYV"),n={name:"Authentication",data:function(){return{loading:!1,selectedCardImg:"",authType:-1,authDetail:{},authInfo:{},authStatus:"",firstSubmit:0}},methods:{showLoading:function(){this.loading=!0},hideLoading:function(){this.loading=!1},gotoPersonalAuth:function(){this.$router.push({path:"/personal/authentication/individual",query:{type:this.firstSubmit}})},gotoEnterpriseAuth:function(){this.$router.push({path:"/personal/authentication/enterprise",query:{type:this.firstSubmit}})},getAuthStatus:function(){var t=this;this.showLoading();var a=Object(s.K)("user")&&Object(s.K)("user").userVO.id;e.a.get("/api/user/"+a).then(function(a){t.authInfo=a,a.personalAuthVO?(t.authType=1,t.authDetail=a.personalAuthVO,t.authStatus=a.personalAuthVO.authStatus,t.selectedCardImg="authentication-card-select"):a.agencyVO?(t.authType=2,t.authDetail=a.agencyVO,t.authStatus=a.agencyVO.authStatus,t.selectedCardImg="authentication-card-select"):a.enterpriseAuthVO&&a.agencyVO||(t.authType=0,t.firstSubmit=1),t.hideLoading()})}},mounted:function(){this.getAuthStatus()}},u={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("div",{staticClass:"right-modifyPsw"},[t._m(0),t._v(" "),e("el-row",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.authType<2?e("div",{staticClass:"authentication-card",class:t.selectedCardImg,on:{click:t.gotoPersonalAuth}},[e("div",{staticClass:"authentication-card-title"},[t._v("个人认证")]),t._v(" "),e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{span:5}},[e("div",{staticClass:"authentication-card-img"},[e("img",{attrs:{src:i("PX86")}})])]),t._v(" "),0===t.authType?e("el-col",{attrs:{span:19}},[e("div",{staticClass:"authentication-card-title"},[t._v("手持证件照上传")]),t._v(" "),e("div",{staticClass:"authentication-card-info"},[t._v("需要进行人工审核,审核周期1-3个工作日")])]):t._e(),t._v(" "),0!==t.authType?e("el-col",{attrs:{span:19}},[e("div",{staticClass:"authentication-card-title"},[e("el-tag",{attrs:{type:t.authStatus.style}},[t._v(t._s(t.authStatus.text))])],1),t._v(" "),"warning"==t.authStatus.style?e("div",{staticClass:"authentication-card-info"},[t._v("需要进行人工审核,审核周期1-3个工作日")]):t._e(),t._v(" "),"success"==t.authStatus.style?e("div",{staticClass:"authentication-card-info"},[t._v("认证成功,点击查看认证信息")]):t._e(),t._v(" "),"info"==t.authStatus.style?e("div",{staticClass:"authentication-card-info"},[t._v("认证失败,查看失败原因")]):t._e()]):t._e()],1)],1):t._e()]),t._v(" "),e("el-col",{attrs:{span:12}},[2===t.authType||0===t.authType?e("div",{staticClass:"authentication-card",class:t.selectedCardImg,on:{click:t.gotoEnterpriseAuth}},[e("div",{staticClass:"authentication-card-title"},[t._v("企业认证")]),t._v(" "),e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{span:5}},[e("div",{staticClass:"authentication-card-img"},[e("img",{attrs:{src:i("yqz6")}})])]),t._v(" "),0===t.authType?e("el-col",{attrs:{span:19}},[e("div",{staticClass:"authentication-card-title"},[t._v("手持证件照上传")]),t._v(" "),e("div",{staticClass:"authentication-card-info"},[t._v("需要进行人工审核,审核周期1-3个工作日")])]):t._e(),t._v(" "),0!==t.authType?e("el-col",{attrs:{span:19}},[e("div",{staticClass:"authentication-card-title"},[e("el-tag",{attrs:{type:t.authStatus.style}},[t._v(t._s(t.authStatus.text))])],1),t._v(" "),"warning"==t.authStatus.style?e("div",{staticClass:"authentication-card-info"},[t._v("需要进行人工审核,审核周期1-3个工作日")]):t._e(),t._v(" "),"success"==t.authStatus.style?e("div",{staticClass:"authentication-card-info"},[t._v("认证成功,点击查看认证信息")]):t._e(),t._v(" "),"info"==t.authStatus.style?e("div",{staticClass:"authentication-card-info"},[t._v("认证失败,查看失败原因")]):t._e()]):t._e()],1)],1):t._e()])],1)],1)])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"right-modifyPsw-title"},[a("span",{staticStyle:{"font-size":"18px","font-weight":"bold"}},[this._v("身份认证")])])}]};var c=i("VU/8")(n,u,!1,function(t){i("A/vs")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