1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Attendance"],{"51c7":function(t,e,r){},5276:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"attendance"},[n("div",{staticClass:"section"},[n("h2",[t._v(t._s(t.classGroupName))]),n("div",{staticClass:"att"},[n("div",{staticClass:"circel"},[n("van-circle",{attrs:{rate:t.dataInfo.rate,speed:100,color:"#01c1b5","stroke-width":65,"layer-color":"#EEEEEE"},model:{value:t.currentRate,callback:function(e){t.currentRate=e},expression:"currentRate"}},[n("p",[n("span",[t._v(t._s(t.dataInfo.alreadyInClass[0]))]),t._v("/"+t._s(t.dataInfo.alreadyInClass[1]))]),n("p",[t._v("已上课时")])]),n("p",{staticClass:"current-time"},[t._v(t._s(t.dataInfo.classDate)+" "+t._s(t.dataInfo.classTime))])],1),n("div",{staticClass:"ite"},[n("span",[t._v(t._s(t.dataInfo.studentNum))]),t._v(" 学生(人)\n ")]),n("div",{staticClass:"ite"},[n("span",[t._v(t._s(t.dataInfo.leagueNum))]),t._v(" 退团(人)\n ")])])]),t._m(0),t.show?n("van-list",{key:"records",attrs:{finished:t.finished,"finished-text":"- 没有更多数据了 -"},on:{load:t.statisticsList},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.dataList,function(e,u){return n("div",{key:u,staticClass:"stu_info"},[n("van-cell",{attrs:{center:!0}},[n("template",{slot:"icon"},[n("img",{staticClass:"logo",attrs:{src:r("a7ed"),alt:""}})]),n("template",{slot:"default"},[t._v("到课(天):"+t._s(e.normalDay)),n("br"),t._v("旷课(天):"+t._s(e.truantDay)),n("br"),t._v("请假(天):"+t._s(e.leaveDay))]),n("template",{slot:"title"},[n("div",{class:e.truant?"truant":""},[t._v("\n "+t._s(e.studentName)),e.truant?n("van-tag",{attrs:{type:"danger",size:"medium"}},[t._v("连续旷课")]):t._e()],1)]),n("template",{slot:"label"},[t._v(t._s(t._f("joinArray")(e.subjectName)))])],2),n("div",{staticClass:"stu-detail"},t._l(e.list,function(e,r){return n("div",{key:r,staticClass:"item"},[n("p",[t._v(t._s(t.formatDate(e.classDate))),n("br"),t._v(t._s(e.classWeek))]),n("p",{class:e.status},[t._v(t._s(t._f("clockingIn")(e.status)))])])}),0)],1)}),0):n("m-empty",{key:"records"})],1)},u=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"section"},[r("h2",[t._v("考勤统计")])])}],a=r("d678"),o=r("9afb"),i={name:"attendance",components:{MEmpty:a["a"]},data:function(){return{currentRate:0,classGroupName:this.$route.query.classGroupName,classGroupId:this.$route.query.classGroupId,dataInfo:{alreadyInClass:[0,0],rate:0},show:!0,loading:!1,finished:!1,params:{groupId:this.$route.params.groupId,page:1,rows:10,classGroupId:this.$route.query.classGroupId},dataList:[]}},mounted:function(){var t=this.$route.query;t.Authorization&&(localStorage.setItem("Authorization",decodeURI(t.Authorization)),localStorage.setItem("userInfo",decodeURI(t.Authorization))),window.document.title="历史考勤统计",this.__init()},methods:{__init:function(){var t=this;Object(o["S"])({classGroupId:this.classGroupId}).then(function(e){var r=e.data;if(200==r.code){t.dataInfo=r.data;var n=r.data.alreadyInClass;n=n?n.split("/"):[0,0],t.dataInfo.alreadyInClass=n,t.dataInfo.rate=n[0]?n[0]/n[1]*100:0}})},statisticsList:function(){var t=this,e=this.params;Object(o["T"])(e).then(function(r){var n=r.data;200==n.code?(t.dataList=t.dataList.concat(n.data.rows),t.loading=!1,e.page>=Math.ceil(n.data.total/e.rows)&&(t.finished=!0),e.page++):t.finished=!0,t.dataList.length<=0&&(t.show=!1)})},formatDate:function(t){var e=new Date(t.replace(/-/gi,"/")),r=e.getMonth()+1>=10?e.getMonth()+1:"0"+(e.getMonth()+1),n=e.getDate()+1>=10?e.getDate()+1:"0"+(e.getDate()+1);return r+"-"+n}}},s=i,c=(r("cd7b"),r("2877")),d=Object(c["a"])(s,n,u,!1,null,"01b6bdfe",null);e["default"]=d.exports},"8e73":function(t,e,r){},"9afb":function(t,e,r){"use strict";r.d(e,"F",function(){return i}),r.d(e,"O",function(){return s}),r.d(e,"H",function(){return c}),r.d(e,"V",function(){return l}),r.d(e,"k",function(){return d}),r.d(e,"bb",function(){return f}),r.d(e,"i",function(){return p}),r.d(e,"m",function(){return m}),r.d(e,"P",function(){return g}),r.d(e,"Q",function(){return y}),r.d(e,"R",function(){return v}),r.d(e,"h",function(){return I}),r.d(e,"Z",function(){return A}),r.d(e,"ab",function(){return G}),r.d(e,"N",function(){return b}),r.d(e,"A",function(){return C}),r.d(e,"c",function(){return k}),r.d(e,"q",function(){return R}),r.d(e,"p",function(){return S}),r.d(e,"e",function(){return q}),r.d(e,"g",function(){return x}),r.d(e,"S",function(){return L}),r.d(e,"T",function(){return P}),r.d(e,"I",function(){return T}),r.d(e,"L",function(){return w}),r.d(e,"v",function(){return j}),r.d(e,"Y",function(){return D}),r.d(e,"n",function(){return h}),r.d(e,"s",function(){return U}),r.d(e,"y",function(){return B}),r.d(e,"a",function(){return H}),r.d(e,"U",function(){return E}),r.d(e,"l",function(){return z}),r.d(e,"x",function(){return Z}),r.d(e,"t",function(){return F}),r.d(e,"b",function(){return M}),r.d(e,"o",function(){return V}),r.d(e,"f",function(){return W}),r.d(e,"X",function(){return K}),r.d(e,"w",function(){return N}),r.d(e,"d",function(){return O}),r.d(e,"J",function(){return Y}),r.d(e,"z",function(){return X}),r.d(e,"cb",function(){return _}),r.d(e,"db",function(){return $}),r.d(e,"j",function(){return tt}),r.d(e,"E",function(){return Q}),r.d(e,"C",function(){return et}),r.d(e,"B",function(){return rt}),r.d(e,"r",function(){return nt}),r.d(e,"M",function(){return ut}),r.d(e,"G",function(){return at}),r.d(e,"D",function(){return it}),r.d(e,"u",function(){return ot}),r.d(e,"K",function(){return J}),r.d(e,"W",function(){return st});var n=r("4328"),u=r.n(n),a=r("981f").default,o="/api-teacher",i=function(t){return a({url:o+"/snaker/task/queryMyCreatedList",method:"get",params:t})},s=function(t){return a({url:o+"/snaker/task/queryWaitList",method:"get",params:t})},c=function(t){return a({url:o+"/snaker/task/queryProcessedList",method:"get",params:t})},d=function(t){return a({url:o+"/subject/findTeacherSubjets",method:"get",params:t})},l=function(t){return a({url:o+"/subject/findSubSubjects",method:"get",params:t})},f=function(t){return a({url:o+"/vipGroupCategory/queryAll",method:"get",params:t})},p=function(t){return a({url:o+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})},m=function(t){return a({url:o+"/school/findVipSchoolByTeacher",method:"get",params:t})},h=function(t){return a({url:o+"/school/findVipSchoolByTeacher2",method:"get",params:t})},g=function(t){return a({url:o+"/school/add",method:"post",data:u.a.stringify(t)})},y=function(t){return a({url:o+"/school/del",method:"post",data:u.a.stringify(t)})},v=function(t){return a({url:o+"/school/update",method:"post",data:u.a.stringify(t)})},I=function(t){return a({url:o+"/teacherDefaultVipGroupSalary/findByTeacherAndCategory",method:"get",params:t})},A=function(t){return a({url:o+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},G=function(t){return a({url:o+"/teacherVipGroup/vipGroupApplyForDouble11",method:"post",data:t})},b=function(t){return a({url:o+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},C=function(t){return a({url:o+"/leaveCategory/queryPage",method:"post",data:t})},k=function(t){return a({url:o+"/teacherLeaveRecord/askForLeave",method:"post",data:u.a.stringify(t)})},R=function(t){return a({url:o+"/teacherCourseSchedule/getCourseSchedulesWithDate",method:"get",params:t})},S=function(t){return a({url:o+"/teacherCourseSchedule/getCourseScheduleDateByMonth",method:"get",params:t})},q=function(t){return a({url:o+"/teacherCourseSchedule/classStartDateAdjust",method:"post",data:u.a.stringify(t)})},x=function(t){return a({url:o+"/teacherCourseSchedule/courseSwap",method:"post",data:u.a.stringify(t)})},L=function(t){return a({url:o+"/teacherCourseSchedule/statisticsInfo",method:"get",params:t})},P=function(t){return a({url:o+"/teacherCourseSchedule/statisticsList",method:"get",params:t})},T=function(t){return a({url:o+"/teacher/queryStudentApply",method:"get",params:t})},w=function(t){return a({url:o+"/teacher/querySubByMusicGroupId",method:"get",params:t})},j=function(t){return a({url:o+"/teacher/getRegisterOrPreList",method:"get",params:t})},D=function(t){return a({url:o+"/studentRegistration/updateSubject",method:"post",data:u.a.stringify(t)})},U=function(){return a({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},B=function(){return a({url:"/api-web/api/practiceSum",method:"get"})},H=function(t){return a({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},M=function(t){return a({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},E=function(t){return a({url:"/api-teacher/studyReport/info",method:"get",params:t})},Z=function(t){return a({url:"/api-teacher/studyReport/getReviewsInfo",method:"get",params:t})},z=function(t){return a({url:"/api-teacher/classGroup/findTeacherClassGroupInfo",method:"get",params:t})},F=function(t){return a({url:"/api-teacher/studyReport/getNeedPost",method:"get",params:t})},V=function(t){return a({url:"/api-teacher/courseReview/getCourseInfoHead",method:"get",params:t})},W=function(t){return a({url:"/api-teacher/courseReview/add",method:"post",data:u.a.stringify(t)})},K=function(t){return a({url:"/api-teacher/courseReview/updateReviewInfo",method:"post",data:u.a.stringify(t)})},N=function(t){return a({url:"/api-teacher/courseReview/getReviewInfo",method:"get",params:t})},O=function(t){return a({url:"/api-teacher/teacherCourseHomeworkReply/checkeIsAssignHomework",method:"get",params:t})},Y=function(t){return a({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacher",method:"get",params:t})},J=function(t){return a({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacherByOrganId",method:"get",params:t})},Q=function(t){return a({url:"/api-teacher/teacherVipGroup/queryDouble11Students",method:"get",params:t})},X=function(t){return a({url:"/api-teacher/visit/queryPage",method:"get",params:t})},_=function(t){return a({url:"/api-teacher/visit/add",method:"post",data:u.a.stringify(t)})},$=function(t){return a({url:"/api-teacher/visit/getInfo",method:"get",params:t})},tt=function(t){return a({url:"/api-teacher/employeePosition/findOrganPosition",method:"get",params:t})},et=function(t){return a({url:"/api-cms/news/query",method:"get",params:t})},rt=function(t){return a({url:"/api-cms/news/list",method:"get",params:t})},nt=function(t){return a({url:"/api-teacher/classGroup/getCourseStudents",method:"get",params:t})},ut=function(t){return a({url:"/api-auth/user/queryUserById/"+t.userId,method:"get"})},at=function(t){return a({url:"/api-teacher/teacherPracticeGroup/queryPracticeGroupSellPrice",method:"get",params:t})},ot=function(t){return a({url:"/api-teacher/teacherPracticeGroup/getPracticeGroupCostCount",method:"get",params:t})},it=function(t){return a({url:o+"/teacherPracticeGroup/practiceGroupApply",method:"post",data:t})},st=function(t){return a({url:o+"/tenantConfig/get",method:"get",params:t})}},a7ed:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC9FBMVEUAAADv7+/w8PDz8/Pu7u7u7u7v7+/p6enu7u7u7u7v7+/v7e/u7u7u7u7v7+/u7u7u7u7v7+/v7+/w8PDu7u7v7+/y8vL19fXy8vL////////u7u7u7u7v7+/v7+/t7e3u7u7w8PDv7+/4dtTt7e3v7+/v7+/u7u74ddL5dtP3dtP5dtP4ddT5eNP4ddP4ddP7dtXzdNHxyuZ8Rynu7u7/z60AAAD7upb/rI/////4dtP/fn7AdD/u7e3/zqyDKyXu7Or+zav/yql/Sy0LCwr+0rL/upzrs5b9/Pzw6+f8y6nx6OLUyMH4xKaUa1OCTjH907b+x6X7vZqQZEsRERAGBQX/7eHl4uDx5d/b29v9yab/vp+8pJeLXEKHVjvp5+bk393i3Nje1tH008D/1brOwLfHtKrBrKD8wJ3/r5G4n5Gzl4d2dna0gWGbdF6eaks4ODghHx7f39/238/42sWvr6/5yaf/xKTxwqH8w5+VlZWwkX7OmXpQUFDv6Of049jy4NX33cn62MDLu7L4ya75wKH9rpzvvJr/tpjYr5LjspDdq4qGhoasjHenhnFwcHB/Z1aSXT+FUTQvLSwmJSX39vb/9Ozm5OPy5t3/59b/49Dz2s3/38jYzcjHx8f/zbn2zLX2y7Pnu5z/spjLpInYo4Tmq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mbZ/rNnS40RMAMqr2YDFqyoHNTIQn/Jw/ZGt0kO+jc44gvEc/RCDbZWjC/wBjFIYL+apqIopjl3PE1CghjckZKPy+1MRiIl/OGYr+8fMNmt9yESjuGL+USfoijuEo/3zelzHeViPvyBpTC2SFzAI7YJ6cASf/RqfxBBm+NRvOgQQfTqFqo/9wXxioR+rX53S41Hw0GvK3TarVa7I3R7g+FoXHXuL44XPdPQbpijAAAAAElFTkSuQmCC"},c063:function(t,e,r){"use strict";var n=r("51c7"),u=r.n(n);u.a},cd7b:function(t,e,r){"use strict";var n=r("8e73"),u=r.n(n);u.a},d678:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mempty",class:t.full?"full":null},[r("div",{class:[t.icon?t.icon:"icon_nodata","icon"]}),r("div",{staticClass:"msg"},[t._v(t._s(t.msg?t.msg:"暂无内容"))])])},u=[],a={name:"mempty",props:{icon:String,msg:String,full:Boolean}},o=a,i=(r("c063"),r("2877")),s=Object(i["a"])(o,n,u,!1,null,"45d1a48f",null);e["a"]=s.exports}}]);
|