chunk-4edd7688.2c9eab20.js 15 KB

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