app.ee50d3b4.js 58 KB

12
  1. (function(e){function t(t){for(var n,r,s=t[0],o=t[1],u=t[2],d=0,l=[];d<s.length;d++)r=s[d],i[r]&&l.push(i[r][0]),i[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);m&&m(t);while(l.length)l.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,t=0;t<c.length;t++){for(var a=c[t],n=!0,r=1;r<a.length;r++){var s=a[r];0!==i[s]&&(n=!1)}n&&(c.splice(t--,1),e=o(o.s=a[0]))}return e}var n={},r={app:0},i={app:0},c=[];function s(e){return o.p+"js/"+({}[e]||e)+"."+{"chunk-402666c2":"83d5625c","chunk-49de7a66":"45ea8ece","chunk-5b98d562":"ef6fb1af","chunk-62634a82":"f3482068","chunk-957805ae":"a523c346","chunk-ab650240":"33b5a2ec","chunk-b1785294":"f8716763"}[e]+".js"}function o(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.e=function(e){var t=[],a={"chunk-402666c2":1,"chunk-49de7a66":1,"chunk-5b98d562":1,"chunk-62634a82":1,"chunk-957805ae":1,"chunk-ab650240":1,"chunk-b1785294":1};r[e]?t.push(r[e]):0!==r[e]&&a[e]&&t.push(r[e]=new Promise(function(t,a){for(var n="css/"+({}[e]||e)+"."+{"chunk-402666c2":"b254fff6","chunk-49de7a66":"da4e4d36","chunk-5b98d562":"ff7e01af","chunk-62634a82":"b75f3345","chunk-957805ae":"a32d8ead","chunk-ab650240":"a45acdea","chunk-b1785294":"b40067fc"}[e]+".css",i=o.p+n,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var u=c[s],d=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(d===n||d===i))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){u=l[s],d=u.getAttribute("data-href");if(d===n||d===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var n=t&&t.target&&t.target.src||i,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete r[e],m.parentNode.removeChild(m),a(c)},m.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(m)}).then(function(){r[e]=0}));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise(function(t,a){n=i[e]=[t,a]});t.push(n[2]=c);var u,d=document.createElement("script");d.charset="utf-8",d.timeout=120,o.nc&&d.setAttribute("nonce",o.nc),d.src=s(e),u=function(t){d.onerror=d.onload=null,clearTimeout(l);var a=i[e];if(0!==a){if(a){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+r+")");c.type=n,c.request=r,a[1](c)}i[e]=void 0}};var l=setTimeout(function(){u({type:"timeout",target:d})},12e4);d.onerror=d.onload=u,document.head.appendChild(d)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(a,n,function(t){return e[t]}.bind(null,n));return a},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"]||[],d=u.push.bind(u);u.push=t,u=u.slice();for(var l=0;l<u.length;l++)t(u[l]);var m=d;c.push([0,"chunk-vendors"]),a()})({0:function(e,t,a){e.exports=a("56d7")},1882:function(e,t,a){"use strict";var n=a("efc8"),r=a.n(n);r.a},"1fbf":function(e,t,a){},"2d96":function(e,t,a){"use strict";var n=a("cffa"),r=a.n(n);r.a},"345a":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"protocol"},[26==e.proto.payMethod||22==e.proto.payMethod?n("div",{staticClass:"container"},[n("h1",[e._v("《课程服务协议》")]),e._v("\n 甲方:深圳大雅乐盟网络教育股份有限公司 "),n("br"),n("div",{staticStyle:{display:"flex"}},[e._v("乙方:\n "),n("div",{staticStyle:{flex:"1 auto"}},[n("div",{staticClass:"iInfo"},[n("span",[e._v("家长姓名 "+e._s(e.proto.patriarchName))]),n("span",[e._v("电话:"+e._s(e.proto.patriarchPhone))])]),n("div",{staticClass:"iInfo"},[n("span",[e._v("学生姓名:"+e._s(e.proto.stuName))]),n("span",[e._v("所在班级:"+e._s(e.proto.grade))])]),n("div",{staticClass:"iInfo"},[n("span",[e._v("所在声部:"+e._s(e.proto.subName))])])])]),e._v(" \n 为进一步提升器乐教学质量和服务品质,保证学员学习进度,明确培训各方的权责,经甲、乙双方协商一致,特订立本协议,以便共同遵守。\n\n "),n("h2",[e._v("一、课程信息")]),n("div",{staticClass:"iInfo"},[n("span",[e._v("授课内容:乐团课")]),n("span",[e._v("缴费金额:¥"+e._s(e.proto.classAmount))])]),n("h2",[e._v("二、行为规范")]),e._v("\n 乙方在选择甲方各类提高课程并签署本协议时视为乙方已经仔细阅读并同意遵守如下事项:\n "),n("h3",[e._v("1.报名")]),e._v("\n 1.1无论是否源自指导老师或教务老师的建议,乙方选择参加甲方的课程,包括对授课形式、授课内容的选择,均为乙方自主意愿的表达及独立自主的选择。"),n("br"),e._v("\n 1.2乙方应在所选课程开始前完成相应课程缴费,并完成报名手续。\n "),n("h3",[e._v("2.上课")]),e._v("\n 2.1乙方应按时到达甲方指定上课地点,作好课前准备;如发生迟到、或因自身原因早退等情况的,为避免影响老师后续课程的正常进行,授课老师除完成原定时间安排的授课外,将不再提供额外延长课时。"),n("br"),e._v("\n 2.2乙方(含学员,下同)不得携带任何食品进入教室,所有进食应在课前完成;进入教室后,不得大声喧哗、追逐嬉戏,应当听从授课老师的安排;乙方应爱护公共财产和教学设施,严禁在桌椅上刻、划、涂、写等不文明行为;乙方未经授课老师同意,不得擅自使用教室内的乐器、音响、电视、空调等器材、设施,如造成此类器材、设施损坏的,乙方应照价赔偿。"),n("br"),e._v("\n 2.3未经授课老师同意,乙方家长不得进入课堂,以免影响老师和学员上课;为保证训练质量及进度,学员应保证按照指导老师或教务老师所提出的要求在家练习,遇到专业问题应及时向指导老师请教,非专业问题可随时向教务老师反映。"),n("br"),e._v("\n 2.4乙方家长应教育及监督学员务必注意个人安全,妥善保管个人财物,对于非甲方原因造成的人身安全事故或财物损失,由责任人自行承担。\n "),n("h3",[e._v("3请假、休会及扣费")]),e._v("\n 3.1基于教学进度和质量保证,本课程对于课程的延续性有严格要求,因此乙方应尽量避免请假。"),n("br"),e._v("\n 3.2一对一课程有特殊情况需要请假的,应提前24小时以上以书面形式告知对应的授课老师,以便及时调整时间安排;一对多课程,不接受任何个人单独请假,如果集体请假,应提前24小时以上以书面形式告知对应的授课老师,未按本协议约定请假则当次课程视同已经教授,系统将自动结算课时并扣除相应费用。乙方请假后,应尽快预约补课时间完成补课。"),n("br"),e._v("\n 3.3一对一课程以及一对二课程,乙方如遇特殊情况时,可向甲方或授课老师】申请办理临时休课。乙方可在6个月内申请复学,超过6个月未申请复课的,甲方有权按自动退会处理。一对二课程申请临时休课的,还需征得同组学员同意后方可申请休课。"),n("br"),e._v("\n 3.4每期课程相对应的有效期,乙方应在有效期内完成课程,10次课一期的,自交费之日起4个月内有效;20次课一期的,自交费之日起8个月内有效;40次课一期的,自交费之日起16个月内有效。如果由于指导老师请假等原因造成课程不能如期完成的,课程有效期将顺延;如课程超出有效期限,乙方所缴纳的课程费用将自动扣除逾期未完成的课时后自动清零。"),n("br"),n("h2",[e._v("三、退费")]),e._v("\n 1、一对一课程开课后,乙方要求退费的,乙方应在课程有效期内提出申请,甲方扣除报名费及未授课部分对应学费的20%后,将余款(不计息,下同)退还给乙方;如果乙方报名时享受打折优惠的,甲方先按照原价计算当期已上课时学费,再扣除报名费及未授课部分学费的20%后,将余款退还给乙方。"),n("br"),e._v("\n 2、一对二课程开课后,乙方要求退费的,乙方应在课程有效期内提出申请,甲方扣除报名费及未授课部分的学费30%后,将余款退还给乙方;如果乙方报名时享受了打折优惠的,甲方先按照原价计算当期已上课时学费,再扣除报名费及未授课部分学费的30%后,将余款退还给乙方。"),n("br"),e._v("\n 3、除一对一课程以及一对二课程之外的其他课程,课程开课后,甲方不接受任何原因的退款申请。"),n("br"),e._v("\n 4、甲方所有收费,均向乙方开具加盖公司印章的收款凭据,乙方务必妥善保管,乙方按照本协议约定退费时,应向甲方出具该收费凭据原件方可办理。"),n("br"),n("h2",[e._v("四、违约责任")]),e._v("\n 1、当事人一方不履行合同义务或者履行合同义务不符合约定的,均构成违约,守约方有权以书面通知的方式要求违约方纠正其违约行为并采取及时、有效的补救措施消除违约后果,并赔偿守约方因违约方之违约行为而遭致的损失。若违约方在收到守约方的上述通知后5日内未纠正其违约行为的,守约方有权在做出书面通知的情况下,单方解除本协议,违约方应赔偿守约方因此遭致的全部损失。"),n("br"),e._v("\n 2、乙方应始终维护甲方的知识产权以及品牌形象,本协议期间以及本协议因任何原因失效、被撤销、解除或终止后,均不得直接或间接通过任何公众媒体(包括但不限于传统大众媒体,以及微信、微博、博客、直播平台等社交平台)发表损害甲方(包括但不限于其产品、服务及甲方授课老师)声誉的言论或实施任何类似行为,否则乙方应赔偿甲方因此遭受的全部损失。"),n("br"),n("h2",[e._v("五、保密条款")]),e._v("\n 1、双方对本协议的条款、本协议的签订及履行情况以及通过签订和履行本协议而获知的对方及对方关联公司的任何信息均负有保密义务。任何一方不得以任何形式透露给第三方(有关法律法规要求和甲乙双方的法律、会计顾问、授权雇员除外),也不得擅自使用。"),n("br"),e._v("\n 2、本保密义务期限不受本协议期限的限制。本协议失效、被撤销、解除或终止等任何情况下,双方均应遵守本保密义务。"),n("br"),n("h2",[e._v("六、不可抗力")]),e._v("\n 1、一方遇到不可抗力事件(指甲乙双方无法控制、无法预见或即使预见也无法避免的事件,该事件妨碍、影响或延误任何一方履行本协议的全部或部分义务,该事件包括但不限于自然灾害(如水灾、地震等)、火灾、政府行为、法律或政策变化(含学校合作变化)、战争或其他任何类似事件)时,受影响方应当立即书面通知对方,并告知该不可抗力事件对本协议可能产生的影响,并在该不可抗力事件发生后5日内向对方提供该事件的详细信息及由有关机构出具的解释受影响方因此无法履行本协议项下全部或部分义务的相关证明。"),n("br"),e._v("\n 2、由于上述不可抗力事件致使受影响方无法履行或无法按时履行本协议项下全部或部分义务的,双方于彼此间均不承担违约责任,但双方应在相互信任的基础上协商解决,尽力减少不可抗力事件对本协议的影响,并采取合理方式进行调整(包括但不限于另行签订补充协议等),尽量避免损失的扩大。"),n("br"),e._v("\n 3、不可抗力事件消失或结束后,除双方另行协商一致外,受到不可抗力影响的一方应当立即采取措施继续履行本协议,如不可抗力事件持续30日以上的,则任何一方有权以书面通知对方的方式单方解除本协议。"),n("br"),n("h2",[e._v("七、适用法律及争议解决方式")]),e._v("\n 1、本协议的订立、效力、履行、解释及争议解决均适用中华人民共和国法律。"),n("br"),e._v("\n 2、因履行本协议发生的一切争议,甲乙双方应友好协商解决;如双方在发生争议后30日内无法通过协商解决时,任何一方有权向甲方所在地有管辖权的人民法院提起诉讼解决。"),n("br"),n("h2",[e._v("八、其他")]),e._v("\n 1、乙方同意,甲方有权在乙方学习和活动期间对其拍摄照片、视频,甲方对所拍摄的照片、视频有永久免费使用权。"),n("br"),e._v("\n 2、未经甲方事先书面同意,乙方不得将本课程转让给乙方以外的任何第三方。"),n("br"),e._v("\n 3、双方确认并同意,本协议的电子版本与纸质版本具有同等法律效力。双方发生争议时,电子合同打印件可作为证据提交。双方通过网络以在线方式签订本协议的 ,则以乙方点击“确认”或“同意”等相关按钮或以电子签名的方式作为对合同内容的同意、确认以及本协议的签署;如双方签订纸质版本协议的,则本协议壹式贰份,甲方盖公章或合同专用章并且乙方签字作为有效签署方式,并且双方各执壹份,每份具有同等法律效力。"),n("br"),e._v("\n 4、本协议自双方按照本协议约定方式签署之日起生效,有效期至双方履行完本协议约定的全部义务时止。"),n("br"),e._v("\n 5、本协议未尽事宜或对本协议的任何修改、补充,有双方另行协商后以签订补充协议的方式解决,补充协议与本协议具有同等法律效力;双方没有约定也没有协商一致的,遵照相关法律法规规定执行。"),n("br"),e._v("\n 双方因履行本协议而相互发出或者提供的所有通知、文件、资料,均以本协议中所列明的电话、APP推送消息送达,乙方如果变更电话号码的,应当自变更后1日内通知甲方且获得甲方确认,甲方通过电话、APP方式无法联系乙方或者甲方认为必要时,甲方也可以通过特快专递至乙方住址的方式向乙方发出上述任何通知、文件、资料等,并在甲方寄出特快专递后第5日视为送达成功。"),n("br"),n("div",{staticClass:"signature"},[n("div",{staticClass:"sign"},[e._v("甲方签章 "),n("img",{staticClass:"cachet",attrs:{src:a("ab46"),alt:""}}),n("span",[e._v(e._s(e.nowDate))])]),n("div",{staticClass:"sign"},[e._v("乙方签字:"+e._s(e.proto.stuName)+"\n "),n("span",[e._v(" "+e._s(e.nowDate)+" ")])])])]):e._e(),26!=e.proto.payMethod&&22!=e.proto.payMethod||"自备"==e.proto.checkName?e._e():n("div",[n("br"),n("br"),n("hr")]),26!=e.proto.payMethod&&25!=e.proto.payMethod||"自备"==e.proto.checkName?e._e():n("div",{staticClass:"container"},[n("h1",[e._v("《乐器借用协议》")]),e._v("\n 甲方:深圳大雅乐盟网络教育股份有限公司 "),n("br"),n("div",{staticStyle:{display:"flex"}},[e._v("乙方:\n "),n("div",{staticStyle:{flex:"1 auto"}},[n("div",{staticClass:"iInfo"},[n("span",[e._v("家长姓名 "+e._s(e.proto.patriarchName))]),n("span",[e._v("电话:"+e._s(e.proto.patriarchPhone))])]),n("div",{staticClass:"iInfo"},[n("span",[e._v("学生姓名:"+e._s(e.proto.stuName))]),n("span",[e._v("所在班级:"+e._s(e.proto.grade))])]),n("div",{staticClass:"iInfo"},[n("span",[e._v("所在声部:"+e._s(e.proto.subName))])])])]),e._v(" \t \n \n 为了促进学校乐团健康、持续发展,让更多的学生在校园拥有良好的器乐学习机会,甲方基于公益普惠的原则,决定提供价值"+e._s(e.proto.marketPrice)+"元的KEY品牌全新乐器供乙方在学校乐团期间免费使用。现根据《中华人民共和国合同法》等法律法规规定,为明确甲乙双方权利义务,经协商一致,就乙方借用乐器事宜达成如下协议:\n "),n("h2",[e._v("一、甲方权利与义务:")]),e._v("\n 1、乙方所借用的乐器为甲方资产,乐器所有权归属甲方所有,甲方有权在必要时向乙方收回借用乐器并退还押金。"),n("br"),e._v("\n 2、甲方所提供乐器为全新的KEY品牌乐器。在乙方签订本协议、交纳乐器使用押金后,甲方即将乐器交付给乙方供其在学校乐团期间免费使用。"),n("br"),e._v("\n 3、乙方归还乐器时,双方当面当场验收,经甲方维修技师检验确认乐器无人为损坏、可正常使用后,甲方在七个工作日内全额不计息退还乙方已交纳的押金。"),n("br"),e._v("\n 4、如乙方已购买甲方乐器保养服务,甲方需在乙方借用期间协助乙方处理乐器维修和保养问题。\n "),n("h2",[e._v("二、乙方权利与义务:")]),e._v("\n 1、乙方在签订本协议、交纳乐器使用押金¥"+e._s(25==e.proto.payMethod?0:1==e.proto.amountType?800:1500)+"元(大写人民币"+e._s(25==e.proto.payMethod?"零":"捌佰")+"元整)后,享有所借用乐器在学校乐团期间的免费使用权。乙方应当爱惜乐器并妥善保管,不得将该乐器转租、借用、出售、典当、质押或抵押,也不得将乐器交于非专业人士使用。乐器借用政策,每位团员仅可享受一次,退团后再次加入乐团的,将无法享受乐器借用政策。"),n("br"),e._v("\n 2、乐器日常维护由乙方自行完成,每次练习完毕后需按老师要求对乐器进行擦拭并装箱保管。如因人为原因(包括但不限于磕、碰、摔等)造成乐器损坏的,乙方需自行承担维修费用;如因非甲方原因导致乐器无法正常使用(正常使用磨损除外)或乐器毁损、灭失、遗失的,乙方须按本协议中明示的乐器团购价格进行赔付。"),n("br"),e._v("\n 3、当乙方决定不再继续乐团学习时,应在退团之日起1日内将其借用的乐器归还甲方,双方当面当场验收,经甲方维修技师检验确认乐器无人为损坏、可正常使用后,乙方可按照本协议约定获得已交纳的押金;经甲方维修技师检验,乐器存在损坏的,乙方应承担相应的维修费用,如乐器已经无法正常使用的,乙方须按本协议中明示的乐器团购价格进行赔付,甲方有权从应退还乙方的押金中先行扣除维修费用、赔付费用,如甲方扣除押金后仍然不足以弥补维修费用、赔付费用的,甲方有权继续要求乙方支付剩余费用。"),n("br"),e._v("\n 4、乙方终止乐团学习2个月内,仍未将乐器归还给甲方的,则视为乙方违约,乙方所交押金甲方有权不予退还,同时乙方须按乐器团购价格进行赔付。\n "),n("h2",[e._v("三、乐器标准:")]),n("div",{staticClass:"iInfo"},[n("span",[e._v("名称:"+e._s(e.proto.voicyPart))]),n("span",[e._v("品牌:key")])]),n("div",{staticClass:"iInfo"},[n("span",[e._v("型号:"+e._s(e.proto.name))]),n("span",[e._v("团购价格:¥"+e._s(e.proto.referencePrice))])]),n("h2",[e._v("四、违约责任")]),e._v(" \n 1、当事人一方不履行合同义务或者履行合同义务不符合约定的,均构成违约,守约方有权以书面通知的方式要求违约方纠正其违约行为并采取及时、有效的补救措施消除违约后果,并赔偿守约方因违约方之违约行为而遭致的损失。若违约方在收到守约方的上述通知后5日内未纠正其违约行为的,守约方有权在做出书面通知的情况下,单方解除本协议,违约方应赔偿守约方因此遭致的全部损失。"),n("br"),e._v("\n 2、乙方应始终维护甲方的知识产权以及品牌形象,本协议期间以及本协议因任何原因失效、被撤销、解除或终止后,均不得直接或间接通过任何公众媒体(包括但不限于传统大众媒体,以及微信、微博、博客、直播平台等社交平台)发表损害甲方(包括但不限于其产品、服务或甲方授课老师)声誉的言论或实施任何类似行为,否则乙方应赔偿甲方因此遭受的全部损失。\n "),n("h2",[e._v("五、保密条款")]),e._v("\n 1、双方对本协议的条款、本协议的签订及履行情况以及通过签订和履行本协议而获知的对方及对方关联公司的任何信息均负有保密义务。任何一方不得以任何形式透露给第三方(有关法律法规要求和甲乙双方的法律、会计顾问、授权雇员除外),也不得擅自使用。\n 2、本保密义务期限不受本协议期限的限制。本协议失效、被撤销、解除或终止等任何情况下,双方均应遵守本保密义务。\n "),n("h2",[e._v("六、不可抗力")]),e._v("\n 1、一方遇到不可抗力事件(指甲乙双方无法控制、无法预见或即使预见也无法避免的事件,该事件妨碍、影响或延误任何一方履行本协议的全部或部分义务,该事件包括但不限于自然灾害(如水灾、地震等)、火灾、政府行为、法律或政策变化(含学校合作变化)、战争或其他任何类似事件)时,受影响方应当立即书面通知对方,并告知该不可抗力事件对本协议可能产生的影响,并在该不可抗力事件发生后5日内向对方提供该事件的详细信息及由有关机构出具的解释受影响方因此无法履行本协议项下全部或部分义务的相关证明。"),n("br"),e._v("\n 2、由于上述不可抗力事件致使受影响方无法履行或无法按时履行本协议项下全部或部分义务的,双方于彼此间均不承担违约责任,但双方应在相互信任的基础上协商解决,尽力减少不可抗力事件对本协议的影响,并采取合理方式进行调整(包括但不限于另行签订补充协议等),尽量避免损失的扩大。"),n("br"),e._v("\n 3、不可抗力事件消失或结束后,除双方另行协商一致外,受到不可抗力影响的一方应当立即采取措施继续履行本协议,如不可抗力事件持续30日以上的,则任何一方有权以书面通知对方的方式单方解除本协议。\n "),n("h2",[e._v("七、适用法律及争议解决方式")]),e._v("\n 1、本协议的订立、效力、履行、解释及争议解决均适用中华人民共和国法律。"),n("br"),e._v("\n 2、因履行本协议发生的一切争议,甲乙双方应友好协商解决;如双方在发生争议后30日内无法通过协商解决时,任何一方有权向甲方所在地有管辖权的人民法院提起诉讼解决。\n "),n("h2",[e._v("八、其他")]),e._v("\n 1、本协议自双方按照本协议约定方式签署之日起生效,有效期至双方履行完本协议约定的全部义务时止。"),n("br"),e._v("\n 2、双方确认并同意,本协议的电子版本与纸质版本具有同等法律效力。双方发生争议时,电子合同打印件可作为证据提交。双方通过网络以在线方式签订本协议的 ,则以乙方点击“确认”或“同意”等相关按钮或以电子签名的方式作为对合同内容的同意、确认以及本协议的签署;如双方签订纸质版本协议的,则本协议壹式贰份,甲方盖公章或合同专用章并且乙方签字作为有效签署方式,并且双方各执壹份,每份具有同等法律效力。"),n("br"),e._v("\n 3、本协议未尽事宜或对本协议的任何修改、补充,由双方另行协商后以签订补充协议的方式解决,补充协议与本协议具有同等法律效力;双方没有约定也没有协商一致的,遵照相关法律法规规定执行。"),n("br"),e._v("\n 4、双方因履行本协议而相互发出或者提供的所有通知、文件、资料,均以本协议中所列明的电话、APP推送消息送达,乙方如果变更电话号码的,应当自变更后1日内通知甲方且获得甲方确认,甲方通过电话、APP方式无法联系乙方或者甲方认为必要时,甲方也可以通过特快专递至乙方住址的方式向乙方发出上述任何通知、文件、资料等,并在甲方寄出特快专递后第5日视为送达成功。\n\n\n "),n("div",{staticClass:"signature"},[n("div",{staticClass:"sign"},[e._v("甲方签章 "),n("img",{staticClass:"cachet",attrs:{src:a("ab46"),alt:""}}),n("span",[e._v(e._s(e.nowDate))])]),n("div",{staticClass:"sign"},[e._v("乙方签字:"+e._s(e.proto.stuName)+"\n "),n("span",[e._v(" "+e._s(e.nowDate)+" ")])])])]),n("div",{on:{click:e.goback}},[n("div",{staticClass:"btnback"},[e._v("我同意")])])])},r=[],i={name:"protocol",props:["proto"],data:function(){return{params:this.proto,dataList:{},nowDate:""}},mounted:function(){var e=new Date;this.nowDate=e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"},methods:{goback:function(){this.$emit("popupclose",!1)},classForm:function(e){var t;switch(e){case 1001:t="1V1";break;case 2002:t="1V2";break;case 3003:t="1V3";break;case 4004:t="1V4";break;case 5005:t="1V5";break;case 6020:t="小组课";break;case 21099:t="大课";break;case 999999:t="团体课";break}return t}}},c=i,s=(a("2d96"),a("2877")),o=Object(s["a"])(c,n,r,!1,null,"1f01732a",null);t["default"]=o.exports},"56d7":function(e,t,a){"use strict";a.r(t);a("66b9");var n=a("b650"),r=(a("8a58"),a("e41f")),i=(a("e7e5"),a("d399")),c=(a("e17f"),a("2241")),s=(a("be7f"),a("565f")),o=(a("0653"),a("34e9")),u=(a("c194"),a("7744")),d=(a("2cbd"),a("ab2c")),l=(a("d1cf"),a("ee83")),m=(a("414a"),a("7a82")),f=(a("ac1e"),a("543e")),h=(a("f1dc"),a("6e47")),p=(a("da3c"),a("0b33")),v=(a("bda7"),a("5e46")),_=(a("09d3"),a("2d6d")),k=(a("61ae"),a("d314")),P=(a("cadf"),a("551c"),a("f751"),a("097d"),a("2b0e")),b=a("bc3a"),g=a.n(b),C={baseURL:"/api"},x=g.a.create(C);x.interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),x.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)}),Plugin.install=function(e){e.axios=x,window.axios=x,Object.defineProperties(e.prototype,{axios:{get:function(){return x}},$axios:{get:function(){return x}}})},P["a"].use(Plugin);Plugin;var y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("router-view")],1)},I=[],S=(a("7c55"),a("2877")),$={},N=Object(S["a"])($,y,I,!1,null,null,null),T=N.exports,B=a("2f62");P["a"].use(B["a"]);var w=new B["a"].Store({state:{},mutations:{},actions:{}}),E=a("8c4f"),O=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"home"},[a("header",[e._v("乐团注册")]),e._m(0),a("div",{staticClass:"section"},[a("h2",{staticClass:"title line_bottom"},[e._v("课程")]),e.result.payMethod>=26?a("div",{key:"class-list",staticClass:"options"},[a("div",{staticClass:"option"},[e._m(1),a("div",{staticClass:"o_bd"},[e._v("乐团声部训练")]),a("span",{staticClass:"o_ft"},[e._v("\n 现价:¥"+e._s(e.result.classAmount)+"\n ")])]),e._m(2),e._m(3),e._m(4)]):a("div",{key:"class-list",staticClass:"options"},[a("div",{staticClass:"option"},[e._m(5),a("div",{staticClass:"o_bd"},[e._v("乐团课")]),21==e.result.payMethod||25==e.result.payMethod?a("span",{key:"class-price",staticClass:"o_ft"},[a("del",[e._v("原价:¥23520")]),e._v(" 现价:免费\n ")]):a("span",{key:"class-price",staticClass:"o_ft"},[a("del",[e._v("原价:¥23520")]),e._v(" 现价:¥"+e._s(e.result.classAmount)+"\n ")])])]),e.result.payMethod>=26?a("div",{staticClass:"coutInfo"},[a("i",{staticClass:"trumpet_icon"}),e._v("年度安排十个月训练,共计168课时,120元/课时,原价20160元,现仅支付"+e._s(e.result.classAmount)+"元/月(约合"+e._s((10*e.result.classAmount/168).toFixed(2))+"元/课时) \n ")]):e._e()]),a("div",{staticClass:"section"},[a("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?a("div",{staticClass:"options"},e._l(e.instrument.config,function(t,n){return a("div",{key:t.name,class:[e.instrument.config.length>1?"oc":""],on:{click:function(t){return e.instrumentF(n)}}},[1!=e.isSingle?[t.marketPrice<=0||t.default?a("div",{staticClass:"option"},[a("div",{staticClass:"o_"},[a("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),t.marketPrice>0?a("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),a("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]):a("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(t.name))]),t.marketPrice>0?a("span",{staticClass:"o_ft"},[a("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 现价:¥"+e._s(t.referencePrice)+"\n ")]):e._e()]):e._e(),t.marketPrice>0&&t.default?a("div",{staticClass:"configuration"},[a("div",{staticClass:"config"},[e._m(6,!0),a("div",{staticClass:"content"},[a("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()]:[a("div",{staticClass:"option"},[a("div",{staticClass:"o_"},[a("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),t.marketPrice>0?a("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),a("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]):a("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(t.name))]),t.marketPrice>0?a("span",{staticClass:"o_ft"},[a("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 现价:¥"+e._s(t.referencePrice)+"\n ")]):e._e()]),t.marketPrice>0?a("div",{staticClass:"configuration"},[a("div",{staticClass:"config"},[e._m(7,!0),a("div",{staticClass:"content"},[a("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()]],2)}),0):e._e(),25==e.result.payMethod&&e.result.isCopperPipe||26==e.result.payMethod?a("div",{staticClass:"options"},[e._l(e.instrument.config,function(t){return a("div",{key:t.name,staticClass:"oc",on:{click:function(a){return e.instrumentF2("default",t)}}},[t.default?a("div",{staticClass:"option"},[a("div",{staticClass:"o_"},[a("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),a("div",{staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),a("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]),25==e.result.payMethod?a("span",{staticClass:"o_ft"},[a("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 免费试用\n ")]):e._e(),"26"==e.result.payMethod?a("span",{staticClass:"o_ft"},[a("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 押金:¥"+e._s(1==e.amountType?800:1500)+"\n ")]):e._e()]):e._e(),t.default?a("div",{staticClass:"configuration"},[a("div",{staticClass:"config"},[e._m(8,!0),a("div",{staticClass:"content"},[a("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()])}),e._l(e.instrument.config,function(t){return a("div",{key:t.marketPrice,staticClass:"oc",on:{click:function(a){return e.instrumentF2("self",t)}}},[t.marketPrice<=0?a("div",{staticClass:"option"},[a("div",{staticClass:"o_"},[a("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),a("div",{staticClass:"o_bd"},[e._v(e._s(t.name)+"\n ")])]):e._e()])})],2):e._e()]),a("div",{staticClass:"section"},[a("h2",{staticClass:"title line_bottom"},[e._v("辅件")]),e._l(e.instrument.auxiliaries,function(t,n){return a("div",{key:t.name,staticClass:"options",on:{click:function(t){return e.auxiliarie(n)}}},[a("div",{staticClass:"option"},[a("div",{staticClass:"o_hd"},[a("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),a("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),a("span",{staticClass:"o_ft"},[a("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v("\n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),a("div",{staticClass:"section"},[a("h2",{staticClass:"title line_bottom"},[e._v("其它")]),e._l(e.baseInfo.other,function(t){return a("div",{key:t.name,staticClass:"options"},[a("div",{staticClass:"option"},[e._m(9,!0),a("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),a("span",{staticClass:"o_ft"},[a("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" \n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),a("div",{staticClass:"buy"},[a("div",{staticClass:"price"},[a("p",{staticClass:"oldprice"},[a("del",{staticClass:"text"},[e._v("原价")]),a("del",[e._v("¥"+e._s(e.orderInfo.marketPrice))])]),a("p",{staticClass:"now_price"},[a("span",{staticClass:"text"},[e._v("仅需支付")]),a("span",[e._v("¥"+e._s(e.orderInfo.referencePrice))])])]),a("a",{on:{click:e.onCheckSubmit}},[e._v("购买")])]),a("van-popup",{attrs:{id:"protocolPopup",position:"bottom"},model:{value:e.popupStatus,callback:function(t){e.popupStatus=t},expression:"popupStatus"}},[a("protocol",{attrs:{proto:e.protocolData},on:{popupclose:e.onPopupClose}})],1),a("van-popup",{staticClass:"loadingOrder",attrs:{"close-on-click-overlay":!1},model:{value:e.loadingOrderStatus,callback:function(t){e.loadingOrderStatus=t},expression:"loadingOrderStatus"}},[a("van-loading",{attrs:{size:"36px",vertical:"",color:"#14928A"}},[e._v(e._s(e.loadingOrderText))])],1)],1)},M=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"noticeInfo"},[a("i",{staticClass:"trumpet_icon"}),e._v("请家长确认您孩子的声部,名额有限请点击购买后五分钟之内完成支付,如支付失败可能被调剂至其他声部或报名失败的情况。\n ")])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"0_hd"},[a("i",{staticClass:"check_default check_active"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"option"},[a("div",{staticClass:"0_hd"},[a("i",{staticClass:"check_default check_active"})]),a("div",{staticClass:"o_bd"},[e._v("乐团合奏训练")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"option"},[a("div",{staticClass:"0_hd"},[a("i",{staticClass:"check_default check_active"})]),a("div",{staticClass:"o_bd"},[e._v("基础技能训练")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"option"},[a("div",{staticClass:"0_hd"},[a("i",{staticClass:"check_default check_active"})]),a("div",{staticClass:"o_bd"},[e._v("假期集中训练")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"0_hd"},[a("i",{staticClass:"check_default check_active"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"title"},[a("span",[e._v("配置参数")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"title"},[a("span",[e._v("配置参数")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"title"},[a("span",[e._v("配置参数")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"o_hd"},[a("i",{staticClass:"check_default check_active"})])}],L=(a("7f7f"),a("ac6a"),a("28a5"),{flute:{name:"长笛",config:[{default:1,name:"标准配置",marketPrice:4500,referencePrice:3570,checked:!0,texture:"C调、法式键、曲列、白铜按键、镍白铜管体、E键、槽型弹簧钩,进口轴棍,后调整螺丝,吹口片及垫子底座银焊",index:2},{default:0,name:"初级配置",marketPrice:3150,referencePrice:2680,checked:!1,texture:"C调、曲列、E键、白铜按键、吹口片及垫子底座银焊,表面镀银",index:1},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"",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:4580,referencePrice:3650,checked:!0,texture:"降B调、17键、ABS树脂管身、白铜按键、铍铜铸造按键,蓝钢针弹簧线、八字螺丝固定",index:4},{default:0,name:"初级配置",marketPrice:3280,referencePrice:2780,checked:!1,texture:"降B调、17键、硬质胶木管体、白铜按键、",index:3},{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},{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:6080,referencePrice:4500,checked:!0,texture:"降E调、蓝钢针弹簧线、K6笛头、进口皮垫、特制泛音键设计,白铜束紧环",index:6},{default:0,name:"初级配置",marketPrice:4200,referencePrice:3550,checked:!1,texture:"降E调、蓝钢针弹簧线、K4笛头",index:5},{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},{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:"降B调、黄铜喇叭口、白铜变音管,可调试调音管控制环、磷铜吹口管、六角吹嘴箍,喇叭口直径125mm、内管11.65mm",index:7},{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},{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:"降B调、白铜拉管,表面处理漆金,喇叭口直径215.3mm、内管13.9mm",index:8},{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},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:6,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}]},horn:{name:"圆号",config:[{default:1,name:"标准配置",marketPrice:5500,referencePrice:3910,checked:!0,texture:"F调/降B、双排按键、磷铜吹口管,表面处理漆金,喇叭口直径305mm、内管11.5mm",index:9},{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},{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:"降B调、管径14.5mm、喇叭口直径278.6、表面漆金、黄铜管体白铜变音管",index:10},{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},{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:1980,referencePrice:1690,checked:!1,texture:"小军鼓一套(含止音垫)",index:14},{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}]},tenorHorn:{name:"次中音号",config:[{default:1,name:"标准配置",marketPrice:5800,referencePrice:3980,checked:!0,texture:"降B调、管径14.5mm、喇叭口直径278.6、表面漆金、黄铜管体白铜变音管",index:12},{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},{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}]},idiophonic:{name:"打击乐",config:[{default:1,name:"标准配置",marketPrice:3700,referencePrice:3190,checked:!0,texture:"桦木鼓腔,高碳钢纱带,配军鼓架",index:13},{default:0,name:"初级配置",marketPrice:1980,referencePrice:1690,checked:!1,texture:"小军鼓一套(含止音垫)",index:17},{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}]},tuba:{name:"大号",config:[{default:1,name:"标准配置",marketPrice:30200,referencePrice:26800,checked:!0,texture:"降B调 管径:16.8mm 口径:366mm 表面处理:漆金",index:15},{default:0,name:"初级配置",marketPrice:13e3,referencePrice:11500,checked:!1,texture:"降B调 材质:黄铜 表面处理:漆金 号口直径:375mm 内管直径:18mm 全高:991mm",index:16},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B调 ",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}]}}),A={other:[{name:"教材",marketPrice:7680,referencePrice:0},{name:"乐谱",marketPrice:7680,referencePrice:0}]},q=a("4328"),D=a.n(q),j=a("345a"),F={name:"home",components:{Protocol:j["default"]},data:function(){return{loadingOrderStatus:!1,loadingOrderText:"加载中...",resultParams:"",clickBtnCount:!0,paymentTimers:null,paymentPostCount:0,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:""},isSingle:1,amountType:1}},mounted:function(){var e=this;this.baseInfo=A,this.$axios.post("/user/getUserRegisterViewDetail",D.a.stringify({stuId:this.$route.query.stuId})).then(function(t){var a=t.data.data;e.isSingle=a.is_single_,e.amountType=a.amount_type_,e.result={userId:a.id_,payMethod:a.fee_type_,subName:a.sub_name_,grade:a.grade_,voicyPart:a.sub_name_.split(".").reverse()[0],isCopperPipe:a.isCopperPipe,patriarchName:a.patriarch_name_,patriarchPhone:a.patriarch_phone_,stuName:a.name_,stuClass:a.g_class_,classAmount:a.fee_amount_,course_id:a.course_id_},e.instrument=L[e.cnToEn(e.result.voicyPart)];var n=sessionStorage.getItem("homeConfig");if(n){n=JSON.parse(n),e.instrument.config.forEach(function(e){e.index==n.config?e.checked=!0:e.checked=!1});var r=n.auxiliaries.split(",");e.instrument.auxiliaries.forEach(function(e){e.checked=!1,r.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){for(var t=0;t<this.instrument.config.length;t++)this.instrument.config[t].checked=!1,"default"==e&&1==this.instrument.config[t].default&&(this.instrument.config[t].checked=!0),"self"==e&&"自备"==this.instrument.config[t].name&&(this.instrument.config[t].checked=!0);this.calcPrice()},onCheckSubmit:function(){this.instrument.config.forEach(function(e){e.checked&&e.name}),25==this.result.payMethod&&this.result.isCopperPipe||26==this.result.payMethod||22==this.result.payMethod?this.protocol():this.buy()},buy:function(){var e=this;if(!this.clickBtnCount)return!1;this.clickBtnCount=!1;var t,a=this.$route.query,n={branchId:a.branchId,userId:a.stuId,amount:this.orderInfo.referencePrice,courseId:this.result.course_id,classId:a.classId},r=this.orderInfo.instrumentIndex;r&&99!=r&&0!=r&&(n.instrument=r),this.orderInfo.auxiliarie&&(n.adjunct=t=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:t})),!c)return this.$dialog.alert({title:"提示",message:"请选择乐器准备方式",confirmButtonColor:"#269a93"}),!1;this.resultParams=n,this.$axios.post("/yqpay/toPay",D.a.stringify(n)).then(function(t){var r=t.data;e.clickBtnCount=!0,403==r.code?(e.loadingOrderStatus=!0,e.loadingOrderText=r.msg,e.paymentMethods()):201==r.code?e.$dialog.alert({title:"提示",message:"报名成功",confirmButtonColor:"#269a93"}).then(function(){e.$router.push({path:"/login",query:{cityId:a.cityId,schoolId:a.schoolId}})}):100==r.code?e.$dialog.confirm({title:"提示",message:r.msg,confirmButtonColor:"#269a93",cancelButtonText:"已完成支付",confirmButtonText:"重新下单支付"}).then(function(){e.$axios.post("/yqpay/rePay",D.a.stringify(n)).then(function(t){var a=t.data;200==a.code?(e.form=a.data,e.onSubmit()):e.$dialog.alert({title:"提示",message:a.msg,confirmButtonColor:"#269a93"})})}).catch(function(){e.$dialog.close()}):r.data?(e.form=r.data,e.onSubmit()):e.$dialog.alert({title:"提示",message:r.msg,confirmButtonColor:"#269a93"})})},paymentMethods:function(){var e=this,t=this.resultParams;if(!t)return!1;var a=this,n=this.$route.query;a.paymentTimers=setInterval(function(){a.paymentPostCount++,a.paymentPostCount>=30?clearInterval(a.paymentTimers):e.$axios.post("/yqpay/toPay",D.a.stringify(t)).then(function(t){var r=t.data;403==r.code?(a.loadingOrderStatus=!0,a.loadingOrderText=r.msg):201==r.code?e.$dialog.alert({title:"提示",message:"报名成功",confirmButtonColor:"#269a93"}).then(function(){e.$router.push({path:"/login",query:{cityId:n.cityId,schoolId:n.schoolId}})}):(clearInterval(a.paymentTimers),a.loadingOrderStatus=!1,a.loadingOrderText="加载中...",r.data?(a.form=r.data,e.onSubmit()):e.$dialog.alert({title:"提示",message:r.msg,confirmButtonColor:"#269a93"}))})},1e4)},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,userId:e.userId,classAmount:e.classAmount,amountType:this.amountType,payMethod:e.payMethod,isCopperPipe:e.isCopperPipe},a=this.instrument.config,n=0;n<a.length;n++)a[n].default&&(t.name=a[n].name,t.referencePrice=a[n].referencePrice,t.marketPrice=a[n].marketPrice),a[n].checked&&(t.checkName=a[n].name);this.protocolData=t,this.popupStatus=!0},cnToEn:function(e){var t={"长笛":"flute","单簧管":"clarinet","萨克斯管":"saxophone","小号":"trumpet","长号":"trombone","圆号":"horn","上低音号":"upperBass","小军鼓":"snareDrum","次中音号":"tenorHorn","打击乐":"idiophonic","大号":"tuba"};return t[e]},calcPrice:function(){var e,t,a=this.result.payMethod,n={mClass:0,rClass:0,mInstrument:0,rInstrument:0,mAuxiliarie:0,rAuxiliarie:0,mOther:0,rOther:0};21!=a&&25!=a||(n.mClass=23520,n.rClass=0),22==a&&(n.mClass=23520,n.rClass=this.result.classAmount),(26==a||a>26)&&(n.mClass=20160,n.rClass=this.result.classAmount);for(var r=this.instrument.config,i=0;i<r.length;i++)if(r[i].checked)if(n.mInstrument=parseInt(r[i].marketPrice),t=r[i].index,0==r[i].marketPrice)n.rInstrument=0;else if(25==a)this.result.isCopperPipe?(n.rInstrument=0,t=99):n.rInstrument=parseInt(r[i].referencePrice);else{var c=1==this.amountType?800:1500;n.rInstrument=26==a?c:parseInt(r[i].referencePrice)}for(var s=this.instrument.auxiliaries,o=0;o<s.length;o++)s[o].checked&&(n.mAuxiliarie+=parseInt(s[o].marketPrice),n.rAuxiliarie+=parseInt(s[o].referencePrice),e?e+=","+s[o].index:e=s[o].index);for(var u=this.baseInfo.other,d=0;d<u.length;d++)n.mOther+=u[d].marketPrice,n.rOther+=u[d].referencePrice;this.orderInfo={marketPrice:parseInt(n.mClass+n.mInstrument+n.mAuxiliarie+n.mOther),referencePrice:parseInt(n.rClass+n.rInstrument+n.rAuxiliarie+n.rOther),auxiliarie:e,instrumentIndex:t}},onPopupClose:function(){document.querySelector("#protocolPopup").scroll(0,0),this.popupStatus=!1,this.buy()}}},U=F,V=(a("80fb"),Object(S["a"])(U,O,M,!1,null,"d816a97e",null)),K=V.exports,z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"login"},[e._m(0),a("div",{staticClass:"bandSection"},[a("div",{staticClass:"school"},[e._v("\n "+e._s(e.dataList.schoolName)+"\n ")]),a("div",{staticClass:"phoneSection"},[a("i",{staticClass:"man_icon"}),a("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:{blur:e.codeBlur,input:function(t){t.target.composing||e.$set(e.dataList,"phoneNumber",t.target.value)}}})])]),a("div",{staticClass:"btn-group"},[a("van-button",{staticClass:"btn",attrs:{size:"large",disabled:e.btnStatus},on:{click:e.onSubmit}},[e._v("注册")])],1),a("van-popup",{staticClass:"popup",model:{value:e.popupStatus,callback:function(t){e.popupStatus=t},expression:"popupStatus"}},[a("div",{staticClass:"pContainer"},[a("i",{staticClass:"message_icon"}),a("div",{staticClass:"content"},[a("p",{staticClass:"status"},[e._v(e._s(e.statusList(e.popupText)))]),0==e.popupText?a("p",{staticClass:"dec"},[e._v("请您耐心等待")]):e._e()])]),a("div",{staticClass:"pGroup"},[a("van-button",{staticClass:"button",on:{click:function(t){e.popupStatus=!1}}},[e._v("取消")]),a("van-button",{staticClass:"button",on:{click:function(t){e.popupStatus=!1}}},[e._v("确定")])],1)]),a("van-popup",{staticClass:"popup-code",attrs:{"close-on-click-overlay":!1},model:{value:e.popupCodeStatus,callback:function(t){e.popupCodeStatus=t},expression:"popupCodeStatus"}},[a("div",{staticClass:"code_section"},[a("h2",{staticClass:"code_title"},[e._v("输入短信验证码")]),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.dataList.code,expression:"dataList.code"}],staticClass:"phone",attrs:{type:"number",pattern:"[0-9]",placeholder:"请输入验证码"},domProps:{value:e.dataList.code},on:{blur:e.codeBlur,keyup:function(t){return e.checkCode()},input:function(t){t.target.composing||e.$set(e.dataList,"code",t.target.value)}}}),a("span",{staticClass:"code_btn",class:[e.codeStatus?"":"disable"],on:{click:e.sendCode}},[e._v(e._s(e.smsText))])])])])],1)},J=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"logo"},[n("img",{staticStyle:{width:"1.25rem"},attrs:{src:a("cf05"),alt:""}})])}],R={name:"login",data:function(){return{popupStatus:!1,popupCodeStatus:!1,smsText:"发送验证码",popupText:"",codeStatus:!0,btnStatus:!0,dataList:{status:null,schoolName:"",phoneNumber:"",branchId:"",classId:"",code:""}}},mounted:function(){var e=this,t=this.$route.query,a={schoolId:t.schoolId};this.$axios.post("/user/getClassDetail",D.a.stringify(a)).then(function(t){var a=t.data;a.data?(e.dataList={status:a.data.status,schoolName:a.data.name,phoneNumber:"",code:"",branchId:a.data.branchId,classId:a.data.id},5==a.data.status?e.$dialog.alert({title:"提示",message:"该乐团已停止注册",confirmButtonColor:"#269a93"}):e.btnStatus=!1):e.$dialog.alert({title:"提示",message:"乐团建设中,请稍等",confirmButtonColor:"#269a93"})})},methods:{codeBlur:function(){setTimeout(function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;window.scrollTo(0,Math.max(e-1,0))},100)},onSubmit:function(){var e=this;this.dataList.status;if(!/^1(3|4|5|6|7|8|9)\d{9}$/.test(this.dataList.phoneNumber))return this.$toast("手机号输入有误"),!1;var t=this.$route.query;this.$axios.get("/user/getUserDetailByPhone?clazzId=".concat(this.dataList.classId,"&phone=").concat(this.dataList.phoneNumber,"&cityId=").concat(t.cityId)).then(function(a){var n=a.data;n.status?n.data?1==parseInt(n.data.pushStatus)?e.$dialog.alert({title:"提示",message:"恭喜您,报名成功",confirmButtonColor:"#269a93"}):2==parseInt(n.data.pushStatus)&&0==parseInt(n.data.status)?e.$router.push({path:"home",query:{branchId:n.data.branchId,stuId:n.data.id,classId:n.data.classId,cityId:t.cityId,schoolId:t.schoolId}}):1==parseInt(n.data.status)&&e.$dialog.alert({title:"注册完成",message:"您已完成注册,欢迎加入管乐团开启您的器乐学习之旅,请等待开课通知!",confirmButtonColor:"#269a93"}):e.sendCode():e.$dialog.alert({title:"提示",message:n.msg,confirmButtonColor:"#269a93"})})},checkCode:function(){var e=this,t=this.$route.query,a=this.dataList.code;a.length>=6&&this.$axios.post("/user/verifySmsCode",D.a.stringify({smsCode:a,mobile:this.dataList.phoneNumber})).then(function(a){var n=a.data;n.status?e.$router.push({path:"register",query:{phone:e.dataList.phoneNumber,cityId:t.cityId,classId:e.dataList.classId,schoolId:t.schoolId,status:e.dataList.status,schoolName:e.dataList.schoolName,branchId:e.dataList.branchId}}):(e.$toast("验证码输入有误"),e.dataList.code="")})},sendCode:function(){var e=this;if(!this.codeStatus)return!1;this.$axios.get("/user/sendSmsCode?mobile="+this.dataList.phoneNumber).then(function(t){e.popupCodeStatus=!0;t.data;e.codeStatus=!1,e.CountDown()})},CountDown:function(){var e=this,t=120;this.smsText=t+"秒";var a=setInterval(function(){t<=0?(e.codeStatus=!0,e.smsText="发送验证码",clearInterval(a)):(t--,e.smsText=t+"秒")},1e3)},statusList:function(e){var t;switch(e){case 0:t="报名中";break;case 1:t="缴费中";break}return t}}},H=R,Y=(a("1882"),Object(S["a"])(H,z,J,!1,null,"27467424",null)),G=Y.exports;P["a"].use(E["a"]);var Q=new E["a"]({base:"",routes:[{path:"/",name:"login",component:G},{path:"/home",name:"home",component:K},{path:"/alipay",name:"alipay",component:function(){return a.e("chunk-5b98d562").then(a.bind(null,"5e84"))}},{path:"/payment",name:"payment",component:function(){return a.e("chunk-62634a82").then(a.bind(null,"2b6e"))}},{path:"/protocol",name:"protocol",component:function(){return Promise.resolve().then(a.bind(null,"345a"))}},{path:"/login",name:"login",component:G},{path:"/register",name:"register",component:function(){return a.e("chunk-b1785294").then(a.bind(null,"7803"))}},{path:"/order",name:"order",component:function(){return a.e("chunk-402666c2").then(a.bind(null,"dbf5"))}},{path:"/loginActive",name:"loginActive",component:function(){return a.e("chunk-49de7a66").then(a.bind(null,"fe86"))}},{path:"/activePay/:timeId",name:"activePay",component:function(){return a.e("chunk-ab650240").then(a.bind(null,"5ab4"))}},{path:"/paymentResult",name:"paymentResult",component:function(){return a.e("chunk-957805ae").then(a.bind(null,"10b3"))}}],scrollBehavior:function(){return{x:0,y:0}}});P["a"].use(n["a"]).use(r["a"]).use(i["a"]).use(c["a"]).use(s["a"]).use(o["a"]).use(u["a"]).use(d["a"]).use(l["a"]).use(m["a"]).use(f["a"]).use(h["a"]).use(p["a"]).use(v["a"]).use(_["a"]).use(k["a"]),P["a"].config.productionTip=!1,new P["a"]({store:w,router:Q,render:function(e){return e(T)}}).$mount("#app")},"5c48":function(e,t,a){},"7c55":function(e,t,a){"use strict";var n=a("5c48"),r=a.n(n);r.a},"80fb":function(e,t,a){"use strict";var n=a("1fbf"),r=a.n(n);r.a},ab46:function(e,t,a){e.exports=a.p+"img/cachet.221665cb.png"},cf05:function(e,t,a){e.exports=a.p+"img/logo.a3831ddf.png"},cffa:function(e,t,a){},efc8:function(e,t,a){}});
  2. //# sourceMappingURL=app.ee50d3b4.js.map