1 |
- !function(){function t(t,e,r,n,o,a,c){try{var i=t[a](c),u=i.value}catch(l){return void r(l)}i.done?e(u):Promise.resolve(u).then(n,o)}var e=document.createElement("style");e.innerHTML="._mProtocol_17g49_1{padding:0 .32rem .32rem;font-size:.37333rem;line-height:1.5;text-align:justify;word-break:break-all}._mProtocol_17g49_1 strong{display:block;font-size:.42667rem;font-weight:700;padding-top:.32rem}._mProtocol_17g49_1 p:last-child{padding-top:.32rem;text-align:right}\n",document.head.appendChild(e),System.register(["./index-legacy.48c8d62c.js"],(function(e){"use strict";var r,n,o,a;return{setters:[function(t){r=t.d,n=t.f,o=t.m,a=t.c}],execute:function(){var c="_mProtocol_17g49_1";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,c,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e="REGISTER",a=r.$route.query.type,e=a?a.toString():"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:c=t.sent,i=c.data,r.protocolHTML=i.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 c=e.apply(r,n);function i(e){t(c,o,a,i,u,"next",e)}function u(e){t(c,o,a,i,u,"throw",e)}i(void 0)}))})()},render:function(){return a("div",{id:"mProtocol"},[a("div",{class:c,innerHTML:this.protocolHTML},null)])}}))}}}))}();
|