chunk-2a77857c.12d18045.js 67 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a77857c"],{"09f4":function(e,t,i){"use strict";i.d(t,"a",function(){return n}),Math.easeInOutQuad=function(e,t,i,a){return e/=a/2,e<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(e,t,i){var n=s(),o=e-n,l=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=l;var s=Math.easeInOutQuad(u,n,o,t);r(s),u<t?a(e):i&&"function"===typeof i&&i()};c()}},"0e73":function(e,t){e.exports="data:image/png;base64,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"},"13d9":function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,i=[],a=0;a<e.rangeCount;a++)i.push(e.getRangeAt(a));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||i.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},"225c":function(e,t,i){"use strict";var a=i("59c3"),r=i.n(a);r.a},2314:function(e,t,i){},"46f6":function(e,t,i){"use strict";i.d(t,"b",function(){return o}),i.d(t,"a",function(){return l});var a=i("b775"),r=i("4328"),s=i.n(r),n="/api-web";function o(e){return Object(a["a"])({url:n+"/visit/queryPage",method:"get",params:e})}function l(e){return Object(a["a"])({url:n+"/visit/add",method:"post",data:s.a.stringify(e)})}},5137:function(e,t,i){"use strict";i.d(t,"p",function(){return o}),i.d(t,"h",function(){return l}),i.d(t,"d",function(){return u}),i.d(t,"g",function(){return c}),i.d(t,"f",function(){return d}),i.d(t,"i",function(){return m}),i.d(t,"c",function(){return p}),i.d(t,"v",function(){return f}),i.d(t,"q",function(){return v}),i.d(t,"u",function(){return h}),i.d(t,"o",function(){return b}),i.d(t,"t",function(){return g}),i.d(t,"l",function(){return y}),i.d(t,"n",function(){return x}),i.d(t,"a",function(){return w}),i.d(t,"j",function(){return F}),i.d(t,"b",function(){return A}),i.d(t,"s",function(){return I}),i.d(t,"k",function(){return C}),i.d(t,"y",function(){return E}),i.d(t,"x",function(){return S}),i.d(t,"m",function(){return _}),i.d(t,"r",function(){return k}),i.d(t,"z",function(){return T}),i.d(t,"w",function(){return P}),i.d(t,"e",function(){return j}),i.d(t,"A",function(){return R}),i.d(t,"B",function(){return D});var a=i("b775"),r=i("4328"),s=i.n(r),n="/api-web";function o(e){return Object(a["a"])({url:n+"/studentManage/queryStudentList",method:"get",params:e})}function l(e){return Object(a["a"])({url:n+"/studentManage/findStudentVipGroupClass",method:"get",params:e})}function u(e){return Object(a["a"])({url:n+"/studentManage/findStudentBaseInfo",method:"get",params:e})}function c(e){return Object(a["a"])({url:n+"/studentManage/findStudentMusicGroups",method:"get",params:e})}function d(e){return Object(a["a"])({url:n+"/studentManage/findStudentCourses",method:"get",params:e})}function m(e){return Object(a["a"])({url:n+"/studentManage/findStudentVipGroups",method:"get",params:e})}function p(e){return Object(a["a"])({url:n+"/studentManage/findStudentAttendances",method:"get",params:e})}function f(e){return Object(a["a"])({url:n+"/studentWithdraw/queryPage",method:"get",params:e})}function v(e){return Object(a["a"])({url:n+"/studentManage/queryStudentPayment",method:"get",params:e})}function h(e){return Object(a["a"])({url:n+"/order/queryPage",method:"get",params:e})}function b(e){return Object(a["a"])({url:n+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:e})}function g(e){return Object(a["a"])({url:n+"/studentRegistration/batchUpdateSubject",method:"post",data:s.a.stringify(e)})}function y(e){return Object(a["a"])({url:n+"/studentRegistration/queryFeeDetail",method:"get",params:e})}function x(e){return Object(a["a"])({url:n+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:e})}function w(e){return Object(a["a"])({url:n+"/studentRegistration/insertStudent",method:"POST",data:e})}function F(e){return Object(a["a"])({url:n+"/classGroupStudent/findAllStudent",method:"POST",data:s.a.stringify(e)})}function A(e){return Object(a["a"])({url:n+"/classGroupStudent/addStudents",method:"POST",data:s.a.stringify(e)})}function I(e){return Object(a["a"])({url:n+"/classGroupStudent/del",method:"POST",data:s.a.stringify(e)})}function C(e){return Object(a["a"])({url:n+"/studentManage/queryStudentClassGroup",method:"get",params:e})}function E(e){return Object(a["a"])({url:n+"/userCashAccount/updateCourseBalance",method:"post",data:s.a.stringify(e)})}function S(e){return Object(a["a"])({url:n+"/userCashAccount/updateBalance",method:"post",data:s.a.stringify(e)})}function _(e){return Object(a["a"])({url:n+"/studentManage/queryUserByPhone",method:"get",params:e})}function k(e){return Object(a["a"])({url:n+"/studentManage/register",method:"post",data:s.a.stringify(e)})}function T(e){return Object(a["a"])({url:n+"/studentManage/studentUpdate",method:"post",data:s.a.stringify(e)})}function P(e){return Object(a["a"])({url:n+"/userCashAccount/transferCourseBalanceToBalance",method:"post",data:s.a.stringify(e)})}function j(e){return Object(a["a"])({url:n+"/coursesGroupController/findStudentCourseGroupsWithWeb",method:"get",params:e})}function R(e){return Object(a["a"])({url:n+"/userCashAccountDetail/queryPage",method:"get",params:e})}function D(e){return Object(a["a"])({url:n+"/userCoursesAccount/queryPage",method:"get",params:e})}},5995:function(e,t,i){},"59c3":function(e,t,i){},"5b1c":function(e,t,i){"use strict";var a=i("5995"),r=i.n(a);r.a},"92e3":function(e,t,i){"use strict";i.d(t,"j",function(){return r}),i.d(t,"n",function(){return s}),i.d(t,"h",function(){return n}),i.d(t,"a",function(){return o}),i.d(t,"m",function(){return l}),i.d(t,"v",function(){return u}),i.d(t,"b",function(){return c}),i.d(t,"p",function(){return d}),i.d(t,"k",function(){return m}),i.d(t,"o",function(){return p}),i.d(t,"x",function(){return f}),i.d(t,"i",function(){return v}),i.d(t,"g",function(){return h}),i.d(t,"w",function(){return b}),i.d(t,"s",function(){return g}),i.d(t,"y",function(){return y}),i.d(t,"r",function(){return x}),i.d(t,"t",function(){return w}),i.d(t,"l",function(){return F}),i.d(t,"e",function(){return A}),i.d(t,"u",function(){return I}),i.d(t,"f",function(){return C}),i.d(t,"q",function(){return E}),i.d(t,"d",function(){return S}),i.d(t,"c",function(){return _});var a=i("267e"),r=[{label:"单技课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训单技课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"}],s=[{label:"单技课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训单技课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"}],n=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"综合课",value:"COMPREHENSIVE"}],o=[{label:"正常签到",value:1},{label:"异常签到",value:0}],l=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"临时工",value:"TEMPORARY"}],u=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],c=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"},{value:"QUIT_SCHOOL",label:"退学"}],d=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"OTHER",label:"其他"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DOUBLE_ELEVEN2020",label:"双十一活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"SUBJECT_CHANGE",label:"声部更换"}],m=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],p=[{value:"APPLY",text:"报名中"},{value:"PAY",text:"缴费中"},{value:"PREPARE",text:"筹备中"},{value:"PROGRESS",text:"进行中"},{value:"PAUSE",text:"暂停"},{value:"DRAFT",text:"编辑中"},{value:"AUDIT",text:"审核中"},{value:"AUDIT_FAILED",text:"审核失败"},{value:"CANCELED",text:"取消"},{value:"FEE_AUDIT",text:"费用审核中"}],f=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"5",text:"报名结束"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"},{value:"6",text:"暂停"}],v=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],h=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],b=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],g=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"}],y=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及作业回访",label:"课后及作业回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],x=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"}],w=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],F=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"}],A=[{value:"1",label:"一年级"},{value:"2",label:"二年级"},{value:"3",label:"三年级"},{value:"4",label:"四年级"},{value:"5",label:"五年级"},{value:"6",label:"六年级"},{value:"7",label:"初一"},{value:"8",label:"初二"},{value:"9",label:"初三"},{value:"10",label:"高一"},{value:"11",label:"高二"},{value:"12",label:"高三"}],I=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],C=[{label:"90",value:"SINGLE"},{label:"90",value:"MIX"},{label:"45",value:"HIGH"},{label:"45",value:"HIGH_ONLINE"},{label:"90",value:"COMPREHENSIVE"},{label:"25",value:"PRACTICE"},{label:"25",value:"MUSIC_NETWORK"},{label:"180",value:"TRAINING_SINGLE"},{label:"180",value:"TRAINING_MIX"},{label:"40",value:"CLASSROOM"}],E=k(a["h"]),S=k(a["b"]),_=k(a["a"]);function k(e){var t=[];for(var i in e)t.push({label:e[i],value:i});return t}},be2e:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"sigup-container"},[i("div",{staticClass:"topWrap"},[i("div",[i("h2",[i("el-page-header",{attrs:{content:e.teamName+"报名详情"},on:{back:e.onCancel}})],1),e._v(" "),i("p",{staticStyle:{"margin-bottom":"15px","font-size":"18px","font-weight":"400"}},[e._v("报名截止时间:"+e._s(e._f("formatTimer")(e.applyExpireDate))+" 缴费截止时间:"+e._s(e._f("formatTimer")(e.paymentExpireDate))+" ")]),e._v(" "),i("div",{staticClass:"btnList"},[i("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/openPay",expression:"'musicGroup/openPay'"},{name:"show",rawName:"v-show",value:"APPLY"==e.status,expression:"status=='APPLY'"}],staticClass:"newBand",on:{click:e.payStart}},[e._v("开始缴费")]),e._v(" "),i("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/found",expression:"'musicGroup/found'"}],staticClass:"newBand",on:{click:e.onGoHome}},[e._v("确认开团")]),e._v(" "),i("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionPayment",expression:"'musicGroup/extensionPayment'"},{name:"show",rawName:"v-show",value:"PAY"==e.status,expression:"status=='PAY'"}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!0)}}},[e._v("延长缴费")]),e._v(" "),i("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionApplyExpireDate",expression:"'musicGroup/extensionApplyExpireDate'"}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!1)}}},[e._v("延长报名")]),e._v(" "),i("div",{staticClass:"newBand",on:{click:e.onCreateQRCode}},[e._v("报名链接")]),e._v(" "),i("div",{staticClass:"newBand",on:{click:e.onCreateQRCode2}},[e._v("缴费详情")]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.rightList.length>0,expression:"rightList.length > 0"},{name:"permission",rawName:"v-permission",value:"studentRegistration/queryStudentApplyDetailExport",expression:"'studentRegistration/queryStudentApplyDetailExport'"}],staticClass:"newBand",on:{click:e.onDownLoadExecl}},[e._v("报表导出")])])]),e._v(" "),i("p",{staticClass:"msg",class:"PAY"==e.status?"pay":""},[i("img",{attrs:{src:"APPLY"==e.status?e.stepImgs.APPLY:e.stepImgs.PAY,alt:""}}),e._v("\n "+e._s("APPLY"==e.status?"报名中":"缴费中"))])]),e._v(" "),i("div",{staticClass:"searchList"},[i("el-form",{attrs:{inline:!0,model:e.searchFrom}},[i("el-form-item",{attrs:{label:"专业"}},[i("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.searchFrom.subject,callback:function(t){e.$set(e.searchFrom,"subject","string"===typeof t?t.trim():t)},expression:"searchFrom.subject"}},e._l(e.soundList,function(e,t){return i("el-option",{key:t,attrs:{label:e.name,value:e.id}})}),1)],1),e._v(" "),i("el-form-item",{attrs:{label:"是否允许调剂"}},[i("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.searchFrom.isAllowAdjust,callback:function(t){e.$set(e.searchFrom,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchFrom.isAllowAdjust"}},[i("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),i("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),i("el-form-item",{attrs:{label:"用户名或手机号"}},[i("el-input",{model:{value:e.searchFrom.name,callback:function(t){e.$set(e.searchFrom,"name","string"===typeof t?t.trim():t)},expression:"searchFrom.name"}})],1),e._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"danger"},on:{click:e.search}},[e._v("搜索")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.onReset}},[e._v("重置")])],1)],1)],1),e._v(" "),i("div",{staticClass:"sigup-core"},[i("div",{staticClass:"left"},[i("el-table",{attrs:{data:e.leftList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[i("el-table-column",{attrs:{label:"乐团声部",prop:"subjectName",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:"计划招生",prop:"expectedStudentNum",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}]},[e._v(e._s(t.row.expectedStudentNum))]),e._v(" "),i("el-input",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],model:{value:t.row.expectedStudentNum,callback:function(i){e.$set(t.row,"expectedStudentNum","string"===typeof i?i.trim():i)},expression:"scope.row.expectedStudentNum"}})],1)]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"已报名",prop:"applyStudentNum",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:"已缴费",prop:"payNum",align:"center"}})],1),e._v(" "),i("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/updateExpectedStudentNum",expression:"'musicGroup/updateExpectedStudentNum'"}],staticClass:"btnWrap",staticStyle:{"margin-right":"20px","margin-top":"20px"}},[i("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}],on:{click:function(t){e.isEdit=!0}}},[e._v("编辑")]),e._v(" "),i("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],on:{click:e.saveIsEdit}},[e._v("保存")])],1)],1),e._v(" "),i("div",{staticClass:"right"},[i("el-table",{ref:"multipleTable",attrs:{data:e.rightList,"header-cell-style":{background:"#EDEEF0",color:"#444"}},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),i("el-table-column",{attrs:{label:"学员姓名",prop:"studentName",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:"家长姓名",prop:"parentsName",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:"年级班级",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",[e._v("\n "+e._s(t.row.currentGrade+t.row.currentClass)+"\n ")])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"性别",prop:"gender",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",[e._v("\n "+e._s(e._f("sex")(t.row.gender))+"\n ")])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"服从调剂",prop:"isAllowAdjust",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",[e._v("\n "+e._s(e._f("isAllowAdjust")(t.row.isAllowAdjust))+"\n ")])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"报名专业",prop:"subjectName",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:"调剂专业",prop:"actualSubjectName",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:"联系电话",prop:"parentsPhone",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:"学员状态",fixed:"right",prop:"paymentStatus",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",[e._v("\n "+e._s(e._f("paymentStatus")(t.row.paymentStatus))+"\n ")])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"操作",fixed:"right",width:"240",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",[i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentRegistration/batchUpdateSubject",expression:"'studentRegistration/batchUpdateSubject'"},{name:"show",rawName:"v-show",value:2!=t.row.paymentStatus,expression:"scope.row.paymentStatus != 2"}],attrs:{type:"text"},on:{click:function(i){return e.resetSubject(t.row)}}},[e._v("修改专业")]),e._v(" "),i("el-popover",{directives:[{name:"show",rawName:"v-show",value:t.row.remark,expression:"scope.row.remark"}],attrs:{placement:"top-start",title:"备注",width:"200",trigger:"hover",content:t.row.remark}},[i("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("备注")])],1),e._v(" "),i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentRegistration/queryFeeDetail",expression:"'studentRegistration/queryFeeDetail'"},{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus==2"}],attrs:{type:"text"},on:{click:function(i){return e.lookdetail(t.row)}}},[e._v("查看")]),e._v(" "),i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroupQuit/directQuitMusicGroup2",expression:"'musicGroupQuit/directQuitMusicGroup2'"},{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus==2"}],attrs:{type:"text"},on:{click:function(i){return e.quitTeam(t.row)}}},[e._v("退团")]),e._v(" "),i("el-button",{directives:[{name:"show",rawName:"v-show",value:e.permission("musicGroupQuit/directQuitMusicGroup3")&&2==t.row.paymentStatus,expression:"permission('musicGroupQuit/directQuitMusicGroup3')&&scope.row.paymentStatus==2"}],attrs:{type:"text"},on:{click:function(i){return e.quieTeams(t.row)}}},[e._v("退团不退费")]),e._v(" "),i("el-button",{directives:[{name:"show",rawName:"v-show",value:e.permission("visit/add"),expression:"permission('visit/add')"}],attrs:{type:"text"},on:{click:function(i){return e.addVisit(t.row)}}},[e._v("新增回访")]),e._v(" "),i("el-button",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus==2"},{name:"permission",rawName:"v-permission",value:"subjectChange/getStudentOriginal",expression:"'subjectChange/getStudentOriginal'"}],attrs:{type:"text"},on:{click:function(i){return e.openChangeVoice(t.row)}}},[e._v("更改声部")])],1)]}}])})],1),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:"APPLY"==e.status,expression:"status=='APPLY'"}],staticStyle:{"margin-top":"10px","margin-bottom":"10px"}},[i("el-button",{on:{click:e.onSelectAll}},[e._v("全选/取消")]),e._v(" "),i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentRegistration/openPayment",expression:"'studentRegistration/openPayment'"}],staticStyle:{"background-color":"#14928a",border:"1px solid #14928a"},attrs:{type:"primary"},on:{click:e.onPartPayment}},[e._v("提前缴费")])],1),e._v(" "),i("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)]),e._v(" "),i("el-dialog",{attrs:{title:"修改专业",visible:e.subjectVisible,width:"400px"},on:{"update:visible":function(t){e.subjectVisible=t}}},[i("el-form",{attrs:{model:e.maskForm}},[i("el-form-item",{attrs:{label:"选择专业"}},[i("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.maskForm.subject,callback:function(t){e.$set(e.maskForm,"subject","string"===typeof t?t.trim():t)},expression:"maskForm.subject"}},e._l(e.soundList,function(e,t){return i("el-option",{key:t,attrs:{label:e.name,value:e.id}})}),1)],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.subjectVisible=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.okReset}},[e._v("确 定")])],1)],1),e._v(" "),i("el-dialog",{attrs:{title:e.isPay?"延长缴费":"延长报名",visible:e.extendPaymentStatus,"destroy-on-close":"",width:"400px"},on:{"update:visible":function(t){e.extendPaymentStatus=t}}},[i("el-form",{ref:"extendForm",attrs:{model:e.extendForm,rules:e.extendRule}},[e.isPay?i("el-form-item",{attrs:{label:"延长缴费时间",prop:"expireDate"}},[i("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":{firstDayOfWeek:1},placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1):i("el-form-item",{attrs:{label:"延长报名时间",prop:"expireDate"}},[i("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":e.applyDates,placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.extendPaymentStatus=!1}}},[e._v("取 消")]),e._v(" "),(e.isPay,i("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onExtendPayment("extendForm",e.isPay)}}},[e._v("确 定")]))],1)],1),e._v(" "),i("el-dialog",{attrs:{title:"订单详情",visible:e.orderVisible,width:"600px"},on:{"update:visible":function(t){e.orderVisible=t}}},[i("el-form",{attrs:{model:e.orderForm,inline:!0}},[i("el-form-item",{attrs:{label:"学员姓名"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.name,callback:function(t){e.$set(e.orderForm,"name","string"===typeof t?t.trim():t)},expression:"orderForm.name"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"实缴金额"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.totalAmount,callback:function(t){e.$set(e.orderForm,"totalAmount","string"===typeof t?t.trim():t)},expression:"orderForm.totalAmount"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"实际专业"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subject,callback:function(t){e.$set(e.orderForm,"subject","string"===typeof t?t.trim():t)},expression:"orderForm.subject"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"课程费用"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subjectFee,callback:function(t){e.$set(e.orderForm,"subjectFee","string"===typeof t?t.trim():t)},expression:"orderForm.subjectFee"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"选择乐器"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axe,callback:function(t){e.$set(e.orderForm,"axe","string"===typeof t?t.trim():t)},expression:"orderForm.axe"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"乐器价格"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axePrice,callback:function(t){e.$set(e.orderForm,"axePrice","string"===typeof t?t.trim():t)},expression:"orderForm.axePrice"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"教辅组合"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.others,callback:function(t){e.$set(e.orderForm,"others","string"===typeof t?t.trim():t)},expression:"orderForm.others"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"组合价格"}},[i("el-input",{attrs:{disabled:""},model:{value:e.orderForm.othersPrice,callback:function(t){e.$set(e.orderForm,"othersPrice","string"===typeof t?t.trim():t)},expression:"orderForm.othersPrice"}})],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:function(t){e.orderVisible=!1}}},[e._v("确 定")])],1)],1),e._v(" "),i("el-dialog",{attrs:{title:"开始缴费",visible:e.paymentStatus,width:"400px","destroy-on-close":""},on:{"update:visible":function(t){e.paymentStatus=t}}},[i("el-form",{ref:"paymentForm",staticClass:"paymentForm",attrs:{model:e.paymentForm,"label-position":"top",rules:e.paymentRules}},[i("el-form-item",{attrs:{label:"请设置缴费截止日期",prop:"paymentExpireDate"}},[i("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd","picker-options":e.payDate(),placeholder:"选择日期"},model:{value:e.paymentForm.paymentExpireDate,callback:function(t){e.$set(e.paymentForm,"paymentExpireDate","string"===typeof t?t.trim():t)},expression:"paymentForm.paymentExpireDate"}})],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.paymentStatus=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onStartPayment("paymentForm")}}},[e._v("确 定")])],1)],1),e._v(" "),i("el-dialog",{attrs:{title:"报名二维码",visible:e.qrcodeStatus,width:"300px"},on:{"update:visible":function(t){e.qrcodeStatus=t}}},[i("div",{staticClass:"left-code"},[i("h2",[e._v("学员报名连接")]),e._v(" "),i("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode"}}),e._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:e.codeUrl,expression:"codeUrl"}],staticClass:"code-url"},[e._v(e._s(e.codeUrl))])])]),e._v(" "),i("el-dialog",{attrs:{title:"缴费详情二维码",visible:e.qrcodeStatus2,width:"300px"},on:{"update:visible":function(t){e.qrcodeStatus2=t}}},[i("div",{staticClass:"right-code"},[i("h2",[e._v("报名缴费详情")]),e._v(" "),i("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode2"}}),e._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:e.codeUrl2,expression:"codeUrl2"}],staticClass:"code-url"},[e._v(e._s(e.codeUrl2))])])]),e._v(" "),i("el-dialog",{attrs:{title:"退团信息确认","destroy-on-close":!0,width:"640px",visible:e.quitVisible},on:{"update:visible":function(t){e.quitVisible=t}}},[i("el-form",{ref:"quitForm",attrs:{model:e.quitForm,rules:e.quitRules}},[i("el-form-item",{attrs:{label:"退还课程费用",prop:"isRefundCourseFee"}},[i("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("是")]),e._v(" "),i("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("否")])],1),e._v(" "),i("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[i("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("是")]),e._v(" "),i("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("否")])],1),e._v(" "),i("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[i("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("是")]),e._v(" "),i("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("否")])],1),e._v(" "),i("el-form-item",{attrs:{label:"退团原因"}},[i("el-input",{attrs:{type:"textarea"},model:{value:e.quitForm.reason,callback:function(t){e.$set(e.quitForm,"reason","string"===typeof t?t.trim():t)},expression:"quitForm.reason"}})],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.quitVisible=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.chioseType}},[e._v("确 定")])],1)],1),e._v(" "),i("el-dialog",{attrs:{title:"新增回访",width:"600px","destroy-on-close":"","close-on-click-modal":!1,visible:e.visitVisiable},on:{"update:visible":function(t){e.visitVisiable=t}}},[i("el-form",{ref:"visitForm",attrs:{model:e.visitForm,"label-width":"120px","label-position":"right",rules:e.visitRules}},[i("el-form-item",{attrs:{label:"学生姓名"}},[i("p",[e._v(e._s(e.visitForm.studentName))])]),e._v(" "),i("el-form-item",{attrs:{label:"回访类型",prop:"visitType"}},[i("el-cascader",{staticStyle:{width:"220px!important"},attrs:{"expand-trigger":"hover",clearable:"",placeholder:"请选择回访类型",options:e.visitChiose},on:{change:e.handleChange},model:{value:e.visitForm.visitType,callback:function(t){e.$set(e.visitForm,"visitType",t)},expression:"visitForm.visitType"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"回访日期",prop:"visitTime"}},[i("el-date-picker",{staticStyle:{width:"220px!important"},attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd"},model:{value:e.visitForm.visitTime,callback:function(t){e.$set(e.visitForm,"visitTime","string"===typeof t?t.trim():t)},expression:"visitForm.visitTime"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"学员情况",prop:"overview"}},[i("el-input",{staticStyle:{width:"80%!important"},attrs:{type:"textarea",rows:3,maxlength:"50","show-word-limit":""},model:{value:e.visitForm.overview,callback:function(t){e.$set(e.visitForm,"overview",t)},expression:"visitForm.overview"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"家长反馈",prop:"feedback"}},[i("el-input",{staticStyle:{width:"80%!important"},attrs:{type:"textarea",rows:3,maxlength:"50","show-word-limit":""},model:{value:e.visitForm.feedback,callback:function(t){e.$set(e.visitForm,"feedback",t)},expression:"visitForm.feedback"}})],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.visitVisiable=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.submitAddVisit}},[e._v("确 定")])],1)],1),e._v(" "),i("el-dialog",{attrs:{title:"更改声部",visible:e.changeVoiceVisible,"destroy-on-close":!0,width:"500px"},on:{"update:visible":function(t){e.changeVoiceVisible=t},close:e.closeChangeVoice}},[i("changeVoice",{attrs:{detail:e.rowDetail,musicGroupId:e.id,voiceList:e.leftList},on:{close:e.closeChangeVoice,submited:e.getList,"update:detail":function(t){e.rowDetail=t}}})],1)],1)},r=[],s=(i("a481"),i("ac4d"),i("8a81"),i("db72")),n=(i("ac6a"),i("386d"),i("7f7f"),i("333d")),o=i("1cc7"),l=i("5137"),u=i("61f7"),c=i("46f6"),d=i("d044"),m=i.n(d),p=i("92e3"),f=i("bc3a"),v=i.n(f),h=i("5f87"),b=i("3908"),g=i("4328"),y=i.n(g),x=i("ec8a"),w=i("e3eb"),F=i.n(w),A=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"100px"}},[i("el-form-item",{attrs:{label:"原乐器",prop:"name"}},[i("span",[e._v(e._s(e.originalMusicalGoods))])]),e._v(" "),i("el-form-item",{attrs:{label:"原教辅",prop:"name"}},[i("span",[e._v(e._s(e.originalAccessoriesGoods))])]),e._v(" "),i("el-form-item",{attrs:{label:"更改声部",prop:"subjectId",rules:[{required:!0,message:"请选择更改声部",trigger:"change"}]}},[e.changeInfo?i("span",[e._v(e._s(e.changeSubjectName))]):i("el-select",{staticStyle:{width:"100%!important"},attrs:{clearable:"",placeholder:"请选择声部"},on:{change:e.subjectChange},model:{value:e.form.subjectId,callback:function(t){e.$set(e.form,"subjectId",t)},expression:"form.subjectId"}},e._l(e.filterVoiceList,function(e){return i("el-option",{key:e.subjectId,attrs:{label:e.subjectName,value:e.subjectId}})}),1)],1),e._v(" "),i("el-form-item",{attrs:{label:"更改乐器",prop:"musicalGoods",rules:[{required:!0,message:"请选择更改乐器",trigger:"change"}]}},[e.changeInfo?e.changeInfo&&e.changeInfo.changeMusicalGoods?i("span",[e._v(e._s(e.changeInfo.changeMusicalGoods.name))]):e._e():i("el-select",{staticStyle:{width:"100%!important"},attrs:{clearable:"",placeholder:"请选择乐器"},on:{change:e.musicalGoodsChange},model:{value:e.form.musicalGoods,callback:function(t){e.$set(e.form,"musicalGoods",t)},expression:"form.musicalGoods"}},e._l(e.musicalGoods,function(e){return i("el-option",{key:e.goodsIdList,attrs:{label:e.name,value:e.goodsIdList}})}),1)],1),e._v(" "),e.activeAccessories.length||e.groupList.length||e.changeInfo?i("el-form-item",{attrs:{label:"更换教辅",prop:"name"}},[e.changeInfo?e.changeInfo?i("span",[e._v(e._s(e.changeAccessoriesGoods))]):e._e():i("accessories",{attrs:{list:e.activeAccessories,groupList:e.groupList},on:{"update:list":function(t){e.activeAccessories=t},"update:groupList":function(t){e.groupList=t},"update:group-list":function(t){e.groupList=t},change:e.accessoriesChange}})],1):e._e(),e._v(" "),e.changeInfo?i("el-form-item",{attrs:{label:"查看链接",prop:"name"}},[i("div",{staticClass:"viewlink"},[i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.copyLink,placement:"top"}},[i("span",{staticClass:"link"},[e._v(e._s(e.copyLink))])]),e._v(" "),i("el-popover",{attrs:{placement:"top",width:"220",trigger:"click"}},[i("div",{staticClass:"left-code"},[i("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode"}}),e._v(" "),e.copyLink?i("p",{staticClass:"code-url"},[e._v(e._s(e.copyLink)+" "),i("el-link",{staticClass:"linkbtn",attrs:{type:"primary"},on:{click:function(t){return e.copyUrl(e.copyLink)}}},[e._v("复制")])],1):e._e()]),e._v(" "),i("el-button",{staticClass:"btn",attrs:{slot:"reference",type:"primary"},on:{click:e.onCreateQRCode},slot:"reference"},[e._v("二维码")])],1)],1)]):e._e(),e._v(" "),i("el-form-item",{attrs:{label:"支付差价",prop:"name"}},[e.changeInfo?i("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.editSpread))+"元")]):i("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.spread))+"元")])])],1),e._v(" "),i("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.$listeners.close}},[e._v("取 消")]),e._v(" "),e.changeInfo&&1!==e.changeInfo.status?i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/cancel",expression:"'subjectChange/cancel'"}],attrs:{type:"danger"},on:{click:e.cancel}},[e._v("取消订单")]):e._e(),e._v(" "),e.changeInfo?e._e():i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/add",expression:"'subjectChange/add'"}],attrs:{type:"primary"},on:{click:e.submit}},[e._v("确 定")])],1)],1)},I=[],C=(i("96cf"),i("3b8d")),E=(i("456d"),i("f904")),S=i.n(E),_=(i("6612"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]),e._v(" "),e.groupOptions.length?i("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.groupOptions,function(t){return i("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[i("strong",[i("span",[e._v(e._s(t.name))]),e._v(" "),i("span",[e._v(e._s(e._f("moneyFormat")(t.price))+"元")])]),e._v(" "),e._l(t.subs,function(t){return i("p",{key:t},[e._v(e._s(t))])})],2)}),1):i("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.list,function(t){return i("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[i("strong",[i("span",[e._v(e._s(t.name))]),e._v(" "),t.groupPurchasePrice>0?i("span",[e._v(e._s(e._f("moneyFormat")(t.groupPurchasePrice))+" 元")]):i("span",[e._v("免费")])])])}),1)],1)}),k=[],T=i("75fc"),P={props:["list","groupList"],data:function(){return{type:"list",checkAll:!1,checkeds:[],accessoriesByid:{},groupListById:{},selectMoney:0,isIndeterminate:!1}},watch:{checkeds:function(e){"list"===this.type?this.accessoriesByid:this.groupListById;var t=0;if("list"===this.type){var i=!0,a=!1,r=void 0;try{for(var s,n=e[Symbol.iterator]();!(i=(s=n.next()).done);i=!0){var o=s.value,l=this.accessoriesByid[o];l&&(t+=parseFloat(l.groupPurchasePrice))}}catch(C){a=!0,r=C}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}}else{var u=!0,c=!1,d=void 0;try{for(var m,p=e[Symbol.iterator]();!(u=(m=p.next()).done);u=!0){var f=m.value,v=this.groupListById[f];v&&(t+=parseFloat(v.price))}}catch(C){c=!0,d=C}finally{try{u||null==p.return||p.return()}finally{if(c)throw d}}}var h=[];if("list"!==this.type){var b=!0,g=!1,y=void 0;try{for(var x,w=e[Symbol.iterator]();!(b=(x=w.next()).done);b=!0){var F=x.value,A=this.groupListById[F];if(A){var I=this.groupListById[F].goodsList;h=h.concat((I||[]).map(function(e){return e.id}))}}}catch(C){g=!0,y=C}finally{try{b||null==w.return||w.return()}finally{if(g)throw y}}}else h=Object(T["a"])(e);this.$listeners.change(h,t)}},mounted:function(){var e=this;this.$nextTick(function(){var t={},i=!0,a=!1,r=void 0;try{for(var s,n=e.list[Symbol.iterator]();!(i=(s=n.next()).done);i=!0){var o=s.value;t[o.id]=o}}catch(v){a=!0,r=v}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}var l={},u=!0,c=!1,d=void 0;try{for(var m,p=e.groupList[Symbol.iterator]();!(u=(m=p.next()).done);u=!0){var f=m.value;l[f.id]=f}}catch(v){c=!0,d=v}finally{try{u||null==p.return||p.return()}finally{if(c)throw d}}e.accessoriesByid=t,e.groupListById=l})},computed:{groupOptions:function(){var e=this.groupList.map(function(e){return{name:e.name,price:e.price,id:e.id,subs:e.goodsList?e.goodsList.map(function(e){return e.name}):[]}});return e.length&&(this.type="group"),e}},methods:{handleCheckAllChange:function(e){var t="list"===this.type?this.list:this.groupOptions,i=t.map(function(e){return e.id});this.checkeds=e?i:[],this.isIndeterminate=!1},optionChange:function(e){var t="list"===this.type?this.list:this.groupOptions,i=e.length;this.checkAll=i===t.length,this.isIndeterminate=i>0&&i<t.length}}},j=P,R=(i("d483"),i("2877")),D=Object(R["a"])(j,_,k,!1,null,"24d7f972",null),L=D.exports,O=function(e,t){var i=[],a={},r=[],n={},o=[],l={},u={};if(e){var c=e.musicGroupSubjectGoodsGroupList,d={},m=!0,p=!1,f=void 0;try{for(var v,h=c[Symbol.iterator]();!(m=(v=h.next()).done);m=!0){var b=v.value;d[b.type]||(d[b.type]=[]),d[b.type].push(b)}}catch(N){p=!0,f=N}finally{try{m||null==h.return||h.return()}finally{if(p)throw f}}for(var g=Object.keys(d),y=0,x=g;y<x.length;y++){var w=x[y],F=!0,A=!1,I=void 0;try{for(var C,E=d[w][Symbol.iterator]();!(F=(C=E.next()).done);F=!0){var S=C.value;if("INSTRUMENT"===w){var _={},k={};try{_=JSON.parse(S.kitGroupPurchaseTypeJson)}catch(G){}try{k=JSON.parse(S.coursePurchaseTypeJson)}catch(G){}if(void 0!==_[t]){var T=Object(s["a"])({},S,{kitGroupPurchaseTypePrice:_[t]||0,coursePurchaseTypeJsonTypePrice:k[t]||0,_calculated_price:"FREE"===t?0:"LEASE"===t?S.depositFee:S.price});if(r.push(T),n[S.goodsIdList]=T,!d.ACCESSORIES){u[S.goodsIdList]||(u[S.goodsIdList]=[]);var P=S.goodsList[0].goodsList?S.goodsList[0].goodsList:[],j=!0,R=!1,D=void 0;try{for(var L,O=P[Symbol.iterator]();!(j=(L=O.next()).done);j=!0){var q=L.value;u[S.goodsIdList].push(q),a[q.id]=q}}catch(N){R=!0,D=N}finally{try{j||null==O.return||O.return()}finally{if(R)throw D}}}}}else"ACCESSORIES"===S.type&&(o.push(S),l[S.id]=S)}}catch(N){A=!0,I=N}finally{try{F||null==E.return||E.return()}finally{if(A)throw I}}}}return{accessories:i,accessoriesById:a,musicalGoods:r,musicalGoodsById:n,groupList:o,groupListById:l,accessoriesByGoods:u}},q={props:["detail","musicGroupId","voiceList"],components:{accessories:L},data:function(){return{changeInfo:null,oldAllMoney:0,accessories:[],accessoriesByid:{},musicalGoods:[],musicalGoodsById:{},groupList:[],groupListById:{},accessoriesByGoods:{},selectAccessories:[],selectAccessoriesMoney:0,kitGroupPurchaseTypePrice:0,coursePurchaseTypeJsonTypePrice:0,form:{subjectId:"",accessories:"",musicalGoods:""},rules:{},item:{},originalMusicalGoods:"",originalAccessoriesGoods:"",originalAccessoriesPrice:0,originalMusicalPrice:0,originalCourseFee:0,musicGroupSubjectPlanFee:0,musicalPrice:0}},watch:{detail:function(){this.detail&&(console.log(this.detail,this.voiceList),this.fetchDetail())}},computed:{copyLink:function(){return this.changeInfo?Object(u["d"])()+"/#/change-voice?id="+this.changeInfo.id:""},filterVoiceList:function(){var e=this;return this.voiceList.filter(function(t){return t.subjectId!==e.detail.actualSubjectId})},activeAccessories:function(){var e=this.form||{},t=e.musicalGoods;return t&&this.accessoriesByGoods[t]||[]},changeSubjectName:function(){var e="";if(this.item.changeSubjectId){var t=!0,i=!1,a=void 0;try{for(var r,s=this.voiceList[Symbol.iterator]();!(t=(r=s.next()).done);t=!0){var n=r.value;if(n.subjectId===this.item.changeSubjectId){e=n.subjectName;break}}}catch(o){i=!0,a=o}finally{try{t||null==s.return||s.return()}finally{if(i)throw a}}}return e},changeAccessoriesGoods:function(){var e=this.changeInfo||{},t=(e.changeAccessoriesGoods||[]).map(function(e){return e.name}).join(",");return t||"未选择教辅"},editSpread:function(){var e=this.changeInfo||{},t=(e.originalAccessoriesPrice||0)+(e.originalCourseFee||0)+(e.originalMusicalPrice||0);return(e.changeMusicalPrice||0)+(e.changeAccessoriesPrice||0)+(e.changeCourseFee||0)-t},spread:function(){var e=this.numFormat(this.musicalPrice+this.selectAccessoriesMoney+this.musicGroupSubjectPlanFee-this.originalAccessoriesPrice-this.originalMusicalPrice-this.originalCourseFee-this.coursePurchaseTypeJsonTypePrice-this.kitGroupPurchaseTypePrice);return e}},mounted:function(){this.detail&&this.detail.id&&this.fetchDetail()},methods:{copyUrl:function(e){S()(e),this.$message.success("复制成功")},fetchDetail:function(){var e=Object(C["a"])(regeneratorRuntime.mark(function e(){var t,i=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(t=function(e){var t=e.data;i.item=t||{},t&&(i.originalAccessoriesPrice=t.originalAccessoriesPrice,i.originalMusicalPrice=t.originalMusicalPrice,i.originalCourseFee=t.originalCourseFee,i.originalMusicalGoods=t.originalMusicalGoods&&t.originalMusicalGoods.name,i.originalAccessoriesGoods=(t.originalAccessoriesGoods||[]).map(function(e){return e.name}).join())},!this.detail.subjectChange){e.next=6;break}return e.next=4,Object(o["M"])({id:this.detail.subjectChange.id}).then(function(e){t(e),i.changeInfo=e.data});case 4:e.next=9;break;case 6:return this.changeInfo=this.detail.subjectChange,e.next=9,Object(o["ob"])({musicGroupId:this.musicGroupId,studentId:this.detail.studentId}).then(t);case 9:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}(),subjectChange:function(){var e=Object(C["a"])(regeneratorRuntime.mark(function e(t){var i,a,r,s,n=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(this.$set(this.form,"musicalGoods",""),i=null,!t){e.next=7;break}return e.next=5,Object(o["rb"])({musicGroupId:this.musicGroupId,subjectId:t}).then(function(e){i=e.data,n.musicGroupSubjectPlanFee=e.data.musicGroupSubjectPlan.fee});case 5:e.next=8;break;case 7:this.musicGroupSubjectPlanFee=0;case 8:for(r in a=O(i,this.item.kitGroupPurchaseType),a)a.hasOwnProperty(r)&&(s=a[r],this[r]=s);this.musicalGoodsChange();case 11:case"end":return e.stop()}},e,this)}));function t(t){return e.apply(this,arguments)}return t}(),musicalGoodsChange:function(e){var t=this.musicalGoodsById[e];t?(this.musicalPrice=this.numFormat(t._calculated_price),this.kitGroupPurchaseTypePrice=this.numFormat(t.kitGroupPurchaseTypePrice),this.coursePurchaseTypeJsonTypePrice=this.numFormat(t.coursePurchaseTypeJsonTypePrice)):(this.musicalPrice=0,this.kitGroupPurchaseTypePrice=0,this.coursePurchaseTypeJsonTypePrice=0)},accessoriesChange:function(e,t){this.selectAccessories=e,this.selectAccessoriesMoney=t},numFormat:function(e){var t=parseFloat(e);return isNaN(t)&&(t=0),parseFloat(t.toFixed(2))},onCreateQRCode:function(){var e=this;setTimeout(function(){e.$refs.qrCodeUrl.innerHTML="",e.qrcode=new m.a(e.$refs.qrCodeUrl,{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:m.a.CorrectLevel.H}),e.qrcode.makeCode(e.copyLink),e.codeUrl=e.copyLink},500)},submit:function(){var e=this;this.$refs["form"].validate(function(t){t&&Object(o["kc"])({changeCourseFee:e.numFormat(e.musicGroupSubjectPlanFee-e.coursePurchaseTypeJsonTypePrice),changeAccessories:e.selectAccessories.join(","),changeAccessoriesPrice:e.numFormat(e.selectAccessoriesMoney),changeMusicalPrice:e.numFormat(e.musicalPrice-e.kitGroupPurchaseTypePrice),originalCourseFee:e.originalCourseFee,originalMusicalPrice:e.originalMusicalPrice,originalMusical:e.item.originalMusical,originalAccessories:e.item.originalAccessories,originalAccessoriesPrice:e.originalAccessoriesPrice,cooperationOrganId:e.item.cooperationOrganId,kitGroupPurchaseType:e.item.kitGroupPurchaseType,musicGroupId:e.musicGroupId,studentId:e.detail.studentId,changeMusical:e.form.musicalGoods,originalCost:e.item.originalCost,organId:e.item.organId,originalSubjectId:e.detail.actualSubjectId,changeSubjectId:e.form.subjectId}).then(function(t){e.$listeners.close(),e.$listeners.submited(),e.$message.success("提交成功!")})})},cancel:function(){var e=this;this.$confirm("是否确认取消订单?","提示",{onfirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o["lc"])({id:e.detail.subjectChange.id}).then(function(t){e.$listeners.close(),e.$listeners.submited(),e.$message.success("取消成功!")})})}}},N=q,G=(i("5b1c"),Object(R["a"])(N,A,I,!1,null,"85ae9696",null)),M=G.exports,U={name:"signupList",components:{pagination:n["a"],changeVoice:M},data:function(){return{multipleSelection:[],isEdit:!1,rowDetail:null,changeVoiceVisible:!1,subjectVisible:!1,orderVisible:!1,quitVisible:!1,leftList:[],rightList:[],searchFrom:{name:"",subject:"",isAllowAdjust:""},quitForm:{isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},stepImgs:{APPLY:i("cd89"),PAY:i("0e73")},status:"",id:"",rules:{limit:10,page:1,total:0,page_size:[10,20,30,40]},teamName:"",maskForm:{subject:""},activeId:"",soundList:[],orderForm:{name:"",totalAmount:"",subject:"",subjectFee:"",axe:"",axePrice:"",others:"",othersPrice:""},paymentStatus:!1,paymentForm:{paymentExpireDate:null},paymentRules:{paymentExpireDate:[{required:!0,message:"请设置缴费截止日期",trigger:"blur"}]},paymentNum:0,qrcodeStatus:!1,qrcodes:!0,qrcode:null,codeUrl:null,qrcodeStatus2:!1,qrcodes2:!0,qrcode2:null,codeUrl2:null,extendPaymentStatus:!1,extendForm:{expireDate:null},extendRule:{expireDate:[{required:!0,message:"请选择延长时间",trigger:"change"}]},quitRules:{isRefundCourseFee:[{required:!0,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:!0,message:"选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:!0,message:"选择是否退还教辅费用"}]},Fsearch:null,Frules:null,applyExpireDate:"",paymentExpireDate:"",activeRow:null,visitVisiable:!1,visitForm:{musicGroupId:"",overview:"",purpose:"",studentId:"",type:"",visitTime:"",visitType:"",feedback:"",studentName:""},visitChiose:p["y"],visitRules:{overview:[{required:!0,message:"请输入学生近况"}],feedback:[{required:!0,message:"请输入家长反馈"}],visitTime:[{required:!0,message:"请输入回访时间"}],visitType:[{required:!0,message:"请选择回访类型"}]},isPay:!1,applyDates:this.applyDate()}},created:function(){this.init()},activated:function(){this.init()},methods:{permission:function(e){return Object(x["a"])(e)},init:function(){var e=this;this.status=this.$route.query.status,this.id=this.$route.query.id,this.teamName=this.$route.query.name,this.$route.query.search&&(this.Fsearch=this.$route.query.search),this.$route.query.rules&&(this.Frules=this.$route.query.rules),this.pickerOptions=this.beginDate(new Date),Object(o["xb"])({musicGroupId:this.id}).then(function(t){200==t.code&&(e.applyExpireDate=t.data.musicGroup.applyExpireDate,e.paymentExpireDate=t.data.musicGroup.paymentExpireDate)}),Object(o["E"])({musicGroupId:this.id}).then(function(t){200==t.code&&(e.soundList=t.data)}),this.getList()},search:function(){this.rules.page=1,this.getList()},onReset:function(){this.rules.page=1,this.rules.limit=10,this.searchFrom={name:null,subject:null,isAllowAdjust:null},this.getList()},onCancel:function(){this.$router.push({path:"/business/teamDetail",query:{search:this.Fsearch,rules:this.Frules}})},payStart:function(){var e=this;this.paymentStatus=!0,Object(o["xb"])({musicGroupId:this.id}).then(function(t){200==t.code&&(e.applyExpireDate=t.data.musicGroup.applyExpireDate,e.paymentExpireDate=t.data.musicGroup.paymentExpireDate)})},getList:function(){var e=this,t={musicGroupId:this.id,actualSubjectId:this.searchFrom.subject||null,isAllowAdjust:this.searchFrom.isAllowAdjust||null,name:this.searchFrom.name||null,page:this.rules.page,rows:this.rules.limit};return Object(o["Fb"])({musicGroupId:this.id}).then(function(t){200==t.code&&(e.leftList=t.data)}),Object(o["nb"])(t).then(function(t){if(200==t.code)return t.data.rows.forEach(function(t){2==t.paymentStatus&&(e.paymentNum+=1)}),e.rightList=t.data.rows,e.rules.total=t.data.total,t})},onStartPayment:function(e){var t=this;this.$refs[e].validate(function(e){if(!e)return!1;Object(o["Jb"])({musicGroupId:t.id,expireDate:t.paymentForm.paymentExpireDate}).then(function(e){200==e.code&&(t.$message.success("开启成功"),t.paymentStatus=!1,t.$router.push({path:"/business/signupList",query:{status:"PAY",id:t.$route.query.id,name:t.$route.query.name}}),t.status="PAY",t.paymentExpireDate=t.paymentForm.paymentExpireDate,t.getList())})})},onSelectAll:function(){this.$refs.multipleTable.toggleAllSelection()},onPartPayment:function(){var e=this,t=this.multipleSelection;if(t.length<=0)return this.$message.success("您还没有选择学生"),!1;var i=[];t.forEach(function(e){i.push(e.id)}),this.$confirm("是否确认提前缴费?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o["Lb"])({ids:i.join(",")}).then(function(t){200==t.code?(e.$message.success("开启成功"),e.getList()):e.$message.error(t.msg)})}).catch(function(){})},onCreateQRCode:function(){var e=this;this.qrcodeStatus=!0;var t=this.id;this.$route.query.name;setTimeout(function(){document.getElementById("qrcode").innerHTML="",e.qrcode=new m.a("qrcode",{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:m.a.CorrectLevel.H}),e.qrcode.makeCode(Object(u["d"])()+"/#/login?musicGroupId="+t),e.codeUrl=Object(u["d"])()+"/#/login?musicGroupId="+t},500)},onCreateQRCode2:function(){var e=this;this.qrcodeStatus2=!0;var t=this.id,i=this.$route.query.name;setTimeout(function(){document.getElementById("qrcode2").innerHTML="",e.qrcode2=new m.a("qrcode2",{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:m.a.CorrectLevel.H}),e.qrcode2.makeCode(Object(u["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+i),e.codeUrl2=Object(u["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+i},500)},onDownLoadExecl:function(){var e=this,t="/api-web/studentRegistration/queryStudentApplyDetailExport",i={musicGroupId:this.$route.query.id,page:1,rows:9999},a={method:"POST",headers:{Authorization:Object(h["a"])()},data:y.a.stringify(i),url:t,responseType:"blob"};this.$confirm("您确定导出吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){b["a"].startLoading(),v()(a).then(function(t){var i=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),a=new Response(i).text();a.then(function(t){if(-1!=t.indexOf("code")){var a=JSON.parse(t);e.$message.error(a.msg)}else{var r=URL.createObjectURL(i),s=document.createElement("a"),n=new Date,o=n.getFullYear()+""+(n.getMonth()+1)+n.getDate()+n.getHours()+n.getMinutes(),l=e.$route.query.id+"-"+o;s.href=r,s.setAttribute("download",l),document.body.appendChild(s),s.click()}}),b["a"].endLoading()}).catch(function(t){e.$message.error("导出数据失败,请联系管理员"),b["a"].endLoading()})}).catch(function(){})},onGoHome:function(){var e=this;this.paymentNum<=0?this.$message.error("当前缴费人数为0,无法开团"):this.$confirm("是否确认开团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o["Ib"])({musicGroupId:e.$route.query.id}).then(function(t){if(200==t.code){var i=e.$route.query;e.$message.success("开启成功"),e.$router.push({path:"/business/teamDetail",query:Object(s["a"])({},i)})}})}).catch(function(){})},onClose:function(){var e=this;this.$confirm("您确定停止乐团吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o["k"])({musicGroupId:e.$route.query.id}).then(function(t){200==t.code&&(e.$message.success("停止成功"),e.$router.push({path:"/business/teamDetail",query:{search:e.Fsearch,rules:e.Frules}}))})}).catch(function(){})},handleSelectionChange:function(e){this.multipleSelection=e},resetSubject:function(e){this.activeId=e.studentId,this.subjectVisible=!0},okReset:function(){var e=this;this.maskForm.subject?Object(l["t"])({musicGroupId:this.id,userId:this.activeId,subId:this.maskForm.subject}).then(function(t){200==t.code&&(e.$message.success("修改成功"),e.subjectVisible=!1,e.maskForm.subject="",Object(o["Fb"])({musicGroupId:e.id}).then(function(t){200==t.code&&(e.leftList=t.data)}),e.getList())}):this.$message.error("请选择调剂专业")},onExtendPayment:function(e,t){var i=this;this.$refs[e].validate(function(e){e&&(t?Object(o["y"])({musicGroupId:i.id,expireDate:i.extendForm.expireDate}).then(function(e){200==e.code?(i.$message.success("延长缴费成功"),i.extendPaymentStatus=!1,Object(o["xb"])({musicGroupId:i.id}).then(function(e){200==e.code&&(i.paymentExpireDate=e.data.musicGroup.paymentExpireDate)})):i.$message.error(e.msg)}):Object(o["x"])({musicGroupId:i.id,expireDate:i.extendForm.expireDate}).then(function(e){200==e.code?(i.$message.success("延长报名成功"),i.extendPaymentStatus=!1,Object(o["xb"])({musicGroupId:i.id}).then(function(e){200==e.code&&(i.applyExpireDate=e.data.musicGroup.applyExpireDate)})):i.$message.error(e.msg)}))})},lookdetail:function(e){var t=this;this.orderVisible=!0,this.activeId=e.studentId,this.orderForm.name=e.studentName,this.orderForm.subject=e.subjectName,Object(l["l"])({musicGroupId:this.id,studentId:e.studentId}).then(function(e){if(200==e.code&&e.data){t.orderForm.totalAmount=e.data.totalAmount;var i="",a=0,r="",s=0;for(var n in e.data.goods)"INSTRUMENT"==e.data.goods[n].goodsType?(i+=e.data.goods[n].goodsName+",",a+=parseFloat(e.data.goods[n].musicalFee)):"ACCESSORIES"==e.data.goods[n].goodsType?(r+=e.data.goods[n].goodsName+",",s+=parseFloat(e.data.goods[n].musicalFee)):"COURSE"==e.data.goods[n].goodsType&&(t.orderForm.subjectFee=e.data.goods[n].musicalFee);t.orderForm.others=r.substring(0,r.length-1),t.orderForm.othersPrice=s,t.orderForm.axe=i.substring(0,i.length-1),t.orderForm.axePrice=a}})},saveIsEdit:function(){this.isEdit=!1,Object(o["cc"])(this.leftList).then(function(e){})},quitTeam:function(e){this.activeRow=e,this.quitVisible=!0},quieTeams:function(e){var t=this;this.$confirm("确定退团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(o["b"])({musicGroupId:t.id,userId:e.studentId,reason:"",isRefundCourseFee:!1,isRefundInstrumentFee:!1,isRefundTeachingAssistantsFee:!1}).then(function(e){t.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},200==e.code&&(t.$message.success("退团成功"),t.getList(),t.quitVisible=!1)})}).catch(function(){})},chioseType:function(){var e=this;this.$refs["quitForm"].validate(function(t){t&&e.$confirm("确定退团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var t=e.activeRow;Object(o["b"])({musicGroupId:e.id,userId:t.studentId,reason:e.quitForm.reason,isRefundCourseFee:e.quitForm.isRefundCourseFee,isRefundInstrumentFee:e.quitForm.isRefundInstrumentFee,isRefundTeachingAssistantsFee:e.quitForm.isRefundTeachingAssistantsFee}).then(function(t){e.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},200==t.code&&(e.$message.success("退团成功"),e.getList(),e.quitVisible=!1)})}).catch(function(){})})},addVisit:function(e){this.visitForm.studentName=e.studentName,this.visitForm.musicGroupId=this.teamid,this.visitForm.studentId=e.studentId,this.visitVisiable=!0},openChangeVoice:function(e){var t=this;this.getList().then(function(i){var a=!0,r=!1,n=void 0;try{for(var o,l=i.data.rows[Symbol.iterator]();!(a=(o=l.next()).done);a=!0){var u=o.value;u.id===e.id&&(t.rowDetail=Object(s["a"])({},u),t.changeVoiceVisible=!0)}}catch(c){r=!0,n=c}finally{try{a||null==l.return||l.return()}finally{if(r)throw n}}})},closeChangeVoice:function(){this.changeVoiceVisible=!1},handleChange:function(e){this.visitForm.type=e[0],this.visitForm.purpose=e[1]},submitAddVisit:function(){var e=this;this.$refs.visitForm.validate(function(t){t&&(e.visitForm.visitType=null,Object(c["a"])(F()(e.visitForm)).then(function(t){200===t.code&&(e.$message.success("新增成功"),e.visitVisiable=!1)}))})},beginDate:function(e){return{firstDayOfWeek:1,disabledDate:function(t){return t.getTime()>=e.getTime()}}},extendTime:function(e){this.isPay=e,this.extendForm.expireDate=e?this.paymentExpireDate:this.applyExpireDate,this.extendPaymentStatus=!0},applyDate:function(){var e=this;return{firstDayOfWeek:1,disabledDate:function(t){return!!e.paymentExpireDate&&t.getTime()>new Date(e.paymentExpireDate.replace(/-/g,"/")).getTime()}}},payDate:function(){var e=this;return{firstDayOfWeek:1,disabledDate:function(t){return!!e.applyExpireDate&&t.getTime()<=new Date(e.applyExpireDate.replace(/-/g,"/")).getTime()}}}},watch:{orderVisible:function(e){e||(this.orderForm={name:"",totalAmount:"",subject:"",subjectFee:"",axe:"",axePrice:"",others:"",othersPrice:""})},qrcodeStatus:function(e){e||this.qrcode.clear()},qrcodeStatus2:function(e){e||this.qrcode2.clear()},paymentStatus:function(e){e||(this.paymentForm={paymentExpireDate:null})},quitVisible:function(e){e||(this.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},this.$refs["quitForm"].resetFields())},visitVisiable:function(e){e||this.$refs["visitForm"].resetFields()}}},B=U,V=(i("225c"),Object(R["a"])(B,a,r,!1,null,"49f804e5",null));t["default"]=V.exports},cd89:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAADMElEQVRYR82YO2gUYRDH//897y74Ju52KmgsFKwEG43BQrSwSKUoNoKiEYx4p4KWKbRRkkDEVxEsDIpWESwUwSiJIEErwTQ+ULu7CCEG7na5/cuud/HyutvHgbftzsz3Y2a+mfmGCPnp4ppNxVLyAIl2CNtEbiSwyjMjYJrSdxCfJIymE85z3pj6GuYIBhF+fAiJzvXmIYFnCewCEUgPggS8JXRz+Gf+yeEnKNU7r65h5/y6fSWDAwS31jNW67+giYSr7mT/5MtacksC6ThanFazX+KpwB6pRyyI1L3kr/x53kdhMfFFgaa7V1qpZMszgDvrnRHtv8Ztp3Bw1cDv3Hz9BUBlmDcIF6KZsuEVwQE1YTuFjvlQc4C8MNmtpgcTyjMJqNMDKYHDwYH8ezme+pXvqA7fHCA7a94ReDqcUcCQ9no6LjkSVpfQ3VRvvquiNwvk3SaXxosoCRwHyCsNhtz9ldvnA/l1ZoP5MWTezDojFpBfUDXx9Ed+u1enfKBixjwC8mFYd1fk4wL5dqSj6b78Ix/IzlqjAnb/TyACY6neXDu93mSXUp+j5E5jPQSlEnYbCxmzi+TtqN7x9BoSMj9qOkM7az4QeKwZgAgN0c6Y70XuaAog6QPtrJUTYDYFEJBnMWt5XTcdF8gtlSaRWPYOxPIYtooNAQLUk+rN9xTPWVuwDIME2iNCFVnIWjnGDJl3OKFXruucTK+d+uZMW91ycS2st+SFrBFJXdUYfwPu5WTv5K1iZnWbwfSggD2BvfU3qeNf+wVDljTiyjmR7p/6VsxY3QZxVUCAWUlDDSmMS3hgRq57Jd0/eROX1mx2SslBgR21vOUXxka0jlqHEHrtOs6J9MDUF+eCeV3ihUXlVW4d3s9CxholozfXADkyI6nHINqWGgAljLX05dobMn4EAKovUj1+xB3Q6p9WW2LBgOaJxxlhYwEtNsJWDEYd8uMALTnk+1NkxGdQdKA6zyDPcMSHYgSmAA/FitWmekpXoJpq2VDtf//2GRyI+mb7Z0sTRpx1TDVUZWFF8qwUbmFF4q3UwIXV/GytrPSM8koP5EaVV3oEplFe6bkRV3p/ABNMtOh7n8IQAAAAAElFTkSuQmCC"},d483:function(e,t,i){"use strict";var a=i("2314"),r=i.n(a);r.a},ec8a:function(e,t,i){"use strict";i.d(t,"a",function(){return a});i("6762"),i("2fdb"),i("28a5");function a(e,t){var i=window.localStorage.getItem("permission");return i=i.split(","),t=t||null,!(!i.includes(e)||t)||!(!i.includes(e)||!i.includes(t))}},f904:function(e,t,i){"use strict";var a=i("13d9"),r={"text/plain":"Text","text/html":"Url",default:"Text"},s="Copy to clipboard: #{key}, Enter";function n(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function o(e,t){var i,o,l,u,c,d,m=!1;t||(t={}),i=t.debug||!1;try{l=a(),u=document.createRange(),c=document.getSelection(),d=document.createElement("span"),d.textContent=e,d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(a){if(a.stopPropagation(),t.format)if(a.preventDefault(),"undefined"===typeof a.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var s=r[t.format]||r["default"];window.clipboardData.setData(s,e)}else a.clipboardData.clearData(),a.clipboardData.setData(t.format,e);t.onCopy&&(a.preventDefault(),t.onCopy(a.clipboardData))}),document.body.appendChild(d),u.selectNodeContents(d),c.addRange(u);var p=document.execCommand("copy");if(!p)throw new Error("copy command was unsuccessful");m=!0}catch(f){i&&console.error("unable to copy using execCommand: ",f),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),m=!0}catch(f){i&&console.error("unable to copy using clipboardData: ",f),i&&console.error("falling back to prompt"),o=n("message"in t?t.message:s),window.prompt(o,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),d&&document.body.removeChild(d),l()}return m}e.exports=o}}]);