index-legacy-00a1e079.js 1.5 KB

1
  1. !function(){function t(t,e,o,r,n,i,c){try{var a=t[i](c),l=a.value}catch(s){return void o(s)}a.done?e(l):Promise.resolve(l).then(r,n)}System.register(["./index-legacy-3b5d15b6.js"],(function(e,o){"use strict";var r,n,i,c,a,l=document.createElement("style");return l.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(l),{setters:[t=>{r=t.d,n=t.D,i=t.a,c=t.R,a=t.S}],execute:function(){const o={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 c=e.apply(o,r);function a(e){t(c,n,i,a,l,"next",e)}function l(e){t(c,n,i,a,l,"throw",e)}a(void 0)}))})()},render(){return i("div",{id:"mProtocol"},[c().isApp&&i(a,null,null),i("div",{class:[o.mProtocol,this.$route.query.type?o[this.$route.query.type]:""],innerHTML:this.protocolHTML},null)])}}))}}}))}();