1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b1e176fc"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=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 u(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(t,e,n){var i=u(),s=t-i,o=20,c=0;e="undefined"===typeof e?500:e;var l=function t(){c+=o;var u=Math.easeInOutQuad(c,i,s,e);r(u),c<e?a(t):n&&"function"===typeof n&&n()};l()}},"333d":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[n("el-pagination",t._b({attrs:{"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},r=[],u=(n("c5f6"),n("09f4")),i={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total,sizes,prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(u["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(u["a"])(0,800)}}},s=i,o=(n("c0b9"),n("2877")),c=Object(o["a"])(s,a,r,!1,null,"31cb099a",null);e["a"]=c.exports},"3f76":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-container"},[n("h2",[n("el-page-header",{attrs:{content:"学生点名总览"},on:{back:t.onCancel}})],1),t._v(" "),n("div",{staticClass:"m-core"},[n("el-form",{attrs:{inline:!0,model:t.searchForm}},[n("el-form-item",{attrs:{label:"开课时间"}},[n("el-date-picker",{attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss",format:"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.searchForm.times,callback:function(e){t.$set(t.searchForm,"times",e)},expression:"searchForm.times"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"课程名称"}},[n("el-input",{model:{value:t.searchForm.courseName,callback:function(e){t.$set(t.searchForm,"courseName",e)},expression:"searchForm.courseName"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"学生名字"}},[n("el-input",{model:{value:t.searchForm.studentName,callback:function(e){t.$set(t.searchForm,"studentName",e)},expression:"searchForm.studentName"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"签到"}},[n("el-select",{model:{value:t.searchForm.sign,callback:function(e){t.$set(t.searchForm,"sign",e)},expression:"searchForm.sign"}},[n("el-option",{attrs:{label:"正常",value:"NORMAL"}}),t._v(" "),n("el-option",{attrs:{label:"旷课",value:"TRUANT"}}),t._v(" "),n("el-option",{attrs:{label:"请假",value:"LEAVE"}})],1)],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"danger"},on:{click:t.search}},[t._v("搜索")])],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.reset}},[t._v("重置")])],1)],1),t._v(" "),n("div",{staticClass:"tableList"},[n("el-table",{attrs:{data:t.tableList}},[n("el-table-column",{attrs:{align:"center",prop:"signTime",label:"时间"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"courseScheduleName",label:"课程名称"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"name",label:"学生名称"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",prop:"signStatus",label:"签到"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v("\n "+t._s(t._f("studentSign")(e.row.signStatus))+"\n ")])]}}])})],1),t._v(" "),n("pagination",{attrs:{total:t.rules.total,page:t.rules.page,limit:t.rules.limit,"page-sizes":t.rules.page_size},on:{"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)])},r=[],u=(n("7f7f"),n("333d")),i=n("5137"),s={name:"studentSignin",components:{pagination:u["a"]},data:function(){return{tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},searchForm:{times:[],courseName:"",studentName:"",sign:""},teamid:""}},created:function(){this.teamid=this.$route.query.id},mounted:function(){this.getList()},methods:{search:function(){this.rules.page=1,this.getList()},reset:function(){this.searchForm={times:[],courseName:"",studentName:"",sign:""},this.rules.page=1,this.getList()},onCancel:function(){var t=this.$route.query;this.$router.push({path:"/business/teamDetails",query:{id:t.id,status:t.status,name:t.name,checkIndex:"3"}})},getList:function(){var t=this;this.searchForm.times||(this.searchForm.times=[]);var e=this.searchForm.times[0]||null,n=this.searchForm.times[1]||null,a=this.searchForm.courseName||null,r=this.searchForm.studentName||null,u=this.searchForm.sign||null;console.log(u);var s=this.teamid;Object(i["m"])({musicGroupId:s,page:this.rules.page,rows:this.rules.limit,startTime:e,endTime:n,courseScheduleName:a,userName:r,signStatus:u}).then((function(e){200==e.code&&(t.tableList=e.data.rows,t.rules.total=e.data.total)}))}}},o=s,c=(n("5cad"),n("2877")),l=Object(c["a"])(o,a,r,!1,null,null,null);e["default"]=l.exports},5137:function(t,e,n){"use strict";n.d(e,"o",(function(){return s})),n.d(e,"g",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"f",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"h",(function(){return m})),n.d(e,"c",(function(){return p})),n.d(e,"u",(function(){return f})),n.d(e,"p",(function(){return g})),n.d(e,"t",(function(){return h})),n.d(e,"n",(function(){return b})),n.d(e,"s",(function(){return y})),n.d(e,"k",(function(){return v})),n.d(e,"m",(function(){return S})),n.d(e,"a",(function(){return O})),n.d(e,"i",(function(){return j})),n.d(e,"b",(function(){return F})),n.d(e,"r",(function(){return _})),n.d(e,"j",(function(){return M})),n.d(e,"v",(function(){return N})),n.d(e,"l",(function(){return w})),n.d(e,"q",(function(){return z})),n.d(e,"w",(function(){return C}));var a=n("b775"),r=n("4328"),u=n.n(r),i="/api-web";function s(t){return Object(a["a"])({url:i+"/studentManage/queryStudentList",method:"get",params:t})}function o(t){return Object(a["a"])({url:i+"/studentManage/findStudentVipGroupClass",method:"get",params:t})}function c(t){return Object(a["a"])({url:i+"/studentManage/findStudentBaseInfo",method:"get",params:t})}function l(t){return Object(a["a"])({url:i+"/studentManage/findStudentMusicGroups",method:"get",params:t})}function d(t){return Object(a["a"])({url:i+"/studentManage/findStudentCourses",method:"get",params:t})}function m(t){return Object(a["a"])({url:i+"/studentManage/findStudentVipGroups",method:"get",params:t})}function p(t){return Object(a["a"])({url:i+"/studentManage/findStudentAttendances",method:"get",params:t})}function f(t){return Object(a["a"])({url:i+"/studentWithdraw/queryPage",method:"get",params:t})}function g(t){return Object(a["a"])({url:i+"/studentManage/queryStudentPayment",method:"get",params:t})}function h(t){return Object(a["a"])({url:i+"/order/queryPage",method:"get",params:t})}function b(t){return Object(a["a"])({url:i+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:t})}function y(t){return Object(a["a"])({url:i+"/studentRegistration/batchUpdateSubject",method:"post",data:u.a.stringify(t)})}function v(t){return Object(a["a"])({url:i+"/studentRegistration/queryFeeDetail",method:"get",params:t})}function S(t){return Object(a["a"])({url:i+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:t})}function O(t){return Object(a["a"])({url:i+"/studentRegistration/insertStudent",method:"POST",data:t})}function j(t){return Object(a["a"])({url:i+"/classGroupStudent/findAllStudent",method:"POST",data:u.a.stringify(t)})}function F(t){return Object(a["a"])({url:i+"/classGroupStudent/addStudents",method:"POST",data:u.a.stringify(t)})}function _(t){return Object(a["a"])({url:i+"/classGroupStudent/del",method:"POST",data:u.a.stringify(t)})}function M(t){return Object(a["a"])({url:i+"/studentManage/queryStudentClassGroup",method:"get",params:t})}function N(t){return Object(a["a"])({url:i+"/userCashAccount/updateCourseBalance",method:"post",data:u.a.stringify(t)})}function w(t){return Object(a["a"])({url:i+"/studentManage/queryUserByPhone",method:"get",params:t})}function z(t){return Object(a["a"])({url:i+"/studentManage/register",method:"post",data:u.a.stringify(t)})}function C(t){return Object(a["a"])({url:i+"/studentManage/studentUpdate",method:"post",data:u.a.stringify(t)})}},"5cad":function(t,e,n){"use strict";var a=n("eb09"),r=n.n(a);r.a},c0b9:function(t,e,n){"use strict";var a=n("de4e"),r=n.n(a);r.a},de4e:function(t,e,n){},eb09:function(t,e,n){}}]);
|