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"),c={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["O"])(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["H"])(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)})}}},s=c,d=(r("c5b46"),r("2877")),p=Object(d["a"])(s,n,a,!1,null,"7c8214fc",null);e["default"]=p.exports},"4ca3":function(t,e,r){},"51c7":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("d133"),r("2877")),c=Object(i["a"])(o,n,a,!1,null,"0e835508",null);e["a"]=c.exports},"9afb":function(t,e,r){"use strict";r.d(e,"F",function(){return i}),r.d(e,"O",function(){return c}),r.d(e,"H",function(){return s}),r.d(e,"V",function(){return p}),r.d(e,"k",function(){return d}),r.d(e,"bb",function(){return l}),r.d(e,"i",function(){return f}),r.d(e,"m",function(){return h}),r.d(e,"P",function(){return g}),r.d(e,"Q",function(){return v}),r.d(e,"R",function(){return y}),r.d(e,"h",function(){return S}),r.d(e,"Z",function(){return b}),r.d(e,"ab",function(){return C}),r.d(e,"N",function(){return _}),r.d(e,"A",function(){return k}),r.d(e,"c",function(){return w}),r.d(e,"q",function(){return G}),r.d(e,"p",function(){return L}),r.d(e,"e",function(){return B}),r.d(e,"g",function(){return R}),r.d(e,"S",function(){return q}),r.d(e,"T",function(){return I}),r.d(e,"I",function(){return P}),r.d(e,"L",function(){return j}),r.d(e,"v",function(){return A}),r.d(e,"Y",function(){return x}),r.d(e,"n",function(){return m}),r.d(e,"s",function(){return O}),r.d(e,"y",function(){return V}),r.d(e,"a",function(){return N}),r.d(e,"U",function(){return $}),r.d(e,"l",function(){return H}),r.d(e,"x",function(){return D}),r.d(e,"t",function(){return M}),r.d(e,"b",function(){return T}),r.d(e,"o",function(){return E}),r.d(e,"f",function(){return F}),r.d(e,"X",function(){return W}),r.d(e,"w",function(){return U}),r.d(e,"d",function(){return z}),r.d(e,"J",function(){return J}),r.d(e,"z",function(){return X}),r.d(e,"cb",function(){return Y}),r.d(e,"db",function(){return Z}),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 at}),r.d(e,"G",function(){return ut}),r.d(e,"D",function(){return it}),r.d(e,"u",function(){return ot}),r.d(e,"K",function(){return K}),r.d(e,"W",function(){return ct});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})},c=function(t){return u({url:o+"/snaker/task/queryWaitList",method:"get",params:t})},s=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})},b=function(t){return u({url:o+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},C=function(t){return u({url:o+"/teacherVipGroup/vipGroupApplyForDouble11",method:"post",data:t})},_=function(t){return u({url:o+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},k=function(t){return u({url:o+"/leaveCategory/queryPage",method:"post",data:t})},w=function(t){return u({url:o+"/teacherLeaveRecord/askForLeave",method:"post",data:a.a.stringify(t)})},G=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)})},q=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})},P=function(t){return u({url:o+"/teacher/queryStudentApply",method:"get",params:t})},j=function(t){return u({url:o+"/teacher/querySubByMusicGroupId",method:"get",params:t})},A=function(t){return u({url:o+"/teacher/getRegisterOrPreList",method:"get",params:t})},x=function(t){return u({url:o+"/studentRegistration/updateSubject",method:"post",data:a.a.stringify(t)})},O=function(){return u({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},V=function(){return u({url:"/api-web/api/practiceSum",method:"get"})},N=function(t){return u({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},T=function(t){return u({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},$=function(t){return u({url:"/api-teacher/studyReport/info",method:"get",params:t})},D=function(t){return u({url:"/api-teacher/studyReport/getReviewsInfo",method:"get",params:t})},H=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})},E=function(t){return u({url:"/api-teacher/courseReview/getCourseInfoHead",method:"get",params:t})},F=function(t){return u({url:"/api-teacher/courseReview/add",method:"post",data:a.a.stringify(t)})},W=function(t){return u({url:"/api-teacher/courseReview/updateReviewInfo",method:"post",data:a.a.stringify(t)})},U=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})},K=function(t){return u({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacherByOrganId",method:"get",params:t})},Q=function(t){return u({url:"/api-teacher/teacherVipGroup/queryDouble11Students",method:"get",params:t})},X=function(t){return u({url:"/api-teacher/visit/queryPage",method:"get",params:t})},Y=function(t){return u({url:"/api-teacher/visit/add",method:"post",data:a.a.stringify(t)})},Z=function(t){return u({url:"/api-teacher/visit/getInfo",method:"get",params:t})},tt=function(t){return u({url:"/api-teacher/employeePosition/findOrganPosition",method:"get",params:t})},et=function(t){return u({url:"/api-cms/news/query",method:"get",params:t})},rt=function(t){return u({url:"/api-cms/news/list",method:"get",params:t})},nt=function(t){return u({url:"/api-teacher/classGroup/getCourseStudents",method:"get",params:t})},at=function(t){return u({url:"/api-auth/user/queryUserById/"+t.userId,method:"get"})},ut=function(t){return u({url:"/api-teacher/teacherPracticeGroup/queryPracticeGroupSellPrice",method:"get",params:t})},ot=function(t){return u({url:"/api-teacher/teacherPracticeGroup/getPracticeGroupCostCount",method:"get",params:t})},it=function(t){return u({url:o+"/teacherPracticeGroup/practiceGroupApply",method:"post",data:t})},ct=function(t){return u({url:o+"/tenantConfig/get",method:"get",params:t})}},bb2c:function(t,e,r){},c063:function(t,e,r){"use strict";var n=r("51c7"),a=r.n(n);a.a},c5b46:function(t,e,r){"use strict";var n=r("4ca3"),a=r.n(n);a.a},d133:function(t,e,r){"use strict";var n=r("bb2c"),a=r.n(n);a.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:"暂无内容"))])])},a=[],u={name:"mempty",props:{icon:String,msg:String,full:Boolean}},o=u,i=(r("c063"),r("2877")),c=Object(i["a"])(o,n,a,!1,null,"45d1a48f",null);e["a"]=c.exports}}]);
|