chunk-2448ffe6.3980ef3c.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2448ffe6"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,a,r){return t/=r/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function n(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,a){var o=i(),s=t-o,l=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=l;var i=Math.easeInOutQuad(u,o,s,e);n(i),u<e?r(t):a&&"function"===typeof a&&a()};c()}},"215a":function(t,e,a){"use strict";a("2d1e0")},"2d1e0":function(t,e,a){},"98b7f":function(t,e,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"b",(function(){return o})),a.d(e,"e",(function(){return s})),a.d(e,"a",(function(){return l})),a.d(e,"d",(function(){return u}));a("b775");var r=a("829b"),n=(a("4328"),"/api-web");function i(t){return Object(r["a"])({url:n+"/childrenReserve/queryStatisticsPage",method:"get",params:t})}function o(t){return Object(r["a"])({url:n+"/childrenReserve/queryStatisticsDetailPage",method:"get",params:t})}function s(t){return Object(r["a"])({url:n+"/childrenReserve/sendMsg",method:"post",data:t})}function l(t){return Object(r["a"])({url:n+"/studentManage/queryChildrenDayStudentList",method:"get",params:t})}function u(t){return Object(r["a"])({url:n+"/studentManage/updateChildrenDayStudent",method:"post",data:t,requestType:"form"})}},cf97:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"m-container"},[a("h2",[a("el-page-header",{attrs:{content:t.musicGroupName},on:{back:t.onCancel}})],1),t._v(" "),a("div",{staticClass:"m-core"},[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:t.searchForm},on:{submit:t.search,reset:t.onReSet}},[a("el-form-item",{attrs:{prop:"search"}},[a("el-input",{attrs:{placeholder:"学员姓名/编号/手机号"},model:{value:t.searchForm.search,callback:function(e){t.$set(t.searchForm,"search",e)},expression:"searchForm.search"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"isReserve"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"是否预约"},model:{value:t.searchForm.isReserve,callback:function(e){t.$set(t.searchForm,"isReserve","string"===typeof e?e.trim():e)},expression:"searchForm.isReserve"}},[a("el-option",{attrs:{value:"1",label:"是"}}),t._v(" "),a("el-option",{attrs:{value:"0",label:"否"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{prop:"subjectId"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"声部"},model:{value:t.searchForm.subjectId,callback:function(e){t.$set(t.searchForm,"subjectId","string"===typeof e?e.trim():e)},expression:"searchForm.subjectId"}},t._l(t.soundList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{prop:"gradeFlag"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"是否参加器乐考级"},model:{value:t.searchForm.gradeFlag,callback:function(e){t.$set(t.searchForm,"gradeFlag","string"===typeof e?e.trim():e)},expression:"searchForm.gradeFlag"}},[a("el-option",{attrs:{value:"1",label:"是"}}),t._v(" "),a("el-option",{attrs:{value:"0",label:"否"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{prop:"theoryFlag"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"是否参加乐理考级"},model:{value:t.searchForm.theoryFlag,callback:function(e){t.$set(t.searchForm,"theoryFlag","string"===typeof e?e.trim():e)},expression:"searchForm.theoryFlag"}},[a("el-option",{attrs:{value:"1",label:"是"}}),t._v(" "),a("el-option",{attrs:{value:"0",label:"否"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{prop:"vipFlag"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"是否购买VIP"},model:{value:t.searchForm.vipFlag,callback:function(e){t.$set(t.searchForm,"vipFlag","string"===typeof e?e.trim():e)},expression:"searchForm.vipFlag"}},[a("el-option",{attrs:{value:"1",label:"是"}}),t._v(" "),a("el-option",{attrs:{value:"0",label:"否"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{prop:"theoryPriceFlag"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"是否购买乐理课"},model:{value:t.searchForm.theoryPriceFlag,callback:function(e){t.$set(t.searchForm,"theoryPriceFlag","string"===typeof e?e.trim():e)},expression:"searchForm.theoryPriceFlag"}},[a("el-option",{attrs:{value:"1",label:"是"}}),t._v(" "),a("el-option",{attrs:{value:"0",label:"否"}})],1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[t._v("重置")])],1)],1),t._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"username",label:"学员姓名"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"userId",label:"学员编号"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"报考声部"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isReserve",label:"是否预约"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("\n "+t._s(e.row.isReserve?"是":"否")+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"器乐报考等级"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("\n "+t._s(e.row.gradeLeave?e.row.gradeLeave+"级":"-")+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"乐理报考等级"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("\n "+t._s(e.row.theoryLevel?e.row.theoryLevel+"级":"-")+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"是否购买VIP"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("\n "+t._s(e.row.buyVipFlag?"是":"否")+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"是否购买乐理课"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("\n "+t._s(e.row.buyTheoryCourseFlag?"是":"否")+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"支付金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("\n "+t._s(t._f("moneyFormat")(e.row.totalAmount))+"\n ")])]}}])})],1),t._v(" "),a("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.getList}})],1)],1)])},n=[],i=(a("386d"),a("5530")),o=(a("96cf"),a("1da1")),s=(a("bc3a"),a("5f87"),a("333d")),l=(a("3908"),a("98b7f")),u=a("1cc7"),c=a("ec1b"),d=a.n(c),p={components:{pagination:s["a"],"count-to":d.a},data:function(){return{searchForm:{search:null,isReserve:null,subjectId:null,gradeFlag:null,vipFlag:null,theoryPriceFlag:null,theoryFlag:null},tableList:[{}],soundList:[],cooperationList:[],musicList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},musicGroupName:""}},created:function(){},mounted:function(){this.$store.dispatch("setBranchs"),this.init()},methods:{init:function(){var t=this;this.musicGroupName=this.$route.query.musicGroupName||"对外分部",Object(u["Kb"])({}).then((function(e){200==e.code&&(t.soundList=e.data)})),this.getList()},getList:function(){var t=Object(o["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(l["b"])(Object(i["a"])(Object(i["a"])({page:this.rules.page,rows:this.rules.limit},this.searchForm),{},{musicGroupId:this.$route.query.musicGroupId,cooperationId:this.$route.query.cooperationOrganId||null,organId:this.$route.query.organId||null}));case 3:e=t.sent,this.tableList=e.data.rows,this.rules.total=e.data.total,t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),console.log(t.t0);case 11:case"end":return t.stop()}}),t,this,[[0,8]])})));function e(){return t.apply(this,arguments)}return e}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.rules=Object(i["a"])(Object(i["a"])({},this.rules),{},{page:1}),this.$refs.searchForm.resetFields(),this.search()},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/childrensDay"})}}},m=p,h=(a("215a"),a("2877")),f=Object(h["a"])(m,r,n,!1,null,"51f2c316",null);e["default"]=f.exports},ec1b:function(t,e,a){!function(e,a){t.exports=a()}(0,(function(){return function(t){function e(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var a={};return e.m=t,e.c=a,e.i=function(t){return t},e.d=function(t,a,r){e.o(t,a)||Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=2)}([function(t,e,a){var r=a(4)(a(1),a(5),null,null);t.exports=r.exports},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(3);e.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,a,r){return a*(1-Math.pow(2,-10*t/r))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,r.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,r.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,r.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,r.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=(0,r.requestAnimationFrame)(this.count):this.$emit("callback")},isNumber:function(t){return!isNaN(parseFloat(t))},formatNumber:function(t){t=t.toFixed(this.decimals),t+="";var e=t.split("."),a=e[0],r=e.length>1?this.decimal+e[1]:"",n=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;n.test(a);)a=a.replace(n,"$1"+this.separator+"$2");return this.prefix+a+r+this.suffix}},destroyed:function(){(0,r.cancelAnimationFrame)(this.rAF)}}},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(0),n=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=n.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",n.default)},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=0,n="webkit moz ms o".split(" "),i=void 0,o=void 0;if("undefined"==typeof window)e.requestAnimationFrame=i=function(){},e.cancelAnimationFrame=o=function(){};else{e.requestAnimationFrame=i=window.requestAnimationFrame,e.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,l=0;l<n.length&&(!i||!o);l++)s=n[l],e.requestAnimationFrame=i=i||window[s+"RequestAnimationFrame"],e.cancelAnimationFrame=o=o||window[s+"CancelAnimationFrame"]||window[s+"CancelRequestAnimationFrame"];i&&o||(e.requestAnimationFrame=i=function(t){var e=(new Date).getTime(),a=Math.max(0,16-(e-r)),n=window.setTimeout((function(){t(e+a)}),a);return r=e+a,n},e.cancelAnimationFrame=o=function(t){window.clearTimeout(t)})}e.requestAnimationFrame=i,e.cancelAnimationFrame=o},function(t,e){t.exports=function(t,e,a,r){var n,i=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(n=t,i=t.default);var s="function"==typeof i?i.options:i;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),a&&(s._scopeId=a),r){var l=Object.create(s.computed||null);Object.keys(r).forEach((function(t){var e=r[t];l[t]=function(){return e}})),s.computed=l}return{esModule:n,exports:i,options:s}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",[t._v("\n "+t._s(t.displayValue)+"\n")])},staticRenderFns:[]}}])}))}}]);