require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/supplier/state"],{"05d0":function(t,e,i){"use strict";i.r(e);var n=i("fd0f"),u=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=u.a},"0d7c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return u})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this._f("typeFilter")(this.type)),i=this._f("descFilter")(this.type);this.$mp.data=Object.assign({},{$root:{f0:e,f1:i}})},u=[]},"365f":function(t,e,i){"use strict";var n=i("c18b"),u=i.n(n);u.a},5292:function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("f076");n(i("3240"));var u=n(i("e7c4"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(u.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},c18b:function(t,e,i){},e7c4:function(t,e,i){"use strict";i.r(e);var n=i("0d7c"),u=i("05d0");for(var a in u)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return u[t]}))}(a);i("365f");var c=i("828b"),s=Object(c["a"])(u["default"],n["b"],n["c"],!1,null,"c270ba1a",null,!1,n["a"],void 0);e["default"]=s.exports},fd0f:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=i("4d38"),a=n(i("89cc")),c=i("92f9"),s={mixins:[a.default],data:function(){return{imgHost:u.HTTP_REQUEST_URL,id:0,type:2,url:"",account:"",pwd:"",status_time:"",add_time:""}},filters:{typeFilter:function(t){return{0:"正在审核",1:"审核通过",2:"审核失败"}[t]},descFilter:function(t){return{0:"正在审核当中，请耐心等待",1:"恭喜您，审核通过",2:"请按提示修改您所填写的信息"}[t]}},onLoad:function(t){this.id=t.id,this.type=t.type||0,t.id&&this.supplierApply()},methods:{copyWb:function(){t.setClipboardData({data:"网址:"+this.url+"\n账号:"+this.account+"\n密码:"+this.pwd})},supplierApply:function(){var t=this;(0,c.userApply)(this.id).then((function(e){var i=e.data;t.url=i.url+"/login",t.add_time=i.add_time,t.status_time=i.status_time,t.account=i.account,t.type=i.status,t.pwd=i.pwd})).catch((function(e){return t.$util.Tips({title:e})}))},pageBack:function(){t.switchTab({url:"/pages/user/index"})},edit:function(){0==this.type||1==this.type?t.switchTab({url:"/pages/user/index"}):t.reLaunch({url:"/pages/users/supplier/index?id="+this.id})}}};e.default=s}).call(this,i("df3c")["default"])}},[["5292","common/runtime","common/vendor"]]]);