forked from golang/hotime
2 lines
12 KiB
JavaScript
2 lines
12 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a847bd8a"],{"00b4":function(e,t,i){"use strict";i("ac1f");var c=i("23e7"),n=i("da84"),o=i("c65b"),a=i("e330"),r=i("1626"),s=i("861d"),g=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),l=n.Error,A=a(/./.test);c({target:"RegExp",proto:!0,forced:!g},{test:function(e){var t=this.exec;if(!r(t))return A(this,e);var i=o(t,this,e);if(null!==i&&!s(i))throw new l("RegExp exec method returned something other than an Object or null");return!!i}})},"0565":function(e,t,i){"use strict";i("70b1")},"70b1":function(e,t,i){},cce5:function(e,t){e.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/w2IcITXirhwaccOq6Bdu7wsxBzTEpCXH9DyoSWaIMG1iFTIfLEPcw0i3BOBVu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strict";i.r(t);i("b0c0");var c=i("f2bf"),n=i("eadd"),o=i.n(n),a=i("cce5"),r=i.n(a),s=function(e){return Object(c["C"])("data-v-0437339e"),e=e(),Object(c["A"])(),e},g={class:"CompanyRegistered"},l=s((function(){return Object(c["i"])("div",{class:"flowbox"},[Object(c["i"])("div",{class:"flowcon"},[Object(c["i"])("img",{src:o.a,class:"circle2"}),Object(c["i"])("i",{class:"lines2"}),Object(c["i"])("img",{src:r.a,class:"circle1"}),Object(c["i"])("i",{class:"lines1"}),Object(c["i"])("img",{src:r.a,class:"circle1"})]),Object(c["i"])("div",{class:"flowpox"},[Object(c["i"])("div",{style:{color:"#478ff3"}},"上传身份信息"),Object(c["i"])("div",{style:{"margin-left":"24px"}},"上传企业信息"),Object(c["i"])("div",{style:{"margin-left":"50px"}},"完成")])],-1)})),A={class:"fabox"},f={class:"upphoto"},d=s((function(){return Object(c["i"])("h1",{class:"bigtitle"},"上传法人身份证信息",-1)})),u=s((function(){return Object(c["i"])("h2",{class:"stitle"},"完成认证需要核实法人身份信息,请拍摄法人身份证",-1)})),m={class:"photobox"},B=["src"],C={class:"photobox"},h=["src"],b={class:"nextbtn"},O=Object(c["j"])("下一步");function R(e,t,i,n,o,a){var r=Object(c["G"])("van-nav-bar"),s=Object(c["G"])("van-field"),R=Object(c["G"])("van-cell-group"),p=Object(c["G"])("van-uploader"),Q=Object(c["G"])("van-button"),I=Object(c["G"])("van-sticky");return Object(c["z"])(),Object(c["h"])("div",g,[Object(c["k"])(r,{title:"企业认证","left-arrow":"",onClickLeft:a.onClickLeft},null,8,["onClickLeft"]),l,Object(c["i"])("div",A,[Object(c["k"])(R,{inset:"",style:{border:"1px solid #ccc"}},{default:Object(c["O"])((function(){return[Object(c["k"])(s,{modelValue:o.form.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return o.form.name=e}),label:"法人姓名",placeholder:"请输入你的真实姓名"},null,8,["modelValue"]),Object(c["k"])(s,{modelValue:o.form.idcard,"onUpdate:modelValue":t[1]||(t[1]=function(e){return o.form.idcard=e}),label:"身份证号",placeholder:"请输入你的身份证号"},null,8,["modelValue"]),Object(c["k"])(s,{modelValue:o.form.phone,"onUpdate:modelValue":t[2]||(t[2]=function(e){return o.form.phone=e}),type:"number",label:"手机号码",placeholder:"请输入你的手机号码"},null,8,["modelValue"])]})),_:1})]),Object(c["i"])("div",f,[d,u,Object(c["i"])("div",m,[Object(c["k"])(p,{"after-read":a.afterRead0},{default:Object(c["O"])((function(){return[Object(c["i"])("img",{src:null==o.form.idcard_front_img?"img/zheng.png":a.setImg(o.form.idcard_front_img),style:{width:"300px",height:"194px"}},null,8,B)]})),_:1},8,["after-read"])]),Object(c["i"])("div",C,[Object(c["k"])(p,{"after-read":a.afterRead1},{default:Object(c["O"])((function(){return[Object(c["i"])("img",{src:null==o.form.idcard_back_img?"img/fan.png":a.setImg(o.form.idcard_back_img),style:{width:"300px",height:"194px"}},null,8,h)]})),_:1},8,["after-read"])])]),Object(c["k"])(I,{"offset-bottom":0,position:"bottom"},{default:Object(c["O"])((function(){return[Object(c["i"])("div",b,[Object(c["k"])(Q,{type:"primary",onClick:a.nextClick,block:"",round:"",size:"large",color:"#2f58e4"},{default:Object(c["O"])((function(){return[O]})),_:1},8,["onClick"])])]})),_:1})])}i("e17f");var p=i("2241"),Q=(i("ac1f"),i("00b4"),i("e9c4"),i("c1fb")),I=i("c1df"),E=i.n(I),D={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 e=localStorage.getItem("data");null!=e&&(this.form=JSON.parse(e))},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 e=/^[\u4e00-\u9fa5]{2,4}$/;this.form.name.length<2||!e.test(this.form.name)?p["a"].alert({message:"姓名输入错误"}):(localStorage.setItem("data",JSON.stringify(this.form)),this.$router.push({path:"/companytwo"}))}else p["a"].alert({message:"身份证号码输入错误"});else p["a"].alert({message:"手机号输入错误"});else p["a"].alert({message:"请上传身份证国徽面文件"});else p["a"].alert({message:"请上传身份证人像面文件"})},afterRead0:function(e){console.log(e);var t=this;Object(Q["e"])("app/user/upload",{file:e.content}).then((function(e){t.form.idcard_front_img=e.result}))},afterRead1:function(e){this.loading=!0;var t=this;Object(Q["e"])("app/user/upload",{file:e.content}).then((function(e){t.form.idcard_back_img=e.result}))},getTime:function(e){return E()(1e3*e).format("YYYY-MM-DD HH:mm:ss")},setImg:function(e){return null==e||""==e?"./img/logo.png":Q["a"]+"/"+e},onClickLeft:function(){return history.back()}}},w=(i("0565"),i("d959")),j=i.n(w);const F=j()(D,[["render",R],["__scopeId","data-v-0437339e"]]);t["default"]=F}}]);
|
|
//# sourceMappingURL=chunk-a847bd8a.a5b4aeb4.js.map
|