Approval.308829c9.js 8.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Approval"],{"08e7":function(t,e,r){"use strict";r.r(e);var a=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,a){return r("div",{key:a,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)},n=[],o=r("6e6e"),i=r("d678"),u=r("9afb"),s={name:"approval",components:{MHeader:o["a"],MEmpty:i["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(u["x"])(e).then(function(r){var a=r.data;t.loading=!1,200==a.code?(t.dataList=t.dataList.concat(a.data.result),e.pageNo>=a.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(u["t"])(r).then(function(a){var n=a.data;e.loading=!1,200==n.returnCode?(t.recordTotal=n.total,e.recordList=e.recordList.concat(n.records),r.pageNo>=n.pages&&(e.finished=!0),e.params.pageNo++):e.finished=!0,e.recordList.length<=0&&(e.show=!1)})}}},c=s,d=(r("4dbb"),r("2877")),l=Object(d["a"])(c,a,n,!1,null,"51185b86",null);e["default"]=l.exports},"123d":function(t,e,r){},"19a3":function(t,e,r){"use strict";var a=r("55b2"),n=r.n(a);n.a},3354:function(t,e,r){},"4dbb":function(t,e,r){"use strict";var a=r("123d"),n=r.n(a);n.a},5115:function(t,e,r){"use strict";var a=r("3354"),n=r.n(a);n.a},"55b2":function(t,e,r){},"6e6e":function(t,e,r){"use strict";var a=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)])])},n=[],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)}}},i=o,u=(r("5115"),r("2877")),s=Object(u["a"])(i,a,n,!1,null,"61d0e2e4",null);e["a"]=s.exports},"9afb":function(t,e,r){"use strict";r.d(e,"s",function(){return u}),r.d(e,"x",function(){return s}),r.d(e,"t",function(){return c}),r.d(e,"h",function(){return d}),r.d(e,"G",function(){return l}),r.d(e,"g",function(){return p}),r.d(e,"j",function(){return f}),r.d(e,"y",function(){return m}),r.d(e,"z",function(){return g}),r.d(e,"A",function(){return v}),r.d(e,"f",function(){return y}),r.d(e,"F",function(){return S}),r.d(e,"w",function(){return b}),r.d(e,"r",function(){return C}),r.d(e,"c",function(){return _}),r.d(e,"m",function(){return k}),r.d(e,"l",function(){return w}),r.d(e,"d",function(){return L}),r.d(e,"e",function(){return B}),r.d(e,"B",function(){return x}),r.d(e,"C",function(){return G}),r.d(e,"u",function(){return j}),r.d(e,"v",function(){return q}),r.d(e,"E",function(){return A}),r.d(e,"k",function(){return h}),r.d(e,"n",function(){return R}),r.d(e,"q",function(){return $}),r.d(e,"a",function(){return I}),r.d(e,"D",function(){return O}),r.d(e,"i",function(){return V}),r.d(e,"p",function(){return T}),r.d(e,"o",function(){return D}),r.d(e,"b",function(){return N});var a=r("4328"),n=r.n(a),o=r("981f").default,i="/api-teacher",u=function(t){return o({url:i+"/snaker/task/queryMyCreatedList",method:"get",params:t})},s=function(t){return o({url:i+"/snaker/task/queryWaitList",method:"get",params:t})},c=function(t){return o({url:i+"/snaker/task/queryProcessedList",method:"get",params:t})},d=function(t){return o({url:i+"/subject/findTeacherSubjets",method:"get",params:t})},l=function(t){return o({url:i+"/vipGroupCategory/queryAll",method:"get",params:t})},p=function(t){return o({url:i+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})},f=function(t){return o({url:i+"/school/findVipSchoolByTeacher",method:"get",params:t})},h=function(t){return o({url:i+"/school/findVipSchoolByTeacher2",method:"get",params:t})},m=function(t){return o({url:i+"/school/add",method:"post",data:n.a.stringify(t)})},g=function(t){return o({url:i+"/school/del",method:"post",data:n.a.stringify(t)})},v=function(t){return o({url:i+"/school/update",method:"post",data:n.a.stringify(t)})},y=function(t){return o({url:i+"/teacherDefaultVipGroupSalary/findByTeacherAndCategory",method:"get",params:t})},S=function(t){return o({url:i+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},b=function(t){return o({url:i+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},C=function(t){return o({url:i+"/leaveCategory/queryPage",method:"post",data:t})},_=function(t){return o({url:i+"/teacherLeaveRecord/askForLeave",method:"post",data:n.a.stringify(t)})},k=function(t){return o({url:i+"/teacherCourseSchedule/getCourseSchedulesWithDate",method:"get",params:t})},w=function(t){return o({url:i+"/teacherCourseSchedule/getCourseScheduleDateByMonth",method:"get",params:t})},L=function(t){return o({url:i+"/teacherCourseSchedule/classStartDateAdjust",method:"post",data:n.a.stringify(t)})},B=function(t){return o({url:i+"/teacherCourseSchedule/courseSwap",method:"post",data:n.a.stringify(t)})},x=function(t){return o({url:i+"/teacherCourseSchedule/statisticsInfo",method:"get",params:t})},G=function(t){return o({url:i+"/teacherCourseSchedule/statisticsList",method:"get",params:t})},j=function(t){return o({url:i+"/teacher/queryStudentApply",method:"get",params:t})},q=function(t){return o({url:i+"/teacher/querySubByMusicGroupId",method:"get",params:t})},A=function(t){return o({url:i+"/studentRegistration/updateSubject",method:"post",data:n.a.stringify(t)})},R=function(){return o({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},$=function(){return o({url:"/api-web/api/practiceSum",method:"get"})},I=function(t){return o({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},N=function(t){return o({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},O=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})}},d678:function(t,e,r){"use strict";var a=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:"暂无内容"))])])},n=[],o={name:"mempty",props:{icon:String,msg:String}},i=o,u=(r("19a3"),r("2877")),s=Object(u["a"])(i,a,n,!1,null,"67669af7",null);e["a"]=s.exports}}]);