index.26921c0d.js 663 B

1
  1. import{d as c,f as e,m as n,c as r}from"./index.ffe80dbe.js";const s="_mProtocol_17g49_1";var l={mProtocol:s},i=c({name:"preview-protocol",data(){return{protocolHTML:""}},async mounted(){let t="REGISTER";const o=this.$route.query.type;o?t=o.toString():e.platformType==="STUDENT"?t="REGISTER":t="REGISTER_TEACHER";try{if(!this.protocolHTML){const{data:a}=await n.get(e.platformApi+"/open/userContractRecord/queryLatestContractTemplate",{params:{contractType:t||"REGISTER"}});this.protocolHTML=a.contractTemplateContent||""}}catch{}},render(){return r("div",{id:"mProtocol"},[r("div",{class:l.mProtocol,innerHTML:this.protocolHTML},null)])}});export{i as default};