bztang-admin/addons/yun_shop/static/app/js/chunk-9a263c64.b732ae94.js

1 line
2.5 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9a263c64"],{"2a87":function(e,a,t){var n=t("771c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=t("499e").default;o("22a6fcd6",n,!0,{sourceMap:!1,shadowMode:!1})},"430f":function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{id:"yee_pay"}},[t("div",{staticClass:"pay_value"},[t("van-field",{staticClass:"van-inp",attrs:{label:"姓名:",placeholder:"请输入您的姓名","label-width":""},model:{value:e.name,callback:function(a){e.name=a},expression:"name"}}),t("van-field",{staticClass:"van-inp",attrs:{label:"身份证:",placeholder:"请输入您的身份证号"},model:{value:e.cer_code,callback:function(a){e.cer_code=a},expression:"cer_code"}}),t("van-field",{staticClass:"van-inp",attrs:{label:"手机号:",type:"tel",placeholder:"请输入银行卡绑定的手机号"},model:{value:e.mobile,callback:function(a){e.mobile=a},expression:"mobile"}}),t("van-field",{staticClass:"van-inp",attrs:{label:"银行卡号:",type:"number",placeholder:"请输入您的银行卡号"},model:{value:e.bank_code,callback:function(a){e.bank_code=a},expression:"bank_code"}})],1),t("van-button",{attrs:{type:"danger"},on:{click:e.submit}},[e._v("提交")])],1)},o=[],c=(t("e7e5"),t("d399")),l=(t("b0c0"),{data:function(){return{name:"",cer_code:"",mobile:"",bank_code:""}},methods:{submit:function(){var e=this;$http.post("plugin.yee-pay.frontend.index.add-employee",{employee:{name:this.name,cer_code:this.cer_code,bank_code:this.bank_code,mobile:this.mobile}}).then((function(a){1==a.result?(Object(c["a"])("签约成功"),setTimeout((function(){e.$router.go(-1)}),1e3),e.name="",e.cer_code="",e.mobile="",e.bank_code=""):Object(c["a"])(a.msg)}),(function(e){Object(c["a"])("签约失败,请重新提交")}))}}}),i=l,s=i,d=(t("57945"),t("2877")),r=Object(d["a"])(s,n,o,!1,null,"58cfbafe",null);a["default"]=r.exports},57945:function(e,a,t){"use strict";t("2a87")},"771c":function(e,a,t){var n=t("24fb");a=n(!1),a.push([e.i,"#yee_pay[data-v-58cfbafe]{position:relative;height:100vh}#yee_pay .pay_value[data-v-58cfbafe]{background:#fff}#yee_pay .van-button--normal[data-v-58cfbafe]{width:100%;background-color:#f15353;border-radius:2.86rem;position:absolute;left:0;bottom:2.5rem}#yee_pay .van-inp.van-cell[data-v-58cfbafe]{font-size:16px}#yee_pay .van-inp.van-cell[data-v-58cfbafe] .van-field__label{color:#333;width:auto}",""]),e.exports=a}}]);