1 |
- !function(){function t(t,e,r,n,o,a,i){try{var c=t[a](i),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}var e=document.createElement("style");e.innerHTML="._mProtocol_lk2r6_1{padding:0 .32rem .32rem;font-size:.37333rem;line-height:1.5;text-align:justify;word-break:break-all}._mProtocol_lk2r6_1 strong{display:block;font-size:.42667rem;font-weight:700;padding-top:.32rem}._mProtocol_lk2r6_1 p:last-child{padding-top:.32rem;text-align:right}._LABOR_TEACHER_lk2r6_18 p:last-child{padding-top:.32rem;text-align:left}\n",document.head.appendChild(e),System.register(["./index-legacy.90c82f08.js"],(function(e){"use strict";var r,n,o,a,i,c;return{setters:[function(t){r=t.d,n=t.g,o=t.m,a=t.c,i=t.f,c=t.aj}],execute:function(){var l={mProtocol:"_mProtocol_lk2r6_1",LABOR_TEACHER:"_LABOR_TEACHER_lk2r6_18"};e("default",r({name:"preview-protocol",data:function(){return{protocolHTML:""}},mounted:function(){var e,r=this;return(e=regeneratorRuntime.mark((function t(){var e,a,i,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e="REGISTER",(a=r.$route.query.type)?(e=a.toString(),"LABOR_TEACHER"===a&&(document.title="管乐团劳务协议")):e="STUDENT"===n.platformType?"REGISTER":"REGISTER_TEACHER",t.prev=3,r.protocolHTML){t.next=10;break}return t.next=7,o.get(n.platformApi+"/open/userContractRecord/queryLatestContractTemplate",{params:{contractType:e||"REGISTER"}});case 7:i=t.sent,c=i.data,r.protocolHTML=c.contractTemplateContent||"";case 10:t.next=14;break;case 12:t.prev=12,t.t0=t.catch(3);case 14:case"end":return t.stop()}}),t,null,[[3,12]])})),function(){var r=this,n=arguments;return new Promise((function(o,a){var i=e.apply(r,n);function c(e){t(i,o,a,c,l,"next",e)}function l(e){t(i,o,a,c,l,"throw",e)}c(void 0)}))})()},render:function(){return a("div",{id:"mProtocol"},[i().isApp&&a(c,null,null),a("div",{class:[l.mProtocol,this.$route.query.type?l[this.$route.query.type]:""],innerHTML:this.protocolHTML},null)])}}))}}}))}();
|