index-legacy-76619d52.js 1.5 KB

1
  1. !function(){function t(t,e,o,r,n,i,a){try{var c=t[i](a),l=c.value}catch(s){return void o(s)}c.done?e(l):Promise.resolve(l).then(r,n)}System.register(["./index-legacy-e6be1dcb.js"],(function(e,o){"use strict";var r,n,i,a,c;return{setters:[t=>{r=t.d,n=t.D,i=t.a,a=t.S,c=t.V}],execute:function(){var o=document.createElement("style");o.textContent="._mProtocol_kkjs2_1{padding:0 .32rem .32rem;font-size:.37333rem;line-height:1.5;text-align:justify;word-break:break-all}._mProtocol_kkjs2_1 strong{display:block;font-size:.42667rem;font-weight:700;padding-top:.32rem}._mProtocol_kkjs2_1 p:last-child{padding-top:.32rem;text-align:right}._mProtocol_kkjs2_1 img{width:100%}._LABOR_TEACHER_kkjs2_21 p:last-child{padding-top:.32rem;text-align:left}\n",document.head.appendChild(o);const l={mProtocol:"_mProtocol_kkjs2_1",LABOR_TEACHER:"_LABOR_TEACHER_kkjs2_21"};e("default",r({name:"preview-protocol",data:()=>({protocolHTML:""}),mounted(){var e,o=this;return(e=function*(){try{if(!o.protocolHTML){const{data:t}=yield n.get("/edu-app/open/userContractRecord/queryLatestContractTemplate",{params:{contractType:"REGISTER"}});o.protocolHTML=t.contractTemplateContent||""}}catch(t){}},function(){var o=this,r=arguments;return new Promise((function(n,i){var a=e.apply(o,r);function c(e){t(a,n,i,c,l,"next",e)}function l(e){t(a,n,i,c,l,"throw",e)}c(void 0)}))})()},render(){return i("div",{id:"mProtocol"},[a().isApp&&i(c,null,null),i("div",{class:[l.mProtocol,this.$route.query.type?l[this.$route.query.type]:""],innerHTML:this.protocolHTML},null)])}}))}}}))}();