(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-identify-company"],{"22ae":function(t,n,e){"use strict";e.r(n);var a=e("eca3"),i=e("eca2");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);var s=e("828b"),u=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"a47bf3c0",null,!1,a["a"],void 0);n["default"]=u.exports},"6cb8":function(t,n,e){"use strict";e("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("d4b5");var a=e("af30"),i={data:function(){return{StatusBar:this.StatusBar,CustomBar:this.CustomBar,NavBar:this.StatusBar+this.CustomBar,AppStyle:this.$store.state.AppStyle,uid:0,idcard:"",name:"",regno:"",entname:"",userInfo:"",token:""}},onPullDownRefresh:function(){},onShow:function(){a.localStorage.getItem("token")&&(this.token=a.localStorage.getItem("token")),this.getCacheInfo()},onLoad:function(){},methods:{back:function(){uni.navigateBack({delta:1})},getCacheInfo:function(){if(a.localStorage.getItem("userinfo")){var t=JSON.parse(a.localStorage.getItem("userinfo"));this.uid=t.uid,this.userInfo=t}},company:function(){var t=this;if(""==t.entname)return uni.showToast({title:"请输入申请理由",icon:"none"}),!1;var n={name:"蓝v申请",idcard:"1",regno:"1",entname:t.entname};uni.showLoading({title:"加载中"}),t.$Net.request({url:t.$API.addCompany(),data:{params:JSON.stringify(t.$API.removeObjectEmptyKey(n)),token:t.token},header:{"Content-Type":"application/x-www-form-urlencoded"},method:"get",dataType:"json",success:function(n){setTimeout((function(){uni.hideLoading()}),1e3),uni.showToast({title:n.data.msg,icon:"none"}),1==n.data.code&&(uni.showToast({title:"提交成功！",icon:"none"}),setTimeout((function(){t.back()}),1e3))},fail:function(t){setTimeout((function(){uni.hideLoading()}),1e3),uni.showToast({title:"网络开小差了哦",icon:"none"}),uni.stopPullDownRefresh()}})}}};n.default=i},eca2:function(t,n,e){"use strict";e.r(n);var a=e("6cb8"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},eca3:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"user",class:t.$store.state.AppStyle,staticStyle:{"background-color":"#f6f6f6"}},[e("v-uni-view",{staticClass:"header",style:[{height:t.CustomBar+"px"}]},[e("v-uni-view",{staticClass:"cu-bar bg-white",style:{height:t.CustomBar+"px","padding-top":t.StatusBar+"px"}},[e("v-uni-view",{staticClass:"action",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.back.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"cuIcon-back"})],1),e("v-uni-view",{staticClass:"content text-bold",style:[{top:t.StatusBar+"px"}]},[t._v("蓝V申请")])],1)],1),e("v-uni-view",{style:[{padding:t.NavBar+5+"px 10px 0px 10px"}]}),e("v-uni-form",[e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[t._v("申请理由")]),e("v-uni-input",{attrs:{placeholder:"请输入申请理由",name:"input"},model:{value:t.entname,callback:function(n){t.entname=n},expression:"entname"}})],1),e("v-uni-view",{staticClass:"all-btn margin-top"},[e("v-uni-view",{staticClass:"user-btn flex flex-direction"},[e("v-uni-button",{staticClass:"cu-btn bg-blue margin-tb-sm lg",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.company.apply(void 0,arguments)}}},[t._v("提交申请")])],1)],1)],1)],1)},i=[]}}]);