| 12 |
- (function(e){function t(t){for(var r,a,s=t[0],o=t[1],u=t[2],l=0,d=[];l<s.length;l++)a=s[l],i[a]&&d.push(i[a][0]),i[a]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);m&&m(t);while(d.length)d.shift()();return c.push.apply(c,u||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,a=1;a<n.length;a++){var s=n[a];0!==i[s]&&(r=!1)}r&&(c.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={app:0},i={app:0},c=[];function s(e){return o.p+"js/"+({}[e]||e)+"."+{"chunk-3c8cb0e0":"f49fbeb4","chunk-986fe2ae":"7f7a0652","chunk-fc3f7e80":"a6c95dea"}[e]+".js"}function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.e=function(e){var t=[],n={"chunk-3c8cb0e0":1,"chunk-986fe2ae":1,"chunk-fc3f7e80":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise(function(t,n){for(var r="css/"+({}[e]||e)+"."+{"chunk-3c8cb0e0":"ff7e01af","chunk-986fe2ae":"857eb7a9","chunk-fc3f7e80":"bc4a2520"}[e]+".css",i=o.p+r,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var u=c[s],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===r||l===i))return t()}var d=document.getElementsByTagName("style");for(s=0;s<d.length;s++){u=d[s],l=u.getAttribute("data-href");if(l===r||l===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var r=t&&t.target&&t.target.src||i,c=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=r,delete a[e],m.parentNode.removeChild(m),n(c)},m.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(m)}).then(function(){a[e]=0}));var r=i[e];if(0!==r)if(r)t.push(r[2]);else{var c=new Promise(function(t,n){r=i[e]=[t,n]});t.push(r[2]=c);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.src=s(e),u=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,c=new Error("Loading chunk "+e+" failed.\n("+r+": "+a+")");c.type=r,c.request=a,n[1](c)}i[e]=void 0}};var d=setTimeout(function(){u({type:"timeout",target:l})},12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var d=0;d<u.length;d++)t(u[d]);var m=l;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"195e":function(e,t,n){"use strict";var r=n("3883"),a=n.n(r);a.a},"345a":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"protocol"},[r("div",{staticClass:"container"},[r("h1",[e._v("《乐器借用协议》")]),e._v("\n 甲方:深圳大雅乐盟网络教育股份有限公司 "),r("br"),r("div",{staticStyle:{display:"flex"}},[e._v("乙方:\n "),r("div",{staticStyle:{flex:"1 auto"}},[r("div",{staticClass:"iInfo"},[r("span",[e._v("家长姓名 "+e._s(e.proto.patriarchName))]),r("span",[e._v("电话:"+e._s(e.proto.patriarchPhone))])]),r("div",{staticClass:"iInfo"},[r("span",[e._v("学生姓名:"+e._s(e.proto.stuName))]),r("span",[e._v("所在班级:"+e._s(e.proto.grade))])]),r("div",{staticClass:"iInfo"},[r("span",[e._v("所在声部:"+e._s(e.proto.subName))])])])]),e._v(" \t \n \n 为了促进学校乐团健康、持续发展,让更多的学生在校园拥有良好的器乐学习机会,甲方基于公益普惠的原则,决定提供价值"+e._s(e.proto.marketPrice)+"元的KEY品牌全新乐器供乙方在学校乐团期间免费使用。现根据《中华人民共和国合同法》等法律法规规定,为明确甲乙双方权利义务,经协商一致,就乙方借用乐器事宜达成如下协议:\n "),r("h2",[e._v("一、甲方权利与义务:")]),e._v("\n 1、乙方所借用的乐器为甲方资产,乐器所有权归属甲方所有,甲方有权在必要时向乙方收回借用乐器并退还押金。"),r("br"),e._v("\n 2、甲方所提供乐器为全新的KEY品牌乐器。在乙方签订本协议、交纳乐器使用押金后,甲方即将乐器交付给乙方供其在学校乐团期间免费使用。"),r("br"),e._v("\n 3、乙方归还乐器时,双方当面当场验收,经甲方维修技师检验确认乐器无人为损坏、可正常使用后,甲方在七个工作日内全额不计息退还乙方已交纳的押金。"),r("br"),e._v("\n 4、如乙方已购买甲方乐器保养服务,甲方需在乙方借用期间协助乙方处理乐器维修和保养问题。\n "),r("h2",[e._v("二、乙方权利与义务:")]),e._v("\n 1、乙方在签订本协议、交纳乐器使用押金¥"+e._s(25==e.proto.payMethod?0:800)+"元(大写人民币"+e._s(25==e.proto.payMethod?"零":"捌佰")+"元整)后,享有所借用乐器在学校乐团期间的免费使用权。乙方应当爱惜乐器并妥善保管,不得将该乐器转租、借用、出售、典当、质押或抵押,也不得将乐器交于非专业人士使用。乐器借用政策,每位团员仅可享受一次,退团后再次加入乐团的,将无法享受乐器借用政策。"),r("br"),e._v("\n 2、乐器日常维护由乙方自行完成,每次练习完毕后需按老师要求对乐器进行擦拭并装箱保管。如因人为原因(包括但不限于磕、碰、摔等)造成乐器损坏的,乙方需自行承担维修费用;如因非甲方原因导致乐器无法正常使用(正常使用磨损除外)或乐器毁损、灭失、遗失的,乙方须按本协议中明示的乐器团购价格进行赔付。"),r("br"),e._v("\n 3、当乙方决定不再继续乐团学习时,应在退团之日起1日内将其借用的乐器归还甲方,双方当面当场验收,经甲方维修技师检验确认乐器无人为损坏、可正常使用后,乙方可按照本协议约定获得已交纳的押金;经甲方维修技师检验,乐器存在损坏的,乙方应承担相应的维修费用,如乐器已经无法正常使用的,乙方须按本协议中明示的乐器团购价格进行赔付,甲方有权从应退还乙方的押金中先行扣除维修费用、赔付费用,如甲方扣除押金后仍然不足以弥补维修费用、赔付费用的,甲方有权继续要求乙方支付剩余费用。"),r("br"),e._v("\n 4、乙方终止乐团学习2个月内,仍未将乐器归还给甲方的,则视为乙方违约,乙方所交押金甲方有权不予退还,同时乙方须按乐器团购价格进行赔付。\n "),r("h2",[e._v("三、乐器标准:")]),r("div",{staticClass:"iInfo"},[r("span",[e._v("名称:"+e._s(e.proto.voicyPart))]),r("span",[e._v("品牌:key")])]),r("div",{staticClass:"iInfo"},[r("span",[e._v("型号:"+e._s(e.proto.name))]),r("span",[e._v("团购价格:¥"+e._s(e.proto.referencePrice))])]),r("h2",[e._v("四、违约责任")]),e._v(" \n 1、当事人一方不履行合同义务或者履行合同义务不符合约定的,均构成违约,守约方有权以书面通知的方式要求违约方纠正其违约行为并采取及时、有效的补救措施消除违约后果,并赔偿守约方因违约方之违约行为而遭致的损失。若违约方在收到守约方的上述通知后5日内未纠正其违约行为的,守约方有权在做出书面通知的情况下,单方解除本协议,违约方应赔偿守约方因此遭致的全部损失。"),r("br"),e._v("\n 2、乙方应始终维护甲方的知识产权以及品牌形象,本协议期间以及本协议因任何原因失效、被撤销、解除或终止后,均不得直接或间接通过任何公众媒体(包括但不限于传统大众媒体,以及微信、微博、博客、直播平台等社交平台)发表损害甲方(包括但不限于其产品、服务或甲方授课老师)声誉的言论或实施任何类似行为,否则乙方应赔偿甲方因此遭受的全部损失。\n "),r("h2",[e._v("五、保密条款")]),e._v("\n 1、双方对本协议的条款、本协议的签订及履行情况以及通过签订和履行本协议而获知的对方及对方关联公司的任何信息均负有保密义务。任何一方不得以任何形式透露给第三方(有关法律法规要求和甲乙双方的法律、会计顾问、授权雇员除外),也不得擅自使用。\n 2、本保密义务期限不受本协议期限的限制。本协议失效、被撤销、解除或终止等任何情况下,双方均应遵守本保密义务。\n "),r("h2",[e._v("六、不可抗力")]),e._v("\n 1、一方遇到不可抗力事件(指甲乙双方无法控制、无法预见或即使预见也无法避免的事件,该事件妨碍、影响或延误任何一方履行本协议的全部或部分义务,该事件包括但不限于自然灾害(如水灾、地震等)、火灾、政府行为、法律或政策变化(含学校合作变化)、战争或其他任何类似事件)时,受影响方应当立即书面通知对方,并告知该不可抗力事件对本协议可能产生的影响,并在该不可抗力事件发生后5日内向对方提供该事件的详细信息及由有关机构出具的解释受影响方因此无法履行本协议项下全部或部分义务的相关证明。"),r("br"),e._v("\n 2、由于上述不可抗力事件致使受影响方无法履行或无法按时履行本协议项下全部或部分义务的,双方于彼此间均不承担违约责任,但双方应在相互信任的基础上协商解决,尽力减少不可抗力事件对本协议的影响,并采取合理方式进行调整(包括但不限于另行签订补充协议等),尽量避免损失的扩大。"),r("br"),e._v("\n 3、不可抗力事件消失或结束后,除双方另行协商一致外,受到不可抗力影响的一方应当立即采取措施继续履行本协议,如不可抗力事件持续30日以上的,则任何一方有权以书面通知对方的方式单方解除本协议。\n "),r("h2",[e._v("七、适用法律及争议解决方式")]),e._v("\n 1、本协议的订立、效力、履行、解释及争议解决均适用中华人民共和国法律。"),r("br"),e._v("\n 2、因履行本协议发生的一切争议,甲乙双方应友好协商解决;如双方在发生争议后30日内无法通过协商解决时,任何一方有权向甲方所在地有管辖权的人民法院提起诉讼解决。\n "),r("h2",[e._v("八、其他")]),e._v("\n 1、本协议自双方按照本协议约定方式签署之日起生效,有效期至双方履行完本协议约定的全部义务时止。"),r("br"),e._v("\n 2、双方确认并同意,本协议的电子版本与纸质版本具有同等法律效力。双方发生争议时,电子合同打印件可作为证据提交。双方通过网络以在线方式签订本协议的 ,则以乙方点击“确认”或“同意”等相关按钮或以电子签名的方式作为对合同内容的同意、确认以及本协议的签署;如双方签订纸质版本协议的,则本协议壹式贰份,甲方盖公章或合同专用章并且乙方签字作为有效签署方式,并且双方各执壹份,每份具有同等法律效力。"),r("br"),e._v("\n 3、本协议未尽事宜或对本协议的任何修改、补充,由双方另行协商后以签订补充协议的方式解决,补充协议与本协议具有同等法律效力;双方没有约定也没有协商一致的,遵照相关法律法规规定执行。"),r("br"),e._v("\n 4、双方因履行本协议而相互发出或者提供的所有通知、文件、资料,均以本协议中所列明的电话、APP推送消息送达,乙方如果变更电话号码的,应当自变更后1日内通知甲方且获得甲方确认,甲方通过电话、APP方式无法联系乙方或者甲方认为必要时,甲方也可以通过特快专递至乙方住址的方式向乙方发出上述任何通知、文件、资料等,并在甲方寄出特快专递后第5日视为送达成功。\n\n\n "),r("div",{staticClass:"signature"},[r("div",{staticClass:"sign"},[e._v("甲方签章 "),r("img",{staticClass:"cachet",attrs:{src:n("ab46"),alt:""}}),r("span",[e._v(e._s(e.nowDate))])]),r("div",{staticClass:"sign"},[e._v("乙方签字:"+e._s(e.dataList.realName)+"\n "),r("span",[e._v(" "+e._s(e.nowDate)+" ")])])]),r("div",{staticClass:"btnback",on:{click:e.goBack}},[e._v("我同意")])])])},a=[],i={name:"protocol",props:["proto"],data:function(){return{nowDate:""}},mounted:function(){var e=new Date;this.nowDate=e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"},methods:{goBack:function(){this.$emit("popupClose",!1)}}},c=i,s=(n("6204"),n("2877")),o=Object(s["a"])(c,r,a,!1,null,"195e0fc7",null);t["default"]=o.exports},3883:function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var r=n("2b0e"),a=n("bc3a"),i=n.n(a),c={baseURL:"/api"},s=i.a.create(c);s.interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),s.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)}),Plugin.install=function(e){e.axios=s,window.axios=s,Object.defineProperties(e.prototype,{axios:{get:function(){return s}},$axios:{get:function(){return s}}})},r["a"].use(Plugin);Plugin;var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},u=[],l=(n("7c55"),n("2877")),d={},m=Object(l["a"])(d,o,u,!1,null,null,null),f=m.exports,p=n("2f62");r["a"].use(p["a"]);var h=new p["a"].Store({state:{},mutations:{},actions:{}}),v=n("8c4f"),_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"home"},[n("header",[e._v("乐团注册")]),n("div",{staticClass:"section"},[n("h2",{staticClass:"title line_bottom"},[e._v("课程")]),e.result.payMethod>=26?n("div",{key:"class-list",staticClass:"options"},[n("div",{staticClass:"option"},[e._m(0),n("div",{staticClass:"o_bd"},[e._v("乐团声部训练")]),n("span",{staticClass:"o_ft"},[e._v("\n 现价:¥"+e._s(e.result.classAmount)+"\n ")])]),e._m(1),e._m(2),e._m(3)]):n("div",{key:"class-list",staticClass:"options"},[n("div",{staticClass:"option"},[e._m(4),n("div",{staticClass:"o_bd"},[e._v("乐团课")]),21==e.result.payMethod||25==e.result.payMethod?n("span",{key:"class-price",staticClass:"o_ft"},[n("del",[e._v("原价:¥23520")]),e._v(" 现价:免费\n ")]):n("span",{key:"class-price",staticClass:"o_ft"},[n("del",[e._v("原价:¥23520")]),e._v(" 现价:¥"+e._s(e.result.classAmount)+"\n ")])])]),e.result.payMethod>=26?n("div",{staticClass:"coutInfo"},[n("i",{staticClass:"trumpet_icon"}),e._v("年度安排十个月训练,共计168课时,120元/课时,原价20160元,现仅支付"+e._s(e.result.classAmount)+"元/月(约合34.5元/课时) \n ")]):e._e()]),n("div",{staticClass:"section"},[n("h2",{staticClass:"title line_bottom"},[e._v("乐器")]),21==e.result.payMethod||22==e.result.payMethod||e.result.payMethod>26||25==e.result.payMethod&&!e.result.isCopperPipe?n("div",{staticClass:"options"},e._l(e.instrument.config,function(t,r){return n("div",{key:t.name,class:[e.instrument.config.length>1?"oc":""],on:{click:function(t){return e.instrumentF(r)}}},[n("div",{staticClass:"option"},[n("div",{staticClass:"o_"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),t.marketPrice>0?n("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),n("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]):n("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(t.name))]),t.marketPrice>0?n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 现价:¥"+e._s(t.referencePrice)+"\n ")]):e._e()]),t.marketPrice>0?n("div",{staticClass:"configuration"},[n("div",{staticClass:"config"},[e._m(5,!0),n("div",{staticClass:"content"},[n("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()])}),0):e._e(),25==e.result.payMethod&&e.result.isCopperPipe||26==e.result.payMethod?n("div",{staticClass:"options"},[e._l(e.instrument.config,function(t){return n("div",{key:t.name,staticClass:"oc",on:{click:function(n){return e.instrumentF2("default",t)}}},[t.default?n("div",{staticClass:"option"},[n("div",{staticClass:"o_"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),n("div",{staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),n("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]),25==e.result.payMethod?n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 免费试用\n ")]):e._e(),"26"==e.result.payMethod?n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 押金:¥800\n ")]):e._e()]):e._e(),t.default?n("div",{staticClass:"configuration"},[n("div",{staticClass:"config"},[e._m(6,!0),n("div",{staticClass:"content"},[n("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()])}),e._l(e.instrument.config,function(t){return n("div",{key:t.marketPrice,on:{click:function(n){return e.instrumentF2("self",t)}}},[t.marketPrice<=0?n("div",{staticClass:"option"},[n("div",{staticClass:"o_"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),n("div",{staticClass:"o_bd"},[e._v(e._s(t.name)+"\n ")])]):e._e()])})],2):e._e()]),n("div",{staticClass:"section"},[n("h2",{staticClass:"title line_bottom"},[e._v("辅件")]),e._l(e.instrument.auxiliaries,function(t,r){return n("div",{key:t.name,staticClass:"options",on:{click:function(t){return e.auxiliarie(r)}}},[n("div",{staticClass:"option"},[n("div",{staticClass:"o_hd"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),n("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v("\n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),n("div",{staticClass:"section"},[n("h2",{staticClass:"title line_bottom"},[e._v("其它")]),e._l(e.baseInfo.other,function(t){return n("div",{key:t.name,staticClass:"options"},[n("div",{staticClass:"option"},[e._m(7,!0),n("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" \n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),n("div",{staticClass:"buy"},[n("div",{staticClass:"price"},[n("p",{staticClass:"oldprice"},[n("del",{staticClass:"text"},[e._v("原价")]),n("del",[e._v("¥"+e._s(e.orderInfo.marketPrice))])]),n("p",{staticClass:"now_price"},[n("span",{staticClass:"text"},[e._v("仅需支付")]),n("span",[e._v("¥"+e._s(e.orderInfo.referencePrice))])])]),n("a",{on:{click:e.buy}},[e._v("购买")])]),n("van-popup",{attrs:{id:"protocolPopup",position:"bottom"},model:{value:e.popupStatus,callback:function(t){e.popupStatus=t},expression:"popupStatus"}},[n("protocol",{attrs:{proto:e.protocolData},on:{popupClose:e.onPopupClose}})],1)],1)},k=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"option"},[n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})]),n("div",{staticClass:"o_bd"},[e._v("乐团合奏训练")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"option"},[n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})]),n("div",{staticClass:"o_bd"},[e._v("基础技能训练")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"option"},[n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})]),n("div",{staticClass:"o_bd"},[e._v("假期集中训练")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("span",[e._v("配置参数")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("span",[e._v("配置参数")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"o_hd"},[n("i",{staticClass:"check_default check_active"})])}],P=(n("7f7f"),n("ac6a"),n("28a5"),{flute:{name:"长笛",config:[{default:1,name:"初级配置",marketPrice:3150,referencePrice:2680,checked:!0,texture:"白铜管体",index:1},{default:0,name:"标准配置",marketPrice:4500,referencePrice:3570,checked:!1,texture:"进口镍白铜管体、法式键",index:2},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"C调 表面镀银厚度:8μm 管材厚度:0.42mm",auxiliaries:[{name:"节拍器",marketPrice:120,referencePrice:95,checked:!0,index:1},{name:"谱架",marketPrice:80,referencePrice:65,checked:!0,index:2},{name:"乐器维护",marketPrice:480,referencePrice:300,checked:!0,index:8}]},clarinet:{name:"单簧管",config:[{default:1,name:"初级配置",marketPrice:3280,referencePrice:2780,checked:!0,texture:"胶木",index:3},{default:0,name:"标准配置",marketPrice:4580,referencePrice:3650,checked:!1,texture:"聚碳酸酯、蓝钢针弹簧线",index:4},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B调、八字螺丝固定键柱 按键铍铜、镍白铜 喇叭口直径:8cm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:4,name:"软木膏",marketPrice:30,checked:!0,referencePrice:25},{index:5,name:"哨片",marketPrice:150,checked:!0,referencePrice:120},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},saxophone:{name:"萨克斯管",config:[{default:1,name:"初级配置",marketPrice:4200,referencePrice:3550,checked:!0,texture:"/",index:5},{default:0,name:"标准配置",marketPrice:6080,referencePrice:4500,checked:!1,texture:"68铜、实心保护盖、蓝钢针弹簧线",index:6},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降E调、黄铜材质、表面电泳处理 喇叭口直径:11.8cm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:4,name:"软木膏",marketPrice:30,checked:!0,referencePrice:25},{index:5,name:"哨片",marketPrice:150,checked:!0,referencePrice:120},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},trumpet:{name:"小号",config:[{default:1,name:"标准配置",marketPrice:4800,referencePrice:3650,checked:!0,texture:"白铜变音管磷铜发音管",index:7},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B调 特殊结构:可调试调音管控制环 喇叭口直径:123mm 内管:11.66mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},trombone:{name:"长号",config:[{default:1,name:"标准配置",marketPrice:5550,referencePrice:3870,checked:!0,texture:"白铜内外伸缩管",index:8},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B/F调、喇叭口:215mm、内管:13.9mm管:13.9mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:6,name:"拉杆油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},horn:{name:"圆号",config:[{default:1,name:"标准配置",marketPrice:5500,referencePrice:3910,checked:!0,texture:"白铜变音管磷铜发音管",index:9},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B/F调、结构:双排管 喇叭口直径:306mm 内管:11.5mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},upperBass:{name:"上低音号",config:[{default:1,name:"标准配置",marketPrice:5800,referencePrice:3980,checked:!0,texture:"白铜变音管磷铜发音管",index:10},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B调、结构:三立键 喇叭口直径:278mm、内管:13.4mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},snareDrum:{name:"小军鼓",config:[{default:1,name:"标准配置",marketPrice:3700,referencePrice:3190,checked:!0,texture:"",index:11},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"珍珠镍小军鼓,桦木鼓腔,高碳钢纱带",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65}]}}),C={other:[{name:"教材",marketPrice:7680,referencePrice:0},{name:"乐谱",marketPrice:7680,referencePrice:0}]},g=n("4328"),b=n.n(g),x=n("345a"),y=n("2241"),I={name:"home",components:{Protocol:x["default"],Dialog:y["a"]},data:function(){return{popupStatus:!1,protocolData:{},result:{},instrument:{},baseInfo:{},money:580,orderInfo:{marketPrice:0,referencePrice:0,auxiliarie:null,instrumentId:null},form:{apiContent:"",host:"",merNo:"",notifyUrl:"",sign:"",signType:"",timestamp:"",version:""}}},mounted:function(){var e=this;this.baseInfo=C,axios.post("/user/getUserRegisterViewDetail",b.a.stringify({stuId:this.$route.query.stuId})).then(function(t){var n=t.data.data;e.result={payMethod:n.fee_type_,subName:n.sub_name_,grade:n.grade_,voicyPart:n.sub_name_.split(".")[1],isCopperPipe:n.isCopperPipe,patriarchName:n.patriarch_name_,patriarchPhone:n.patriarch_phone_,stuName:n.name_,stuClass:n.g_class_,classAmount:n.fee_amount_,course_id:n.course_id_},e.instrument=P[e.cnToEn(e.result.voicyPart)],25!=n.fee_type_&&26!=n.fee_type_||e.instrument.config.forEach(function(e){e.checked=!1});var r=sessionStorage.getItem("homeConfig");if(r){r=JSON.parse(r),e.instrument.config.forEach(function(e){e.index==r.config?e.checked=!0:e.checked=!1});var a=r.auxiliaries.split(",");e.instrument.auxiliaries.forEach(function(e){e.checked=!1,a.forEach(function(t){e.index==parseInt(t)&&(e.checked=!0)})}),sessionStorage.removeItem("homeConfig")}e.calcPrice()})},methods:{auxiliarie:function(e){this.instrument.auxiliaries[e].checked=!this.instrument.auxiliaries[e].checked,this.calcPrice()},instrumentF:function(e){for(var t=0;t<this.instrument.config.length;t++)this.instrument.config[t].checked=!1;this.instrument.config[e].checked=!0,this.calcPrice()},instrumentF2:function(e,t){25!=this.result.payMethod&&26!=this.result.payMethod||t.checked||"自备"==t.name||this.protocol();for(var n=0;n<this.instrument.config.length;n++)this.instrument.config[n].checked=!1,"default"==e&&1==this.instrument.config[n].default&&(this.instrument.config[n].checked=!0),"self"==e&&"自备"==this.instrument.config[n].name&&(this.instrument.config[n].checked=!0);this.calcPrice()},buy:function(){var e,t=this,n=this.$route.query,r={branchId:n.branchId,userId:n.stuId,amount:this.orderInfo.referencePrice,courseId:this.result.course_id,classId:n.classId},a=this.orderInfo.instrumentIndex;a&&99!=a&&0!=a&&(r.instrument=a),this.orderInfo.auxiliarie&&(r.adjunct=e=this.orderInfo.auxiliarie);var i,c=0;if(this.instrument.config.forEach(function(e){e.checked&&(c++,i=e.index)}),sessionStorage.setItem("homeConfig",JSON.stringify({config:i,auxiliaries:e})),!c)return y["a"].alert({title:"提示",message:"请选择乐器准备方式",confirmButtonColor:"#269a93"}),!1;axios.post("/yqpay/toPay",b.a.stringify(r)).then(function(e){var n=e.data;n.data?(t.form=n.data,t.onSubmit()):y["a"].alert({title:"提示",message:n.msg,confirmButtonColor:"#269a93"})})},onSubmit:function(){var e=this.form;document.querySelector("#onSubmit").action=e.host,document.querySelector("#apiContent").value=e.apiContent,document.querySelector("#merNo").value=e.merNo,document.querySelector("#notifyUrl").value=e.notifyUrl,document.querySelector("#sign").value=e.sign,document.querySelector("#signType").value=e.signType,document.querySelector("#timestamp").value=e.timestamp,document.querySelector("#version").value=e.version,document.querySelector("#onSubmit").submit()},protocol:function(){for(var e=this.result,t={patriarchName:e.patriarchName,patriarchPhone:e.patriarchPhone,stuName:e.stuName,grade:e.grade,subName:e.subName,voicyPart:e.voicyPart,payMethod:e.payMethod,isCopperPipe:e.isCopperPipe},n=this.instrument.config,r=0;r<n.length;r++)n[r].default&&(t.name=n[r].name,t.referencePrice=n[r].referencePrice,t.marketPrice=n[r].marketPrice);this.protocolData=t,this.popupStatus=!0},cnToEn:function(e){var t={"长笛":"flute","单簧管":"clarinet","萨克斯管":"saxophone","小号":"trumpet","长号":"trombone","圆号":"horn","上低音号":"upperBass","小军鼓":"snareDrum"};return t[e]},calcPrice:function(){var e,t,n=this.result.payMethod,r={mClass:0,rClass:0,mInstrument:0,rInstrument:0,mAuxiliarie:0,rAuxiliarie:0,mOther:0,rOther:0};21!=n&&25!=n||(r.mClass=23520,r.rClass=0),22==n&&(r.mClass=23520,r.rClass=this.result.classAmount),(26==n||n>26)&&(r.mClass=20160,r.rClass=this.result.classAmount);for(var a=this.instrument.config,i=0;i<a.length;i++)a[i].checked&&(r.mInstrument=parseInt(a[i].marketPrice),t=a[i].index,0==a[i].marketPrice?r.rInstrument=0:25==n?this.result.isCopperPipe?(r.rInstrument=0,t=99):r.rInstrument=parseInt(a[i].referencePrice):r.rInstrument=26==n?800:parseInt(a[i].referencePrice));for(var c=this.instrument.auxiliaries,s=0;s<c.length;s++)c[s].checked&&(r.mAuxiliarie+=parseInt(c[s].marketPrice),r.rAuxiliarie+=parseInt(c[s].referencePrice),e?e+=","+c[s].index:e=c[s].index);for(var o=this.baseInfo.other,u=0;u<o.length;u++)r.mOther+=o[u].marketPrice,r.rOther+=o[u].referencePrice;this.orderInfo={marketPrice:parseInt(r.mClass+r.mInstrument+r.mAuxiliarie+r.mOther),referencePrice:parseInt(r.rClass+r.rInstrument+r.rAuxiliarie+r.rOther),auxiliarie:e,instrumentIndex:t}},onPopupClose:function(e){document.querySelector("#protocolPopup").scroll(0,0),this.popupStatus=!1}}},S=I,N=(n("7eba"),Object(l["a"])(S,_,k,!1,null,"40a76c64",null)),E=N.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"login"},[e._m(0),n("div",{staticClass:"bandSection"},[n("div",{staticClass:"school"},[e._v("\n "+e._s(e.dataList.schoolName)+"\n ")]),n("div",{staticClass:"phoneSection"},[n("i",{staticClass:"man_icon"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.dataList.phoneNumber,expression:"dataList.phoneNumber"}],staticClass:"phone",attrs:{type:"number",pattern:"[0-9]",placeholder:"请输入手机号报名或查询进度"},domProps:{value:e.dataList.phoneNumber},on:{input:function(t){t.target.composing||e.$set(e.dataList,"phoneNumber",t.target.value)}}})])]),n("div",{staticClass:"btn-group"},[n("van-button",{staticClass:"btn",attrs:{size:"large"},on:{click:e.onSubmit}},[e._v(e._s(2==e.dataList.status?"缴费":"报名 / 查询进度"))])],1),n("van-popup",{staticClass:"popup",model:{value:e.popupStatus,callback:function(t){e.popupStatus=t},expression:"popupStatus"}},[n("div",{staticClass:"pContainer"},[n("i",{staticClass:"message_icon"}),n("div",{staticClass:"content"},[n("p",{staticClass:"status"},[e._v(e._s(e.statusList(e.popupText)))]),0==e.popupText?n("p",{staticClass:"dec"},[e._v("请您耐心等待")]):e._e()])]),n("div",{staticClass:"pGroup"},[n("van-button",{staticClass:"button",on:{click:function(t){e.popupStatus=!1}}},[e._v("取消")]),n("van-button",{staticClass:"button",on:{click:function(t){e.popupStatus=!1}}},[e._v("确定")])],1)])],1)},M=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"logo"},[r("img",{staticStyle:{width:"1.25rem"},attrs:{src:n("cf05"),alt:""}})])}],O=n("b650"),$=n("e41f"),L=n("d399"),q={name:"login",components:{Button:O["a"],Popup:$["a"],Toast:L["a"],Dialog:y["a"]},data:function(){return{popupStatus:!1,popupText:"",dataList:{status:null,schoolName:"",phoneNumber:"",branchId:""}}},mounted:function(){var e=this,t=this.$route.query,n={clazzId:t.classId,schoolId:t.schoolId};axios.post("/user/getClassDetail",b.a.stringify(n)).then(function(t){var n=t.data;e.dataList.schoolName=n.data.name,e.dataList.branchId=n.data.branchId,e.dataList.status=n.data.status})},methods:{onSubmit:function(){var e=this,t=this.dataList.status;if(!/^1(3|4|5|6|7|8|9)\d{9}$/.test(this.dataList.phoneNumber))return Object(L["a"])("手机号输入有误"),!1;var n=this.$route.query;axios.get("/user/getUserDetailByPhone?clazzId=".concat(n.classId,"&phone=").concat(this.dataList.phoneNumber,"&cityId=").concat(n.cityId)).then(function(r){var a=r.data;a.status?a.data?1==parseInt(a.data.pushStatus)?y["a"].alert({title:"提示",message:"恭喜您,报名成功",confirmButtonColor:"#269a93"}):2==parseInt(a.data.pushStatus)&&0==parseInt(a.data.status)&&e.$router.push({path:"home",query:{branchId:a.data.branchId,stuId:a.data.id,classId:a.data.classId}}):t>=2?y["a"].alert({title:"提示",message:"报名已截止,请联系教务老师",confirmButtonColor:"#269a93"}):e.$router.push({path:"register",query:{phone:e.dataList.phoneNumber,cityId:n.cityId,classId:n.classId,schoolId:n.schoolId,branchId:e.dataList.branchId}}):y["a"].alert({title:"提示",message:a.msg,confirmButtonColor:"#269a93"})})},statusList:function(e){var t;switch(e){case 0:t="报名中";break;case 1:t="缴费中";break}return t}}},A=q,B=(n("195e"),Object(l["a"])(A,w,M,!1,null,"15802eae",null)),j=B.exports;r["a"].use(v["a"]);var D=new v["a"]({base:"/",routes:[{path:"/",name:"login",component:j},{path:"/home",name:"home",component:E},{path:"/alipay",name:"alipay",component:function(){return n.e("chunk-3c8cb0e0").then(n.bind(null,"5e84"))}},{path:"/payment",name:"payment",component:function(){return n.e("chunk-fc3f7e80").then(n.bind(null,"2b6e"))}},{path:"/protocol",name:"protocol",component:function(){return Promise.resolve().then(n.bind(null,"345a"))}},{path:"/login",name:"login",component:j},{path:"/register",name:"register",component:function(){return n.e("chunk-986fe2ae").then(n.bind(null,"7803"))}}],scrollBehavior:function(){return{x:0,y:0}}}),T=n("b970");n("157a");r["a"].use(T["a"]),r["a"].config.productionTip=!1,new r["a"]({store:h,router:D,render:function(e){return e(f)}}).$mount("#app")},"5c48":function(e,t,n){},6204:function(e,t,n){"use strict";var r=n("cedb"),a=n.n(r);a.a},"7c55":function(e,t,n){"use strict";var r=n("5c48"),a=n.n(r);a.a},"7eba":function(e,t,n){"use strict";var r=n("faba"),a=n.n(r);a.a},ab46:function(e,t,n){e.exports=n.p+"img/cachet.221665cb.png"},cedb:function(e,t,n){},cf05:function(e,t,n){e.exports=n.p+"img/logo.a3831ddf.png"},faba:function(e,t,n){}});
- //# sourceMappingURL=app.57bda2b9.js.map
|