| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7fc9b5a3"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var s=l(),o=t-s,i=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=i;var l=Math.easeInOutQuad(u,s,o,e);r(l),u<e?n(t):a&&"function"===typeof a&&a()};c()}},7356:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"m-container"},[t._m(0),t._v(" "),a("div",{staticClass:"m-core"},[a("save-form",{ref:"saveForm",attrs:{inline:!0,model:t.searchForm},on:{submit:t.search,reset:t.onReSet}},[a("el-form-item",{attrs:{prop:"organId"}},[a("el-select",{staticClass:"multiple",attrs:{filterable:"",placeholder:"请选择分部"},on:{change:t.search},model:{value:t.searchForm.organId,callback:function(e){t.$set(t.searchForm,"organId","string"===typeof e?e.trim():e)},expression:"searchForm.organId"}},t._l(t.selects.branchs,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],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:"studentId",label:"老师姓名",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学员总数",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"付费会员数",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"试用会员",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"会员占比",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"操作"}},[[a("div",[a("el-button",{attrs:{type:"text"},on:{click:t.gotoDetail}},[t._v("详情")])],1)]],2)],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),t._v(" "),t.studentVisible?a("el-dialog",{attrs:{title:"分部数据",visible:t.studentVisible,width:"1100px"},on:{"update:visible":function(e){t.studentVisible=e}}},[a("organStudentDetail")],1):t._e()],1)])},r=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h2",[a("div",{staticClass:"squrt"}),t._v("\n 分部云教练数据详情\n ")])}],l=(a("96cf"),a("1da1")),s=(a("bc3a"),a("5f87"),a("333d")),o=(a("3908"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"m-core"},[a("el-form",{attrs:{inline:!0,model:t.searchForm},on:{submit:t.search,reset:t.onReSet}},[a("el-form-item",[a("el-input",{attrs:{clearable:"",placeholder:"学员姓名、编号、手机号"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.search(e)}},model:{value:t.searchForm.search,callback:function(e){t.$set(t.searchForm,"search","string"===typeof e?e.trim():e)},expression:"searchForm.search"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"organId"}},[a("el-select",{staticClass:"multiple",attrs:{filterable:"",placeholder:"付费会员"},on:{change:t.search},model:{value:t.searchForm.organId,callback:function(e){t.$set(t.searchForm,"organId","string"===typeof e?e.trim():e)},expression:"searchForm.organId"}},[a("el-option",{attrs:{label:"非会员",value:"item.id"}}),t._v(" "),a("el-option",{attrs:{label:"付费会员",value:"item.id"}}),t._v(" "),a("el-option",{attrs:{label:"试用会员",value:"item.id"}})],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:"studentId",label:"学员姓名(编号)"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"手机号"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"声部"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"会员类型"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"付费会员结束时间(剩余天数)"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"试用会员结束时间(剩余天数)"}})],1),t._v(" "),a("pagination",{attrs:{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)}),i=[],u={components:{pagination:s["a"]},props:["teacherId"],data:function(){return{searchForm:{search:""},tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){},methods:{getList:function(){},search:function(){},onReSet:function(){}}},c=u,d=a("2877"),p=Object(d["a"])(c,o,i,!1,null,"7701da3a",null),m=p.exports,b={name:"organDateDetail",components:{pagination:s["a"],organStudentDetail:m},data:function(){return{searchForm:{organId:null},tableList:[{}],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},studentVisible:!1}},created:function(){},mounted:function(){var t=Object(l["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("setBranchs");case 2:null!==(e=this.$route.params)&&void 0!==e&&e.organId&&(this.searchForm.organId=this.$route.query.params.organId),this.init();case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{init:function(){},getList:function(){},search:function(){this.rules.page=1,this.getList(),console.log(this.$refs.saveForm),this.$refs.saveForm.save()},onReSet:function(){},gotoDetail:function(){this.studentVisible=!0}}},g=b,f=Object(d["a"])(g,n,r,!1,null,"42469ad3",null);e["default"]=f.exports}}]);
|