iedc-go/tpt/wx/js/chunk-618a0a70.2d03cb56.js
2022-10-30 23:44:05 +08:00

2 lines
13 KiB
JavaScript

(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["f"])(t.result),e.$router.push({path:"/companyfinish"})}))):p["a"].alert({message:"请上传营业执照文件"}):p["a"].alert({message:"统一社会信用代码错误"})},afterRead:function(e){console.log(e);var t=this;Object(w["e"])("app/user/upload",{file:e.content}).then((function(e){t.form.company_img=e.result}))},getTime:function(e){return O()(1e3*e).format("YYYY-MM-DD HH:mm:ss")},setImg:function(e){return null==e||""==e?"./img/logo.png":w["a"]+"/"+e},onClickLeft:function(){return history.back()},Tyshyxdm:function(e){return!(null==e||e.length<5)&&(this.firstarray=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.firstkeys=[3,7,9,10,5,8,4,2],this.secondarray=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","T","U","W","X","Y"],this.secondkeys=[1,3,9,27,19,26,16,17,20,29,25,13,8,24,10,30,28],this.verify=function(e){var t=e.toUpperCase();if(18!=t.length)return!1;var i=/^\w\w\d{6}\w{9}\w$/;if(!i.test(t))return!1;if(i=/^[1,5,9,Y]\w\d{6}\w{9}\w$/,!i.test(t))return!1;if(i=/^(11|12|13|19|51|52|53|59|91|92|93|Y1)\d{6}\w{9}\w$/,!i.test(t))return!1;if(i=/^(11|12|13|19|51|52|53|59|91|92|93|Y1)\d{6}\w{9}\w$/,!i.test(t))return!1;var n,c=this.calc(t.substr(8),this.firstarray,this.firstkeys,11);if(c<10&&(n=c),10==c?n="X":11==c&&(n="0"),n!=t.substr(16,1))return!1;var r=this.calc(t,this.secondarray,this.secondkeys,31),a=this.secondarray[r];if(!a||a!=t.substr(17,1))return!1;var o=t.substr(0,16)+n+a;return t==o},this.calc=function(e,t,i,n){for(var c=0,r=0;r<i.length;r++){var a=e[r];c+=i[r]*t.indexOf(a)}return n-c%n},this.verify(e))}}},E=(i("0043"),i("d959")),I=i.n(E);const b=I()(R,[["render",h],["__scopeId","data-v-08130549"]]);t["default"]=b},bdfc: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/w2IcITXirhwaccOq6Bdu7wsxBzTEpCXH9DyoSWaIMG1iFTIfLEPcw0i3BOBVuovrJoEHi7CLqn/fQj7FR7161fQAur4rULIs2IS+dL4v3POtnUHZk41XwVEqIIMt/AXVmYmVkmCOC7AIQSsd74K/wCEYM9f75ZNRQxk191IBs+PIPgrkOBCRM6xLvB7NWiUpWNVJPDI7vdV/QcReS8i70CEQwh/h7x7dfaigBxugjSuQwv+Qg2+Ql/4P0H6NAXMblehEZZJArWfqhYPYOf7BPiE9Q6aoAQCpGifHaVAVoy2rTu4w9sgwgF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