chunk-6082be37.0562348a.js 8.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6082be37"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),Math.easeInOutQuad=function(e,t,a,r){return e/=r/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function l(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(e,t,a){var s=n(),i=e-s,o=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=o;var n=Math.easeInOutQuad(c,s,i,t);l(n),c<t?r(e):a&&"function"===typeof a&&a()};u()}},"92f6":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("save-form",{ref:"searchForm",attrs:{inline:!0,saveKey:"courseCreditials",model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"search"}},[a("el-input",{attrs:{placeholder:"学生编号/姓名",clearable:"",type:"text"},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"organId"}},[a("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"学员信息",width:"120px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.username)),a("br"),e._v(" "),a("copy-text",[e._v(e._s(t.row.userId))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号",width:"120px"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"one",label:"1v1"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"two",label:"1v2"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"three",label:"1v3"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"four",label:"1v4"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"five",label:"1v5"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"six",label:"1v6"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"seven",label:"1v7"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"theory",label:"乐理课"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"practice",label:"网管课"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.gotoDetail(t.row)}}},[e._v("详情")])],1)]}}])})],1),e._v(" "),a("pagination",{attrs:{sync:"",saveKey:"courseCreditials",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),e._v(" "),a("el-dialog",{attrs:{visible:e.detailVisible,title:"查看详情",width:"900px"},on:{"update:visible":function(t){e.detailVisible=t}}},[e.detailVisible?a("detail",{attrs:{userId:e.selectUserId}}):e._e()],1)],1)},l=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 排课资格列表\n ")])}],n=(a("386d"),a("5530")),s=(a("96cf"),a("1da1")),i=a("333d"),o=a("829b"),c=function(e){return Object(o["a"])({url:"/api-web/activityUserMapper/queryDetailPage",data:e,method:"post"})},u=function(e){return Object(o["a"])({url:"/api-web/activityUserMapper/querySumPage",data:e,method:"post"})},p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"detail"},[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm,saveKey:"courseCreditialsDialog"},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"search"}},[a("el-input",{attrs:{placeholder:"活动编号/活动名称",clearable:"",type:"text"},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"activityId",label:"活动编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"addMemo",label:"活动名称"}}),e._v(" "),a("el-table-column",{attrs:{width:"160px",align:"center",prop:"createTime",label:"时间"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"freeFlag",label:"付费方式"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.freeFlag?"赠送":"付费")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"排课资格"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(Math.abs(t.row.totalCourseNum-t.row.subCourseNum))+"/"+e._s(t.row.totalCourseNum)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subCoursePrice",label:"剩余金额"}})],1),e._v(" "),a("pagination",{attrs:{sync:"",saveKey:"courseCreditialsDialog",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)},m=[],d={name:"detail",props:["userId"],components:{pagination:i["a"]},data:function(){return{tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},searchForm:{search:null,hasSubCourse:null}}},mounted:function(){this.getList()},methods:{getList:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c(Object(n["a"])({page:this.rules.page,rows:this.rules.limit,userId:this.userId},this.searchForm));case 3:t=e.sent,this.tableList=t.data.rows,this.rules.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.rules=Object(n["a"])(Object(n["a"])({},this.rules),{},{page:1}),this.$refs.searchForm.resetFields(),this.search()}}},b=d,h=a("2877"),v=Object(h["a"])(b,p,m,!1,null,"4b008238",null),f=v.exports,g={name:"credentials",components:{pagination:i["a"],detail:f},data:function(){return{searchForm:{search:null,organId:null,hasSubCourse:null,returnFee:null},tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},detailVisible:!1,selectUserId:null}},mounted:function(){this.$store.dispatch("setBranchs"),this.getList()},methods:{getList:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u(Object(n["a"])({page:this.rules.page,rows:this.rules.limit},this.searchForm));case 3:t=e.sent,this.tableList=t.data.rows,this.rules.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.rules=Object(n["a"])(Object(n["a"])({},this.rules),{},{page:1}),this.$refs.searchForm.resetFields(),this.search()},gotoDetail:function(e){this.selectUserId=e.userId,this.detailVisible=!0}}},_=g,y=Object(h["a"])(_,r,l,!1,null,null,null);t["default"]=y.exports}}]);