1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["order"],{8635:function(t,a,s){},"9af4":function(t,a,s){"use strict";s.r(a);var n=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"order"},[s("header",[t._v("支付列表\n "),s("van-dropdown-menu",[s("van-dropdown-item",{attrs:{options:t.voicyPartList},on:{change:t.onChange},model:{value:t.voicyPart,callback:function(a){t.voicyPart=a},expression:"voicyPart"}})],1)],1),s("h2",[t._v(t._s(t.musicGroupName))]),s("van-tabs",[s("van-tab",{attrs:{title:"缴费信息"}},[s("div",{staticClass:"table"},[s("div",{staticClass:"title"},[s("span"),s("span",[t._v("姓名")]),s("span",[t._v("声部")]),s("span",[t._v("支付金额")]),s("span",[t._v("到账时间")])]),s("div",{staticClass:"content"},[t._l(t.dataList,function(a,n){return s("div",{key:a.id},[s("span",[t._v(" "+t._s(++n)+" ")]),s("span",[t._v(" "+t._s(a.userName)+" ")]),s("span",[t._v(" "+t._s(a.subjectName)+" ")]),s("span",[t._v(" "+t._s(a.paymentAmount)+" ")]),s("span",[t._v(" "+t._s(a.payTime)+" ")])])}),s("p",{staticStyle:{padding:"8px 0 0 8px"}},[t._v("缴费总额:"+t._s(t.amountCount)+"元")])],2)])]),s("van-tab",{attrs:{title:"报名信息"}},[s("div",{staticClass:"table"},[s("div",{staticClass:"title"},[s("span"),s("span",[t._v("姓名")]),s("span",[t._v("班级")]),s("span",[t._v("声部")]),s("span",[t._v("备注")])]),s("div",{staticClass:"content"},t._l(t.studentList,function(a,n){return s("div",{key:a.id},[s("span",[t._v(" "+t._s(++n)+" ")]),s("span",[t._v(" "+t._s(a.userName)+" ")]),s("span",[t._v(" "+t._s(a.currentClass)+" ")]),s("span",[t._v(" "+t._s(a.subjectName)+" ")]),s("span",[t._v(" "+t._s(a.remark)+" ")])])}),0)])])],1)],1)},e=[],i=(s("7f7f"),s("ac6a"),s("9afb")),o={name:"order",data:function(){return{musicGroupId:this.$route.query.musicGroupId,musicGroupName:this.$route.query.musicGroupName,dataList:{},amountCount:0,studentList:{},voicyPart:0,voicyPartList:[{text:"全部声部",value:0}],adjustStatus:!1,changeStudent:null}},mounted:function(){var t=this;window.localStorage.removeItem("userInfo"),window.localStorage.removeItem("Authorization"),Object(i["n"])({musicGroupId:this.musicGroupId}).then(function(a){var s=a.data;200==s.code&&s.data.forEach(function(a){t.voicyPartList.push({text:a.name,value:a.id})})}),this.getOrderList(),this.getOrderStudentList()},methods:{getOrderList:function(){var t=this;Object(i["m"])({musicGroupId:this.musicGroupId,rows:9999,subjectId:this.voicyPart?this.voicyPart:"",paymentStatus:2,page:1}).then(function(a){var s=a.data;t.amountCount=0,200==s.code&&(t.dataList=s.data.rows,s.data.rows.forEach(function(a){t.amountCount+=a.paymentAmount}))})},getOrderStudentList:function(){var t=this;Object(i["m"])({musicGroupId:this.musicGroupId,rows:9999,subjectId:this.voicyPart?this.voicyPart:"",page:1}).then(function(a){var s=a.data;200==s.code&&(t.studentList=s.data.rows)})},onChange:function(){this.getOrderList(this.voicyPart),this.getOrderStudentList(this.voicyPart)}}},r=o,u=(s("d2a3"),s("2877")),c=Object(u["a"])(r,n,e,!1,null,"3671b914",null);a["default"]=c.exports},d2a3:function(t,a,s){"use strict";var n=s("8635"),e=s.n(n);e.a}}]);
|