chunk-d26cf0da.61b4bc22.js 5.9 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d26cf0da"],{"09f4":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,r,n){return e/=n/2,e<1?r/2*e*e+t:(e--,-r/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,r){var o=s(),u=e-o,l=20,c=0;t="undefined"===typeof t?500:t;var i=function e(){c+=l;var s=Math.easeInOutQuad(c,o,u,t);a(s),c<t?n(e):r&&"function"===typeof r&&r()};i()}},"7d66":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[e._m(0),e._v(" "),r("div",{staticClass:"m-core"},[r("save-form",{ref:"searchFrom",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[r("el-form-item",{attrs:{prop:"musicGroupSearch"}},[r("el-input",{attrs:{clearable:"",placeholder:"乐团名称/编号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){t.target.blur(),e.$refs.searchForm.save(),e.search()}(t)}},model:{value:e.searchForm.musicGroupSearch,callback:function(t){e.$set(e.searchForm,"musicGroupSearch","string"===typeof t?t.trim():t)},expression:"searchForm.musicGroupSearch"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"studentSearch"}},[r("el-input",{attrs:{clearable:"",placeholder:"学员姓名/编号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){t.target.blur(),e.$refs.searchForm.save(),e.search()}(t)}},model:{value:e.searchForm.studentSearch,callback:function(t){e.$set(e.searchForm,"studentSearch","string"===typeof t?t.trim():t)},expression:"searchForm.studentSearch"}})],1),e._v(" "),r("el-form-item",{attrs:{prop:"organIds"}},[r("el-select",{attrs:{placeholder:"请选择分部",clearable:""},model:{value:e.searchForm.organIds,callback:function(t){e.$set(e.searchForm,"organIds",t)},expression:"searchForm.organIds"}},e._l(e.selects.branchs,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"danger","native-type":"submit"}},[e._v("搜索")]),e._v(" "),r("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),r("div",{staticClass:"tableWrap"},[r("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[r("el-table-column",{attrs:{align:"center",label:"分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.organName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.groupId))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"乐团名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.groupName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"学员编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.studentId))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.studentName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"学员声部",prop:"subjectName"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("auth",{attrs:{auths:["notClassStudent/nowLook","/resetTeaming"],mulit:""}},[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.showDetail(t.row)}}},[e._v("立即处理")])],1)]}}])})],1),e._v(" "),r("pagination",{attrs:{sync:"",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)],1)])},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("h2",[r("div",{staticClass:"squrt"}),e._v("\n 未在班级学员\n ")])}],s=r("5530"),o=(r("96cf"),r("1da1")),u=(r("c5f6"),r("333d")),l=r("8179"),c={components:{pagination:u["a"]},data:function(){return{searchForm:{musicGroupSearch:null,studentSearch:null,organIds:null},rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},tableList:[]}},mounted:function(){var e=this.$route.query;e.organId&&(this.searchForm.organIds=Number(e.organId)),this.$store.dispatch("setBranchs"),this.getList()},methods:{search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.$refs["searchFrom"].resetFields(),this.getList()},getList:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=Object.assign({},this.searchForm),r=Object(s["a"])(Object(s["a"])({},t),{},{page:this.rules.page,rows:this.rules.limit}),e.next=5,Object(l["t"])(r);case 5:n=e.sent,this.tableList=n.data.rows,this.rules.total=n.data.total,e.next=12;break;case 10:e.prev=10,e.t0=e["catch"](0);case 12:case"end":return e.stop()}}),e,this,[[0,10]])})));function t(){return e.apply(this,arguments)}return t}(),showDetail:function(e){this.$router.push({path:"/business/resetTeaming",query:{type:"resetTeam",status:"PROGRESS",team_status:"PROGRESS",id:e.groupId,name:e.groupName,organId:e.organId,tabrouter:5}})}}},i=c,d=r("2877"),m=Object(d["a"])(i,n,a,!1,null,"37d68e30",null);t["default"]=m.exports}}]);