1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2bd9cbbb"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),Math.easeInOutQuad=function(e,t,a,r){return e/=r/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,a){var l=n(),s=e-l,o=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=o;var n=Math.easeInOutQuad(u,l,s,t);i(n),u<t?r(e):a&&"function"===typeof a&&a()};c()}},"2a00":function(e,t,a){"use strict";a("3187")},3187:function(e,t,a){},"475f":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"quitForm",attrs:{model:e.quitForm,"label-width":"150px",rules:e.quitRules,inline:!0}},[a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"学员姓名"}},[a("span",[e._v(e._s(e.quitForm.studentName))])])],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"乐团名称"}},[a("overflow-text",{attrs:{text:e.quitForm.musicGroupName,width:"150px"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-form-item",{attrs:{label:"是否回访",prop:"isVisit"}},[a("el-radio",{attrs:{label:!0,disabled:e.isDisabled},model:{value:e.quitForm.isVisit,callback:function(t){e.$set(e.quitForm,"isVisit","string"===typeof t?t.trim():t)},expression:"quitForm.isVisit"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{disabled:e.isDisabled,label:!1},model:{value:e.quitForm.isVisit,callback:function(t){e.$set(e.quitForm,"isVisit","string"===typeof t?t.trim():t)},expression:"quitForm.isVisit"}},[e._v("否")])],1),e._v(" "),e.quitForm.isVisit?a("el-form-item",{attrs:{label:"回访时间",rules:[{required:!0,message:"请选择回访时间"}],prop:"visitTime"}},[a("el-date-picker",{staticStyle:{width:"180px !important"},attrs:{disabled:e.isDisabled,align:"right",type:"date",placeholder:"选择日期","value-format":"yyyy-MM-dd","picker-options":e.pickerOptions},model:{value:e.quitForm.visitTime,callback:function(t){e.$set(e.quitForm,"visitTime","string"===typeof t?t.trim():t)},expression:"quitForm.visitTime"}})],1):e._e()],1),e._v(" "),a("div",[a("el-row",[a("el-form-item",{attrs:{label:"退还课程费用",prop:"isReturnCourseFee",rules:[{required:!0,message:"请选择是否退还课程费用"}]}},[a("el-radio",{attrs:{disabled:e.isDisabled,label:!0},model:{value:e.quitForm.isReturnCourseFee,callback:function(t){e.$set(e.quitForm,"isReturnCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnCourseFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{disabled:e.isDisabled,label:!1},model:{value:e.quitForm.isReturnCourseFee,callback:function(t){e.$set(e.quitForm,"isReturnCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnCourseFee"}},[e._v("否")])],1),e._v(" "),e.quitForm.isReturnCourseFee?a("el-form-item",{attrs:{label:"退还课程金额",prop:"courseFee"}},[a("el-input",{staticStyle:{width:"180px"},attrs:{disabled:"",type:"number"},model:{value:e.quitForm.courseFee,callback:function(t){e.$set(e.quitForm,"courseFee","string"===typeof t?t.trim():t)},expression:"quitForm.courseFee"}},[a("template",{slot:"append"},[e._v("元")])],2)],1):e._e()],1),e._v(" "),a("el-row",[a("el-form-item",{attrs:{label:"退还乐器费用",prop:"isReturnMusicalFee",rules:[{required:!0,message:"请选择是否退还乐器费用"}]}},[a("el-radio",{attrs:{disabled:e.isDisabled,label:!0},model:{value:e.quitForm.isReturnMusicalFee,callback:function(t){e.$set(e.quitForm,"isReturnMusicalFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnMusicalFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{disabled:e.isDisabled,label:!1},model:{value:e.quitForm.isReturnMusicalFee,callback:function(t){e.$set(e.quitForm,"isReturnMusicalFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnMusicalFee"}},[e._v("否")])],1),e._v(" "),e.quitForm.isReturnMusicalFee?a("el-form-item",{attrs:{label:"退还乐器金额",prop:"musicalFee"}},[a("el-input",{staticStyle:{width:"180px"},attrs:{type:"number",disabled:""},model:{value:e.quitForm.musicalFee,callback:function(t){e.$set(e.quitForm,"musicalFee","string"===typeof t?t.trim():t)},expression:"quitForm.musicalFee"}},[a("template",{slot:"append"},[e._v("元")])],2)],1):e._e()],1),e._v(" "),a("el-row",[a("el-form-item",{attrs:{rules:[{required:!0,message:"请选择是否退还教辅费用"}],label:"退还教辅费用",prop:"isReturnAccessoriesFee"}},[a("el-radio",{attrs:{disabled:e.isDisabled,label:!0},model:{value:e.quitForm.isReturnAccessoriesFee,callback:function(t){e.$set(e.quitForm,"isReturnAccessoriesFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnAccessoriesFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{disabled:e.isDisabled,label:!1},model:{value:e.quitForm.isReturnAccessoriesFee,callback:function(t){e.$set(e.quitForm,"isReturnAccessoriesFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnAccessoriesFee"}},[e._v("否")])],1),e._v(" "),e.quitForm.isReturnAccessoriesFee?a("el-form-item",{attrs:{label:"退还教辅金额",prop:"accessoriesFee"}},[a("el-input",{staticStyle:{width:"180px"},attrs:{disabled:"",type:"number"},model:{value:e.quitForm.accessoriesFee,callback:function(t){e.$set(e.quitForm,"accessoriesFee","string"===typeof t?t.trim():t)},expression:"quitForm.accessoriesFee"}},[a("template",{slot:"append"},[e._v("元")])],2)],1):e._e()],1),e._v(" "),1==e.$helpers.tenantId?a("el-row",[a("el-form-item",{attrs:{label:"退还乐保费用",rules:[{required:!0,message:"请选择是否退还乐保费用"}],prop:"isReturnMaintenanceFee"}},[a("el-radio",{attrs:{disabled:e.isDisabled,label:!0},model:{value:e.quitForm.isReturnMaintenanceFee,callback:function(t){e.$set(e.quitForm,"isReturnMaintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnMaintenanceFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{disabled:e.isDisabled,label:!1},model:{value:e.quitForm.isReturnMaintenanceFee,callback:function(t){e.$set(e.quitForm,"isReturnMaintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.isReturnMaintenanceFee"}},[e._v("否")])],1),e._v(" "),e.quitForm.isReturnMaintenanceFee?a("el-form-item",{attrs:{label:"退还乐保金额",rules:[{required:!0,message:"请输入乐保金额"}],prop:"maintenanceFee"}},[a("el-input",{staticStyle:{width:"180px"},attrs:{type:"number"},model:{value:e.quitForm.maintenanceFee,callback:function(t){e.$set(e.quitForm,"maintenanceFee",t)},expression:"quitForm.maintenanceFee"}},[a("template",{slot:"append"},[e._v("元")])],2)],1):e._e()],1):e._e(),e._v(" "),a("el-row",[a("el-form-item",{attrs:{label:"退团原因",prop:"reasonEnum"}},[a("el-radio-group",{attrs:{disabled:e.isDisabled},model:{value:e.quitForm.reasonEnum,callback:function(t){e.$set(e.quitForm,"reasonEnum",t)},expression:"quitForm.reasonEnum"}},e._l(e.quiteReasonList,(function(t,r){return a("el-radio-button",{key:r,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)],1)],1)],1),e._v(" "),e.quitForm.schoolStaffAuditReason?a("el-form-item",{attrs:{label:"学校审批",prop:"schoolStaffAuditReason"}},[a("el-input",{staticStyle:{width:"455px !important"},attrs:{disabled:!0,type:"textarea",rows:3},model:{value:e.quitForm.schoolStaffAuditReason,callback:function(t){e.$set(e.quitForm,"schoolStaffAuditReason","string"===typeof t?t.trim():t)},expression:"quitForm.schoolStaffAuditReason"}})],1):e._e(),e._v(" "),a("el-row",[a("el-form-item",{attrs:{label:"申请理由",prop:"userComment"}},[a("el-input",{staticStyle:{width:"455px !important"},attrs:{type:"textarea",rows:3,disabled:e.isDisabled},model:{value:e.quitForm.userComment,callback:function(t){e.$set(e.quitForm,"userComment","string"===typeof t?t.trim():t)},expression:"quitForm.userComment"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"审批理由",prop:"reason"}},[a("el-input",{staticStyle:{width:"455px !important"},attrs:{disabled:e.isDisabled,type:"textarea",rows:3},model:{value:e.quitForm.reason,callback:function(t){e.$set(e.quitForm,"reason","string"===typeof t?t.trim():t)},expression:"quitForm.reason"}})],1)],1)],1)},i=[],n=a("92e3"),l={props:["quitForm","isDisabled"],mounted:function(){},data:function(){return{quitRules:{isCloudTeacherAmount:[{required:!0,message:"请输入云练习费用"}],cloudTeacherAmount:[{required:!0,message:"请输入云练习金额",trigger:"blur"}],isRefundCourseFee:[{required:!0,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:!0,message:"选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:!0,message:"选择是否退还教辅费用"}],isMaintenanceFee:[{required:!0,message:"选择是否退还乐保费用"}],maintenanceFee:[{required:!0,message:"请输入退还乐保金额"}],reason:[{required:!0,message:"请填写退团退费原因"}],isRefundMemberFee:[{required:!0,message:"请选择是否退还会员费用"}],reasonEnum:[{required:!0,message:"请选择退团原因"}]},pickerOptions:{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()>(new Date).getTime()}},quiteReasonList:n["S"]}}},s=l,o=a("2877"),u=Object(o["a"])(s,r,i,!1,null,"2233009a",null);t["a"]=u.exports},"7e55":function(e,t,a){},"92e3":function(e,t,a){"use strict";a.d(t,"v",(function(){return o})),a.d(t,"I",(function(){return u})),a.d(t,"t",(function(){return c})),a.d(t,"c",(function(){return m})),a.d(t,"E",(function(){return d})),a.d(t,"bb",(function(){return p})),a.d(t,"Z",(function(){return v})),a.d(t,"d",(function(){return b})),a.d(t,"M",(function(){return f})),a.d(t,"x",(function(){return F})),a.d(t,"db",(function(){return h})),a.d(t,"u",(function(){return _})),a.d(t,"o",(function(){return g})),a.d(t,"cb",(function(){return y})),a.d(t,"Q",(function(){return S})),a.d(t,"fb",(function(){return R})),a.d(t,"gb",(function(){return O})),a.d(t,"P",(function(){return T})),a.d(t,"U",(function(){return E})),a.d(t,"C",(function(){return C})),a.d(t,"l",(function(){return I})),a.d(t,"Y",(function(){return x})),a.d(t,"eb",(function(){return w})),a.d(t,"J",(function(){return A})),a.d(t,"m",(function(){return q})),a.d(t,"w",(function(){return N})),a.d(t,"N",(function(){return M})),a.d(t,"f",(function(){return k})),a.d(t,"e",(function(){return j})),a.d(t,"L",(function(){return G})),a.d(t,"K",(function(){return L})),a.d(t,"T",(function(){return $})),a.d(t,"H",(function(){return D})),a.d(t,"a",(function(){return P})),a.d(t,"y",(function(){return V})),a.d(t,"p",(function(){return U})),a.d(t,"n",(function(){return H})),a.d(t,"q",(function(){return Y})),a.d(t,"g",(function(){return B})),a.d(t,"G",(function(){return J})),a.d(t,"r",(function(){return K})),a.d(t,"D",(function(){return Q})),a.d(t,"B",(function(){return z})),a.d(t,"A",(function(){return X})),a.d(t,"h",(function(){return W})),a.d(t,"k",(function(){return Z})),a.d(t,"i",(function(){return ee})),a.d(t,"j",(function(){return te})),a.d(t,"S",(function(){return ae})),a.d(t,"O",(function(){return re})),a.d(t,"F",(function(){return ie})),a.d(t,"z",(function(){return ne})),a.d(t,"R",(function(){return le})),a.d(t,"V",(function(){return se})),a.d(t,"X",(function(){return oe})),a.d(t,"s",(function(){return ue})),a.d(t,"ab",(function(){return ce})),a.d(t,"W",(function(){return me})),a.d(t,"b",(function(){return pe}));var r=a("b85c"),i=a("3835"),n=a("267e"),l=sessionStorage.getItem("tenantConfig");l=l?JSON.parse(l):{};var s=l.tenantId,o=null,u=null;1==s?(u=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],o=[{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"},{label:"直播课",value:"LIVE"}]):(u=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],o=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]);var c=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],m=[{label:"正常签到",value:1},{label:"异常签到",value:0}],d=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],p=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],v=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],b=[].concat(v,[{value:"QUIT_SCHOOL",label:"休学"},{value:"DROP_OUT",label:"退学"},{value:"LATE",label:"迟到"}]),f=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"MEMBER",label:"会员购买"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"2020双十一活动"},{value:"DOUBLE_ELEVEN2021",label:"2021双十一活动"},{value:"DEGREE",label:"儿童节活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"MALL_BUY",label:"商城销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"},{value:"ADD_STUDENT",label:"乐团报名"},{value:"REPLACEMENT",label:"乐器置换"},{value:"SCHOOL",label:"学校订单"},{value:"PERSONAL",label:"个人订单"},{value:"OTHER",label:"其他"},{value:"ACTIVITY",label:"活动购买"},{value:"LIVE_BUY",label:"直播购物"},{value:"LIVE_GROUP_BUY",label:"直播课购买"},{value:"SCHOOL_GOODS_PURCHASE",label:"商品采购"},{value:"DIRECTOR_TRAINING_CAMP",label:"乐队指导培训"}],F=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],h=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],_=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],g=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],y=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],S=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],R=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],O=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"小课回访",label:"小课回访",children:[{value:"续费类回访",label:"续费类回访"},{value:"服务回访",label:"服务回访"},{value:"其他",label:"其他"}]},{value:"云练习",label:"云练习",children:[{value:"体验回访",label:"体验回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"},{value:"会员续费",label:"会员续费"}]}],T=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],E=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],C=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],I=[{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:"高三"}],x=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],w=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],A=de(n["musicGroupType"]),q=de(n["classTime"]),N=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],M=de(n["payOrderType"]),k=de(n["auditType"]),j=de(n["auditPaymentType"]),G=de(n["orderServerType"]),L=de(n["orderAuditType"]),$=de(n["rewardModeType"]),D=de(n["musicClassType"]),P=de(n["ProbationPeriodStatus"]),V=de(n["downListType"]),U=de(n["conclusion"]),H=de(n["clientType"]),Y=de(n["couponType"]),B=de(n["backType"]),J=de(n["memberEnum"]),K=de(n["coupontypeDetail"]),Q=de(n["issue"]),z=de(n["feedbackType"]),X=de(n["feedbackTypeDesc"]),W=de(n["campState"]),Z=de(n["catgGoupType"]),ee=de(n["catRole"]),te=de(n["catType"]),ae=de(n["quiteReason"]),re=de(n["payUserType"]),ie=de(n["levelStatus"]),ne=de(n["evaluateStatus"]),le=de(n["problemType"]),se=de(n["schoolUserType"]),oe=de(n["shareLiveType"]),ue=de(n["courseEmnu"]),ce=de(n["suggestionType"]),me=de(n["scoreType"]);function de(e){var t=[];for(var a in e)t.push({label:e[a],value:a});return t}var pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(i["a"])(t,2),n=a[0],l=a[1],s={};if(e&&e.length){var o,u=Object(r["a"])(e);try{for(u.s();!(o=u.n()).done;){var c=o.value;s[c[n]]=c[l]}}catch(m){u.e(m)}finally{u.f()}}return s}},a68d:function(e,t,a){},c3c0:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("tab-router",{attrs:{type:"card"},model:{value:e.activeIndex,callback:function(t){e.activeIndex=t},expression:"activeIndex"}},[e.permissionList.journalItem?a("el-tab-pane",{attrs:{label:"系统通知",lazy:"",name:"SYSTEM"}},["SYSTEM"==e.activeIndex?a("list",{attrs:{type:e.activeIndex,saveKey:"journal-system",permissionStr:"journalItem/look"}}):e._e()],1):e._e(),e._v(" "),e.permissionList.studentComplain?a("el-tab-pane",{attrs:{label:"学生申诉",lazy:"",name:"STUDENT"}},["STUDENT"==e.activeIndex?a("list",{attrs:{type:e.activeIndex,saveKey:"journal-student",permissionStr:"courseSchedule/queryCourseScheduleComplaintsDetail/look"}}):e._e()],1):e._e(),e._v(" "),e.permissionList.musicGroupCourse?a("el-tab-pane",{attrs:{label:"退团退课",lazy:"",name:"MUSICGROUP"}},["MUSICGROUP"==e.activeIndex?a("list",{attrs:{type:e.activeIndex,saveKey:"journal-musicGroup",permissionStr:"musicGroupQuit/query"}}):e._e()],1):e._e(),e._v(" "),e.permissionList.leaveOperation?a("el-tab-pane",{attrs:{label:"请假处理",lazy:"",name:"LEAVE"}},["LEAVE"==e.activeIndex?a("list",{attrs:{type:e.activeIndex,saveKey:"journal-leave",permissionStr:"teacherLeaveRecord/queryDetail"}}):e._e()],1):e._e(),e._v(" "),e.permissionList.vipApply?a("el-tab-pane",{attrs:{label:"VIP申请审核",lazy:"",name:"VIPAPPLY"}},["VIPAPPLY"==e.activeIndex?a("list",{attrs:{type:e.activeIndex,saveKey:"journal-vipApply",permissionStr:"vipGroupManage/getVipGroupDetailForAudit"}}):e._e()],1):e._e()],1)],1)])},i=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("系统消息\n ")])}],n=a("ec8a"),l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:e.saveKey},on:{submit:e.onSearch}},[a("el-form-item",{attrs:{prop:"readStatus"}},[a("el-select",{attrs:{clearable:"",placeholder:"日志状态"},model:{value:e.searchForm.readStatus,callback:function(t){e.$set(e.searchForm,"readStatus","string"===typeof t?t.trim():t)},expression:"searchForm.readStatus"}},[a("el-option",{attrs:{label:"已读",value:1}}),e._v(" "),a("el-option",{attrs:{label:"未读",value:0}})],1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger","native-type":"submit"}},[e._v("搜索")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",label:"接收时间",prop:"createOn"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"内容",prop:"content"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("overflow-text",{attrs:{width:"100%",text:e.row.content}})]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("auth",{attrs:{auths:e.permissionStr}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.onLook(t.row)}}},[e._v("查看")])],1)]}}])})],1),e._v(" "),a("pagination",{attrs:{sync:"",saveKey:e.saveKey,total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1),e._v(" "),a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.dialogSystem,width:"400px"},on:{"update:visible":function(t){e.dialogSystem=t}}},[a("el-row",[a("el-col",{attrs:{span:24}},[e._v(e._s(e.dialogDetail.content))])],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogSystem=!1}}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.dialogStudent,width:"500px"},on:{"update:visible":function(t){e.dialogStudent=t}}},[e.dialogStudent?a("student-model",{attrs:{dialogDetail:e.dialogDetail},on:{close:function(t){e.dialogStudent=!1}}}):e._e()],1),e._v(" "),a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.dialogLeave,width:"800px"},on:{"update:visible":function(t){e.dialogLeave=t}}},[e.dialogLeave?a("leave-model",{attrs:{dialogDetail:e.dialogDetail},on:{close:function(t){e.dialogLeave=!1}}}):e._e()],1),e._v(" "),a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.dialogVipApply,width:"500px"},on:{"update:visible":function(t){e.dialogVipApply=t}}},[e.dialogVipApply?a("vip-apply-model",{attrs:{dialogDetail:e.dialogDetail},on:{close:function(t){e.dialogVipApply=!1}}}):e._e()],1),e._v(" "),a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.dialogMusic,width:"700px"},on:{"update:visible":function(t){e.dialogMusic=t}}},[e.dialogMusic?a("music-group-model",{attrs:{dialogDetail:e.dialogDetail},on:{getList:e.getList,close:function(t){e.dialogMusic=!1}}}):e._e()],1)],1)},s=[],o=a("c7eb"),u=(a("96cf"),a("1da1")),c=a("333d"),m=a("d8fc"),d=a("267e"),p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.studentForm?a("el-form",{ref:"studentForm",staticClass:"studentForm",attrs:{model:e.rateForm,"label-width":"110px"}},["REJECT"==e.studentForm.complaints.status?a("el-alert",{staticClass:"alert",attrs:{title:"已拒绝","show-icon":"",center:"",closable:!1,type:"error"}}):e._e(),e._v(" "),"PASS"==e.studentForm.complaints.status?a("el-alert",{staticClass:"alert",attrs:{title:"已同意","show-icon":"",center:"",closable:!1,type:"success"}}):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"发起投诉时间"}},[a("el-input",{attrs:{disabled:""},model:{value:e.studentForm.courseSchedule.createTime,callback:function(t){e.$set(e.studentForm.courseSchedule,"createTime","string"===typeof t?t.trim():t)},expression:"studentForm.courseSchedule.createTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"学员姓名"}},[a("el-input",{attrs:{disabled:""},model:{value:e.studentForm.complaints.user.username,callback:function(t){e.$set(e.studentForm.complaints.user,"username","string"===typeof t?t.trim():t)},expression:"studentForm.complaints.user.username"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"课程名称"}},[a("el-input",{attrs:{disabled:""},model:{value:e.studentForm.courseSchedule.name,callback:function(t){e.$set(e.studentForm.courseSchedule,"name","string"===typeof t?t.trim():t)},expression:"studentForm.courseSchedule.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"课程时间"}},[a("el-input",{attrs:{disabled:""},model:{value:e.studentForm.courseSchedule.startClassTime,callback:function(t){e.$set(e.studentForm.courseSchedule,"startClassTime","string"===typeof t?t.trim():t)},expression:"studentForm.courseSchedule.startClassTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"老师名称"}},[a("el-input",{attrs:{disabled:""},model:{value:e.studentForm.courseSchedule.teacher.username,callback:function(t){e.$set(e.studentForm.courseSchedule.teacher,"username","string"===typeof t?t.trim():t)},expression:"studentForm.courseSchedule.teacher.username"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"投诉理由"}},[a("el-input",{attrs:{type:"textarea",disabled:""},model:{value:e.studentForm.complaints.reason,callback:function(t){e.$set(e.studentForm.complaints,"reason","string"===typeof t?t.trim():t)},expression:"studentForm.complaints.reason"}})],1),e._v(" "),a("el-alert",{staticClass:"alert",attrs:{title:"责任比",closable:!1,type:"info"}}),e._v(" "),a("el-form-item",{attrs:{label:"老师比例",prop:"teacherRate",rules:[{required:!0,message:"请输入老师比例",trigger:"blur"},{required:!0,validator:e.validateRate,trigger:"blur"}]}},[a("el-input",{attrs:{type:"number",disabled:"ING"!==e.studentForm.complaints.status,placeholder:"请输入内容"},nativeOn:{mousewheel:function(e){e.preventDefault()}},model:{value:e.rateForm.teacherRate,callback:function(t){e.$set(e.rateForm,"teacherRate",e._n(t))},expression:"rateForm.teacherRate"}},[a("template",{slot:"append"},[e._v("%")])],2)],1),e._v(" "),a("el-form-item",{attrs:{label:"学生比例",prop:"studentRate",rules:[{required:!0,message:"请输入学生比例",trigger:"blur"},{required:!0,validator:e.validateRate,trigger:"blur"}]}},[a("el-input",{attrs:{type:"number",disabled:"ING"!==e.studentForm.complaints.status,placeholder:"请输入内容"},nativeOn:{mousewheel:function(e){e.preventDefault()}},model:{value:e.rateForm.studentRate,callback:function(t){e.$set(e.rateForm,"studentRate",e._n(t))},expression:"rateForm.studentRate"}},[a("template",{slot:"append"},[e._v("%")])],2)],1)],1):e._e(),e._v(" "),e.studentForm&&"ING"===e.studentForm.complaints.status?a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"courseSchedule/courseScheduleCommplaintAudit/confirm",expression:"'courseSchedule/courseScheduleCommplaintAudit/confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.onSubmit("studentForm","submit")}}},[e._v("确 定")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"courseSchedule/courseScheduleCommplaintAudit",expression:"'courseSchedule/courseScheduleCommplaintAudit'"}],attrs:{type:"danger"},on:{click:function(t){return e.onSubmit("studentForm","reject")}}},[e._v("拒 绝")])],1):e._e()],1)},v=[],b=function(e,t,a){""==t&&"string"==typeof t||null==t?a(new Error("请输入比例")):t<0||t>100?a(new Error("比例必须在0~100之间")):a()},f={props:["dialogDetail"],data:function(){return{validateRate:b,studentForm:null,rateForm:{studentRate:null,teacherRate:null}}},mounted:function(){this.__init()},methods:{__init:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(){var t,a=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this.dialogDetail.memo,t=t?JSON.parse(t):null,t){e.next=5;break}return this.$message.error("参数有误"),e.abrupt("return");case 5:return e.next=7,Object(m["j"])({courseScheduleComplaintsId:t.courseScheduleComplaintsId}).then((function(e){var t=e.data;if(200==e.code){a.studentForm=t;var r=t.complaints;"ING"!=r.status&&(a.rateForm.teacherRate=r.teacherLiabilityRatio,a.rateForm.studentRate=r.studentLiabilityRatio)}}));case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onSubmit:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(t,a){var r,i=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:r={id:this.studentForm.complaints.id},"reject"==a?this.$confirm("您确定拒绝吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(u["a"])(Object(o["a"])().mark((function e(){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r.status="REJECT",r.studentLiabilityRatio=0,r.teacherLiabilityRatio=0,e.next=5,i.onComm(r);case 5:case"end":return e.stop()}}),e)})))).catch((function(){})):this.$refs[t].validate(function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(t){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t){e.next=6;break}return r.status="PASS",r.studentLiabilityRatio=i.rateForm.studentRate,r.teacherLiabilityRatio=i.rateForm.teacherRate,e.next=6,i.onComm(r);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)})));function t(t,a){return e.apply(this,arguments)}return t}(),onComm:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(t){var a=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(m["e"])(t).then((function(e){200==e.code?(a.$message.success("处理成功"),a.$listeners.close()):a.$message.error(e.msg)}));case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},watch:{"rateForm.teacherRate":function(e,t){e&&(this.rateForm.studentRate=parseInt(100-e))},"rateForm.studentRate":function(e,t){e&&(this.rateForm.teacherRate=parseInt(100-e))}}},F=f,h=(a("de4d"),a("2877")),_=Object(h["a"])(F,p,v,!1,null,"d04b6434",null),g=_.exports,y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"leaveForm",staticClass:"leaveForm",attrs:{model:e.leaveForm,"label-width":"100px"}},["REJECT"==e.leaveForm.status?a("el-alert",{staticClass:"alert",attrs:{title:"已拒绝","show-icon":"",center:"",closable:!1,type:"error"}}):e._e(),e._v(" "),"PASS"==e.leaveForm.status?a("el-alert",{staticClass:"alert",attrs:{title:"已同意","show-icon":"",center:"",closable:!1,type:"success"}}):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"开始时间"}},[a("el-input",{attrs:{disabled:""},model:{value:e.leaveForm.startTime,callback:function(t){e.$set(e.leaveForm,"startTime","string"===typeof t?t.trim():t)},expression:"leaveForm.startTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"结束时间"}},[a("el-input",{attrs:{disabled:""},model:{value:e.leaveForm.endTime,callback:function(t){e.$set(e.leaveForm,"endTime","string"===typeof t?t.trim():t)},expression:"leaveForm.endTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"备注"}},[a("el-input",{attrs:{type:"textarea",disabled:""},model:{value:e.leaveForm.remark,callback:function(t){e.$set(e.leaveForm,"remark","string"===typeof t?t.trim():t)},expression:"leaveForm.remark"}})],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.vipCourse,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{label:"编号",width:"100px",prop:"before.id"}}),e._v(" "),a("el-table-column",{attrs:{label:"类型",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatCourseType")(t.row.before.type))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"班名",width:"140px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("tooltip",{attrs:{content:e.row.before.name}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"调整前日期"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimer")(t.row.before.classDate))+"\n "+e._s(e._f("getFormatTime")(t.row.before.startClassTime,t.row.before.endClassTime))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"调整后日期"},scopedSlots:e._u([{key:"default",fn:function(t){return"VIP"==t.row.before.type?[e._v("\n "+e._s(e._f("formatTimer")(t.row.after.classDate))+"\n "+e._s(e._f("getFormatTime")(t.row.after.startClassTime,t.row.after.endClassTime))+"\n ")]:void 0}}],null,!0)})],1),e._v(" "),a("el-table",{staticStyle:{width:"100%","padding-top":"10px"},attrs:{data:e.musicGroupCourse,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{label:"乐团编号",prop:"before.musicGroupId"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s("LIVE"==t.row.before.type?"":t.row.before.musicGroupId)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatCourseType")(t.row.before.type))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"班名"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("tooltip",{attrs:{content:e.row.before.name}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"调整前日期"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimer")(t.row.before.classDate))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"上课时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getFormatTime")(t.row.before.startClassTime,t.row.before.endClassTime))+"\n ")]}}])})],1),e._v(" "),"ING"==e.leaveForm.status?a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"teacherLeaveRecord/approve/confirm",expression:"'teacherLeaveRecord/approve/confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.onSubmit("leaveForm","PASS")}}},[e._v("确 定")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"teacherLeaveRecord/approve",expression:"'teacherLeaveRecord/approve'"}],attrs:{type:"danger"},on:{click:function(t){return e.onSubmit("leaveForm","REJECT")}}},[e._v("拒\n 绝")])],1):e._e()],1)},S=[],R=(a("ac6a"),a("a5b0")),O=a("5a0c"),T=a.n(O),E={props:["dialogDetail"],components:{Tooltip:R["a"]},data:function(){return{leaveForm:{},musicGroupCourse:[],vipCourse:[]}},mounted:function(){this.__init()},methods:{__init:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(){var t,a=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this.dialogDetail.memo,t=t?JSON.parse(t):null,t){e.next=5;break}return this.$message.error("参数有误"),e.abrupt("return");case 5:return e.next=7,Object(m["g"])({id:t.leaveRecordId}).then((function(e){var t=e.data;if(200==e.code){a.leaveForm=t;var r=t.coursesScheduleJson?JSON.parse(t.coursesScheduleJson):[],i=[],n=[];r.forEach((function(e){"VIP"==e.before.type?n.push(e):i.push(e)})),a.musicGroupCourse=i,a.vipCourse=n}}));case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onSubmit:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(t,a){var r,i,n=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:r={id:this.leaveForm.id,status:a,userId:this.leaveForm.userId},i="PASS"==a?"同意":"拒绝",this.$confirm("您确定".concat(i,"该请假申请吗?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(u["a"])(Object(o["a"])().mark((function e(){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(m["b"])(r).then((function(e){200==e.code?(n.$message.success("处理成功"),n.$listeners.close()):n.$message.error(e.msg)}));case 2:case"end":return e.stop()}}),e)})))).catch((function(){}));case 3:case"end":return e.stop()}}),e,this)})));function t(t,a){return e.apply(this,arguments)}return t}()},filters:{getFormatTime:function(e,t){return T()(e).format("HH")+":"+T()(e).format("mm")+"-"+T()(t).format("HH")+":"+T()(t).format("mm")},formatCourseType:function(e){var t={VIP:"VIP课",PRACTICE:"网管课",LIVE:"直播课"};return t[e]||"乐团课"}}},C=E,I=(a("2a00"),Object(h["a"])(C,y,S,!1,null,"eaef067e",null)),x=I.exports,w=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"vipForm",staticClass:"vipForm",attrs:{model:e.vipForm,"label-width":"110px"}},["REJECT"==e.vipForm.auditStatus?a("el-alert",{staticClass:"alert",attrs:{title:"已拒绝","show-icon":"",center:"",closable:!1,type:"error"}}):e._e(),e._v(" "),"PASS"==e.vipForm.auditStatus?a("el-alert",{staticClass:"alert",attrs:{title:"已同意","show-icon":"",center:"",closable:!1,type:"success"}}):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"开始时间"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.createTime,callback:function(t){e.$set(e.vipForm,"createTime","string"===typeof t?t.trim():t)},expression:"vipForm.createTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"老师姓名"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.userName,callback:function(t){e.$set(e.vipForm,"userName","string"===typeof t?t.trim():t)},expression:"vipForm.userName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"线上课数"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.onlineClassesNum,callback:function(t){e.$set(e.vipForm,"onlineClassesNum","string"===typeof t?t.trim():t)},expression:"vipForm.onlineClassesNum"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"线上课单价"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.onlineClassesUnitPrice,callback:function(t){e.$set(e.vipForm,"onlineClassesUnitPrice","string"===typeof t?t.trim():t)},expression:"vipForm.onlineClassesUnitPrice"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"线上课课酬"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.onlineTeacherSalary,callback:function(t){e.$set(e.vipForm,"onlineTeacherSalary","string"===typeof t?t.trim():t)},expression:"vipForm.onlineTeacherSalary"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"线下课数"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.offlineClassesNum,callback:function(t){e.$set(e.vipForm,"offlineClassesNum","string"===typeof t?t.trim():t)},expression:"vipForm.offlineClassesNum"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"线下课单价"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.offlineClassesUnitPrice,callback:function(t){e.$set(e.vipForm,"offlineClassesUnitPrice","string"===typeof t?t.trim():t)},expression:"vipForm.offlineClassesUnitPrice"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"线下课课酬"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.offlineTeacherSalary,callback:function(t){e.$set(e.vipForm,"offlineTeacherSalary","string"===typeof t?t.trim():t)},expression:"vipForm.offlineTeacherSalary"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"科目名"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.subjectName,callback:function(t){e.$set(e.vipForm,"subjectName","string"===typeof t?t.trim():t)},expression:"vipForm.subjectName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"活动名称"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.vipGroupActivityName,callback:function(t){e.$set(e.vipForm,"vipGroupActivityName","string"===typeof t?t.trim():t)},expression:"vipForm.vipGroupActivityName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"商品价格"}},[a("el-input",{attrs:{disabled:""},model:{value:e.vipForm.totalPrice,callback:function(t){e.$set(e.vipForm,"totalPrice","string"===typeof t?t.trim():t)},expression:"vipForm.totalPrice"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"原因",prop:"memo",rules:[{required:!0,message:"请输入原因",trigger:"blur"}]}},[a("el-input",{attrs:{type:"textarea",disabled:"ING"!==e.vipForm.auditStatus},model:{value:e.vipForm.memo,callback:function(t){e.$set(e.vipForm,"memo","string"===typeof t?t.trim():t)},expression:"vipForm.memo"}})],1)],1),e._v(" "),"ING"===e.vipForm.auditStatus?a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"vipGroupManage/vipApplyAudit/confirm",expression:"'vipGroupManage/vipApplyAudit/confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.onSubmit("vipForm","PASS")}}},[e._v("确 定")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"vipGroupManage/vipApplyAudit",expression:"'vipGroupManage/vipApplyAudit'"}],attrs:{type:"danger"},on:{click:function(t){return e.onSubmit("vipForm","REJECT")}}},[e._v("拒 绝")])],1):e._e()],1)},A=[],q=a("7e78"),N={props:["dialogDetail"],data:function(){return{vipForm:{}}},mounted:function(){this.__init()},methods:{__init:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(){var t,a=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this.dialogDetail.memo,t=t?JSON.parse(t):null,t){e.next=5;break}return this.$message.error("参数有误"),e.abrupt("return");case 5:return e.next=7,Object(q["J"])({vipGroupId:t.vipGroupId}).then((function(e){var t=e.data;200==e.code&&(a.vipForm=t)}));case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onSubmit:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(t,a){var r,i=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:r={vipGroupId:this.vipForm.id,reason:this.vipForm.memo,auditStatus:a},this.$refs[t].validate(function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(t){var n;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t&&(n="PASS"==a?"同意":"拒绝",i.$confirm("您确定".concat(n,"申请吗?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(u["a"])(Object(o["a"])().mark((function e(){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(m["s"])(r).then((function(e){200==e.code?(i.$message.success("处理成功"),i.$listeners.close()):i.$message.error(e.msg)}));case 2:case"end":return e.stop()}}),e)})))).catch((function(){})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)})));function t(t,a){return e.apply(this,arguments)}return t}()}},M=N,k=(a("e57b"),Object(h["a"])(M,w,A,!1,null,"23a41d36",null)),j=k.exports,G=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",["DENIED"==e.musicForm.status?a("el-alert",{staticClass:"alert",attrs:{title:"已拒绝","show-icon":"",center:"",closable:!1,type:"error"}}):e._e(),e._v(" "),"APPROVED"==e.musicForm.status?a("el-alert",{staticClass:"alert",attrs:{title:"已处理","show-icon":"",center:"",closable:!1,type:"success"}}):e._e(),e._v(" "),"CANCELED"==e.musicForm.status?a("el-alert",{staticClass:"alert",attrs:{title:"已取消","show-icon":"",center:"",closable:!1,type:"info"}}):e._e(),e._v(" "),a("quiteTeam",{ref:"musicForm",attrs:{quitForm:e.quitForm,isDisabled:"PROCESSING"!=e.musicForm.status||"manage"==e.isManage&&"2"==e.musicForm.currentApproveRole||!e.isManage&&"1"==e.musicForm.currentApproveRole}}),e._v(" "),a("p",{staticStyle:{color:"red",paddingLeft:"150px"}},[e._v("退费金额暂不进入账户余额")]),e._v(" "),"PROCESSING"==e.musicForm.status?a("span",{staticClass:"dialog-footer question",attrs:{slot:"footer"},slot:"footer"},[a("div",[a("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[a("div",{staticClass:"popoverWrap"},[a("p",[e._v("乐团退团退费规则:")]),e._v(" "),a("p",[e._v("退还云练习费用:报名缴费时缴费的云练习费用")]),e._v(" "),a("p",[e._v("退还课程费用:缴费总额-已结束课时单价之和")]),e._v(" "),a("p",[e._v("退还乐器费用:报名缴费时缴纳的乐器费用(团购、租金)")]),e._v(" "),a("p",[e._v("退还教辅费用:报名缴费时缴费的教辅费用")]),e._v(" "),1==e.$helpers.tenantId?a("p",[e._v("\n 退还乐保费用:报名缴费时缴费的乐保费用\n ")]):e._e()]),e._v(" "),a("el-button",{staticStyle:{color:"red"},attrs:{slot:"reference",type:"text",icon:"el-icon-question"},slot:"reference"},[e._v("退团退费说明")])],1)],1),e._v(" "),a("div",["staff"==e.isManage?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroupQuit/quitMusicGroup/conform",expression:"'musicGroupQuit/quitMusicGroup/conform'"}],attrs:{type:"primary",disabled:"1"==e.musicForm.currentApproveRole},on:{click:function(t){return e.onSubmitGroup(e.musicForm,"PROCESSING")}}},[e._v("提交审核")]):a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroupQuit/quitMusicGroup/conform",expression:"'musicGroupQuit/quitMusicGroup/conform'"}],attrs:{type:"primary",disabled:"manage"==e.isManage&&"2"==e.musicForm.currentApproveRole},on:{click:function(t){return e.onSubmitGroup(e.musicForm,"APPROVED")}}},[e._v("同意")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroupQuit/quitMusicGroup",expression:"'musicGroupQuit/quitMusicGroup'"}],attrs:{disabled:"manage"==e.isManage&&"2"==e.musicForm.currentApproveRole||"staff"==e.isManage&&"1"==e.musicForm.currentApproveRole,type:"danger"},on:{click:function(t){return e.onSubmitGroup(e.musicForm,"DENIED")}}},[e._v("拒绝")])],1)]):e._e()],1)},L=[],$=(a("7f7f"),a("5530")),D=a("ade3"),P=a("e3eb"),V=a.n(P),U=a("475f"),H={props:["dialogDetail"],components:{Tooltip:R["a"],quiteTeam:U["a"]},data:function(){var e,t=function(e,t,a){""===t?a(new Error("请填写退团退费原因")):a()};return{musicForm:{user:{},musicGroup:{}},musicGroupCourse:[],vipCourse:[],quitForm:(e={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:"",courseViewType:null,hasMaintenance:null,studentName:null,musicGroupName:null,isVisit:!1},Object(D["a"])(e,"reason",""),Object(D["a"])(e,"userComment",null),e),quitRules:{isRefundCourseFee:[{required:!0,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:!0,message:"请选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:!0,message:"请选择是否退还教辅费用"}],isReturnMemberFee:[{required:!0,message:"请选择是否退还会员费用"}],isMaintenanceFee:[{required:!0,message:"选择是否退还乐保费用"}],maintenanceFee:[{required:!0,message:"请输入退还乐保金额"}],memberFee:[{required:!0,message:"请输入退还会员金额"}],reason:[{validator:t,trigger:"blur"}],userComment:[{required:!0,message:"请输入申请理由"}]},isManage:!1}},mounted:function(){this.__init()},watch:{},methods:{__init:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(){var t,a,r,i=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this.$store.getters.isSuperAdmin,a=this.$store.getters.roles,t?this.isManage="super":(-1!=a.indexOf("1")&&(this.isManage="manage"),-1!=a.indexOf("2")&&(this.isManage="staff")),-1!=a.indexOf("1")&&-1!=a.indexOf("2")&&(this.isManage="super"),r=this.dialogDetail.memo,r=r?JSON.parse(r):null,r){e.next=9;break}return this.$message.error("参数有误"),e.abrupt("return");case 9:if("VIPGROUP"!=r.type){e.next=12;break}e.next=15;break;case 12:if("MUSICGROUP"!=r.type){e.next=15;break}return e.next=15,Object(m["h"])({id:r.Id}).then((function(e){var t,a;200==e.code?(i.musicForm=e.data,i.$refs["musicForm"].$refs.quitForm&&i.$refs["musicForm"].$refs.quitForm.resetFields(),i.activeRow=Object($["a"])({},e.data.returnFeeDto),i.quitForm.courseViewType=e.data.musicGroup.courseViewType,i.quitForm.reason=e.data.reason,i.quitForm.userComment=e.data.userComment,i.quitForm.isVisit=e.data.isVisit,i.quitForm.visitTime=e.data.visitTime,i.quitForm.studentName=null===(t=e.data.user)||void 0===t?void 0:t.username,i.quitForm.musicGroupName=null===(a=e.data.musicGroup)||void 0===a?void 0:a.name,i.quitForm.hasMaintenance=e.data.hasMaintenance,i.quitForm=Object($["a"])(Object($["a"])({},i.quitForm),e.data.returnFeeDto)):i.$message.error(e.msg)}));case 15:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onSubmitGroup:function(e,t){var a=this;"DENIED"==t?(this.$refs["musicForm"].$refs.quitForm.clearValidate(),this.$refs["musicForm"].$refs.quitForm.validateField("reason",(function(r){r||a.onSubmitGroups(e,t)}))):this.$refs["musicForm"].$refs.quitForm.validate((function(r){r&&a.onSubmitGroups(e,t)}))},onSubmitGroups:function(e,t){var a=this;this.$confirm("确定此操作吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(u["a"])(Object(o["a"])().mark((function r(){var i;return Object(o["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=a.quitForm,i.id=e.id,i.status=t,i.returnFeeDto={accessoriesFee:i.accessoriesFee,courseFee:i.courseFee,isReturnAccessoriesFee:i.isReturnAccessoriesFee,isReturnCourseFee:i.isReturnCourseFee,isReturnMaintenanceFee:i.isReturnMaintenanceFee,isReturnMemberFee:i.isReturnMemberFee,isReturnMusicalFee:i.isReturnMusicalFee,maintenanceFee:i.maintenanceFee,memberFee:i.memberFee,musicalFee:i.musicalFee},r.next=5,Object(m["l"])(V()(i)).then((function(e){a.$message.success("处理成功"),a.$listeners.close(),a.$listeners.getList()}));case 5:case"end":return r.stop()}}),r)})))).catch((function(){}))}}},Y=H,B=(a("d063"),Object(h["a"])(Y,G,L,!1,null,"8698d464",null)),J=B.exports,K={components:{pagination:c["a"],StudentModel:g,LeaveModel:x,vipApplyModel:j,musicGroupModel:J},props:["type","saveKey","permissionStr"],data:function(){return{dialogSystem:!1,dialogStudent:!1,dialogLeave:!1,dialogVipApply:!1,dialogMusic:!1,dialogTitle:null,dialogDetail:{},searchForm:{search:null,group:"SYSTEM",readStatus:0},tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){var e=this.$route.query;this.searchForm.group=e.opt||this.type,this.getList()},methods:{onSearch:function(){this.pageInfo.page=1,this.getList()},getList:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(){var t,a,r=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.pageInfo,a=Object.assign({},this.searchForm),a.rows=t.limit,a.page=t.page,e.next=6,Object(m["o"])(a).then((function(e){200==e.code&&(r.tableList=e.data.rows,t.total=e.data.total)}));case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onLook:function(){var e=Object(u["a"])(Object(o["a"])().mark((function e(t){return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(1==t.readStatus){e.next=4;break}return e.next=3,Object(m["n"])({id:t.id});case 3:t.readStatus=1;case 4:this.dialogTitle=d["journalType"][t.group],this.dialogDetail=t,e.t0=t.group,e.next="SYSTEM"===e.t0?9:"STUDENT"===e.t0?11:"LEAVE"===e.t0?13:"VIPAPPLY"===e.t0?15:"MUSICGROUP"===e.t0?17:19;break;case 9:return this.dialogSystem=!0,e.abrupt("break",19);case 11:return this.dialogStudent=!0,e.abrupt("break",19);case 13:return this.dialogLeave=!0,e.abrupt("break",19);case 15:return this.dialogVipApply=!0,e.abrupt("break",19);case 17:return this.dialogMusic=!0,e.abrupt("break",19);case 19:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}},Q=K,z=Object(h["a"])(Q,l,s,!1,null,null,null),X=z.exports,W={name:"journal",components:{List:X},data:function(){var e=this.$route.query;return{activeIndex:e.opt||"SYSTEM",permissionList:{journalItem:Object(n["a"])("/journalItem"),studentComplain:Object(n["a"])("/studentComplain"),musicGroupCourse:Object(n["a"])("/musicGroupCourse"),leaveOperation:Object(n["a"])("/leaveOperation"),vipApply:Object(n["a"])("/vipApply")}}},mounted:function(){},methods:{}},Z=W,ee=Object(h["a"])(Z,r,i,!1,null,null,null);t["default"]=ee.exports},d063:function(e,t,a){"use strict";a("a68d")},d733:function(e,t,a){},d8fc:function(e,t,a){"use strict";a.d(t,"o",(function(){return s})),a.d(t,"n",(function(){return o})),a.d(t,"j",(function(){return u})),a.d(t,"e",(function(){return c})),a.d(t,"h",(function(){return m})),a.d(t,"l",(function(){return d})),a.d(t,"g",(function(){return p})),a.d(t,"b",(function(){return v})),a.d(t,"s",(function(){return b})),a.d(t,"f",(function(){return f})),a.d(t,"i",(function(){return F})),a.d(t,"c",(function(){return h})),a.d(t,"r",(function(){return _})),a.d(t,"p",(function(){return g})),a.d(t,"q",(function(){return y})),a.d(t,"d",(function(){return S})),a.d(t,"k",(function(){return R})),a.d(t,"a",(function(){return O})),a.d(t,"m",(function(){return T}));var r=a("b775"),i=a("4328"),n=a.n(i),l="/api-web";function s(e){return Object(r["a"])({url:l+"/sysMessage/list",method:"get",params:e})}function o(e){return Object(r["a"])({url:l+"/sysMessage/setRead",method:"post",data:n.a.stringify(e)})}function u(e){return Object(r["a"])({url:l+"/courseSchedule/queryCourseScheduleComplaintsDetail",method:"get",params:e})}function c(e){return Object(r["a"])({url:l+"/courseSchedule/courseScheduleCommplaintAudit",method:"post",data:n.a.stringify(e)})}function m(e){return Object(r["a"])({url:l+"/musicGroupQuit/query",method:"get",params:e})}function d(e){return Object(r["a"])({url:l+"/musicGroupQuit/quitMusicGroup",method:"POST",data:e,requestType:"json"})}function p(e){return Object(r["a"])({url:l+"/teacherLeaveRecord/queryDetail",method:"get",params:e})}function v(e){return Object(r["a"])({url:l+"/teacherLeaveRecord/approve",method:"POST",data:n.a.stringify(e)})}function b(e){return Object(r["a"])({url:l+"/vipGroupManage/vipApplyAudit",method:"POST",data:n.a.stringify(e)})}function f(e){return Object(r["a"])({url:l+"/courseScheduleTeacherSalary/findIsSettlementCourseSalarys",method:"GET",params:e})}function F(e){return Object(r["a"])({url:l+"/courseScheduleTeacherSalary/openSalaryConfirm",method:"GET",params:e})}function h(e){return Object(r["a"])({url:l+"/courseScheduleTeacherSalary/closeSalaryConfirm",method:"GET",params:e})}function _(e){return Object(r["a"])({url:l+"/teacherSalaryModifyLog/add",method:"POST",data:n.a.stringify(e)})}function g(e){return Object(r["a"])({url:l+"/teacherSalaryComplaints/queryPage",method:"GET",params:e})}function y(e){return Object(r["a"])({url:l+"/teacherSalaryComplaints/get",method:"GET",params:e})}function S(e){return Object(r["a"])({url:l+"/teacherSalaryComplaints/complaintsDispose",method:"post",data:n.a.stringify(e)})}function R(e){return Object(r["a"])({url:l+"/teacherAttendance/queryTeacherAttendanceComplaints",method:"post",data:n.a.stringify(e)})}function O(e){return Object(r["a"])({url:l+"/teacherAttendance/agreeTeacherAttendanceComplaints",method:"post",data:n.a.stringify(e)})}function T(e){return Object(r["a"])({url:l+"/teacherAttendance/rejectTeacherAttendanceComplaints",method:"post",data:n.a.stringify(e)})}},de4d:function(e,t,a){"use strict";a("7e55")},e57b:function(e,t,a){"use strict";a("d733")}}]);
|