index-cf2ffbbd.js 678 B

1
  1. import{d as a,D as s,a as t,R as c,S as n}from"./index-5e5e4ebc.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};