iedc-go/example/tpt/wx/js/chunk-4e5f88ae.646e8c2f.js
2022-03-12 23:52:42 +08:00

2 lines
19 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e5f88ae"],{"00b4":function(t,e,n){"use strict";n("ac1f");var o=n("23e7"),c=n("da84"),a=n("c65b"),i=n("e330"),r=n("1626"),l=n("861d"),s=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),u=c.Error,f=i(/./.test);o({target:"RegExp",proto:!0,forced:!s},{test:function(t){var e=this.exec;if(!r(e))return f(this,t);var n=a(e,this,t);if(null!==n&&!l(n))throw new u("RegExp exec method returned something other than an Object or null");return!!n}})},1703:function(t,e,n){},2241:function(t,e,n){"use strict";var o,c=n("f2bf"),a=n("f344"),i=n("c199"),r=n("1da4"),l=n("fe7e"),s=n("f691"),u=n("7e3e"),f=n("8da3"),d=n("b1d2"),g=n("8405"),m=n("f827"),b=n("e41f"),A=n("b650"),B=n("7f9b"),[O,C]=Object(l["a"])("action-bar"),h=Symbol(O),p={safeAreaInsetBottom:s["g"]},w=Object(c["l"])({name:O,props:p,setup(t,e){var{slots:n}=e,{linkChildren:o}=Object(B["e"])(h);return o(),()=>Object(c["k"])("div",{class:[C(),{"van-safe-area-bottom":t.safeAreaInsetBottom}]},[null==n.default?void 0:n.default()])}}),j=Object(i["a"])(w),v=n("4eda"),k=n("b070"),[I,x]=Object(l["a"])("action-bar-button"),R=Object(a["a"])({},k["a"],{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),Q=Object(c["l"])({name:I,props:R,setup(t,e){var{slots:n}=e,o=Object(k["b"])(),{parent:a,index:i}=Object(B["i"])(h),r=Object(c["d"])(()=>{if(a){var t=a.children[i.value-1];return!(t&&"isButton"in t)}}),l=Object(c["d"])(()=>{if(a){var t=a.children[i.value+1];return!(t&&"isButton"in t)}});return Object(v["a"])({isButton:!0}),()=>{var{type:e,icon:a,text:i,color:s,loading:u,disabled:f}=t;return Object(c["k"])(A["a"],{class:x([e,{last:l.value,first:r.value}]),size:"large",type:e,icon:a,color:s,loading:u,disabled:f,onClick:o},{default:()=>[n.default?n.default():i]})}}}),E=Object(i["a"])(Q),[D,F,H]=Object(l["a"])("dialog"),J=Object(a["a"])({},m["b"],{title:String,theme:String,width:s["f"],message:[String,Function],callback:Function,allowHtml:Boolean,className:s["h"],transition:Object(s["e"])("van-dialog-bounce"),messageAlign:String,closeOnPopstate:s["g"],showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showConfirmButton:s["g"],closeOnClickOverlay:Boolean}),P=[...m["a"],"transition","closeOnPopstate"],S=Object(c["l"])({name:D,props:J,emits:["confirm","cancel","update:show"],setup(t,e){var{emit:n,slots:o}=e,i=Object(c["D"])({confirm:!1,cancel:!1}),r=t=>n("update:show",t),l=e=>{r(!1),null==t.callback||t.callback(e)},s=e=>()=>{t.show&&(n(e),t.beforeClose?(i[e]=!0,Object(u["a"])(t.beforeClose,{args:[e],done(){l(e),i[e]=!1},canceled(){i[e]=!1}})):l(e))},m=s("cancel"),B=s("confirm"),O=()=>{var e=o.title?o.title():t.title;if(e)return Object(c["k"])("div",{class:F("header",{isolated:!t.message&&!o.default})},[e])},C=e=>{var{message:n,allowHtml:o,messageAlign:a}=t,i=F("message",{"has-title":e,[a]:a}),r=Object(f["b"])(n)?n():n;return o&&"string"===typeof r?Object(c["k"])("div",{class:i,innerHTML:r},null):Object(c["k"])("div",{class:i},[r])},h=()=>{if(o.default)return Object(c["k"])("div",{class:F("content")},[o.default()]);var{title:e,message:n,allowHtml:a}=t;if(n){var i=!(!e&&!o.title);return Object(c["k"])("div",{key:a?1:0,class:F("content",{isolated:!i})},[C(i)])}},p=()=>Object(c["k"])("div",{class:[d["d"],F("footer")]},[t.showCancelButton&&Object(c["k"])(A["a"],{size:"large",text:t.cancelButtonText||H("cancel"),class:F("cancel"),style:{color:t.cancelButtonColor},loading:i.cancel,onClick:m},null),t.showConfirmButton&&Object(c["k"])(A["a"],{size:"large",text:t.confirmButtonText||H("confirm"),class:[F("confirm"),{[d["b"]]:t.showCancelButton}],style:{color:t.confirmButtonColor},loading:i.confirm,onClick:B},null)]),w=()=>Object(c["k"])(j,{class:F("footer")},{default:()=>[t.showCancelButton&&Object(c["k"])(E,{type:"warning",text:t.cancelButtonText||H("cancel"),class:F("cancel"),color:t.cancelButtonColor,loading:i.cancel,onClick:m},null),t.showConfirmButton&&Object(c["k"])(E,{type:"danger",text:t.confirmButtonText||H("confirm"),class:F("confirm"),color:t.confirmButtonColor,loading:i.confirm,onClick:B},null)]}),v=()=>o.footer?o.footer():"round-button"===t.theme?w():p();return()=>{var{width:e,title:n,theme:o,message:i,className:l}=t;return Object(c["k"])(b["a"],Object(c["r"])({role:"dialog",class:[F([o]),l],style:{width:Object(g["a"])(e)},"aria-labelledby":n||i,"onUpdate:show":r},Object(a["e"])(t,P)),{default:()=>[O(),h(),v()]})}}});function M(){var t={setup(){var{state:t,toggle:e}=Object(r["b"])();return()=>Object(c["k"])(S,Object(c["r"])(t,{"onUpdate:show":e}),null)}};({instance:o}=Object(r["a"])(t))}function y(t){return a["c"]?new Promise((e,n)=>{o||M(),o.open(Object(a["a"])({},y.currentOptions,t,{callback:t=>{("confirm"===t?e:n)(t)}}))}):Promise.resolve()}y.defaultOptions={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1},y.currentOptions=Object(a["a"])({},y.defaultOptions),y.alert=y,y.confirm=t=>y(Object(a["a"])({showCancelButton:!0},t)),y.close=()=>{o&&o.toggle(!1)},y.setDefaultOptions=t=>{Object(a["a"])(y.currentOptions,t)},y.resetDefaultOptions=()=>{y.currentOptions=Object(a["a"])({},y.defaultOptions)},y.Component=Object(i["a"])(S),y.install=t=>{t.use(y.Component),t.config.globalProperties.$dialog=y};e["a"]=y},"2fcb":function(t,e,n){},"39e0":function(t,e,n){},b0c0:function(t,e,n){var o=n("83ab"),c=n("5e77").EXISTS,a=n("e330"),i=n("9bf2").f,r=Function.prototype,l=a(r.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=a(s.exec),f="name";o&&!c&&i(r,f,{configurable:!0,get:function(){try{return u(s,l(this))[1]}catch(t){return""}}})},c1fb:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"e",(function(){return l})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return u}));n("e17f");var o=n("2241"),c=(n("e9c4"),n("d3b7"),n("b0c0"),"/"),a=null;function i(t,e){if(null==e)return e=localStorage.getItem(t),null==e?null:(e=JSON.parse(e),e["data"]);localStorage.setItem(t,null),localStorage.setItem(t,JSON.stringify({data:e}))}function r(){return null==a&&(a=localStorage.getItem("token")),a}function l(t){return null==t?(a=null,void localStorage.removeItem("token")):(a=localStorage.setItem("token",t),a)}function s(t,e){null==e&&(e={}),null!=r()&&(e["token"]=r());var n=new Promise((function(n){window.H.get(window.H.makeUrl(c+t,e),(function(t){if(2==t.status&&window.H.upUrl("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2edb802f5c3ae1ae&redirect_uri="+window.H.makeUrl("wx/wx.html")+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"),6==t.status)return l(null),void(location.hash="#/companytwo");0==t.status?n(t):Object(o["a"])({message:t.error.msg})}))}));return n}function u(t,e){var n={};null!=r()&&(n={token:r()});var a=new Promise((function(a){window.H.post(window.H.makeUrl(c+t,n),e,(function(t){if(2==t.status&&window.H.upUrl("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2edb802f5c3ae1ae&redirect_uri="+window.H.makeUrl("wx/wx.html")+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"),6==t.status)return l(null),void(location.hash="#/companytwo");0==t.status?a(t):Object(o["a"])({message:t.error.msg})}))}));return a}},cce5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBCAYAAADnoNlQAAAO/klEQVR4nO1diVYiyRINoNhFwaVbe++eef//I/0JM6+dXkYUFxBBZKl6B94N+pIigmxFEfecPIgoSsWtiMjYMvb161cJEWIikhCROB77KyUiGRHJi0hBRHZFZE9ESiJSxNe7eC2PlRORrIiksZJYHlYCz/t/r78CrI6I9ESki9XBehCRtog0aTVEpC4iNayqiNzg61u81v+ZFn63h+XjMQjLZY+H4H8wrBleyASgd2iK7twM7uwdRxMUSRMUxmiCDFZqAZqgDW2QdN4rTu+hUC3m4eea0AZdei/B81AgTCRIkRALEHqehF+g7xeIEDtYORK+awq8KT9rynnedYTXoqUm4Q5LTUAdz+vO8wZ9v4HVfuL/WCnCQoIkBNq/sw9oleiOV2FnafEdr3d9yrn754FH2qiLv8uaob/u5Tcp7mkpOarkL1zRSsB/6Kz30oeDBDkQ4FBEjkTktYiciMgxvndAJMiOUcmumtcVm+JvzwLPcVRds8HmoyO/iVCF4C9FpCwiZ0ReDxqkudxLPBnrIIFHQsyCAPsQ/msI/w2IcITXirhwaccOq6Bdu7wsxBzTEpCXH9DyoSWaIMG1iFTIfLEPcw0i3BOBVuovrJoEHi7CLqn/fQj7FR7161fQAur4rULIs2IS+dL4v3POtnUHZk41XwVEqIIMt/AXVmYmVkmCOC7AIQSsd74K/wCEYM9f75ZNRQxk191IBs+PIPgrkOBCRM6xLvB7NWiUpWNVJPDI7vdV/QcReS8i70CEQwh/h7x7dfaigBxugjSuQwv+Qg2+Ql/4P0H6NAXMblehEZZJArWfqhYPYOf7BPiE9Q6aoAQCpGifHaVAVoy2rTu4w9sgwgF9fo5r6C6nDv+iu6wo47J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e17f:function(t,e,n){"use strict";n("68ef"),n("d4ef"),n("cb51"),n("3743"),n("e3b3"),n("bc1b"),n("1703"),n("a71a"),n("4d75"),n("2fcb")},eadd:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAxCAYAAABznEEcAAAFM0lEQVRogcWafWxfUxjHP73WxFi7MEa8JIuXqZFtYiNjdLT7R2xLZaYiqsKIeMtI5iX4Q5YYCQuGUC9ltpglauY15q3UvIcJumZhiQUlStthMevkab5Hrt9+v3vO/fX+7r5J0+T+nnOe53vvec5zzvecqinNW8kAo4CTgdOB44GJwCHAvsBYoB/4A/gB6AG+ArqADcDfI3U/agRtI+BM4CJgDvAt8BbwGnAvsFWB94uIEToMqAOmAMuAI4B1wJPAm8BQOYGU8yWM+PnATcBfwFPAM0BvGf4PApqBFmA0sBRYBfyTppO0JE4DHgR+A24H1qcOuzQagduA/YArgc7QhqHDaW/gHuBs4FqgI8PgHdbrrwl4GngJWARs9zWMAjqfoAQ8EJhcIQJxdMjPOPmd4GvgIzFZs4i9mXOB3zMPuTjMzwL57VIcJZE0nE4AXtUnXZVT8IW4G/gReF0582Uxo1IkjhSB6/YgAQfzX6UcqQe+KzQoRmIf4DngTmBlSod1qhkzgUnKI1fsfgG+Ad5VbehO0e9K9fU8MAP4M/5jsSn2YSXV/EAH9pbmATeqaofiQ9WFtcCuwDZrgD7g8vjDwsRuAM4CLgnsdKKqdEdKAsi+Q+2PCWxzqeJriD+Mk7ChtRy4Xp/fB5utPtU4HQms/Sfqz4d+5enyeCrESbRq6fBsQGcLtdQYM0ICDmPU38IA2zWK82L3IIr9vwFYEtCJ5cpDgYUyDSL1uyCgjcW52MXgArHV6EDAWshy4HFgr4wJOFi/j8pPEizOQZcbjoStIh/zNLRZ6BGgpkIEHGrkp8pj1w5ciEhUA3M11pIwL4MkDkW9/CVhteKuNhLTgU0qRklYnBMBB5+/Xm3EphuJWQFr9zpVyjwxQ36TYLvB+kjLg40e4zk5E3CY6/n9C+C4SGx7PMYzs40tGKd6DC0N6ozE4cAWj/GknIMP9WsLv4Mj7Wn7PMbjMwwsDXx+rVbUuCl2h8e4Nv/4g/waidpIBKo9xgMZBpYGgx5bK4yDkeSX/T3GP+cf/zB8WpaRGDAS3wOHeoy/zjCwNPD5NfHtp8hNUx7jrvzjD/Jrm6nuSOLuVI/xCxkGlgY+v9PsaxmJt6VmJ6Fbe+I8sSFATDjD4jcSH+uzHOBpsDRnEnd5fjf14yiL302x6wL2uGvTiLwjRKf8JaFZw22H2xStCFA4dmkPvK3CBKz/ywJknFbF/d/O7g2JXI2ehj0iuzObeHfDTskymzx2Darmw9tpR2JIit8tAY5MDbmi3FOdBAyp39UBtrcqZ4YoUCzaVTxC9J82jcmshtY29dcWYDtfcT7hHsRJ2BHTVTpMGRvQme3JT8wg2a39tIA9PorLzvqujh+JFWpHlhsvBr4RlCOzdLrzUbrYh+3PUXtfDji0SR3/n7RUTFC2o633NbzuSxlYnbaUthM8Vp+9RqvRXqni72lqTKOKG67RjHRK4RFYMWl/u1Q4c/ZrSnm/W3++QpUWF0gjbih2hlfqkGWz1OdXNPZCZoxK4TzlaaPi2g1Jx12fAbOBl3U7YNkeILBIX2B2qaMuAkThjRrfLaoPeW1Ta+WvRf4TJaUQZXuLhKw+vY2m7GItiiYF3Se/PiUm9Y0CW7I/oIRfUoEbBTdL4bAbBe+ENkx7QaVTR8M2W9yvA8B2JX45+/DxStxWXWC5Q7NhRe92xBFpynO3bDZrg/W5pll3y2ZAYzx+y2aqitzRqhl2y8YKbW63bIrBJJ+Titx3smMsI2BEbH3k7juZAPCB9tDeuxuJAP4FMzceaQDBHHoAAAAASUVORK5CYII="},f327:function(t,e,n){"use strict";n("39e0")},f979:function(t,e,n){"use strict";n.r(e);var o=n("f2bf"),c=n("eadd"),a=n.n(c),i=n("cce5"),r=n.n(i),l=function(t){return Object(o["C"])("data-v-59012d98"),t=t(),Object(o["A"])(),t},s={class:"CompanyRegistered"},u=l((function(){return Object(o["i"])("div",{class:"flowbox"},[Object(o["i"])("div",{class:"flowcon"},[Object(o["i"])("img",{src:a.a,class:"circle2"}),Object(o["i"])("i",{class:"lines2"}),Object(o["i"])("img",{src:r.a,class:"circle1"}),Object(o["i"])("i",{class:"lines1"}),Object(o["i"])("img",{src:r.a,class:"circle1"})]),Object(o["i"])("div",{class:"flowpox"},[Object(o["i"])("div",{style:{color:"#478ff3"}},"上传身份信息"),Object(o["i"])("div",{style:{"margin-left":"24px"}},"上传企业信息"),Object(o["i"])("div",{style:{"margin-left":"50px"}},"完成")])],-1)})),f={style:{"overflow-y":"scroll",height:"calc(100vh - 136px)"}},d={class:"upphoto",style:{"padding-bottom":"60px"}},g=l((function(){return Object(o["i"])("h1",{class:"bigtitle"},"上传法人身份证信息",-1)})),m=l((function(){return Object(o["i"])("h2",{class:"stitle"},"完成认证需要核实法人身份信息,请拍摄法人身份证",-1)})),b={class:"photobox"},A=["src"],B={class:"photobox"},O=["src"],C={class:"nextbtn"},h=Object(o["j"])("下一步");function p(t,e,n,c,a,i){var r=Object(o["G"])("van-nav-bar"),l=Object(o["G"])("van-uploader"),p=Object(o["G"])("van-button"),w=Object(o["G"])("van-sticky");return Object(o["z"])(),Object(o["h"])("div",s,[Object(o["k"])(r,{title:"企业认证","left-arrow":"",onClickLeft:i.onClickLeft},null,8,["onClickLeft"]),u,Object(o["i"])("div",f,[Object(o["i"])("div",d,[g,m,Object(o["i"])("div",b,[Object(o["k"])(l,{"after-read":i.afterRead0},{default:Object(o["P"])((function(){return[Object(o["i"])("img",{src:null==a.form.idcard_front_img?"img/zheng.png":i.setImg(a.form.idcard_front_img),style:{width:"300px",height:"194px"}},null,8,A)]})),_:1},8,["after-read"])]),Object(o["i"])("div",B,[Object(o["k"])(l,{"after-read":i.afterRead1},{default:Object(o["P"])((function(){return[Object(o["i"])("img",{src:null==a.form.idcard_back_img?"img/fan.png":i.setImg(a.form.idcard_back_img),style:{width:"300px",height:"194px"}},null,8,O)]})),_:1},8,["after-read"])])])]),Object(o["k"])(w,{"offset-bottom":0,position:"bottom"},{default:Object(o["P"])((function(){return[Object(o["i"])("div",C,[Object(o["k"])(p,{type:"primary",onClick:i.nextClick,block:"",round:"",size:"large",color:"#2f58e4"},{default:Object(o["P"])((function(){return[h]})),_:1},8,["onClick"])])]})),_:1})])}n("e17f");var w=n("2241"),j=(n("b0c0"),n("ac1f"),n("00b4"),n("e9c4"),n("c1fb")),v=n("c1df"),k=n.n(v),I={name:"Companyone",data:function(){return{loading:!1,finished:!1,refreshing:!1,form:{name:"",idcard:"",phone:"",idcard_front_img:null,idcard_back_img:null}}},mounted:function(){var t=localStorage.getItem("data");null!=t&&(this.form=JSON.parse(t))},methods:{nextClick:function(){if(null!=this.form.idcard_front_img)if(null!=this.form.idcard_back_img)if(11==this.form.phone.length)if(18==this.form.idcard.length){var t=/^[\u4e00-\u9fa5]{2,4}$/;this.form.name.length<2||!t.test(this.form.name)?w["a"].alert({message:"姓名输入错误"}):(localStorage.setItem("data",JSON.stringify(this.form)),this.$router.push({path:"/companytwo"}))}else w["a"].alert({message:"身份证号码输入错误"});else w["a"].alert({message:"手机号输入错误"});else w["a"].alert({message:"请上传身份证国徽面文件"});else w["a"].alert({message:"请上传身份证人像面文件"})},afterRead0:function(t){console.log(t);var e=this;Object(j["d"])("app/user/upload",{file:t.content}).then((function(t){e.form.idcard_front_img=t.result}))},afterRead1:function(t){this.loading=!0;var e=this;Object(j["d"])("app/user/upload",{file:t.content}).then((function(t){e.form.idcard_back_img=t.result}))},getTime:function(t){return k()(1e3*t).format("YYYY-MM-DD HH:mm:ss")},setImg:function(t){return null==t||""==t?"./img/logo.png":j["a"]+t},onClickLeft:function(){return history.back()}}},x=(n("f327"),n("d959")),R=n.n(x);const Q=R()(I,[["render",p],["__scopeId","data-v-59012d98"]]);e["default"]=Q}}]);
//# sourceMappingURL=chunk-4e5f88ae.646e8c2f.js.map