1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-880e4306"],{"09f4":function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),Math.easeInOutQuad=function(t,e,r,n){return t/=n/2,t<1?r/2*t*t+e:(t--,-r/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,r){var u=s(),a=t-u,o=20,l=0;e="undefined"===typeof e?500:e;var c=function t(){l+=o;var s=Math.easeInOutQuad(l,u,a,e);i(s),l<e?n(t):r&&"function"===typeof r&&r()};c()}},c4b2:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"m-container"},[r("h2",[r("div",{staticClass:"squrt"}),t._v("退团申请列表 "),r("filter-search",{attrs:{searchKey:"ids"},on:{reload:t.FetchList}})],1),t._v(" "),r("div",{staticClass:"m-core"},[r("save-form",{ref:"searchForm",attrs:{inline:!0,model:t.searchForm},on:{submit:t.submit,reset:t.onReSet,"update:model":function(e){t.searchForm=e}}},[r("el-form-item",[r("el-input",{attrs:{clearable:"",placeholder:"学员(乐团)编号"},model:{value:t.searchForm.search,callback:function(e){t.$set(t.searchForm,"search","string"===typeof e?e.trim():e)},expression:"searchForm.search"}})],1),t._v(" "),r("el-form-item",[r("el-button",{attrs:{"native-type":"submit",type:"danger"}},[t._v("搜索")]),t._v(" "),r("el-button",{attrs:{"native-type":"reset",type:"primary"}},[t._v("重置")])],1)],1),t._v(" "),r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.list,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[r("el-table-column",{attrs:{prop:"userId",label:"学员编号"},scopedSlots:t._u([{key:"default",fn:function(e){return r("copy-text",{},[t._v(t._s(e.row.userId))])}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"userId",label:"学员姓名"},scopedSlots:t._u([{key:"default",fn:function(e){return r("copy-text",{},[t._v(t._s(e.row.user.username))])}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"musicGroupId",label:"所属乐团"},scopedSlots:t._u([{key:"default",fn:function(e){return r("copy-text",{},[t._v(t._s(e.row.musicGroup.name))])}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"createTime",label:"申请时间"}}),t._v(" "),r("el-table-column",{attrs:{prop:"userComment",label:"退团原因"},scopedSlots:t._u([{key:"default",fn:function(t){return r("overflow-text",{attrs:{width:"100%",text:t.row.userComment}})}}])}),t._v(" "),t.permission("musicGroupQuit/quitMusicGroup/quit")||t.permission("musicGroupQuit/quitMusicGroup/quit-only")?r("el-table-column",{attrs:{align:"center",fixed:"right",width:"160px;",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.permission("musicGroupQuit/quitMusicGroup/quit")?r("el-button",{attrs:{type:"text",disabled:"PROCESSING"!=e.row.status},on:{click:function(r){return t.quieTeamMask(e.row)}}},[t._v("退团退费")]):t._e(),t._v(" "),t.permission("musicGroupQuit/quitMusicGroup/quit-only")?r("el-button",{attrs:{type:"text",disabled:"PROCESSING"!=e.row.status},on:{click:function(r){return t.quieTeam(e.row)}}},[t._v("退团")]):t._e()]}}],null,!1,406775428)}):t._e()],1),t._v(" "),r("pagination",{attrs:{sync:"",total:t.rules.total,page:t.rules.page,limit:t.rules.limit,"page-sizes":t.rules.page_size},on:{"update:total":function(e){return t.$set(t.rules,"total",e)},"update:page":function(e){return t.$set(t.rules,"page",e)},"update:limit":function(e){return t.$set(t.rules,"limit",e)},pagination:t.FetchList}})],1),t._v(" "),r("el-dialog",{attrs:{title:"退团退费",width:"640px",visible:t.quitVisible},on:{"update:visible":function(e){t.quitVisible=e}}},[t.quitVisible&&t.detail?r("quitModal",{attrs:{detail:t.detail},on:{close:function(e){t.quitVisible=!1},submited:t.FetchList}}):t._e()],1),t._v(" "),r("el-dialog",{attrs:{title:"退团",width:"640px",visible:t.quitOnlyVisible},on:{"update:visible":function(e){t.quitOnlyVisible=e}}},[t.quitOnlyVisible&&t.detail?r("quitOnlyModal",{attrs:{detail:t.detail},on:{close:function(e){t.quitOnlyVisible=!1},submited:t.FetchList}}):t._e()],1)],1)},i=[],s=(r("96cf"),r("1da1")),u=r("5530"),a=r("333d"),o=r("ec8a"),l=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-form",{ref:"quitForm",attrs:{model:t.quitForm,rules:t.quitRules,"label-width":"110px"}},[r("el-form-item",{attrs:{label:"审核状态",prop:"status"}},[r("el-radio",{attrs:{label:"APPROVED"},model:{value:t.quitForm.status,callback:function(e){t.$set(t.quitForm,"status","string"===typeof e?e.trim():e)},expression:"quitForm.status"}},[t._v("通过")]),t._v(" "),r("el-radio",{attrs:{label:"DENIED"},model:{value:t.quitForm.status,callback:function(e){t.$set(t.quitForm,"status","string"===typeof e?e.trim():e)},expression:"quitForm.status"}},[t._v("拒绝")])],1),t._v(" "),r("el-form-item",{attrs:{label:"退还课程费用",prop:"isRefundCourseFee"}},[r("el-radio",{attrs:{label:!0},model:{value:t.quitForm.isRefundCourseFee,callback:function(e){t.$set(t.quitForm,"isRefundCourseFee","string"===typeof e?e.trim():e)},expression:"quitForm.isRefundCourseFee"}},[t._v("是")]),t._v(" "),r("el-radio",{attrs:{label:!1},model:{value:t.quitForm.isRefundCourseFee,callback:function(e){t.$set(t.quitForm,"isRefundCourseFee","string"===typeof e?e.trim():e)},expression:"quitForm.isRefundCourseFee"}},[t._v("否")])],1),t._v(" "),r("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[r("el-radio",{attrs:{label:!0},model:{value:t.quitForm.isRefundInstrumentFee,callback:function(e){t.$set(t.quitForm,"isRefundInstrumentFee","string"===typeof e?e.trim():e)},expression:"quitForm.isRefundInstrumentFee"}},[t._v("是")]),t._v(" "),r("el-radio",{attrs:{label:!1},model:{value:t.quitForm.isRefundInstrumentFee,callback:function(e){t.$set(t.quitForm,"isRefundInstrumentFee","string"===typeof e?e.trim():e)},expression:"quitForm.isRefundInstrumentFee"}},[t._v("否")])],1),t._v(" "),r("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[r("el-radio",{attrs:{label:!0},model:{value:t.quitForm.isRefundTeachingAssistantsFee,callback:function(e){t.$set(t.quitForm,"isRefundTeachingAssistantsFee","string"===typeof e?e.trim():e)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[t._v("是")]),t._v(" "),r("el-radio",{attrs:{label:!1},model:{value:t.quitForm.isRefundTeachingAssistantsFee,callback:function(e){t.$set(t.quitForm,"isRefundTeachingAssistantsFee","string"===typeof e?e.trim():e)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[t._v("否")])],1),t._v(" "),r("el-form-item",{attrs:{label:"退团原因",prop:"reason"}},[r("el-input",{attrs:{type:"textarea",placeholder:"请填写退团退费原因"},model:{value:t.quitForm.reason,callback:function(e){t.$set(t.quitForm,"reason","string"===typeof e?e.trim():e)},expression:"quitForm.reason"}})],1)],1),t._v(" "),r("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(e){return t.$emit("close")}}},[t._v("取 消")]),t._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v("确 定")])],1)],1)},c=[],m=r("d8fc"),d={props:["detail"],data:function(){return{quitForm:{status:"",isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:null}}},computed:{quitRules:function(){var t="APPROVED"===this.quitForm.status;return{status:[{required:!0,message:"请选择审核状态"}],isRefundCourseFee:[{required:t,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:t,message:"选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:t,message:"选择是否退还教辅费用"}],reason:[{required:!0,message:"请填写退团退费原因"}]}}},methods:{submit:function(){var t=this;this.$refs.quitForm.validate(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r){e.next=13;break}return e.prev=1,e.next=4,t.$confirm("是否确定提交?","提示",{type:"warning"});case 4:return e.next=6,Object(m["l"])(Object(u["a"])({id:t.detail.id},t.quitForm));case 6:t.$emit("close"),t.$emit("submited"),t.$message.success("提交成功"),e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](1);case 13:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(t){return e.apply(this,arguments)}}())}}},f=d,p=r("2877"),b=Object(p["a"])(f,l,c,!1,null,null,null),h=b.exports,v=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-form",{ref:"quitForm",attrs:{model:t.quitForm,rules:t.quitRules}},[r("el-form-item",{attrs:{label:"审核状态",prop:"status"}},[r("el-radio",{attrs:{label:"APPROVED"},model:{value:t.quitForm.status,callback:function(e){t.$set(t.quitForm,"status","string"===typeof e?e.trim():e)},expression:"quitForm.status"}},[t._v("通过")]),t._v(" "),r("el-radio",{attrs:{label:"DENIED"},model:{value:t.quitForm.status,callback:function(e){t.$set(t.quitForm,"status","string"===typeof e?e.trim():e)},expression:"quitForm.status"}},[t._v("拒绝")])],1),t._v(" "),r("el-form-item",{attrs:{label:"退团原因",prop:"reason"}},[r("el-input",{attrs:{type:"textarea",placeholder:"请填写退团退费原因"},model:{value:t.quitForm.reason,callback:function(e){t.$set(t.quitForm,"reason","string"===typeof e?e.trim():e)},expression:"quitForm.reason"}})],1)],1),t._v(" "),r("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(e){return t.$emit("close")}}},[t._v("取 消")]),t._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v("确 定")])],1)],1)},q=[],F={props:["detail"],data:function(){return{quitForm:{status:"",isRefundCourseFee:!1,isRefundInstrumentFee:!1,isRefundTeachingAssistantsFee:!1,reason:null},quitRules:{status:[{required:!0,message:"请选择审核状态"}],reason:[{required:!0,message:"请填写退团退费原因"}]}}},methods:{submit:function(){var t=this;this.$refs.quitForm.validate(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r){e.next=13;break}return e.prev=1,e.next=4,t.$confirm("是否确定退团?","提示",{type:"warning"});case 4:return e.next=6,Object(m["l"])(Object(u["a"])({musicGroupId:t.detail.musicGroupId,userId:t.detail.userId},t.quitForm));case 6:t.$emit("close"),t.$emit("submited"),t.$message.success("退团成功"),e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](1);case 13:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(t){return e.apply(this,arguments)}}())}}},y=F,g=Object(p["a"])(y,v,q,!1,null,null,null),_=g.exports,O=r("829b"),R=function(t){return Object(O["a"])({url:"/api-web/musicGroupQuit/queryPage",params:t})},w={search:""},x={components:{pagination:a["a"],quitModal:h,quitOnlyModal:_},data:function(){return{quitVisible:!1,quitOnlyVisible:!1,detail:null,list:[],searchForm:Object(u["a"])({},w),rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.FetchList()},methods:{permission:o["a"],submit:function(){this.rules.page=1,this.FetchList()},onReSet:function(){this.searchForm=Object(u["a"])({},w),this.submit()},quieTeamMask:function(t){this.quitVisible=!0,this.detail=t},quieTeam:function(t){this.quitOnlyVisible=!0,this.detail=t},FetchList:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,R(Object(u["a"])({page:this.rules.page,rows:this.rules.limit,ids:this.$route.query.ids},this.searchForm));case 3:e=t.sent,this.rules.total=e.data.total,this.list=e.data.rows,t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](0);case 10:case"end":return t.stop()}}),t,this,[[0,8]])})));function e(){return t.apply(this,arguments)}return e}()}},k=x,T=Object(p["a"])(k,n,i,!1,null,null,null);e["default"]=T.exports},d8fc:function(t,e,r){"use strict";r.d(e,"o",(function(){return a})),r.d(e,"n",(function(){return o})),r.d(e,"j",(function(){return l})),r.d(e,"e",(function(){return c})),r.d(e,"h",(function(){return m})),r.d(e,"l",(function(){return d})),r.d(e,"g",(function(){return f})),r.d(e,"b",(function(){return p})),r.d(e,"s",(function(){return b})),r.d(e,"f",(function(){return h})),r.d(e,"i",(function(){return v})),r.d(e,"c",(function(){return q})),r.d(e,"r",(function(){return F})),r.d(e,"p",(function(){return y})),r.d(e,"q",(function(){return g})),r.d(e,"d",(function(){return _})),r.d(e,"k",(function(){return O})),r.d(e,"a",(function(){return R})),r.d(e,"m",(function(){return w}));var n=r("b775"),i=r("4328"),s=r.n(i),u="/api-web";function a(t){return Object(n["a"])({url:u+"/sysMessage/list",method:"get",params:t})}function o(t){return Object(n["a"])({url:u+"/sysMessage/setRead",method:"post",data:s.a.stringify(t)})}function l(t){return Object(n["a"])({url:u+"/courseSchedule/queryCourseScheduleComplaintsDetail",method:"get",params:t})}function c(t){return Object(n["a"])({url:u+"/courseSchedule/courseScheduleCommplaintAudit",method:"post",data:s.a.stringify(t)})}function m(t){return Object(n["a"])({url:u+"/musicGroupQuit/query",method:"get",params:t})}function d(t){return Object(n["a"])({url:u+"/musicGroupQuit/quitMusicGroup",method:"POST",data:s.a.stringify(t)})}function f(t){return Object(n["a"])({url:u+"/teacherLeaveRecord/queryDetail",method:"get",params:t})}function p(t){return Object(n["a"])({url:u+"/teacherLeaveRecord/approve",method:"POST",data:s.a.stringify(t)})}function b(t){return Object(n["a"])({url:u+"/vipGroupManage/vipApplyAudit",method:"POST",data:s.a.stringify(t)})}function h(t){return Object(n["a"])({url:u+"/courseScheduleTeacherSalary/findIsSettlementCourseSalarys",method:"GET",params:t})}function v(t){return Object(n["a"])({url:u+"/courseScheduleTeacherSalary/openSalaryConfirm",method:"GET",params:t})}function q(t){return Object(n["a"])({url:u+"/courseScheduleTeacherSalary/closeSalaryConfirm",method:"GET",params:t})}function F(t){return Object(n["a"])({url:u+"/teacherSalaryModifyLog/add",method:"POST",data:s.a.stringify(t)})}function y(t){return Object(n["a"])({url:u+"/teacherSalaryComplaints/queryPage",method:"GET",params:t})}function g(t){return Object(n["a"])({url:u+"/teacherSalaryComplaints/get",method:"GET",params:t})}function _(t){return Object(n["a"])({url:u+"/teacherSalaryComplaints/complaintsDispose",method:"post",data:s.a.stringify(t)})}function O(t){return Object(n["a"])({url:u+"/teacherAttendance/queryTeacherAttendanceComplaints",method:"post",data:s.a.stringify(t)})}function R(t){return Object(n["a"])({url:u+"/teacherAttendance/agreeTeacherAttendanceComplaints",method:"post",data:s.a.stringify(t)})}function w(t){return Object(n["a"])({url:u+"/teacherAttendance/rejectTeacherAttendanceComplaints",method:"post",data:s.a.stringify(t)})}}}]);
|