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=[],o=r("6e6e"),u=r("d678"),i=r("9afb"),s={name:"approval",components:{MHeader:o["a"],MEmpty:u["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["B"])(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["x"])(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("4dbb"),r("2877")),p=Object(d["a"])(c,n,a,!1,null,"51185b86",null);e["default"]=p.exports},"123d":function(t,e,r){},"19a3":function(t,e,r){"use strict";var n=r("55b2"),a=r.n(n);a.a},3354:function(t,e,r){},"4dbb":function(t,e,r){"use strict";var n=r("123d"),a=r.n(n);a.a},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=[],o={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)}}},u=o,i=(r("5115"),r("2877")),s=Object(i["a"])(u,n,a,!1,null,"61d0e2e4",null);e["a"]=s.exports},"9afb":function(t,e,r){"use strict";r.d(e,"w",function(){return i}),r.d(e,"B",function(){return s}),r.d(e,"x",function(){return c}),r.d(e,"I",function(){return p}),r.d(e,"i",function(){return d}),r.d(e,"M",function(){return l}),r.d(e,"h",function(){return f}),r.d(e,"k",function(){return h}),r.d(e,"C",function(){return g}),r.d(e,"D",function(){return v}),r.d(e,"E",function(){return y}),r.d(e,"g",function(){return S}),r.d(e,"L",function(){return b}),r.d(e,"A",function(){return C}),r.d(e,"v",function(){return _}),r.d(e,"c",function(){return k}),r.d(e,"o",function(){return w}),r.d(e,"n",function(){return L}),r.d(e,"d",function(){return B}),r.d(e,"f",function(){return R}),r.d(e,"F",function(){return G}),r.d(e,"G",function(){return j}),r.d(e,"y",function(){return x}),r.d(e,"z",function(){return I}),r.d(e,"K",function(){return q}),r.d(e,"l",function(){return m}),r.d(e,"p",function(){return A}),r.d(e,"u",function(){return $}),r.d(e,"a",function(){return N}),r.d(e,"H",function(){return M}),r.d(e,"j",function(){return V}),r.d(e,"t",function(){return T}),r.d(e,"q",function(){return D}),r.d(e,"b",function(){return O}),r.d(e,"r",function(){return E}),r.d(e,"m",function(){return P}),r.d(e,"e",function(){return F}),r.d(e,"J",function(){return z}),r.d(e,"s",function(){return H});var n=r("4328"),a=r.n(n),o=r("981f").default,u="/api-teacher",i=function(t){return o({url:u+"/snaker/task/queryMyCreatedList",method:"get",params:t})},s=function(t){return o({url:u+"/snaker/task/queryWaitList",method:"get",params:t})},c=function(t){return o({url:u+"/snaker/task/queryProcessedList",method:"get",params:t})},d=function(t){return o({url:u+"/subject/findTeacherSubjets",method:"get",params:t})},p=function(t){return o({url:u+"/subject/findSubSubjects",method:"get",params:t})},l=function(t){return o({url:u+"/vipGroupCategory/queryAll",method:"get",params:t})},f=function(t){return o({url:u+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})},h=function(t){return o({url:u+"/school/findVipSchoolByTeacher",method:"get",params:t})},m=function(t){return o({url:u+"/school/findVipSchoolByTeacher2",method:"get",params:t})},g=function(t){return o({url:u+"/school/add",method:"post",data:a.a.stringify(t)})},v=function(t){return o({url:u+"/school/del",method:"post",data:a.a.stringify(t)})},y=function(t){return o({url:u+"/school/update",method:"post",data:a.a.stringify(t)})},S=function(t){return o({url:u+"/teacherDefaultVipGroupSalary/findByTeacherAndCategory",method:"get",params:t})},b=function(t){return o({url:u+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},C=function(t){return o({url:u+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},_=function(t){return o({url:u+"/leaveCategory/queryPage",method:"post",data:t})},k=function(t){return o({url:u+"/teacherLeaveRecord/askForLeave",method:"post",data:a.a.stringify(t)})},w=function(t){return o({url:u+"/teacherCourseSchedule/getCourseSchedulesWithDate",method:"get",params:t})},L=function(t){return o({url:u+"/teacherCourseSchedule/getCourseScheduleDateByMonth",method:"get",params:t})},B=function(t){return o({url:u+"/teacherCourseSchedule/classStartDateAdjust",method:"post",data:a.a.stringify(t)})},R=function(t){return o({url:u+"/teacherCourseSchedule/courseSwap",method:"post",data:a.a.stringify(t)})},G=function(t){return o({url:u+"/teacherCourseSchedule/statisticsInfo",method:"get",params:t})},j=function(t){return o({url:u+"/teacherCourseSchedule/statisticsList",method:"get",params:t})},x=function(t){return o({url:u+"/teacher/queryStudentApply",method:"get",params:t})},I=function(t){return o({url:u+"/teacher/querySubByMusicGroupId",method:"get",params:t})},q=function(t){return o({url:u+"/studentRegistration/updateSubject",method:"post",data:a.a.stringify(t)})},A=function(){return o({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},$=function(){return o({url:"/api-web/api/practiceSum",method:"get"})},N=function(t){return o({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},O=function(t){return o({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},M=function(t){return o({url:"/api-teacher/studyReport/info",method:"get",params:t})},T=function(t){return o({url:"/api-teacher/studyReport/getReviewsInfo",method:"get",params:t})},V=function(t){return o({url:"/api-teacher/classGroup/findTeacherClassGroupInfo",method:"get",params:t})},D=function(t){return o({url:"/api-teacher/studyReport/getNeedPost",method:"get",params:t})},E=function(t){return o({url:"/api-teacher/courseReview/getPracticeGroup",method:"get",params:t})},P=function(t){return o({url:"/api-teacher/courseReview/getCourseInfoHead",method:"get",params:t})},F=function(t){return o({url:"/api-teacher/courseReview/add",method:"post",data:a.a.stringify(t)})},z=function(t){return o({url:"/api-teacher/courseReview/updateReviewInfo",method:"post",data:a.a.stringify(t)})},H=function(t){return o({url:"/api-teacher/courseReview/getReviewInfo",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=[],o={name:"mempty",props:{icon:String,msg:String}},u=o,i=(r("19a3"),r("2877")),s=Object(i["a"])(u,n,a,!1,null,"67669af7",null);e["a"]=s.exports}}]);
|