1 |
- !function(){function e(e,t,n,r,o,c,a){try{var i=e[c](a),u=i.value}catch(s){return void n(s)}i.done?t(u):Promise.resolve(u).then(r,o)}System.register(["./ResizeObserver.es-legacy.42c87f31.js"],(function(t){"use strict";var n,r,o,c,a,i;return{setters:[function(e){n=e.d,r=e.n,o=e.g,c=e.c,a=e.f,i=e.al}],execute:function(){t("default",n({name:"preview-protocol",data:function(){return{protocolHTML:""}},mounted:function(){var t,n=this;return(t=regeneratorRuntime.mark((function e(){var t,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n.protocolHTML){e.next=7;break}return e.next=4,r.get(o.platformApi+"/open/userContractRecord/queryLatestContractTemplate",{params:{contractType:"WITHDRAW"}});case 4:t=e.sent,c=t.data,n.protocolHTML=c.contractTemplateContent||"";case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})),function(){var n=this,r=arguments;return new Promise((function(o,c){var a=t.apply(n,r);function i(t){e(a,o,c,i,u,"next",t)}function u(t){e(a,o,c,i,u,"throw",t)}i(void 0)}))})()},render:function(){return c("div",{id:"mProtocol"},[a().isApp&&c(i,null,null),c("div",{style:"font-size: 14px;padding: 12px;color: #333;line-height: 1.4;",innerHTML:this.protocolHTML},null)])}}))}}}))}();
|