chunk-cd6b5856.f387c736.js 9.1 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cd6b5856"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(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 s(t,e,n){var s=u(),i=t-s,o=20,c=0;e="undefined"===typeof e?500:e;var l=function t(){c+=o;var u=Math.easeInOutQuad(c,s,i,e);a(u),c<e?r(t):n&&"function"===typeof n&&n()};l()}},"3f76":function(t,e,n){"use strict";n.r(e);var r=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:"daterange","value-format":"yyyy-MM-dd",format:"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":{firstDayOfWeek:1}},model:{value:t.searchForm.times,callback:function(e){t.$set(t.searchForm,"times","string"===typeof e?e.trim():e)},expression:"searchForm.times"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"班级名称"}},[n("el-select",{attrs:{clearable:""},model:{value:t.searchForm.className,callback:function(e){t.$set(t.searchForm,"className","string"===typeof e?e.trim():e)},expression:"searchForm.className"}},t._l(t.classList,(function(t,e){return n("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],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","string"===typeof e?e.trim():e)},expression:"searchForm.studentName"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"签到"}},[n("el-select",{attrs:{clearable:""},model:{value:t.searchForm.sign,callback:function(e){t.$set(t.searchForm,"sign","string"===typeof e?e.trim():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:"classGroupName",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)])},a=[],u=(n("7f7f"),n("386d"),n("333d")),s=n("5137"),i=n("1cc7"),o={name:"tstudentSignin",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:"",classList:[]}},created:function(){this.init()},activated:function(){this.init()},methods:{init:function(){this.teamid=this.$route.query.id,this.$route.query.search&&(this.Fsearch=this.$route.query.search),this.$route.query.rules&&(this.Frules=this.$route.query.rules)},mounted:function(){var t=this;this.getList(),Object(i["pb"])({musicGroupId:this.teamid}).then((function(e){200==e.code&&(t.classList=e.data)}))},search:function(){this.rules.page=1,this.getList()},reset:function(){this.searchForm={times:[],courseName:"",studentName:"",sign:""},this.rules.page=1,this.getList()},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route);var t=this.$route.query;this.$router.push({path:"/teamLists",query:{id:t.id,status:t.status,name:t.name,checkIndex:"3",rules:this.Frules,search:this.Fsearch}})},getList:function(){var t=this;this.searchForm.times||(this.searchForm.times=[]);var e=this.searchForm.times[0]||null;e&&(e+=" 00:00:00");var n=this.searchForm.times[1]||null;n&&(n+=" 23:59:59");var r=this.searchForm.courseName||null,a=this.searchForm.studentName||null,u=this.searchForm.sign||null,i=this.teamid,o=this.searchForm.className||null;Object(s["l"])({musicGroupId:i,page:this.rules.page,rows:this.rules.limit,startTime:e,endTime:n,courseScheduleName:r,userName:a,signStatus:u,classGroupId:o}).then((function(e){200==e.code&&(t.tableList=e.data.rows,t.rules.total=e.data.total)}))}}},c=o,l=(n("5cad"),n("2877")),d=Object(l["a"])(c,r,a,!1,null,null,null);e["default"]=d.exports},5137:function(t,e,n){"use strict";n.d(e,"o",(function(){return i})),n.d(e,"n",(function(){return o})),n.d(e,"e",(function(){return c})),n.d(e,"d",(function(){return l})),n.d(e,"f",(function(){return d})),n.d(e,"u",(function(){return m})),n.d(e,"p",(function(){return f})),n.d(e,"t",(function(){return h})),n.d(e,"m",(function(){return p})),n.d(e,"s",(function(){return g})),n.d(e,"j",(function(){return b})),n.d(e,"l",(function(){return y})),n.d(e,"a",(function(){return v})),n.d(e,"g",(function(){return O})),n.d(e,"b",(function(){return j})),n.d(e,"r",(function(){return F})),n.d(e,"i",(function(){return S})),n.d(e,"w",(function(){return _})),n.d(e,"v",(function(){return q})),n.d(e,"k",(function(){return w})),n.d(e,"q",(function(){return M})),n.d(e,"x",(function(){return N})),n.d(e,"c",(function(){return k})),n.d(e,"y",(function(){return L})),n.d(e,"z",(function(){return C})),n.d(e,"h",(function(){return T}));var r=n("b775"),a=n("4328"),u=n.n(a),s="/api-web";function i(t){return Object(r["a"])({url:s+"/studentManage/queryStudentList",method:"post",data:t})}function o(t){return Object(r["a"])({url:s+"/studentManage/queryOrganStudentList",method:"get",params:t})}function c(t){return Object(r["a"])({url:s+"/studentManage/findStudentVipGroupClass",method:"get",params:t})}function l(t){return Object(r["a"])({url:s+"/studentManage/findStudentMusicGroups",method:"get",params:t})}function d(t){return Object(r["a"])({url:s+"/studentManage/findStudentVipGroups",method:"get",params:t})}function m(t){return Object(r["a"])({url:s+"/studentWithdraw/queryPage",method:"get",params:t})}function f(t){return Object(r["a"])({url:s+"/studentManage/queryStudentPayment",method:"get",params:t})}function h(t){return Object(r["a"])({url:s+"/order/queryPage",method:"get",params:t})}function p(t){return Object(r["a"])({url:s+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:t})}function g(t){return Object(r["a"])({url:s+"/studentRegistration/batchUpdateSubject",method:"post",data:u.a.stringify(t)})}function b(t){return Object(r["a"])({url:s+"/studentRegistration/queryFeeDetail",method:"get",params:t})}function y(t){return Object(r["a"])({url:s+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:t})}function v(t){return Object(r["a"])({url:s+"/studentRegistration/insertStudent",method:"POST",data:t})}function O(t){return Object(r["a"])({url:s+"/classGroupStudent/findAllStudent",method:"POST",data:u.a.stringify(t)})}function j(t){return Object(r["a"])({url:s+"/classGroupStudent/addStudents",method:"POST",data:u.a.stringify(t)})}function F(t){return Object(r["a"])({url:s+"/classGroupStudent/del",method:"POST",data:u.a.stringify(t)})}function S(t){return Object(r["a"])({url:s+"/studentManage/queryStudentClassGroup",method:"get",params:t})}function _(t){return Object(r["a"])({url:s+"/userCashAccount/updateCourseBalance",method:"post",data:u.a.stringify(t)})}function q(t){return Object(r["a"])({url:s+"/userCashAccount/updateBalance",method:"post",data:u.a.stringify(t)})}function w(t){return Object(r["a"])({url:s+"/studentManage/queryUserByPhone",method:"get",params:t})}function M(t){return Object(r["a"])({url:s+"/studentManage/register",method:"post",data:u.a.stringify(t)})}function N(t){return Object(r["a"])({url:s+"/studentManage/studentUpdate",method:"post",data:u.a.stringify(t)})}function k(t){return Object(r["a"])({url:s+"/coursesGroupController/findStudentCourseGroupsWithWeb",method:"get",params:t})}function L(t){return Object(r["a"])({url:s+"/userCashAccountDetail/queryPage",method:"get",params:t})}function C(t){return Object(r["a"])({url:s+"/userCoursesAccount/queryPage",method:"get",params:t})}function T(t){return Object(r["a"])({url:s+"/sysUserContracts/getLatest",method:"get",params:t})}},"5cad":function(t,e,n){"use strict";n("eb09")},eb09:function(t,e,n){}}]);