(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-public-withdrawalConfirm"],{1323:function(t,a,i){"use strict";i.r(a);var n=i("7c8f"),e=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(r);a["default"]=e.a},"7c8f":function(t,a,i){"use strict";(function(t){i("6a54");var n=i("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=n(i("9b1b")),r=i("8f59"),o={data:function(){return{withdrawal_no:"",type:""}},onLoad:function(t){var a=this;t.withdrawal_no?(this.withdrawal_no=t.withdrawal_no,t.type&&(this.type=t.type),this.queryWaitInfo()):this.$util.toast("参数错误",1500,(function(){a.$util.backPage()}))},computed:(0,e.default)((0,e.default)({},(0,r.mapGetters)(["globalPlatform"])),{},{apiUrl:function(){return 1==this.type?"user/withdrawal/queryWaitInfo":2==this.type||3==this.type?"fenxiao/withdrawal/queryWaitInfo":4==this.type?"yajin/yajin/queryWaitInfo":"user/withdrawal/queryWaitInfo"},comfrimApiUrl:function(){return 1==this.type?"user/withdrawal/confirm":2==this.type?"fenxiao/withdrawal/confirm":3==this.type?"merchant_admin/withdrawal/confirm":3==this.type?"yajin/yajin/comfirm":"user/withdrawal/confirm"}}),methods:{confirm:function(){this.queryWaitInfo()},queryWaitInfo:function(){var t=this;this.$util.get(this.apiUrl,{withdrawal_no:this.withdrawal_no}).then((function(a){1==a.code?"GZH"==t.globalPlatform&&t.$util.jweixin.checkJsApi({jsApiList:["requestMerchantTransfer"],success:function(i){i.checkResult["requestMerchantTransfer"]?WeixinJSBridge.invoke("requestMerchantTransfer",{mchId:a.data.mchId,appId:a.data.appId,package:a.data.package},(function(a){"requestMerchantTransfer:ok"===a.err_msg&&t.$util.get(t.comfrimApiUrl,{withdrawal_no:t.withdrawal_no}).then((function(a){t.$util.backPage()}))})):alert("你的微信版本过低，请更新至最新版本。")}}):t.toast(a.message)})).catch((function(t){}))}}};a.default=o}).call(this,i("ba7c")["default"])},a2ae:function(t,a,i){"use strict";i.d(a,"b",(function(){return e})),i.d(a,"c",(function(){return r})),i.d(a,"a",(function(){return n}));var n={loginModal:i("e34a").default},e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",[i("login-modal",{on:{confirm:function(a){arguments[0]=a=t.$handleEvent(a),t.confirm.apply(void 0,arguments)}}})],1)},r=[]},e83f:function(t,a,i){"use strict";i.r(a);var n=i("a2ae"),e=i("1323");for(var r in e)["default"].indexOf(r)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(r);var o=i("828b"),u=Object(o["a"])(e["default"],n["b"],n["c"],!1,null,"0b116927",null,!1,n["a"],void 0);a["default"]=u.exports}}]);