1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["order"],{"9af4":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:"order"},[r("header",[t._v("支付列表\n "),r("van-dropdown-menu",[r("van-dropdown-item",{attrs:{options:t.voicyPartList},on:{change:t.onChange},model:{value:t.voicyPart,callback:function(e){t.voicyPart=e},expression:"voicyPart"}})],1)],1),r("h2",[t._v(t._s(t.musicGroupName))]),r("van-tabs",[r("van-tab",{attrs:{title:"缴费信息"}},[r("div",{staticClass:"table"},[r("div",{staticClass:"title"},[r("span"),r("span",[t._v("姓名")]),r("span",[t._v("声部")]),r("span",[t._v("支付金额")]),r("span",[t._v("到账时间")])]),r("div",{staticClass:"content"},[t._l(t.dataList,(function(e,n){return r("div",{key:e.id},[r("span",[t._v(" "+t._s(++n)+" ")]),r("span",[t._v(" "+t._s(e.userName)+" ")]),r("span",[t._v(" "+t._s(e.subjectName)+" ")]),r("span",[t._v(" "+t._s(e.paymentAmount)+" ")]),r("span",[t._v(" "+t._s(e.payTime)+" ")])])})),r("p",{staticStyle:{padding:"8px 0 0 8px"}},[t._v("缴费总额:"+t._s(t.amountCount)+"元")])],2)])]),r("van-tab",{attrs:{title:"报名信息"}},[r("div",{staticClass:"table"},[r("div",{staticClass:"title"},[r("span"),r("span",[t._v("姓名")]),r("span",[t._v("班级")]),r("span",[t._v("声部")]),r("span",[t._v("备注")]),r("span",[t._v("调剂")])]),r("div",{staticClass:"content"},t._l(t.studentList,(function(e,n){return r("div",{key:e.id},[r("span",[t._v(" "+t._s(++n)+" ")]),r("span",[t._v(" "+t._s(e.userName)+" ")]),r("span",[t._v(" "+t._s(e.currentClass)+" ")]),r("span",[t._v(" "+t._s(e.subjectName)+" ")]),r("span",[t._v(" "+t._s(e.remark)+" ")]),r("span",[r("van-button",{attrs:{disabled:2==e.paymentStatus,round:"",type:"danger",size:"small"},on:{click:function(r){return t.adjust(e)}}},[t._v("调剂")])],1)])})),0)]),r("van-action-sheet",{attrs:{actions:t.couresList,"cancel-text":"取消"},on:{cancel:function(e){t.adjustStatus=!1},select:t.adjustSelect},model:{value:t.adjustStatus,callback:function(e){t.adjustStatus=e},expression:"adjustStatus"}})],1)],1)],1)},u=[],a=r("9afb"),o={name:"order",data:function(){return{musicGroupId:this.$route.query.musicGroupId,musicGroupName:this.$route.query.musicGroupName,dataList:{},amountCount:0,studentList:{},couresList:[],voicyPart:0,voicyPartList:[{text:"全部声部",value:0}],adjustStatus:!1,changeStudent:null}},mounted:function(){var t=this;window.localStorage.removeItem("userInfo"),window.localStorage.removeItem("Authorization"),Object(a["D"])({musicGroupId:this.musicGroupId}).then((function(e){var r=e.data;200==r.code&&r.data.forEach((function(e){t.voicyPartList.push({text:e.name,value:e.id}),t.couresList.push({name:e.name,id:e.id})}))})),this.getOrderList(),this.getOrderStudentList()},methods:{adjust:function(t){2!=t.paymentStatus&&(this.adjustStatus=!0,this.changeStudent=t)},adjustSelect:function(t){var e=this;Object(a["O"])({musicGroupId:this.musicGroupId,subId:t.id,userId:this.changeStudent.userId}).then((function(t){var r=t.data;200==r.code?(e.$toast("修改成功"),e.adjustStatus=!1,e.getOrderStudentList()):e.$toast(r.msg)}))},getOrderList:function(){var t=this;Object(a["B"])({musicGroupId:this.musicGroupId,rows:9999,subjectId:this.voicyPart?this.voicyPart:"",paymentStatus:2,page:1}).then((function(e){var r=e.data;t.amountCount=0,200==r.code&&(t.dataList=r.data.rows,r.data.rows.forEach((function(e){t.amountCount+=e.paymentAmount})))}))},getOrderStudentList:function(){var t=this;Object(a["B"])({musicGroupId:this.musicGroupId,rows:9999,subjectId:this.voicyPart?this.voicyPart:"",page:1}).then((function(e){var r=e.data;200==r.code&&(t.studentList=r.data.rows)}))},onChange:function(){this.getOrderList(this.voicyPart),this.getOrderStudentList(this.voicyPart)}}},i=o,s=(r("f417"),r("2877")),c=Object(s["a"])(i,n,u,!1,null,"3b4524f4",null);e["default"]=c.exports},"9afb":function(t,e,r){"use strict";r.d(e,"z",(function(){return i})),r.d(e,"F",(function(){return s})),r.d(e,"A",(function(){return c})),r.d(e,"M",(function(){return p})),r.d(e,"k",(function(){return d})),r.d(e,"R",(function(){return f})),r.d(e,"i",(function(){return h})),r.d(e,"m",(function(){return l})),r.d(e,"G",(function(){return v})),r.d(e,"H",(function(){return g})),r.d(e,"I",(function(){return y})),r.d(e,"h",(function(){return S})),r.d(e,"P",(function(){return _})),r.d(e,"Q",(function(){return b})),r.d(e,"E",(function(){return C})),r.d(e,"x",(function(){return w})),r.d(e,"c",(function(){return L})),r.d(e,"q",(function(){return G})),r.d(e,"p",(function(){return I})),r.d(e,"e",(function(){return j})),r.d(e,"g",(function(){return k})),r.d(e,"J",(function(){return P})),r.d(e,"K",(function(){return R})),r.d(e,"B",(function(){return O})),r.d(e,"D",(function(){return q})),r.d(e,"O",(function(){return A})),r.d(e,"n",(function(){return m})),r.d(e,"r",(function(){return x})),r.d(e,"v",(function(){return B})),r.d(e,"a",(function(){return N})),r.d(e,"L",(function(){return D})),r.d(e,"l",(function(){return E})),r.d(e,"u",(function(){return T})),r.d(e,"s",(function(){return $})),r.d(e,"b",(function(){return V})),r.d(e,"o",(function(){return H})),r.d(e,"f",(function(){return M})),r.d(e,"N",(function(){return z})),r.d(e,"t",(function(){return F})),r.d(e,"d",(function(){return J})),r.d(e,"C",(function(){return W})),r.d(e,"w",(function(){return Q})),r.d(e,"S",(function(){return U})),r.d(e,"T",(function(){return X})),r.d(e,"j",(function(){return Y})),r.d(e,"y",(function(){return K}));var n=r("4328"),u=r.n(n),a=r("981f").default,o="/api-teacher",i=function(t){return a({url:o+"/snaker/task/queryMyCreatedList",method:"get",params:t})},s=function(t){return a({url:o+"/snaker/task/queryWaitList",method:"get",params:t})},c=function(t){return a({url:o+"/snaker/task/queryProcessedList",method:"get",params:t})},d=function(t){return a({url:o+"/subject/findTeacherSubjets",method:"get",params:t})},p=function(t){return a({url:o+"/subject/findSubSubjects",method:"get",params:t})},f=function(t){return a({url:o+"/vipGroupCategory/queryAll",method:"get",params:t})},h=function(t){return a({url:o+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})},l=function(t){return a({url:o+"/school/findVipSchoolByTeacher",method:"get",params:t})},m=function(t){return a({url:o+"/school/findVipSchoolByTeacher2",method:"get",params:t})},v=function(t){return a({url:o+"/school/add",method:"post",data:u.a.stringify(t)})},g=function(t){return a({url:o+"/school/del",method:"post",data:u.a.stringify(t)})},y=function(t){return a({url:o+"/school/update",method:"post",data:u.a.stringify(t)})},S=function(t){return a({url:o+"/teacherDefaultVipGroupSalary/findByTeacherAndCategory",method:"get",params:t})},_=function(t){return a({url:o+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},b=function(t){return a({url:o+"/teacherVipGroup/vipGroupApplyForDouble11",method:"post",data:t})},C=function(t){return a({url:o+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},w=function(t){return a({url:o+"/leaveCategory/queryPage",method:"post",data:t})},L=function(t){return a({url:o+"/teacherLeaveRecord/askForLeave",method:"post",data:u.a.stringify(t)})},G=function(t){return a({url:o+"/teacherCourseSchedule/getCourseSchedulesWithDate",method:"get",params:t})},I=function(t){return a({url:o+"/teacherCourseSchedule/getCourseScheduleDateByMonth",method:"get",params:t})},j=function(t){return a({url:o+"/teacherCourseSchedule/classStartDateAdjust",method:"post",data:u.a.stringify(t)})},k=function(t){return a({url:o+"/teacherCourseSchedule/courseSwap",method:"post",data:u.a.stringify(t)})},P=function(t){return a({url:o+"/teacherCourseSchedule/statisticsInfo",method:"get",params:t})},R=function(t){return a({url:o+"/teacherCourseSchedule/statisticsList",method:"get",params:t})},O=function(t){return a({url:o+"/teacher/queryStudentApply",method:"get",params:t})},q=function(t){return a({url:o+"/teacher/querySubByMusicGroupId",method:"get",params:t})},A=function(t){return a({url:o+"/studentRegistration/updateSubject",method:"post",data:u.a.stringify(t)})},x=function(){return a({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},B=function(){return a({url:"/api-web/api/practiceSum",method:"get"})},N=function(t){return a({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},V=function(t){return a({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},D=function(t){return a({url:"/api-teacher/studyReport/info",method:"get",params:t})},T=function(t){return a({url:"/api-teacher/studyReport/getReviewsInfo",method:"get",params:t})},E=function(t){return a({url:"/api-teacher/classGroup/findTeacherClassGroupInfo",method:"get",params:t})},$=function(t){return a({url:"/api-teacher/studyReport/getNeedPost",method:"get",params:t})},H=function(t){return a({url:"/api-teacher/courseReview/getCourseInfoHead",method:"get",params:t})},M=function(t){return a({url:"/api-teacher/courseReview/add",method:"post",data:u.a.stringify(t)})},z=function(t){return a({url:"/api-teacher/courseReview/updateReviewInfo",method:"post",data:u.a.stringify(t)})},F=function(t){return a({url:"/api-teacher/courseReview/getReviewInfo",method:"get",params:t})},J=function(t){return a({url:"/api-teacher/teacherCourseHomeworkReply/checkeIsAssignHomework",method:"get",params:t})},W=function(t){return a({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacher",method:"get",params:t})},K=function(t){return a({url:"/api-teacher/teacherVipGroup/queryDouble11Students",method:"get",params:t})},Q=function(t){return a({url:"/api-teacher/visit/queryPage",method:"get",params:t})},U=function(t){return a({url:"/api-teacher/visit/add",method:"post",data:u.a.stringify(t)})},X=function(t){return a({url:"/api-teacher/visit/getInfo",method:"get",params:t})},Y=function(t){return a({url:"/api-teacher/teacher/findEducationUsers",method:"get",params:t})}},f417:function(t,e,r){"use strict";var n=r("f825"),u=r.n(n);u.a},f825:function(t,e,r){}}]);
|