chunk-6a2ebc0a.765a4daf.js 15 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a2ebc0a"],{"0950":function(t,i,n){},"54e2":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABppJREFUaEPtmXlsG1UQxr9ZO2kS7yaClhtKgUCT3bYJAgHiDBIFcSMFRAHRw+uWKwhRUAFxlUscggpEuYLXBBCXSjkqKOKQKFdVEAhos+s0ChCuUsohYq+TxvXuoF2v3VzUGydpUon9z573Zr7fm3mz79mEXfyhXVw//gfom8EjFnFJTyZ5NBHVM+ggIlQ5dmZ0EfgHZv6mPCh9/lUzbRutzI9KBuRw4niQcBnA5wEQC4gzAXoDbD9lxCo/HSnIiABq5pszhQA/AuDkIoV8aFt0TVuLuKHI+cXvAUXtbmJYywCU9A3OIAtgXQDiAP7ybJNtoBYghcCBAWK3EQKLda1ieTEQw85Ats7N5SAs6heQ0Ea2sAyUWalrVX8PJUZRu3YHBxtZsBeDUdNvDKO5PCg2DXd/DBtAUZMvM3BhLjgDfwok3Kx3VMSwhjK+VrGBg0p1d9hm+x4CpuTmEPCKrklzfPnwBg0LoFZN3UKw78oHJGywgsFz2p4s7xxO0NzYmst7pgUymVXMmLl9QYRb41robr/+fAPI4dTpIH4LYMFzvo4mibP1x8n0G2zIsrqSRe413wdwTNZONpjOMmKhd/z49QUwbT6XhQIpg8EHeUF+JgtH6S3iZj9BCo1R5pt7cwBfAHyAiwD6IWWF5M4W2lpori8ARU02MfCoJ54ZgYa4Vv5xIefDsdeqPScSrDUAu5oIuFrXpIKdyReArCY7ABziCVplaNK5wxHnd6ysJt8EcI43/jtDk6oLzS0IMGNB4lhboM9yjgSiutaouL6Q42LsMyK9s2xOf5uPZfNxrc9Urt2Rr4IAspq8A8BtnpNvDE06vBhxfufIavJrAPXe+DsNTbp9RAC1qvkugU/1NtcDuibe4FdMMeMU1byfwUucuQy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9udjr4GoMbcvGZhDPj0dDqQnp2SgkpV24RhUzV/jkx6UwmsTEW2uR8rlUT5xHI2bQH9xG73NCkqwuJ3ykZUOab9XaA1xCyf/htf2g1wNP7/GSZM60yvhMb/f7XMOYZkMPJ20FY6mM1GczLjKnSkkJ1328ZfDge0RBFTd7NwM0FnHzCFFgSj1Y4m3hYz5hnQAmnFjLZzYNV0U8gPJHJlLzR3jLJvb4W84w5QMNSDm75JXU92FbyHQaUsLjkofZY2ffFiN6pJTRSgYXmj3kGCgkYqX2XB/gXUrfUT9topvMAAAAASUVORK5CYII="},5525:function(t,i,n){"use strict";n.r(i);n("7f7f");var s=function(){var t=this,i=t._self._c;return i("div",{on:{click:function(i){t.showPhonePrefix=!1}}},[i("div",{staticClass:"wrap"},[i("div",{staticClass:"header-wrap"},[i("div",{staticClass:"header"},[i("img",{staticClass:"return-img",attrs:{src:n("f5a4"),alt:""},on:{click:function(i){return t.$router.back()}}}),i("p",{staticClass:"header-title"},[t._v("\n 订单详情\n ")]),i("div",{staticClass:"header-btn-box"})])]),i("div",{staticClass:"waitPay"},[1==t.info.cancel_state?i("div",{staticClass:"waitTitle"},[t._v("订单已取消")]):t._e(),1==t.info.refund_state?i("div",{staticClass:"waitTitle"},[t._v("\n 退款中,请耐心等待\n ")]):t._e(),4==t.info.refund_state?i("div",{staticClass:"waitTitle"},[t._v("订单已退款")]):t._e(),1==t.info.status&&0==t.info.refund_state&&1!=t.info.sh_state?i("div",{staticClass:"waitTitle"},[t._v("\n 已付款,等待审核\n ")]):t._e(),1==t.info.status&1==t.info.sh_state?i("div",{staticClass:"waitTitle"},[t._v("\n 报名成功\n ")]):t._e(),0==t.info.status&&1!=t.info.cancel_state?i("div",{staticClass:"waitTitle"},[t._v("\n 等待付款\n ")]):t._e(),0==t.info.status&&1!=t.info.cancel_state?i("div",{staticClass:"residue"},[i("span",[t._v("剩余付款时间")]),i("van-count-down",{attrs:{time:t.info.cancel_timestamp,format:"HH 时 mm 分 ss 秒"}})],1):t._e()]),i("div",{staticClass:"activity-list"},[i("div",{staticClass:"activity-item"},[i("div",{staticClass:"item-title"},[t._v(t._s(t.info.title))]),i("div",{staticClass:"time"},[t._v("\n 时间:"+t._s(t.info.start_time+"-"+t.info.end_time)+"\n ")]),i("div",{staticClass:"time"},[t._v("\n 地址:"+t._s(t.info.province+t.info.city+t.info.county+t.info.address)+"\n ")])]),t._l(t.info.item_list,(function(n,s){return i("div",{key:s,staticClass:"activity-item"},[i("van-collapse",{model:{value:t.activeNames,callback:function(i){t.activeNames=i},expression:"activeNames"}},[i("van-collapse-item",{attrs:{name:s},scopedSlots:t._u([{key:"title",fn:function(){return[i("div",[t._v("\n 门票信息\n "),0==n.sh_status&&1==t.info.status?i("span",{staticClass:"status"},[t._v("\n 审核中\n ")]):t._e(),1==n.sh_status&&1==t.info.status?i("span",{staticClass:"status status1"},[t._v("\n 报名成功\n ")]):t._e(),2==n.sh_status&&1==t.info.status?i("span",{staticClass:"status status2"},[t._v("\n 审核失败\n ")]):t._e()])]},proxy:!0}],null,!0)},[i("div",{staticClass:"content"},[i("div",{staticClass:"title"},[t._v("\n "+t._s(n.ladder_title)+"第"+t._s(n.code)+"张参会信息\n ")])]),i("div",{staticClass:"content"},[i("div",{staticClass:"infomation"},[t._v("姓名:"+t._s(n.name))]),i("div",{staticClass:"infomation"},[t._v("手机号:"+t._s(n.phone))]),i("div",{staticClass:"infomation"},[t._v("邮箱:"+t._s(n.email))])])])],1)],1)})),i("div",{staticClass:"activity-item"},[i("div",{staticClass:"row"},[i("div",{staticClass:"itemKey"},[t._v("订单总额")]),i("div",{staticClass:"itemValue orderPrice"},[t._v("¥"+t._s(t.info.money))])]),i("div",{staticClass:"row"},[i("div",{staticClass:"itemKey"},[t._v("实付款")]),i("div",{staticClass:"itemValue orderPriceRed"},[t._v("¥"+t._s(t.info.money))])]),i("div",{staticClass:"row"},[i("div",{staticClass:"itemKey"},[t._v("订单编号")]),i("div",{staticClass:"itemValue"},[t._v("\n "+t._s(t.info.order_no)+"\n "),i("span",{on:{click:function(i){return t.copy(t.info.order_no)}}},[t._v("|复制")])])]),i("div",{staticClass:"row"},[i("div",{staticClass:"itemKey"},[t._v("下单时间")]),i("div",{staticClass:"itemValue"},[t._v("\n "+t._s(t.info.create_at)+"\n ")])]),1==t.info.status&&1*t.info.money!=0?i("div",{staticClass:"row"},[i("div",{staticClass:"itemKey"},[t._v("付款时间")]),i("div",{staticClass:"itemValue"},[t._v("\n "+t._s(t.info.pay_at)+"\n ")])]):t._e(),1==t.info.status&&1*t.info.money!=0?i("div",{staticClass:"row"},[i("div",{staticClass:"itemKey"},[t._v("支付方式")]),i("div",{staticClass:"itemValue"},[t._v("\n "+t._s(1==t.info.pay_type?"微信支付":2==t.info.pay_type?"支付宝":3==t.info.pay_type?"微信支付":4==t.info.pay_type?"支付宝":5==t.info.pay_type?"微信支付":9==t.info.pay_type?"线下支付":"")+"\n ")])]):t._e()]),i("div",{staticClass:"activity-item",on:{click:function(i){return t.$router.push("/contact-online")}}},[t._m(0)])],2)]),0==t.info.refund_state&&2!=t.info.status&&1!=t.info.cancel_state&&1*t.info.money!=0?i("div",{staticClass:"bottom"},[0==t.info.status&&9==t.info.pay_type?i("button",{staticClass:"cancelBtn",on:{click:function(i){t.showPopup=!0}}},[t._v("\n 查看支付信息\n ")]):t._e(),1==t.info.status&&0==t.info.refund_state?i("button",{staticClass:"cancelBtn",on:{click:t.toRefund}},[t._v("\n 申请退款\n ")]):t._e(),null!=t.info.bill_info&&0==t.info.refund_state?i("button",{staticClass:"cancelBtn",on:{click:function(i){return i.stopPropagation(),t.toBill.apply(null,arguments)}}},[t._v("\n 查看发票\n ")]):t._e(),1==t.info.status&&null==t.info.bill_info?i("button",{staticClass:"cancelBtn"},[t._v("\n 申请开票\n ")]):t._e(),0==t.info.status?i("button",{staticClass:"cancelBtn",on:{click:t.cancelOrder}},[t._v("\n 取消订单\n ")]):t._e(),0==t.info.status&&9!=t.info.pay_type?i("button",{on:{click:t.submit}},[t._v("\n 立即支付\n ")]):t._e()]):t._e(),i("van-popup",{attrs:{round:"",position:"bottom"},model:{value:t.showPicker,callback:function(i){t.showPicker=i},expression:"showPicker"}},[i("van-picker",{attrs:{"show-toolbar":"",columns:t.columns,"value-key":"name",loading:t.loading},on:{cancel:function(i){t.showPicker=!1},confirm:t.onConfirm,change:t.onChange}})],1),i("van-popup",{style:{height:"35%"},attrs:{closeable:"",round:"",position:"bottom"},model:{value:t.showPopup,callback:function(i){t.showPopup=i},expression:"showPopup"}},[i("div",{staticClass:"popup"},[i("div",{staticClass:"popupTitle"},[t._v("转账汇款收款信息")]),i("div",{staticClass:"popupInfo"},[i("div",{staticClass:"popupItem"},[i("span",[t._v("户名")]),i("span",[t._v(t._s(t.info.offline_user))])]),i("div",{staticClass:"popupItem"},[i("span",[t._v("账号")]),i("span",[t._v(t._s(t.info.offline_card))])]),i("div",{staticClass:"popupItem"},[i("span",[t._v("开户行")]),i("span",[t._v(t._s(t.info.offline_bank))])])]),i("button",{staticClass:"btn",on:{click:t.toSuccess}},[t._v("确定")])])]),i("LoginBox",{ref:"loginBox",on:{isLogin:function(t){}}}),i("van-overlay",{attrs:{show:t.deletePopup,"z-index":"99999"},on:{click:function(i){t.deletePopup=!1}}},[i("div",{staticClass:"window"},[i("span",{staticClass:"window-text"},[t._v("该订单下所有门票都将被取消")]),i("div",{staticClass:"window-btn-box"},[i("button",{staticClass:"cancel",attrs:{type:"button"},on:{click:function(i){t.deletePopup=!1}}},[t._v("\n 取消\n ")]),i("button",{staticClass:"confirm",attrs:{type:"button"},on:{click:t.cancelOrderConfirm}},[t._v("\n 确定取消\n ")])])])]),i("van-overlay",{attrs:{show:t.refundPopup,"z-index":"99999"},on:{click:function(i){t.refundPopup=!1}}},[i("div",{staticClass:"window"},[i("span",{staticClass:"window-text"},[t._v("确定要退款吗")]),i("div",{staticClass:"window-btn-box"},[i("button",{staticClass:"cancel",attrs:{type:"button"},on:{click:function(i){t.deletePopup=!1}}},[t._v("\n 取消\n ")]),i("button",{staticClass:"confirm",attrs:{type:"button"},on:{click:function(i){return t.batchesDel(t.checkIds)}}},[t._v("\n 确定退款\n ")])])])])],1)},e=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"kefuBox"},[i("img",{staticClass:"kefu",attrs:{src:n("54e2"),alt:""}}),t._v("\n 联系客服\n ")])}],a=(n("28a5"),n("6762"),n("2fdb"),n("ac6a"),n("f3e2"),n("325c")),o=n("f523"),c=n("f4f9"),l=n("f1664"),u=n("d399"),f={components:{ToTop:c["a"],LoginBox:l["a"]},data:function(){var t=Object(a["m"])();return{isWeChat:t,refundPopup:!1,deletePopup:!1,id:"",showPopup:!1,isLogin:!1,loading:!1,columns:[{values:[]},{values:[]},{values:[]}],showPicker:!1,radio:"1",radio1:"1",ticketSwitch:!1,showPhonePrefix:!1,phonePrefix:[],info:{list:[]},address_info:{type:"1",send_type:"1",pro_name:"",city_name:"",county_name:"",detail:"",phone:"",name:""},ticketCurrent:0,ticketList:[],activeNames:[0],activeNames1:[],billInfo:{},params:{pro_name:"",city_name:"",county_name:"",detail:"",countDown:0,phone:"",name:"",email:"",account_type:2,account:"",phone_pre:"86",code:"",facility_type:"",facility_code:""}}},mounted:function(){var t=this.$route.query;this.id=t.id,this.getInfo()},methods:{toBill:function(){this.$router.push("activity_bill_info?id="+this.info.bill_info.id)},cancelOrderConfirm:function(){var t=this;o["a"].cancelApplyOrder({id:this.id}).then((function(i){1==i.code&&(Object(u["a"])(i.msg),t.getInfo())}))},copy:function(t){Object(a["c"])(t),Object(u["a"])("已复制粘贴板")},batchesDel:function(){o["a"].delApplyOrder({id:this.id}).then((function(t){}))},toRefund:function(){this.refundPopup=!0},cancelOrder:function(){this.deletePopup=!0},getInfo:function(){var t=this;o["a"].getApplyInfo({id:this.id}).then((function(i){t.info=i.data.detail}))},getBillType:function(){var t=this;o["e"].getBillType().then((function(i){t.ticketList=i.data.list}))},toSuccess:function(){this.showPopup=!1},getLogin:function(){this.isLogin=!0},getUserInfo:function(){var t=this;o["v"].getUserInfo(null,!0).then((function(i){i.data;t.isLogin=!0}))},switchChange:function(t){t?this.isLogin||(console.log("qdl"),this.ticketSwitch=!1,this.$refs.loginBox.showPopup=!0):this.activeNames1=[]},toTitle:function(){this.$router.push("activity_ticket_select")},getAddress:function(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return o["c"].getAreaChildrenByID({id:i}).then((function(i){var e=i.data;if(s?s.setColumnValues(n,e.list):t.columns[n].values=e.list,n<2)return t.getAddress(e.list[0].id,n+1,s)}))},onChange:function(t,i,n){var s=this;n<2&&(this.loading=!0,this.getAddress(i[n].id,n+1,t).finally((function(){return s.loading=!1})))},onConfirm:function(t){this.address_info.pro_name=t[0].name,this.address_info.city_name=t[1].name,this.address_info.county_name=t[2].name,this.showPicker=!1},ticketClick:function(t,i){this.ticketCurrent!=i&&(this.ticketCurrent=i,this.billInfo.type=t.id)},getPhonePrefix:function(){var t=this;o["i"].getPhonePrefix().then((function(i){t.phonePrefix=i.data}))},checkChange:function(t,i){t.value=i,t.extend.forEach((function(t){i.includes(t.item_title)?t.value=1:t.value=0}))},sendSms:function(t){var i=this;t.phone?o["i"].sendSms({phone:t.phone,phone_pre:t.phone_pre}).then((function(n){var s=n.msg;i.countDownFn(t),Object(u["a"])(s)})):Object(u["a"])("请输入手机号")},countDownFn:function(t){var i=60,n=function n(){0!==i&&(t.countDown=--i,setTimeout((function(){return n()}),1e3))};n()},submit:function(){var t=this,i=this.info.pay_type;this.isWeChat&&5!=i?i=5:(3==i&&(i=1),4==i&&(i=2)),o["a"].payApplyOrder({order_id:this.id,pay_type:i}).then((function(n){if(1==n.code&&0==n.data.pay_status){if(1===i){var s=location.href.split("/#")[0]+"/#/my";return void(location.href=n.data.config.mweb_url+"&redirect_url="+encodeURIComponent(s))}if(2===i){var e=document.createElement("div");e.innerHTML=n.data.ali_url,document.body.appendChild(e),e.children.alipaysubmit.submit()}else 5===i&&t.$wx.chooseWXPay({timestamp:n.data.config.timeStamp,nonceStr:n.data.config.nonceStr,package:n.data.config.package,signType:n.data.config.signType,paySign:n.data.config.paySign,success:function(i){console.log("--------------支付结果start--------------"),console.log(i),console.log("--------------支付结果end--------------"),Object(u["a"])("支付成功!"),setTimeout((function(){t.$router.push("activity_pay_success")}),1e3)},fail:function(t){console.log("--------------支付失败start--------------"),console.log(t),console.log("--------------支付失败end--------------")}})}}))}}},r=f,d=(n("c9b2"),n("2877")),p=Object(d["a"])(r,s,e,!1,null,"7e286827",null);i["default"]=p.exports},c9b2:function(t,i,n){"use strict";n("0950")}}]);
  2. //# sourceMappingURL=chunk-6a2ebc0a.765a4daf.js.map