Approval.6d88fe11.js 10 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Approval"],{"08e7":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"approval"},[r("m-header"),r("van-tabs",{attrs:{swipeable:!0,animated:!0}},[r("van-tab",{attrs:{title:"待处理"}},[t.dataSection.show?r("van-list",{key:"data",attrs:{finished:t.dataSection.finished,"finished-text":"没有更多数据了"},on:{load:t.getClassGroupList},model:{value:t.dataSection.loading,callback:function(e){t.$set(t.dataSection,"loading",e)},expression:"dataSection.loading"}},t._l(t.dataSection.dataList,(function(e,n){return r("div",{key:n,staticClass:"app-item"},[r("div",{staticClass:"hd"},[r("span",{staticClass:"orangeStatus"},[t._v("待处理")]),r("span",[t._v("2019-09-01")])]),r("div",{staticClass:"bd"},[r("p",[t._v("申请人:黄青筝")]),r("p",[t._v("审批事项:调休")]),r("p",[t._v("开始时间:2019-09-01 9:00")]),r("p",[t._v("结束时间:2019-09-01 18:00")]),r("p",[t._v("备注:家中急事,调休一天")])])])})),0):r("m-empty",{key:"data"})],1),r("van-tab",{attrs:{title:"已处理"}},[t.recordSection.show?r("van-list",{key:"records",attrs:{finished:t.recordSection.finished,"finished-text":"没有更多数据了"},on:{load:t.getStudentAttendanceList},model:{value:t.recordSection.loading,callback:function(e){t.$set(t.recordSection,"loading",e)},expression:"recordSection.loading"}},t._l(6,(function(e){return r("div",{key:e,staticClass:"app-item"},[r("div",{staticClass:"hd"},[r("span",{staticClass:"orangeStatus"},[t._v("待处理")]),r("span",[t._v("2019-09-01")])]),r("div",{staticClass:"bd"},[r("p",[t._v("申请人:黄青筝")]),r("p",[t._v("审批事项:调休")]),r("p",[t._v("开始时间:2019-09-01 9:00")]),r("p",[t._v("结束时间:2019-09-01 18:00")]),r("p",[t._v("备注:家中急事,调休一天")])])])})),0):r("m-empty",{key:"records"})],1)],1)],1)},a=[],u=r("6e6e"),o=r("d678"),i=r("9afb"),s={name:"approval",components:{MHeader:u["a"],MEmpty:o["a"]},data:function(){return{dataSection:{show:!0,dataList:[],loading:!1,finished:!1,params:{groupId:this.$route.params.groupId,pageNo:1,pageSize:10}},recordSection:{show:!0,recordList:[],loading:!1,finished:!1,params:{groupId:this.$route.params.groupId,pageNo:1,pageSize:10}}}},methods:{getClassGroupList:function(){var t=this.dataSection,e=t.params;Object(i["D"])(e).then((function(r){var n=r.data;t.loading=!1,200==n.code?(t.dataList=t.dataList.concat(n.data.result),e.pageNo>=n.data.totalPages&&(t.finished=!0),t.params.pageNo++):t.finished=!0,t.dataList.length<=0&&(t.show=!1)}))},getStudentAttendanceList:function(){var t=this,e=this.recordSection,r=e.params;Object(i["y"])(r).then((function(n){var a=n.data;e.loading=!1,200==a.returnCode?(t.recordTotal=a.total,e.recordList=e.recordList.concat(a.records),r.pageNo>=a.pages&&(e.finished=!0),e.params.pageNo++):e.finished=!0,e.recordList.length<=0&&(e.show=!1)}))}}},c=s,d=(r("749b"),r("2877")),p=Object(d["a"])(c,n,a,!1,null,"614b0942",null);e["default"]=p.exports},"19a3":function(t,e,r){"use strict";var n=r("55b2"),a=r.n(n);a.a},3354:function(t,e,r){},"4c20":function(t,e,r){},5115:function(t,e,r){"use strict";var n=r("3354"),a=r.n(n);a.a},"55b2":function(t,e,r){},"6e6e":function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mheader"},[r("header",{staticClass:"m-nav-header",class:[t.isFixed?"fixed":""]},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:t.goBack}},[r("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),r("div",{staticClass:"m-nav-bar__title"},[t._t("default",[t._v(t._s(t.name?t.name:this.$route.meta.descrition))])],2),r("div",{staticClass:"m-nav-bar__right"},[t._t("right")],2)])])},a=[],u={name:"mheader",props:{name:String,isBack:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!0},backUrl:{type:Object,default:function(){return{callBack:null,path:"",params:{}}}}},methods:{goBack:function(){var t=this.backUrl;"function"==typeof t.callBack?t.callBack():t.path?this.$router.push({path:t.path,query:t.params}):history.go(-1)}}},o=u,i=(r("5115"),r("2877")),s=Object(i["a"])(o,n,a,!1,null,"61d0e2e4",null);e["a"]=s.exports},"749b":function(t,e,r){"use strict";var n=r("4c20"),a=r.n(n);a.a},"9afb":function(t,e,r){"use strict";r.d(e,"x",(function(){return i})),r.d(e,"D",(function(){return s})),r.d(e,"y",(function(){return c})),r.d(e,"K",(function(){return p})),r.d(e,"j",(function(){return d})),r.d(e,"O",(function(){return l})),r.d(e,"i",(function(){return f})),r.d(e,"l",(function(){return h})),r.d(e,"E",(function(){return g})),r.d(e,"F",(function(){return v})),r.d(e,"G",(function(){return y})),r.d(e,"h",(function(){return S})),r.d(e,"N",(function(){return C})),r.d(e,"C",(function(){return b})),r.d(e,"w",(function(){return _})),r.d(e,"c",(function(){return k})),r.d(e,"p",(function(){return w})),r.d(e,"o",(function(){return L})),r.d(e,"e",(function(){return B})),r.d(e,"g",(function(){return R})),r.d(e,"H",(function(){return G})),r.d(e,"I",(function(){return I})),r.d(e,"z",(function(){return j})),r.d(e,"B",(function(){return q})),r.d(e,"M",(function(){return x})),r.d(e,"m",(function(){return m})),r.d(e,"q",(function(){return A})),r.d(e,"u",(function(){return N})),r.d(e,"a",(function(){return $})),r.d(e,"J",(function(){return T})),r.d(e,"k",(function(){return D})),r.d(e,"t",(function(){return V})),r.d(e,"r",(function(){return M})),r.d(e,"b",(function(){return O})),r.d(e,"n",(function(){return P})),r.d(e,"f",(function(){return E})),r.d(e,"L",(function(){return H})),r.d(e,"s",(function(){return F})),r.d(e,"d",(function(){return z})),r.d(e,"A",(function(){return J})),r.d(e,"v",(function(){return W})),r.d(e,"P",(function(){return U})),r.d(e,"Q",(function(){return K}));var n=r("4328"),a=r.n(n),u=r("981f").default,o="/api-teacher",i=function(t){return u({url:o+"/snaker/task/queryMyCreatedList",method:"get",params:t})},s=function(t){return u({url:o+"/snaker/task/queryWaitList",method:"get",params:t})},c=function(t){return u({url:o+"/snaker/task/queryProcessedList",method:"get",params:t})},d=function(t){return u({url:o+"/subject/findTeacherSubjets",method:"get",params:t})},p=function(t){return u({url:o+"/subject/findSubSubjects",method:"get",params:t})},l=function(t){return u({url:o+"/vipGroupCategory/queryAll",method:"get",params:t})},f=function(t){return u({url:o+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})},h=function(t){return u({url:o+"/school/findVipSchoolByTeacher",method:"get",params:t})},m=function(t){return u({url:o+"/school/findVipSchoolByTeacher2",method:"get",params:t})},g=function(t){return u({url:o+"/school/add",method:"post",data:a.a.stringify(t)})},v=function(t){return u({url:o+"/school/del",method:"post",data:a.a.stringify(t)})},y=function(t){return u({url:o+"/school/update",method:"post",data:a.a.stringify(t)})},S=function(t){return u({url:o+"/teacherDefaultVipGroupSalary/findByTeacherAndCategory",method:"get",params:t})},C=function(t){return u({url:o+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},b=function(t){return u({url:o+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},_=function(t){return u({url:o+"/leaveCategory/queryPage",method:"post",data:t})},k=function(t){return u({url:o+"/teacherLeaveRecord/askForLeave",method:"post",data:a.a.stringify(t)})},w=function(t){return u({url:o+"/teacherCourseSchedule/getCourseSchedulesWithDate",method:"get",params:t})},L=function(t){return u({url:o+"/teacherCourseSchedule/getCourseScheduleDateByMonth",method:"get",params:t})},B=function(t){return u({url:o+"/teacherCourseSchedule/classStartDateAdjust",method:"post",data:a.a.stringify(t)})},R=function(t){return u({url:o+"/teacherCourseSchedule/courseSwap",method:"post",data:a.a.stringify(t)})},G=function(t){return u({url:o+"/teacherCourseSchedule/statisticsInfo",method:"get",params:t})},I=function(t){return u({url:o+"/teacherCourseSchedule/statisticsList",method:"get",params:t})},j=function(t){return u({url:o+"/teacher/queryStudentApply",method:"get",params:t})},q=function(t){return u({url:o+"/teacher/querySubByMusicGroupId",method:"get",params:t})},x=function(t){return u({url:o+"/studentRegistration/updateSubject",method:"post",data:a.a.stringify(t)})},A=function(){return u({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},N=function(){return u({url:"/api-web/api/practiceSum",method:"get"})},$=function(t){return u({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},O=function(t){return u({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},T=function(t){return u({url:"/api-teacher/studyReport/info",method:"get",params:t})},V=function(t){return u({url:"/api-teacher/studyReport/getReviewsInfo",method:"get",params:t})},D=function(t){return u({url:"/api-teacher/classGroup/findTeacherClassGroupInfo",method:"get",params:t})},M=function(t){return u({url:"/api-teacher/studyReport/getNeedPost",method:"get",params:t})},P=function(t){return u({url:"/api-teacher/courseReview/getCourseInfoHead",method:"get",params:t})},E=function(t){return u({url:"/api-teacher/courseReview/add",method:"post",data:a.a.stringify(t)})},H=function(t){return u({url:"/api-teacher/courseReview/updateReviewInfo",method:"post",data:a.a.stringify(t)})},F=function(t){return u({url:"/api-teacher/courseReview/getReviewInfo",method:"get",params:t})},z=function(t){return u({url:"/api-teacher/teacherCourseHomeworkReply/checkeIsAssignHomework",method:"get",params:t})},J=function(t){return u({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacher",method:"get",params:t})},W=function(t){return u({url:"/api-teacher/visit/queryPage",method:"get",params:t})},U=function(t){return u({url:"/api-teacher/visit/add",method:"post",data:a.a.stringify(t)})},K=function(t){return u({url:"/api-teacher/visit/getInfo",method:"get",params:t})}},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"},[r("div",{class:[t.icon?t.icon:"icon_nodata","icon"]}),r("div",{staticClass:"msg"},[t._v(t._s(t.msg?t.msg:"暂无内容"))])])},a=[],u={name:"mempty",props:{icon:String,msg:String}},o=u,i=(r("19a3"),r("2877")),s=Object(i["a"])(o,n,a,!1,null,"67669af7",null);e["a"]=s.exports}}]);