index-legacy.cff5836c.js 1.2 KB

1
  1. !function(){function t(t,e,n,r,o,c,a){try{var i=t[c](a),u=i.value}catch(s){return void n(s)}i.done?e(u):Promise.resolve(u).then(r,o)}System.register(["./index-legacy.b903c881.js","./index-legacy.885c229f.js"],(function(e){"use strict";var n,r,o,c,a;return{setters:[function(t){n=t.d,r=t.w,o=t.g,c=t.j},function(t){a=t.C}],execute:function(){e("default",n({name:"preview-protocol",data:function(){return{protocolHTML:""}},mounted:function(){var e,n=this;return(e=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n.protocolHTML){t.next=6;break}return t.next=4,r.get(o.platformApi+"/sysUserContractRecord/queryContract",{params:{contractType:"REGISTER"}});case 4:e=t.sent,n.protocolHTML=e.data;case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var n=this,r=arguments;return new Promise((function(o,c){var a=e.apply(n,r);function i(e){t(a,o,c,i,u,"next",e)}function u(e){t(a,o,c,i,u,"throw",e)}i(void 0)}))})()},render:function(){return c("div",{id:"mProtocol"},[c(a,null,null),c("div",{innerHTML:this.protocolHTML},null)])}}))}}}))}();