1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4a352c0c"],{"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("5530"),s=a("15fd"),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["t"],attendanceStatus:o["Z"],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["d"])(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)},I=[],F=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("c7eb"),O=(a("96cf"),a("1da1")),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["d"])(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}()}},D=A,M=Object(y["a"])(D,F,S,!1,null,null,null),C=M.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)},G=[],j=a("3e15"),P=["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,P),r=Object(i["a"])(Object(i["a"])({},l),{},{page:this.rules.page,rows:this.rules.limit},Object(m["d"])(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)}))}}},Y=V,$=Object(y["a"])(Y,x,G,!1,null,null,null),H=$.exports,U={props:["studentId"],components:{courseWork:C,afterWork:H},data:function(){return{activeName:"first"}},mounted:function(){},methods:{}},q=U,W=Object(y["a"])(q,E,I,!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["gb"],feedbackTypeList:o["B"],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["gb"],this.$set(this.visitForm,"visitType",["常规回访","考勤申诉"])):this.useVisitType?(this.visitChiose=o["gb"],this.$set(this.visitForm,"visitType",this.useVisitType),this.$forceUpdate(),console.log("useVisitType",this.useVisitType,this.visitForm)):this.visitChiose=o["gb"]},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("ceb37"),Object(y["a"])(K,l,r,!1,null,"772d85a8",null));t["a"]=Q.exports},"57a0":function(e,t,a){},"92e3":function(e,t,a){"use strict";a.d(t,"v",(function(){return u})),a.d(t,"I",(function(){return o})),a.d(t,"t",(function(){return c})),a.d(t,"c",(function(){return d})),a.d(t,"E",(function(){return v})),a.d(t,"bb",(function(){return p})),a.d(t,"Z",(function(){return b})),a.d(t,"d",(function(){return m})),a.d(t,"M",(function(){return f})),a.d(t,"x",(function(){return h})),a.d(t,"db",(function(){return _})),a.d(t,"u",(function(){return y})),a.d(t,"o",(function(){return T})),a.d(t,"cb",(function(){return g})),a.d(t,"Q",(function(){return E})),a.d(t,"fb",(function(){return I})),a.d(t,"gb",(function(){return F})),a.d(t,"P",(function(){return S})),a.d(t,"U",(function(){return k})),a.d(t,"C",(function(){return O})),a.d(t,"l",(function(){return w})),a.d(t,"Y",(function(){return N})),a.d(t,"eb",(function(){return R})),a.d(t,"J",(function(){return L})),a.d(t,"m",(function(){return A})),a.d(t,"w",(function(){return D})),a.d(t,"N",(function(){return M})),a.d(t,"f",(function(){return C})),a.d(t,"e",(function(){return x})),a.d(t,"L",(function(){return G})),a.d(t,"K",(function(){return j})),a.d(t,"T",(function(){return P})),a.d(t,"H",(function(){return V})),a.d(t,"a",(function(){return Y})),a.d(t,"y",(function(){return $})),a.d(t,"p",(function(){return H})),a.d(t,"n",(function(){return U})),a.d(t,"q",(function(){return q})),a.d(t,"g",(function(){return W})),a.d(t,"G",(function(){return B})),a.d(t,"r",(function(){return z})),a.d(t,"D",(function(){return X})),a.d(t,"B",(function(){return K})),a.d(t,"A",(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,"S",(function(){return ae})),a.d(t,"O",(function(){return le})),a.d(t,"F",(function(){return re})),a.d(t,"z",(function(){return ie})),a.d(t,"R",(function(){return se})),a.d(t,"V",(function(){return ne})),a.d(t,"X",(function(){return ue})),a.d(t,"s",(function(){return oe})),a.d(t,"ab",(function(){return ce})),a.d(t,"W",(function(){return de})),a.d(t,"b",(function(){return pe}));var l=a("b85c"),r=a("3835"),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:"直播课购买"},{value:"SCHOOL_GOODS_PURCHASE",label:"商品采购"},{value:"DIRECTOR_TRAINING_CAMP",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:"加油包"}],I=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],F=[{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=ve(i["musicGroupType"]),A=ve(i["classTime"]),D=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],M=ve(i["payOrderType"]),C=ve(i["auditType"]),x=ve(i["auditPaymentType"]),G=ve(i["orderServerType"]),j=ve(i["orderAuditType"]),P=ve(i["rewardModeType"]),V=ve(i["musicClassType"]),Y=ve(i["ProbationPeriodStatus"]),$=ve(i["downListType"]),H=ve(i["conclusion"]),U=ve(i["clientType"]),q=ve(i["couponType"]),W=ve(i["backType"]),B=ve(i["memberEnum"]),z=ve(i["coupontypeDetail"]),X=ve(i["issue"]),K=ve(i["feedbackType"]),Q=ve(i["feedbackTypeDesc"]),J=ve(i["campState"]),Z=ve(i["catgGoupType"]),ee=ve(i["catRole"]),te=ve(i["catType"]),ae=ve(i["quiteReason"]),le=ve(i["payUserType"]),re=ve(i["levelStatus"]),ie=ve(i["evaluateStatus"]),se=ve(i["problemType"]),ne=ve(i["schoolUserType"]),ue=ve(i["shareLiveType"]),oe=ve(i["courseEmnu"]),ce=ve(i["suggestionType"]),de=ve(i["scoreType"]);function ve(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(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}},ceb37:function(e,t,a){"use strict";a("57a0")}}]);
|