chunk-15770507.bcc2a9c4.js 17 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-15770507"],{"15fd":function(t,e,r){"use strict";function i(t,e){if(null==t)return{};var r,i,s={},n=Object.keys(t);for(i=0;i<n.length;i++)r=n[i],e.indexOf(r)>=0||(s[r]=t[r]);return s}function s(t,e){if(null==t)return{};var r,s,n=i(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(s=0;s<a.length;s++)r=a[s],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}r.d(e,"a",(function(){return s}))},adb21:function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var i=r("bc3a"),s=r.n(i),n=(r("4328"),r("5f87")),a=r("3908"),u=function(t,e,r){var i=e.url,u={method:e.method?e.method:"get",headers:{Authorization:Object(n["a"])()},url:i,responseType:"blob"};"post"==u.method?u.data=e.params:u.params=e.params,t.$confirm(r||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){a["a"].startLoading(),s()(u).then((function(r){var i=new Blob([r.data],{type:"application/vnd.ms-excel;charset=utf-8"}),s=new Response(i).text();s.then((function(r){if(-1!=r.indexOf("code")){var s=JSON.parse(r);t.$message.error(s.msg)}else{var n=URL.createObjectURL(i),a=document.createElement("a"),u=e.fileName||"导出文件.xlsx";a.href=n,a.setAttribute("download",u),document.body.appendChild(a),a.click()}})),a["a"].endLoading()})).catch((function(e){t.$message.error("下载失败,请联系管理员"),a["a"].endLoading()}))})).catch((function(){}))}},c4b2:function(t,e,r){"use strict";r.r(e);var i=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:{keys:["visitFlag"],moreKeys:["organId"]},on:{reload:t.reloadSearch}})],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-select",{attrs:{clearable:"",placeholder:"请选择状态"},model:{value:t.searchForm.status,callback:function(e){t.$set(t.searchForm,"status",e)},expression:"searchForm.status"}},t._l(t.withdrawalStatus,(function(t,e){return r("el-option",{key:e,attrs:{label:t,value:e}})})),1)],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("重置")]),t._v(" "),r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"export/musicGroupQuit",expression:"'export/musicGroupQuit'"}],attrs:{type:"primary"},on:{click:t.onExport}},[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:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("withdrawalStatus")(e.row.status))+"\n ")]}}])}),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")||t.permission("visit/add/tuituanliebiao")?r("el-table-column",{attrs:{align:"center",fixed:"right",width:"200px;",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("visit/add/tuituanliebiao")?r("el-button",{attrs:{type:"text"},on:{click:function(r){return t.addVisit(e.row)}}},[t._v("新增回访")]):t._e()]}}],null,!1,3585415704)}):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:"500px",visible:t.visitVisible},on:{"update:visible":function(e){t.visitVisible=e}}},[t.visitVisible&&t.detail?r("visit",{attrs:{detail:t.detail},on:{close:function(e){t.visitVisible=!1},submited:t.FetchList}}):t._e()],1)],1)},s=[],n=(r("96cf"),r("1da1")),a=r("5530"),u=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(" "),"APPROVED"==t.quitForm.status?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._e(),t._v(" "),"APPROVED"==t.quitForm.status?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._e(),t._v(" "),"APPROVED"==t.quitForm.status?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._e(),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=r("e3eb"),f=r.n(d),p={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(n["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"])(f()(Object(a["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)}}())}}},h=p,b=r("2877"),v=Object(b["a"])(h,l,c,!1,null,null,null),g=v.exports,F=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)},y=[],q={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(n["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(a["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)}}())}}},_=q,x=Object(b["a"])(_,F,y,!1,null,null,null),O=x.exports,R=r("4edf"),w=r("adb21"),k=r("4328"),j=r.n(k),S=r("38a4"),$=r("267e"),T={search:"",status:null},C={components:{pagination:u["a"],quitModal:g,quitOnlyModal:O,visit:R["a"]},data:function(){return{withdrawalStatus:$["withdrawalStatus"],quitVisible:!1,quitOnlyVisible:!1,visitVisible:!1,detail:null,list:[],searchForm:Object(a["a"])({},T),rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.FetchList()},methods:{permission:o["a"],reloadSearch:function(){this.rules.page=1,this.FetchList()},submit:function(){this.rules.page=1,this.FetchList()},onReSet:function(){this.searchForm=Object(a["a"])({},T),this.submit()},quieTeamMask:function(t){this.quitVisible=!0,this.detail=t},quieTeam:function(t){this.quitOnlyVisible=!0,this.detail=t},addVisit:function(t){this.visitVisible=!0,this.detail=t},FetchList:function(){var t=Object(n["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,Object(S["b"])(Object(a["a"])({page:this.rules.page,rows:this.rules.limit,visitFlag:this.$route.query.visitFlag},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}(),onExport:function(){var t=Object.assign({},this.searchForm);Object(w["a"])(this,{url:"/api-web/export/musicGroupQuit",fileName:"退团申请.xlsx",method:"post",params:j.a.stringify(Object(a["a"])({visitFlag:this.$route.query.visitFlag},t))},"您确定导出退团申请列表?")}}},A=C,E=Object(b["a"])(A,i,s,!1,null,null,null);e["default"]=E.exports},d8fc:function(t,e,r){"use strict";r.d(e,"o",(function(){return u})),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 h})),r.d(e,"f",(function(){return b})),r.d(e,"i",(function(){return v})),r.d(e,"c",(function(){return g})),r.d(e,"r",(function(){return F})),r.d(e,"p",(function(){return y})),r.d(e,"q",(function(){return q})),r.d(e,"d",(function(){return _})),r.d(e,"k",(function(){return x})),r.d(e,"a",(function(){return O})),r.d(e,"m",(function(){return R}));var i=r("b775"),s=r("4328"),n=r.n(s),a="/api-web";function u(t){return Object(i["a"])({url:a+"/sysMessage/list",method:"get",params:t})}function o(t){return Object(i["a"])({url:a+"/sysMessage/setRead",method:"post",data:n.a.stringify(t)})}function l(t){return Object(i["a"])({url:a+"/courseSchedule/queryCourseScheduleComplaintsDetail",method:"get",params:t})}function c(t){return Object(i["a"])({url:a+"/courseSchedule/courseScheduleCommplaintAudit",method:"post",data:n.a.stringify(t)})}function m(t){return Object(i["a"])({url:a+"/musicGroupQuit/query",method:"get",params:t})}function d(t){return Object(i["a"])({url:a+"/musicGroupQuit/quitMusicGroup",method:"POST",data:n.a.stringify(t)})}function f(t){return Object(i["a"])({url:a+"/teacherLeaveRecord/queryDetail",method:"get",params:t})}function p(t){return Object(i["a"])({url:a+"/teacherLeaveRecord/approve",method:"POST",data:n.a.stringify(t)})}function h(t){return Object(i["a"])({url:a+"/vipGroupManage/vipApplyAudit",method:"POST",data:n.a.stringify(t)})}function b(t){return Object(i["a"])({url:a+"/courseScheduleTeacherSalary/findIsSettlementCourseSalarys",method:"GET",params:t})}function v(t){return Object(i["a"])({url:a+"/courseScheduleTeacherSalary/openSalaryConfirm",method:"GET",params:t})}function g(t){return Object(i["a"])({url:a+"/courseScheduleTeacherSalary/closeSalaryConfirm",method:"GET",params:t})}function F(t){return Object(i["a"])({url:a+"/teacherSalaryModifyLog/add",method:"POST",data:n.a.stringify(t)})}function y(t){return Object(i["a"])({url:a+"/teacherSalaryComplaints/queryPage",method:"GET",params:t})}function q(t){return Object(i["a"])({url:a+"/teacherSalaryComplaints/get",method:"GET",params:t})}function _(t){return Object(i["a"])({url:a+"/teacherSalaryComplaints/complaintsDispose",method:"post",data:n.a.stringify(t)})}function x(t){return Object(i["a"])({url:a+"/teacherAttendance/queryTeacherAttendanceComplaints",method:"post",data:n.a.stringify(t)})}function O(t){return Object(i["a"])({url:a+"/teacherAttendance/agreeTeacherAttendanceComplaints",method:"post",data:n.a.stringify(t)})}function R(t){return Object(i["a"])({url:a+"/teacherAttendance/rejectTeacherAttendanceComplaints",method:"post",data:n.a.stringify(t)})}}}]);