TeachingSchool.50723aa4.js 9.0 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["TeachingSchool"],{"146c":function(t,e,r){"use strict";var n=r("f056"),a=r.n(n);a.a},"19a3":function(t,e,r){"use strict";var n=r("55b2"),a=r.n(n);a.a},3354: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){},"6c4a":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:"teachingschool"},[r("m-header",{attrs:{backUrl:t.backUrl}},[r("template",{slot:"right"},[r("router-link",{attrs:{to:{path:"/teachingset?type=create"}}},[t._v("添加")])],1)],2),t.schoolList.length>0?r("div",t._l(t.schoolList,function(e,n){return r("van-cell-group",{key:n},[r("van-cell",{attrs:{"title-class":"cell-title","label-class":"cell-label",border:!1}},[r("template",{slot:"title"},[t._v(t._s(e.name))]),r("template",{slot:"label"},[t._v(t._s(e.address))])],2),r("div",{staticClass:"operation-btn"},[r("span",{staticClass:"edit",on:{click:function(r){return t.onOperation("update",e)}}},[r("i"),t._v("编辑")]),r("span",{staticClass:"delete",on:{click:function(r){return t.onSchoolDel(e)}}},[r("i"),t._v("删除")])])],1)}),1):r("m-empty",{attrs:{msg:"暂无教学点"}})],1)},a=[],u=r("6e6e"),o=r("d678"),i=r("9afb"),c=r("ff51"),s={name:"teachingschool",components:{MHeader:u["a"],MEmpty:o["a"]},data:function(){var t=this;return{schoolList:[],backUrl:{callBack:function(){Object(c["b"])().iPhone?window.webkit.messageHandlers.DAYA.postMessage(JSON.stringify({api:"back"})):Object(c["b"])().android?DAYA.postMessage(JSON.stringify({api:"back"})):t.$router.push("/business")}}}},created:function(){var t=this.$route.query;t.Authorization&&(localStorage.setItem("Authorization",decodeURI(t.Authorization)),localStorage.setItem("userInfo",decodeURI(t.Authorization))),this.getSchoolList()},mounted:function(){},methods:{getSchoolList:function(){var t=this;Object(i["l"])({isDefault:1}).then(function(e){var r=e.data;200==r.code&&(t.schoolList=r.data)})},onSchoolDel:function(t){var e=this;this.$dialog.confirm({title:"提示",message:"您确认删除吗?"}).then(function(){Object(i["E"])({id:t.id}).then(function(t){var r=t.data;200==r.code?(e.$toast("删除成功"),e.getSchoolList()):e.$toast(r.msg)})})},onOperation:function(t,e){this.$router.push({path:"/teachingset",query:{type:t,id:e.id,name:e.name,address:e.address,longitudeLatitude:e.longitudeLatitude}})}}},d=s,l=(r("146c"),r("2877")),f=Object(l["a"])(d,n,a,!1,null,"7cbe8241",null);e["default"]=f.exports},"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")),c=Object(i["a"])(o,n,a,!1,null,"61d0e2e4",null);e["a"]=c.exports},"9afb":function(t,e,r){"use strict";r.d(e,"w",function(){return i}),r.d(e,"C",function(){return c}),r.d(e,"x",function(){return s}),r.d(e,"J",function(){return l}),r.d(e,"j",function(){return d}),r.d(e,"N",function(){return f}),r.d(e,"i",function(){return h}),r.d(e,"l",function(){return p}),r.d(e,"D",function(){return g}),r.d(e,"E",function(){return v}),r.d(e,"F",function(){return y}),r.d(e,"h",function(){return b}),r.d(e,"M",function(){return S}),r.d(e,"B",function(){return k}),r.d(e,"v",function(){return C}),r.d(e,"c",function(){return _}),r.d(e,"p",function(){return w}),r.d(e,"o",function(){return L}),r.d(e,"e",function(){return R}),r.d(e,"g",function(){return B}),r.d(e,"G",function(){return A}),r.d(e,"H",function(){return j}),r.d(e,"y",function(){return I}),r.d(e,"A",function(){return q}),r.d(e,"L",function(){return O}),r.d(e,"m",function(){return m}),r.d(e,"q",function(){return G}),r.d(e,"u",function(){return $}),r.d(e,"a",function(){return D}),r.d(e,"I",function(){return M}),r.d(e,"k",function(){return U}),r.d(e,"t",function(){return T}),r.d(e,"r",function(){return V}),r.d(e,"b",function(){return x}),r.d(e,"n",function(){return E}),r.d(e,"f",function(){return H}),r.d(e,"K",function(){return z}),r.d(e,"s",function(){return J}),r.d(e,"d",function(){return N}),r.d(e,"z",function(){return F});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})},l=function(t){return u({url:o+"/subject/findSubSubjects",method:"get",params:t})},f=function(t){return u({url:o+"/vipGroupCategory/queryAll",method:"get",params:t})},h=function(t){return u({url:o+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})},p=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)})},b=function(t){return u({url:o+"/teacherDefaultVipGroupSalary/findByTeacherAndCategory",method:"get",params:t})},S=function(t){return u({url:o+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},k=function(t){return u({url:o+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},C=function(t){return u({url:o+"/leaveCategory/queryPage",method:"post",data:t})},_=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})},R=function(t){return u({url:o+"/teacherCourseSchedule/classStartDateAdjust",method:"post",data:a.a.stringify(t)})},B=function(t){return u({url:o+"/teacherCourseSchedule/courseSwap",method:"post",data:a.a.stringify(t)})},A=function(t){return u({url:o+"/teacherCourseSchedule/statisticsInfo",method:"get",params:t})},j=function(t){return u({url:o+"/teacherCourseSchedule/statisticsList",method:"get",params:t})},I=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})},O=function(t){return u({url:o+"/studentRegistration/updateSubject",method:"post",data:a.a.stringify(t)})},G=function(){return u({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},$=function(){return u({url:"/api-web/api/practiceSum",method:"get"})},D=function(t){return u({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},x=function(t){return u({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},M=function(t){return u({url:"/api-teacher/studyReport/info",method:"get",params:t})},T=function(t){return u({url:"/api-teacher/studyReport/getReviewsInfo",method:"get",params:t})},U=function(t){return u({url:"/api-teacher/classGroup/findTeacherClassGroupInfo",method:"get",params:t})},V=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})},H=function(t){return u({url:"/api-teacher/courseReview/add",method:"post",data:a.a.stringify(t)})},z=function(t){return u({url:"/api-teacher/courseReview/updateReviewInfo",method:"post",data:a.a.stringify(t)})},J=function(t){return u({url:"/api-teacher/courseReview/getReviewInfo",method:"get",params:t})},N=function(t){return u({url:"/api-teacher/teacherCourseHomeworkReply/checkeIsAssignHomework",method:"get",params:t})},F=function(t){return u({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacher",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")),c=Object(i["a"])(o,n,a,!1,null,"67669af7",null);e["a"]=c.exports},f056:function(t,e,r){}}]);