specialDetail.47806531.js 8.9 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["specialDetail"],{"18de":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:"specialdetail"},[r("div",{staticClass:"sd-container"},[r("h2",[t._v(t._s(t.dataInfo.title))]),r("div",{staticClass:"msgWrap quill-editor ql-editor",domProps:{innerHTML:t._s(t.dataInfo.content)}})]),r("van-image-preview",{attrs:{startPosition:t.startPosition,images:t.images},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}})],1)},u=[],o=r("9afb"),a={data:function(){return{dataInfo:{},images:[],show:!1,startPosition:0}},mounted:function(){var t=this,e=this.$route.query;e.Authorization?(localStorage.setItem("Authorization",decodeURI(e.Authorization)),localStorage.setItem("userInfo",decodeURI(e.Authorization))):(localStorage.removeItem("Authorization"),localStorage.removeItem("userInfo")),document.title="公告详情",this.__init(),window.onLook=function(e){var r=document.querySelectorAll(".msgWrap img"),n=[];r.forEach(function(r,u){n.push(r.src),e==r&&(t.startPosition=u)}),t.show=!0,t.images=n}},methods:{__init:function(){var t=this;this.$toast.loading({message:"加载中...",duration:1e5,forbidClick:!0,loadingType:"spinner"}),Object(o["C"])({id:this.$route.query.id}).then(function(e){var r=e.data,n=r.data?r.data.content:null;if(n&&(n=n.replace(/<img/gi,'<img onClick="onLook(this)" style="width: 100% !important;"'),n=n.replace(/<video/gi,'<video style="width: 100% !important;height: 1.95rem;"'),r.data.content=n),t.$toast.clear(),200==r.code&&r.data){t.dataInfo=r.data;var u=document.querySelectorAll("meta");u.forEach(function(e){"description"==e.name&&(e.content=t.dataInfo.title)})}})}}},i=a,c=(r("59c8"),r("2877")),d=Object(c["a"])(i,n,u,!1,null,"6c2ee025",null);e["default"]=d.exports},"59c8":function(t,e,r){"use strict";var n=r("b937"),u=r.n(n);u.a},"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 d}),r.d(e,"V",function(){return f}),r.d(e,"k",function(){return s}),r.d(e,"bb",function(){return p}),r.d(e,"i",function(){return h}),r.d(e,"m",function(){return l}),r.d(e,"P",function(){return g}),r.d(e,"Q",function(){return y}),r.d(e,"R",function(){return v}),r.d(e,"h",function(){return S}),r.d(e,"Z",function(){return w}),r.d(e,"ab",function(){return C}),r.d(e,"N",function(){return b}),r.d(e,"A",function(){return I}),r.d(e,"c",function(){return G}),r.d(e,"q",function(){return q}),r.d(e,"p",function(){return R}),r.d(e,"e",function(){return k}),r.d(e,"g",function(){return P}),r.d(e,"S",function(){return A}),r.d(e,"T",function(){return L}),r.d(e,"I",function(){return V}),r.d(e,"L",function(){return T}),r.d(e,"v",function(){return j}),r.d(e,"Y",function(){return B}),r.d(e,"n",function(){return m}),r.d(e,"s",function(){return _}),r.d(e,"y",function(){return D}),r.d(e,"a",function(){return O}),r.d(e,"U",function(){return z}),r.d(e,"l",function(){return M}),r.d(e,"x",function(){return H}),r.d(e,"t",function(){return $}),r.d(e,"b",function(){return W}),r.d(e,"o",function(){return E}),r.d(e,"f",function(){return U}),r.d(e,"X",function(){return x}),r.d(e,"w",function(){return F}),r.d(e,"d",function(){return J}),r.d(e,"J",function(){return N}),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 ut}),r.d(e,"G",function(){return ot}),r.d(e,"D",function(){return it}),r.d(e,"u",function(){return at}),r.d(e,"K",function(){return K}),r.d(e,"W",function(){return ct});var n=r("4328"),u=r.n(n),o=r("981f").default,a="/api-teacher",i=function(t){return o({url:a+"/snaker/task/queryMyCreatedList",method:"get",params:t})},c=function(t){return o({url:a+"/snaker/task/queryWaitList",method:"get",params:t})},d=function(t){return o({url:a+"/snaker/task/queryProcessedList",method:"get",params:t})},s=function(t){return o({url:a+"/subject/findTeacherSubjets",method:"get",params:t})},f=function(t){return o({url:a+"/subject/findSubSubjects",method:"get",params:t})},p=function(t){return o({url:a+"/vipGroupCategory/queryAll",method:"get",params:t})},h=function(t){return o({url:a+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})},l=function(t){return o({url:a+"/school/findVipSchoolByTeacher",method:"get",params:t})},m=function(t){return o({url:a+"/school/findVipSchoolByTeacher2",method:"get",params:t})},g=function(t){return o({url:a+"/school/add",method:"post",data:u.a.stringify(t)})},y=function(t){return o({url:a+"/school/del",method:"post",data:u.a.stringify(t)})},v=function(t){return o({url:a+"/school/update",method:"post",data:u.a.stringify(t)})},S=function(t){return o({url:a+"/teacherDefaultVipGroupSalary/findByTeacherAndCategory",method:"get",params:t})},w=function(t){return o({url:a+"/teacherVipGroup/vipGroupApply",method:"post",data:t})},C=function(t){return o({url:a+"/teacherVipGroup/vipGroupApplyForDouble11",method:"post",data:t})},b=function(t){return o({url:a+"/teacherLeaveRecord/queryVipCourseScheduleList",method:"get",params:t})},I=function(t){return o({url:a+"/leaveCategory/queryPage",method:"post",data:t})},G=function(t){return o({url:a+"/teacherLeaveRecord/askForLeave",method:"post",data:u.a.stringify(t)})},q=function(t){return o({url:a+"/teacherCourseSchedule/getCourseSchedulesWithDate",method:"get",params:t})},R=function(t){return o({url:a+"/teacherCourseSchedule/getCourseScheduleDateByMonth",method:"get",params:t})},k=function(t){return o({url:a+"/teacherCourseSchedule/classStartDateAdjust",method:"post",data:u.a.stringify(t)})},P=function(t){return o({url:a+"/teacherCourseSchedule/courseSwap",method:"post",data:u.a.stringify(t)})},A=function(t){return o({url:a+"/teacherCourseSchedule/statisticsInfo",method:"get",params:t})},L=function(t){return o({url:a+"/teacherCourseSchedule/statisticsList",method:"get",params:t})},V=function(t){return o({url:a+"/teacher/queryStudentApply",method:"get",params:t})},T=function(t){return o({url:a+"/teacher/querySubByMusicGroupId",method:"get",params:t})},j=function(t){return o({url:a+"/teacher/getRegisterOrPreList",method:"get",params:t})},B=function(t){return o({url:a+"/studentRegistration/updateSubject",method:"post",data:u.a.stringify(t)})},_=function(){return o({url:"/api-student/studentOrder/getLuckStatis",method:"get"})},D=function(){return o({url:"/api-web/api/practiceSum",method:"get"})},O=function(t){return o({url:"/api-teacher/classGroup/addStudyReport ",method:"post",data:t})},W=function(t){return o({url:"/api-teacher/studyReport/addStudyReport",method:"post",data:t})},z=function(t){return o({url:"/api-teacher/studyReport/info",method:"get",params:t})},H=function(t){return o({url:"/api-teacher/studyReport/getReviewsInfo",method:"get",params:t})},M=function(t){return o({url:"/api-teacher/classGroup/findTeacherClassGroupInfo",method:"get",params:t})},$=function(t){return o({url:"/api-teacher/studyReport/getNeedPost",method:"get",params:t})},E=function(t){return o({url:"/api-teacher/courseReview/getCourseInfoHead",method:"get",params:t})},U=function(t){return o({url:"/api-teacher/courseReview/add",method:"post",data:u.a.stringify(t)})},x=function(t){return o({url:"/api-teacher/courseReview/updateReviewInfo",method:"post",data:u.a.stringify(t)})},F=function(t){return o({url:"/api-teacher/courseReview/getReviewInfo",method:"get",params:t})},J=function(t){return o({url:"/api-teacher/teacherCourseHomeworkReply/checkeIsAssignHomework",method:"get",params:t})},N=function(t){return o({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacher",method:"get",params:t})},K=function(t){return o({url:"/api-teacher/teacherVipGroup/queryStudentsWithTeacherByOrganId",method:"get",params:t})},Q=function(t){return o({url:"/api-teacher/teacherVipGroup/queryDouble11Students",method:"get",params:t})},X=function(t){return o({url:"/api-teacher/visit/queryPage",method:"get",params:t})},Y=function(t){return o({url:"/api-teacher/visit/add",method:"post",data:u.a.stringify(t)})},Z=function(t){return o({url:"/api-teacher/visit/getInfo",method:"get",params:t})},tt=function(t){return o({url:"/api-teacher/employeePosition/findOrganPosition",method:"get",params:t})},et=function(t){return o({url:"/api-cms/news/query",method:"get",params:t})},rt=function(t){return o({url:"/api-cms/news/list",method:"get",params:t})},nt=function(t){return o({url:"/api-teacher/classGroup/getCourseStudents",method:"get",params:t})},ut=function(t){return o({url:"/api-auth/user/queryUserById/"+t.userId,method:"get"})},ot=function(t){return o({url:"/api-teacher/teacherPracticeGroup/queryPracticeGroupSellPrice",method:"get",params:t})},at=function(t){return o({url:"/api-teacher/teacherPracticeGroup/getPracticeGroupCostCount",method:"get",params:t})},it=function(t){return o({url:a+"/teacherPracticeGroup/practiceGroupApply",method:"post",data:t})},ct=function(t){return o({url:a+"/tenantConfig/get",method:"get",params:t})}},b937:function(t,e,r){}}]);