1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6f034c42"],{"05d2":function(e,t,a){"use strict";a("d7c6")},"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),Math.easeInOutQuad=function(e,t,a,l){return e/=l/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var l=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 i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(e,t,a){var s=i(),n=e-s,u=20,o=0;t="undefined"===typeof t?500:t;var c=function e(){o+=u;var i=Math.easeInOutQuad(o,s,n,t);r(i),o<t?l(e):a&&"function"===typeof a&&a()};c()}},"38a4":function(e,t,a){"use strict";a.d(t,"c",(function(){return r})),a.d(t,"b",(function(){return i})),a.d(t,"a",(function(){return s}));var l=a("829b"),r=function(e){return Object(l["a"])({url:"/api-web/musicGroupQuit/queryPage",params:e,method:"get",requestType:"form"})},i=function(e){return Object(l["a"])({url:"/api-web/webCurseHomework/getStudentHomeWorks",params:e})},s=function(e){return Object(l["a"])({url:"/api-web/musicGroupQuit/batchQuitMusicGroup",data:e,method:"post",requestType:"json"})}},"3e15":function(e,t,a){"use strict";a.d(t,"d",(function(){return i})),a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return u}));var l=a("b775"),r=(a("4328"),"/api-web");function i(e){return Object(l["a"])({url:r+"/extracurricularExercises/queryPageList/v2",method:"get",params:e})}function s(e){return Object(l["a"])({url:r+"/extracurricularExercisesReply/queryPageList",method:"get",params:e})}function n(e){return Object(l["a"])({url:r+"/extracurricularExercises/findStudentExtraExerciseDetail",method:"get",params:e})}function u(e){return Object(l["a"])({url:r+"/exercisesSituation/findStudentExtracurricularExercisesSituations",method:"get",params:e})}},"46f6":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return u})),a.d(t,"c",(function(){return o})),a.d(t,"d",(function(){return c}));var l=a("b775"),r=a("4328"),i=a.n(r),s="/api-web";function n(e){return Object(l["a"])({url:s+"/visit/queryPage",method:"get",params:e})}function u(e){return Object(l["a"])({url:s+"/visit/add",method:"post",data:e,requestType:"json",headers:{"content-type":"application/json"}})}function o(e){return Object(l["a"])({url:s+"/visit/queryWaitVisit",method:"post",data:e})}function c(e){return Object(l["a"])({url:s+"/visit/updateProbStatus",method:"post",data:i.a.stringify(e)})}},"4edf":function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"visitBtnWrap"},[a("auth",{attrs:{auths:"studentAttendance/findStudentAttendance"}},[a("el-button",{attrs:{type:"text"},on:{click:function(t){e.recordVisible=!0}}},[e._v("学员考勤")])],1)],1),e._v(" "),a("el-form",{ref:"visitForm",attrs:{model:e.visitForm,"label-width":"120px","label-position":"right",rules:e.visitRules}},[a("el-form-item",{attrs:{label:"学生姓名"}},[a("p",[e._v(e._s(e.userName))])]),e._v(" "),a("el-form-item",{attrs:{label:"回访类型",prop:"visitType",rules:[{required:!0,message:"选择回访类型"}]}},[a("el-cascader",{staticStyle:{width:"80% !important"},attrs:{disabled:e.isMainGo||!!e.useVisitType,"expand-trigger":"hover",clearable:"",placeholder:"请选择回访类型",options:e.visitChiose},on:{change:e.changeVisitType},model:{value:e.visitForm.visitType,callback:function(t){e.$set(e.visitForm,"visitType",t)},expression:"visitForm.visitType"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"回访日期",prop:"visitTime"}},[a("el-date-picker",{staticStyle:{width:"80% !important"},attrs:{align:"right",type:"date",placeholder:"选择日期","value-format":"yyyy-MM-dd","picker-options":e.pickerOptions},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(" "),"常规回访"!=e.visitForm.visitType[0]||"考勤申诉"!=e.visitForm.visitType[1]?a("el-form-item",{attrs:{label:"学员情况",prop:"overview"}},[a("el-input",{staticStyle:{width:"80% !important"},attrs:{type:"textarea",placeholder:"请输入学员情况",rows:3,maxlength:"400","show-word-limit":""},model:{value:e.visitForm.overview,callback:function(t){e.$set(e.visitForm,"overview",t)},expression:"visitForm.overview"}})],1):e._e(),e._v(" "),"小课回访"==e.visitForm.visitType[0]||"常规回访"==e.visitForm.visitType[0]&&"考勤申诉"==e.visitForm.visitType[1]?e._e():a("el-form-item",{attrs:{label:"家长反馈",prop:"feedback"}},[a("el-input",{staticStyle:{width:"80% !important"},attrs:{type:"textarea",placeholder:"请输入家长反馈",rows:3,maxlength:"400","show-word-limit":""},model:{value:e.visitForm.feedback,callback:function(t){e.$set(e.visitForm,"feedback",t)},expression:"visitForm.feedback"}})],1),e._v(" "),"小课回访"==e.visitForm.visitType[0]?a("el-form-item",{attrs:{label:"学员状态",prop:"feedbackType",rules:[{required:!0,message:"选择学员状态"}]}},[a("el-radio-group",{on:{change:function(){e.visitForm.feedbackTypeDesc=""}},model:{value:e.visitForm.feedbackType,callback:function(t){e.$set(e.visitForm,"feedbackType",t)},expression:"visitForm.feedbackType"}},e._l(e.feedbackTypeList,(function(t,l){return a("el-radio-button",{key:l,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)],1):e._e(),e._v(" "),"常规回访"==e.visitForm.visitType[0]&&"考勤申诉"==e.visitForm.visitType[1]?a("el-form-item",{attrs:{label:"家长反馈",prop:"feedbackTypeDesc",rules:[{required:!0,message:"选择家长反馈"}]}},[a("el-radio-group",{on:{change:e.changeFeedbackTypeDesc},model:{value:e.visitForm.feedbackTypeDesc,callback:function(t){e.$set(e.visitForm,"feedbackTypeDesc",t)},expression:"visitForm.feedbackTypeDesc"}},e._l(e.feedbackTypeDescList,(function(t,l){return a("el-radio-button",{key:l,attrs:{label:t.value}},[e._v(e._s(t.label))])})),1)],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"问题状态",prop:"probStatus",rules:[{required:!0,message:"选择问题状态"}]}},[a("el-radio-group",{model:{value:e.visitForm.probStatus,callback:function(t){e.$set(e.visitForm,"probStatus",t)},expression:"visitForm.probStatus"}},[a("el-radio-button",{attrs:{label:"1"}},[e._v("已解决")]),e._v(" "),a("el-radio-button",{attrs:{label:"0"}},[e._v("待跟进")])],1)],1),e._v(" "),"小课回访"==e.visitForm.visitType[0]||"常规回访"==e.visitForm.visitType[0]&&"考勤申诉"==e.visitForm.visitType[1]&&"OTHER"==e.visitForm.feedbackTypeDesc?a("el-form-item",{attrs:{label:"原因",prop:"feedback",rules:[{required:"OTHER"==e.visitForm.feedbackTypeDesc,message:"请输入家长反馈内容"}]}},[a("el-input",{staticStyle:{width:"80% !important"},attrs:{type:"textarea",placeholder:"原因",rows:3,maxlength:"400","show-word-limit":""},model:{value:e.visitForm.feedback,callback:function(t){e.$set(e.visitForm,"feedback",t)},expression:"visitForm.feedback"}})],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"回访图片"}},[a("div",{staticStyle:{width:"80% !important"}},[a("uploadImageList",{attrs:{uploaded:e.visitForm.attachments}})],1)])],1),e._v(" "),a("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right","margin-right":"15%"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitAddVisit}},[e._v("确 定")])],1),e._v(" "),e.recordVisible?a("el-dialog",{attrs:{title:"学员考勤",width:"1020px",visible:e.recordVisible,"append-to-body":""},on:{"update:visible":function(t){e.recordVisible=t}}},[a("record",{attrs:{studentId:this.detail.userId}})],1):e._e(),e._v(" "),e.workVisible?a("el-dialog",{attrs:{title:"训练列表",width:"1020px",visible:e.workVisible,"append-to-body":""},on:{"update:visible":function(t){e.workVisible=t}}},[a("studentWork",{attrs:{studentId:this.detail.userId}})],1):e._e()],1)},r=[],i=a("db72"),s=a("a8db"),n=a("e3eb"),u=a.n(n),o=a("92e3"),c=a("46f6"),d=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm}},[a("el-form-item",{attrs:{prop:"dates"}},[a("el-date-picker",{staticStyle:{width:"405px"},attrs:{type:"daterange","range-separator":"至","start-placeholder":"课程开始日期","end-placeholder":"课程结束日期"},model:{value:e.searchForm.dates,callback:function(t){e.$set(e.searchForm,"dates",t)},expression:"searchForm.dates"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"groupType"}},[a("el-select",{attrs:{placeholder:"请选择课程组类型"},model:{value:e.searchForm.groupType,callback:function(t){e.$set(e.searchForm,"groupType","string"===typeof t?t.trim():t)},expression:"searchForm.groupType"}},e._l(e.courseListType,(function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"status"}},[a("el-select",{attrs:{placeholder:"请选择考勤状态",clearable:""},model:{value:e.searchForm.status,callback:function(t){e.$set(e.searchForm,"status","string"===typeof t?t.trim():t)},expression:"searchForm.status"}},e._l(e.attendanceStatus,(function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger"},on:{click:e.search}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onReSet}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"courseScheduleId",label:"课程编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("copy-text",[e._v(e._s(t.row.courseScheduleId))])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseSchedule.name",label:"课程名称"}}),e._v(" "),a("el-table-column",{attrs:{width:"180px",align:"center",prop:"startClassTime",label:"上课时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.courseSchedule.classDate))+"\n "+e._s(e._f("dayjsFormatMinute")(t.row.courseSchedule.startClassTime))+"-"+e._s(e._f("dayjsFormatMinute")(t.row.courseSchedule.endClassTime))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"startClassTime",label:"课程组类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("coursesType")(t.row.groupType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"startClassTime",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("coursesType")(t.row.courseSchedule.type))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"考勤状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.courseSchedule&&"NOT_START"!=t.row.courseSchedule.status?a("div",[e._v("\n "+e._s(e._f("clockingIn")(t.row.status))+"\n ")]):e._e()]}}])})],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"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)},v=[],p=(a("386d"),a("333d")),b=a("1cc7"),m=a("ed08"),f=["dates"],h={components:{pagination:p["a"]},props:["studentId"],data:function(){return{searchForm:{studentID:"",groupType:"",status:"",dates:[]},courseListType:o["s"],attendanceStatus:o["X"],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},tableList:[]}},mounted:function(){var e;this.searchForm.studentID=this.studentId,(null===(e=this.searchForm.dates)||void 0===e?void 0:e.length)<1&&(this.searchForm.dates=[(new Date).setDate(1),new Date]),this.init()},methods:{init:function(){this.getList()},search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.$refs["searchForm"].resetFields(),this.searchForm.dates=[(new Date).setDate(1),new Date],this.search()},getList:function(){var e=this,t=this.searchForm,a=t.dates,l=Object(s["a"])(t,f),r=Object(i["a"])(Object(i["a"])({},l),{},{page:this.rules.page,rows:this.rules.limit},Object(m["b"])(a,["startDateOfCourse","endDateOfCourse"],"YYYY-MM-DD"));Object(b["N"])(r).then((function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)}))}}},_=h,y=a("2877"),T=Object(y["a"])(_,d,v,!1,null,"20eac814",null),g=T.exports,E=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{attrs:{type:"card"},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"课程训练",name:"first",lazy:""}},[e.studentId&&"first"==e.activeName?a("courseWork",{attrs:{studentId:e.studentId}}):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"课外训练",name:"second",lazy:""}},[e.studentId&&"second"==e.activeName?a("afterWork",{attrs:{studentId:e.studentId}}):e._e()],1)],1)],1)},F=[],I=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm}},[a("el-form-item",[a("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"上课开始日期","end-placeholder":"上课结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.courseTimer,callback:function(t){e.$set(e.searchForm,"courseTimer","string"===typeof t?t.trim():t)},expression:"searchForm.courseTimer"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"status"}},[a("el-select",{attrs:{placeholder:"是否提交",clearable:""},model:{value:e.searchForm.status,callback:function(t){e.$set(e.searchForm,"status",t)},expression:"searchForm.status"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"isReplied"}},[a("el-select",{attrs:{placeholder:"是否评价",clearable:""},model:{value:e.searchForm.isReplied,callback:function(t){e.$set(e.searchForm,"isReplied",t)},expression:"searchForm.isReplied"}},[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"},on:{click:e.search}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onReSet}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"courseScheduleId",label:"课程编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseName",label:"课程名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"groupName",label:"课程组名称"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("div",[a("overflow-text",{attrs:{text:e.row.groupName,width:"100%"}})],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"createTime",label:"布置时间",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("dateForMinFormat")(t.row.createTime)))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"布置老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"title",label:"训练内容"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("div",[a("overflow-text",{attrs:{text:e.row.content,width:"100%"}})],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"是否提交"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.status?"是":"否"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isView",label:"是否查看"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.isView?"是":"否"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isReplied",label:"是否评价"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.isReplied?"是":"否"))])]}}])})],1),e._v(" "),a("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)},S=[],k=a("c80c"),O=(a("96cf"),a("3b8d")),w=a("38a4"),N=a("5a0c"),R=a.n(N),L=["courseTimer"],A={props:["studentId"],components:{pagination:p["a"]},data:function(){return{searchForm:{courseTimer:[],status:"",isReplied:"",userId:""},tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){var e;(null===(e=this.searchForm.courseTimer)||void 0===e?void 0:e.length)<1&&(this.searchForm.courseTimer=[R()((new Date).setDate(1)).format("YYYY-MM-DD"),R()(new Date).format("YYYY-MM-DD")]),this.searchForm.userId=this.studentId,this.getList()},methods:{search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.$refs.searchForm.resetFields(),this.search()},getList:function(){var e=Object(O["a"])(Object(k["a"])().mark((function e(){var t,a,l,r,n;return Object(k["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.searchForm,a=t.courseTimer,l=Object(s["a"])(t,L),r=Object(i["a"])(Object(i["a"])({},l),{},{page:this.rules.page,rows:this.rules.limit},Object(m["b"])(a,["startTime","endTime"],"YYYY-MM-DD")),e.prev=2,e.next=5,Object(w["b"])(r);case 5:n=e.sent,this.tableList=n.data.rows,e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](2);case 11:case"end":return e.stop()}}),e,this,[[2,9]])})));function t(){return e.apply(this,arguments)}return t}()}},M=A,D=Object(y["a"])(M,I,S,!1,null,null,null),C=D.exports,x=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm}},[a("el-form-item",{attrs:{prop:"timer"}},[a("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"布置开始日期","end-placeholder":"布置结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"status"}},[a("el-select",{attrs:{placeholder:"是否提交",clearable:""},model:{value:e.searchForm.status,callback:function(t){e.$set(e.searchForm,"status",t)},expression:"searchForm.status"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"isReplied"}},[a("el-select",{attrs:{placeholder:"是否评价",clearable:""},model:{value:e.searchForm.isReplied,callback:function(t){e.$set(e.searchForm,"isReplied",t)},expression:"searchForm.isReplied"}},[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"},on:{click:e.search}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onReset}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"createTime",label:"布置时间",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("dateForMinFormat")(t.row.createTime)))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"布置老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"title",label:"训练标题"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("div",[a("div",[a("overflow-text",{attrs:{text:e.row.title,width:"100%"}})],1)])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"title",label:"训练内容"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("div",[a("div",[a("overflow-text",{attrs:{text:e.row.content,width:"100%"}})],1)])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"是否提交"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.status?"是":"否"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isView",label:"是否查看"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.isView?"是":"否"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isReplied",label:"是否评价"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.isReplied?"是":"否"))])]}}])})],1),e._v(" "),a("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)},Y=[],j=a("3e15"),G=["timer"],V={props:["studentId"],components:{pagination:p["a"]},data:function(){return{searchForm:{search:"",timer:[],status:null,isReplied:null,isRepliedTimely:null,isView:null},rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},tableList:[]}},mounted:function(){var e;(null===(e=this.searchForm.timer)||void 0===e?void 0:e.length)<1&&(this.searchForm.timer=[R()((new Date).setDate(1)).format("YYYY-MM-DD"),R()(new Date).format("YYYY-MM-DD")]),this.searchForm.search=this.studentId,this.getList()},methods:{onReset:function(){this.$refs.searchForm.resetFields(),this.search()},search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this,t=this.searchForm,a=t.timer,l=Object(s["a"])(t,G),r=Object(i["a"])(Object(i["a"])({},l),{},{page:this.rules.page,rows:this.rules.limit},Object(m["b"])(a,["submitStartTime","submitEndTime"],"YYYY-MM-DD"));Object(j["a"])(r).then((function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)}))}}},P=V,$=Object(y["a"])(P,x,Y,!1,null,null,null),U=$.exports,H={props:["studentId"],components:{courseWork:C,afterWork:U},data:function(){return{activeName:"first"}},mounted:function(){},methods:{}},q=H,W=Object(y["a"])(q,E,F,!1,null,null,null),B=W.exports,z=["visitType"],X={props:["detail","username","isMainGo","useVisitType"],components:{record:g,studentWork:B},data:function(){return{visitChiose:o["db"],feedbackTypeList:o["A"],feedbackTypeDescList:[{label:"生病",value:"SICK"},{label:"有事",value:"SOMETHING"},{label:"不想参加",value:"NO_PARTICIPATE"},{label:"其他",value:"OTHER"}],visitForm:{musicGroupId:"",overview:"",purpose:"",studentId:"",type:"",visitTime:"",visitType:[],feedback:"",studentName:"",attachments:[],feedbackTypeDesc:"",feedbackType:"",probStatus:"0"},visitRules:{probStatus:[{required:!0,message:"请选择问题状态"}],visitTime:[{required:!0,message:"请输入回访时间"}]},recordVisible:!1,workVisible:!1,pickerOptions:{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()>(new Date).getTime()}}}},mounted:function(){this.isMainGo?(this.visitChiose=o["db"],this.$set(this.visitForm,"visitType",["常规回访","考勤申诉"])):this.useVisitType?(this.visitChiose=o["db"],this.$set(this.visitForm,"visitType",this.useVisitType),this.$forceUpdate(),console.log("useVisitType",this.useVisitType,this.visitForm)):this.visitChiose=o["db"]},computed:{userName:function(){var e;return this.username||(null===(e=this.detail.user)||void 0===e?void 0:e.username)||this.detail.realName||this.detail.userName||this.detail.studentName},studentId:function(){return this.detail.userId||this.detail.studentId},isRequire:function(){return"THINKING"!=this.visitForm.feedbackType&&"PENDING_PAYMENT"!=this.visitForm.feedbackType}},methods:{submitAddVisit:function(){var e=this;this.$refs.visitForm.validate((function(t){if(t){var a=e.visitForm,l=a.visitType,r=Object(s["a"])(a,z),n=e.visitForm.attachments.map((function(e){return e.url})),o=Object(i["a"])(Object(i["a"])({},r),{},{objectId:e.detail.id,studentName:e.userName,musicGroupId:e.detail.musicGroupId,studentId:e.studentId,type:l[0],purpose:l[1],attachments:n.join(",")});Object(c["a"])(u()(o)).then((function(t){200===t.code&&(e.$message.success("保存成功"),e.$emit("close"),e.$emit("submited"))}))}}))},changeVisitType:function(e){this.visitForm.feedbackTypeDesc="",this.visitForm.feedbackType="",this.visitForm.overview="",this.visitForm.feedback=""},changeFeedbackTypeDesc:function(e){console.log("changeFeedbackTypeDesc"),this.visitForm.overview="",this.visitForm.feedback=""}}},K=X,Q=(a("05d2"),Object(y["a"])(K,l,r,!1,null,"5e4e5ae8",null));t["a"]=Q.exports},"92e3":function(e,t,a){"use strict";a.d(t,"u",(function(){return u})),a.d(t,"H",(function(){return o})),a.d(t,"s",(function(){return c})),a.d(t,"c",(function(){return d})),a.d(t,"D",(function(){return v})),a.d(t,"Y",(function(){return p})),a.d(t,"X",(function(){return b})),a.d(t,"d",(function(){return m})),a.d(t,"L",(function(){return f})),a.d(t,"w",(function(){return h})),a.d(t,"ab",(function(){return _})),a.d(t,"t",(function(){return y})),a.d(t,"o",(function(){return T})),a.d(t,"Z",(function(){return g})),a.d(t,"P",(function(){return E})),a.d(t,"cb",(function(){return F})),a.d(t,"db",(function(){return I})),a.d(t,"O",(function(){return S})),a.d(t,"T",(function(){return k})),a.d(t,"B",(function(){return O})),a.d(t,"l",(function(){return w})),a.d(t,"W",(function(){return N})),a.d(t,"bb",(function(){return R})),a.d(t,"I",(function(){return L})),a.d(t,"m",(function(){return A})),a.d(t,"v",(function(){return M})),a.d(t,"M",(function(){return D})),a.d(t,"f",(function(){return C})),a.d(t,"e",(function(){return x})),a.d(t,"K",(function(){return Y})),a.d(t,"J",(function(){return j})),a.d(t,"S",(function(){return G})),a.d(t,"G",(function(){return V})),a.d(t,"a",(function(){return P})),a.d(t,"x",(function(){return $})),a.d(t,"p",(function(){return U})),a.d(t,"n",(function(){return H})),a.d(t,"q",(function(){return q})),a.d(t,"g",(function(){return W})),a.d(t,"F",(function(){return B})),a.d(t,"r",(function(){return z})),a.d(t,"C",(function(){return X})),a.d(t,"A",(function(){return K})),a.d(t,"z",(function(){return Q})),a.d(t,"h",(function(){return J})),a.d(t,"k",(function(){return Z})),a.d(t,"i",(function(){return ee})),a.d(t,"j",(function(){return te})),a.d(t,"R",(function(){return ae})),a.d(t,"N",(function(){return le})),a.d(t,"E",(function(){return re})),a.d(t,"y",(function(){return ie})),a.d(t,"Q",(function(){return se})),a.d(t,"U",(function(){return ne})),a.d(t,"V",(function(){return ue})),a.d(t,"b",(function(){return ce}));var l=a("2d63"),r=a("768b"),i=a("267e"),s=sessionStorage.getItem("tenantConfig");s=s?JSON.parse(s):{};var n=s.tenantId,u=null,o=null;1==n?(o=[{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"}],u=[{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"}]):(o=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],u=[{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"}],d=[{label:"正常签到",value:1},{label:"异常签到",value:0}],v=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],p=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],b=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],m=[].concat(b,[{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:"直播课购买"}],h=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],_=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],y=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],T=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],g=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],E=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],F=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及训练回访",label:"课后及训练回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],I=[{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:"会员续费"}]}],S=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],k=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],O=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],w=[{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:"高三"}],N=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],R=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],L=oe(i["musicGroupType"]),A=oe(i["classTime"]),M=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],D=oe(i["payOrderType"]),C=oe(i["auditType"]),x=oe(i["auditPaymentType"]),Y=oe(i["orderServerType"]),j=oe(i["orderAuditType"]),G=oe(i["rewardModeType"]),V=oe(i["musicClassType"]),P=oe(i["ProbationPeriodStatus"]),$=oe(i["downListType"]),U=oe(i["conclusion"]),H=oe(i["clientType"]),q=oe(i["couponType"]),W=oe(i["backType"]),B=oe(i["memberEnum"]),z=oe(i["coupontypeDetail"]),X=oe(i["issue"]),K=oe(i["feedbackType"]),Q=oe(i["feedbackTypeDesc"]),J=oe(i["campState"]),Z=oe(i["catgGoupType"]),ee=oe(i["catRole"]),te=oe(i["catType"]),ae=oe(i["quiteReason"]),le=oe(i["payUserType"]),re=oe(i["levelStatus"]),ie=oe(i["evaluateStatus"]),se=oe(i["problemType"]),ne=oe(i["schoolUserType"]),ue=oe(i["shareLiveType"]);function oe(e){var t=[];for(var a in e)t.push({label:e[a],value:a});return t}var ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(r["a"])(t,2),i=a[0],s=a[1],n={};if(e&&e.length){var u,o=Object(l["a"])(e);try{for(o.s();!(u=o.n()).done;){var c=u.value;n[c[i]]=c[s]}}catch(d){o.e(d)}finally{o.f()}}return n}},d7c6:function(e,t,a){},ed08:function(e,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return u}));var l=a("bd86"),r=(a("c5f6"),a("28a5"),a("a481"),a("6b54"),a("7618"),a("5a0c")),i=a.n(r);var s=function(e){var t=[];for(var a in e)if(e.hasOwnProperty(a)){var l=e[a],r=a.toLocaleUpperCase();t.push({label:l,value:"TRUE"===r||"FALSE"===r?"TRUE"===r:a})}return t},n=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?(t={},Object(l["a"])(t,a[0]||"start",i()(e[0]).isValid()?i()(e[0]).format(r):""),Object(l["a"])(t,a[1]||"end",i()(e[1]).isValid()?i()(e[1]).format(r):""),t):{}},u=function(e){var t,a,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?"YYYY-MM-DD"===s?(t={},Object(l["a"])(t,r[0]||"start",i()(e[0]).isValid()?i()(e[0]).format(s)+" 00:00:00":""),Object(l["a"])(t,r[1]||"end",i()(e[1]).isValid()?i()(e[1]).format(s)+" 23:59:59":""),t):(a={},Object(l["a"])(a,r[0]||"start",i()(e[0]).isValid()?i()(e[0]).format(s):""),Object(l["a"])(a,r[1]||"end",i()(e[1]).isValid()?i()(e[1]).format(s):""),a):{}}}}]);
|