import{d as a,D as s,a as t,S as c,V as n}from"./index-869d77fb.js";const l="_mProtocol_kkjs2_1",p="_LABOR_TEACHER_kkjs2_21",e={mProtocol:l,LABOR_TEACHER:p},d=a({name:"preview-protocol",data(){return{protocolHTML:""}},async mounted(){let r="REGISTER";try{if(!this.protocolHTML){const{data:o}=await s.get("/edu-app/open/userContractRecord/queryLatestContractTemplate",{params:{contractType:r||"REGISTER"}});this.protocolHTML=o.contractTemplateContent||""}}catch(o){}},render(){return t("div",{id:"mProtocol"},[c().isApp&&t(n,null,null),t("div",{class:[e.mProtocol,this.$route.query.type?e[this.$route.query.type]:""],innerHTML:this.protocolHTML},null)])}});export{d as default};