hotime/example/tpt/wx/js/chunk-618a0a70.2d03cb56.js

2 lines
13 KiB
JavaScript
Raw Normal View History

2022-02-28 01:59:05 +00:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-618a0a70"],{"0043":function(e,t,i){"use strict";i("bdfc")},"00b4":function(e,t,i){"use strict";i("ac1f");var n=i("23e7"),c=i("da84"),r=i("c65b"),a=i("e330"),o=i("1626"),s=i("861d"),A=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),g=c.Error,f=a(/./.test);n({target:"RegExp",proto:!0,forced:!A},{test:function(e){var t=this.exec;if(!o(t))return f(this,e);var i=r(t,this,e);if(null!==i&&!s(i))throw new g("RegExp exec method returned something other than an Object or null");return!!i}})},"6d97":function(e,t,i){"use strict";i.r(t);var n=i("f2bf"),c=i("eadd"),r=i.n(c),a=i("cce5"),o=i.n(a),s=function(e){return Object(n["C"])("data-v-08130549"),e=e(),Object(n["A"])(),e},A={class:"CompanyRegistered"},g=s((function(){return Object(n["i"])("div",{class:"flowbox"},[Object(n["i"])("div",{class:"flowcon"},[Object(n["i"])("img",{src:r.a,class:"circle2"}),Object(n["i"])("i",{class:"lines2"}),Object(n["i"])("img",{src:r.a,class:"circle2"}),Object(n["i"])("i",{class:"lines2"}),Object(n["i"])("img",{src:o.a,class:"circle1"})]),Object(n["i"])("div",{class:"flowpox"},[Object(n["i"])("div",{style:{color:"#478ff3"}},"上传身份信息"),Object(n["i"])("div",{style:{"margin-left":"24px",color:"#478ff3"}},"上传企业信息"),Object(n["i"])("div",{style:{"margin-left":"50px"}},"完成")])],-1)})),f={class:"fabox"},u={class:"upphoto"},l=s((function(){return Object(n["i"])("h1",{class:"bigtitle"},"上传营业执照",-1)})),d=s((function(){return Object(n["i"])("h2",{class:"stitle"},"完成认证需要核实营业执照信息,请拍摄企业的营业执照",-1)})),m={class:"photobox"},B=["src"],C=Object(n["j"])("完成认证");function h(e,t,i,c,r,a){var o=Object(n["G"])("van-nav-bar"),s=Object(n["G"])("van-field"),h=Object(n["G"])("van-cell-group"),p=Object(n["G"])("van-uploader"),w=Object(n["G"])("van-button");return Object(n["z"])(),Object(n["h"])("div",A,[Object(n["k"])(o,{title:"企业认证","left-arrow":"",onClickLeft:a.onClickLeft},null,8,["onClickLeft"]),g,Object(n["i"])("div",f,[Object(n["k"])(h,{inset:"",style:{border:"1px solid #ccc"}},{default:Object(n["O"])((function(){return[Object(n["k"])(s,{modelValue:r.form.company_name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return r.form.company_name=e}),label:"企业名称",placeholder:"请输入企业名称"},null,8,["modelValue"]),Object(n["k"])(s,{modelValue:r.form.company_sn,"onUpdate:modelValue":t[1]||(t[1]=function(e){return r.form.company_sn=e}),label:"社会信用代码",placeholder:"请输入社会信用代码"},null,8,["modelValue"])]})),_:1})]),Object(n["i"])("div",u,[l,d,Object(n["i"])("div",m,[Object(n["k"])(p,{"after-read":a.afterRead},{default:Object(n["O"])((function(){return[Object(n["i"])("img",{src:null==r.form.company_img?"img/zhizao.png":a.setImg(r.form.company_img),style:{width:"300px",height:"194px"}},null,8,B)]})),_:1},8,["after-read"])])]),Object(n["i"])("div",{class:"nextbtn",onClick:t[2]||(t[2]=function(){return a.nextClick&&a.nextClick.apply(a,arguments)})},[Object(n["k"])(w,{type:"primary",block:"",round:"",size:"large",color:"#2f58e4"},{default:Object(n["O"])((function(){return[C]})),_:1})])])}i("e17f");var p=i("2241"),w=(i("ac1f"),i("00b4"),i("e9c4"),i("c1fb")),Q=i("c1df"),O=i.n(Q),R={name:"Companytwo",data:function(){return{loading:!1,finished:!1,refreshing:!1,form:{name:"",idcard:"",phone:"",idcard_front_img:null,idcard_back_img:null,company_name:"",company_sn:"",company_img:null}}},mounted:function(){var e=localStorage.getItem("data");null!=e&&(this.form=JSON.parse(e))},methods:{nextClick:function(){var e=this,t=/^[\u4e00-\u9fa5]{2,60}$/;null==this.form.company_name||this.form.company_name.length<2||!t.test(this.form.company_name)?p["a"].alert({message:"企业名称输入错误"}):0!=this.Tyshyxdm(this.form.company_sn)?null!=this.form.company_img?(localStorage.setItem("data",JSON.stringify(this.form)),this.form["org_id"]=Object(w["b"])("org_id"),Object(w["e"])("app/user/auth",this.form).then((function(t){Object(w
//# sourceMappingURL=chunk-618a0a70.2d03cb56.js.map