!function(){functiont(e){returnt="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},t(e)}functione(t,e){varr=Object.keys(t);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){returnObject.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}returnr}functionr(t){for(varr=1;r<arguments.length;r++){varn=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(e){w(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}returnt}functionn(t,e){returnfunction(t){if(Array.isArray(t))returnt}(t)||function(t,e){varr=null==t?null:"undefined"!=typeofSymbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){varn,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}elsefor(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throwo}}returns}}(t,e)||function(t,e){if(!t)return;if("string"==typeoft)returno(t,e);varr=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)returnArray.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))returno(t,e)}(t,e)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functiono(t,e){(null==e||e>t.length)&&(e=t.length);for(varr=0,n=newArray(e);r<e;r++)n[r]=t[r];returnn}functioni(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){returne};vare={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeofSymbol?Symbol:{},s=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";functionl(t,e,r){returnObject.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(D){l=function(t,e,r){returnt[e]=r}}functionp(t,e,r,n){vari=e&&e.prototypeinstanceofh?e:h,a=Object.create(i.prototype),s=newk(n||[]);returno(a,"_invoke",{value:O(t,r,s)}),a}functionf(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(D){return{type:"throw",arg:D}}}e.wrap=p;vard={};functionh(){}functionm(){}functionv(){}vary={};l(y,s,(function(){returnthis}));varb=Object.getPrototypeOf,w=b&&b(b(L([])));w&&w!==r&&n.call(w,s)&&(y=w);varg=v.prototype=h.prototype=Object.create(y);functionx(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){returnthis._invoke(e,t)}))}))}functionP(e,r){functioni(o,a,s,c){varu=f(e[o],e,a);if("throw"!==u.type){varl=u.arg,p=l.value;returnp&&"object"==t(p)&&n.call(p,"__await")?r.resolve(p.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):r.resolve(p).then((function(t){l.value=t,s(l)}),(function(t){returni("throw",t,s,c)}))}c(u.arg)}vara;o(this,"_invoke",{value:function(t,e){functionn(){returnnewr((function(r,n){i(t,e,r,n)}))}returna=a?a.then(n,n):n()}})}functionO(t,e,r){varn="suspendedStart";returnfunction(o,i){if("executing"===n)thrownewError("Generator is already running");if("completed"===n){if("throw"===o)throwi;returnC()}for(r.method=o,r.arg=i;;){vara=r.delegate;if(a){vars=S(a,r);if(s){if(s===d)continue;returns}}if("next"===r.method)r.sent=r._sent=r.arg;elseif("throw"===r.method){if("suspendedStart"===n)thrown="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";varc=f(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}functionS(t,e){varr=e.method,n=t.iterator[r];if(void0===n)returne.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=newTypeError("The iterator does not provide a '"+r+"' method")),d;varo=f(n,t.iterator,e.arg);if("throw"===o.type)returne.method="throw",e.arg=o.arg,e.delegate=null,d;vari=o.arg;returni?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void0),e.delegate=null,d):i:(e.method="throw",e.arg=newTypeError("iterator result is not an object"),e.delegate=null,d)}functionj(t){vare={tryLoc:t[0]};1int&&(e.catchLoc=t[1]),2int&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}functionE(t){vare=t.completion||{};e.type="normal",deletee.arg,t.completion=e}functionk(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}functionL(t){if(t){vare=t[s];if(e)returne.call(t);if("function"==typeoft.next)returnt;if(!isNaN(t.length)){varr=-1,o=functione(){for(;++r<t.length;)if(n.call(t,r))returne.value=t[r],e.done=!1,e;returne.value=void0,e.done=!0,e};returno.next=o}}return{next:C}}functionC(){return{value:void0,done:!0}}returnm.prototype=v,o(g,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:m,configurable:!0}),m.displayName=l(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){vare="function"==typeoft&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){returnObject.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},x(P.prototype),l(P.prototype,c,(function(){returnthis})),e.AsyncIterator=P,e.async=function(t,r,n,o,i){void0===i&&(i=Promise);vara=newP(p(t,r,n,o),i);returne.isGeneratorFunction(r)?a:a.next().then((function(t){returnt.done?t.value:a.next()}))},x(g),l(g,u,"Generator"),l(g,s,(function(){returnthis})),l(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){vare=Object(t),r=[];for(varnine)r.push(n);returnr.reverse(),functiont(){for(;r.length;){varn=r.pop();if(nine)returnt.value=n,t.done=!1,t}returnt.done=!0,t}},e.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void0,this.done=!1,this.delegate=null,this.method="next",this.arg=void0,this.tryEntries.forEach(E),!t)for(vareinthis)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void0)},stop:function(){this.done=!0;vart=this.tryEntries[0].completion;if("throw"===t.type)throwt.arg;returnthis.rval},dispatchException:function(t){if(this.done)throwt;vare=this;functionr(r,n){returna.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void0),!!n}for(varo=this.tryEntries.length-1;o>=0;--o){vari=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)returnr("end");if(i.tryLoc<=this.prev){vars=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)returnr(i.catchLoc,!0);if(this.prev<i.finallyLoc)returnr(i.finallyLoc)}elseif(s){if(this.prev<i.catchLoc)returnr(i.catchLoc,!0)}else{if(!c)thrownewError("try statement without catch or finally");if(this.prev<i.finallyLoc)returnr(i.finallyLoc)}}}},abrupt:function(t,e){for(varr=this.tryEntries.length-1;r>=0;--r){varo=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){vari=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);vara=i?i.completion:{};returna.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throwt.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varr=this.tryEntries[e];if(r.finallyLoc===t)returnthis.complete(r.completion,r.afterLoc),E(r),d}},catch:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varr=this.tryEntries[e];if(r.tryLoc===t){varn=r.completion;if("throw"===n.type){varo=n.arg;E(r)}returno}}thrownewError("illegal catch attempt")},delegateYield:function(t,e,r){returnthis.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void0),d}},e}functiona(t,e,r,n,o,i,a){try{vars=t[i](a),c=s.value}catch(u){returnvoidr(u)}s.done?e(c):Promise.resolve(c).then(n,o)}functions(t){returnfunction(){vare=this,r=arguments;returnnewPromise((function(n,o){vari=t.apply(e,r);functions(t){a(i,n,o,s,c,"next",t)}functionc(t){a(i,n,o,s,c,"throw",t)}s(void0)}))}}functionc(){returnc="undefined"!=typeofReflect&&Reflect.get?Reflect.get.bind():function(t,e,r){varn=u(t,e);if(n){varo=Object.getOwnPropertyDescriptor(n,e);returno.get?o.get.call(arguments.length<3?t:r):o.value}},c.apply(this,arguments)}functionu(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=m(t)););returnt}functionl(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}functionp(t,e){returnp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){returnt.__proto__=e,t},p(t,e)}functionf(t){vare=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();returnfunction(){varr,n=m(t);if(e){varo=m(this).constructor;r=Reflect.construct(n,arguments,o)}elser=n.apply(this,arguments);returnd(this,r)}}functiond(e,r){if(r&&("object"===t(r)||"function"==typeofr))returnr;if(void0!==r)thrownewTypeError("Derived constructors may only return object or undefined");returnh(e)}functionh(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}functionm(t){returnm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){returnt.__proto__||Object.getPrototypeOf(t)},m(t)}functionv(t,e){for(varr=0;r<e.length;r++){varn=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(t,g(n.key),n)}}functiony(t,e,r){returne&&v(t.prototype,e),r&&v(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}functionb(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionw(t,e,r){return(e=g(e))int?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}functiong(e){varr=function(e,r){if("object"!==t(e)||null===e)returne;varn=e[Symbol.toPrimitive];if(void0!==n){varo=n.call(e,r||"default");if("object"!==t(o))returno;thrownewTypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===t(r)?r:String(r)}System.register(["@ibiz-template/runtime","@ibiz-template/controller","dayjs","@ibiz-template/model","vue","@ibiz-template/vue-util"],(function(t,e){"use strict";varo,a,u,p,d,v,g,x,P,O,S,j,E,k,L,C,D,V,T,_,z,I,R;return{setters:[function(t){o=t.PluginStaticResource,a=t.ViewMode},function(t){u=t.CustomPortletController,p=t.ViewPortletController,d=t.SpanEditorController},function(t){v=t.default},function(t){g=t.PortletPartModel,x=t.ListModel,P=t.ViewPortletModel},function(t){O=t.defineComponent,S=t.reactive,j=t.watch,E=t.h,k=t.getCurrentInstance,L=t.ref,C=t.computed},function(t){D=t.useNamespace,V=t.useTabExpViewController,T=t.useRouter,_=t.useRoute,z=t.getViewName,I=t.getSpanProps,R=t.useListController}],execute:function(){varN=newo(e.meta.url),M=y((functiont(){b(this,t),w(this,"component","IndexView")})),A=function(t){l(a,t);vare,o=f(a);functiona(){vart;b(this,a);for(vare=arguments.length,r=newArray(e),n=0;n<e;n++)r[n]=arguments[n];returnw(h(t=o.call.apply(o,[this].concat(r))),"items",[{text:"近一年",value:12},{text:"近半年",value:6},{text:"近三月",value:3}]),w(h(t),"data",{selectDate:[],itemValue:12}),w(h(t),"onItemValueChange",(function(e){varr=v();t.data.selectDate=[r.subtract(e,"month").add(1,"day").toDate(),r.toDate()]})),t}returny(a,[{key:"onInit",value:(e=s(i().mark((functiont(){returni().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returnt.next=2,c(m(a.prototype),"onInit",this).call(this);case2:this.onItemValueChange(this.data.itemValue),this.changeViewParams();case4:case"end":returnt.stop()}}),t,this)}))),function(){returne.apply(this,arguments)})},{key:"changeViewParams",value:function(){vart=n(this.data.selectDate,2),e=t[0],o=t[1];if(e&&o){vari=v(e).format("YYYY-MM-DD HH:mm:ss"),a=v(o).format("YYYY-MM-DD HH:mm:ss");this.dashboard.setContextOrParams(void0,r(r({},this.params),{},{starttime:i,endtime:a,kssj:i,jssj:a,tjkssj:i,tjjssj:a}),!0)}}}]),a}(u),q=function(t){l(o,t);vare,r,n=f(o);functiono(){vart;b(this,o);for(vare=arguments.length,r=newArray(e),i=0;i<e;i++)r[i]=arguments[i];returnw(h(t=n.call.apply(n,[this].concat(r))),"entityService",void0),w(h(t),"result",{data:{}}),t}returny(o,[{key:"onInit",value:(r=s(i().mark((functiont(){vare=this;returni().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returnt.next=2,c(m(o.prototype),"onInit",this).call(this);case2:returnt.next=4,ibiz.entityService.getService("GwxnFwzl",this.context);case4:this.entityService=t.sent,this.dashboard.nerve.self.evt.on("mounted",(function(){e.load()}));case6:case"end":returnt.stop()}}),t,this)}))),function(){returnr.apply(this,arguments)})},{key:"calcViewParams",value:function(){c(m(o.prototype),"calcViewParams",this).call(this),this.dashboard.complete&&this.load()}},{key:"load",value:(e=s(i().mark((functiont(){vare;returni().wrap((function(t){for(;;)switch(t.prev=t.next){case0:if(this.entityService){t.next=2;break}returnt.abrupt("return");case2:returnt.next=4,this.entityService.exec("Getfwzldata",this.context,this.params);case4:(e=t.sent).ok&&e.data?this.result.data=e.data:this.result.data={};case6:case"end":returnt.stop()}}),t,this)}))),function(){returne.apply(this,arguments)})}]),o}(p),B=function(){functiont(){b(this,t),w(this,"component","PortalDatePicker")}vare;returny(t,[{key:"createController",value:(e=s(i().mark((functiont(e,r,n){varo;returni().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returno=newA(e,r,n),t.next=3,o.init();case3:returnt.abrupt("return",o);case4:case"end":returnt.stop()}}),t)}))),function(t,r,n){returne.apply(this,arguments)})}]),t}(),F=y((functiont(){b(this,t),w(this,"component","CustomTabExpView")})),G=function(){functiont(e){b(this,t),w(this,"formEditor","GrowthRateSpan"),w(this,"gridEditor","IBizGridSpan"),"SPAN_LINK"===e&&(this.formEditor="IBizSpanLink",this.gridEditor="IBizSpanLink")}vare;returny(t,[{key:"createController",value:(e=s(i().mark((functiont(e,r){varn;returni().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returnn=newd(e,r),t.next=3,n.init();case3:returnt.abrupt("return",n);case4:case"end":returnt.stop()}}),t)}))),function(t,r){returne.apply(this,arguments)})}]),t}(),Y=y((functiont(){b(this,t),w(this,"component","BwsdCustomList")})),U=function(){functiont(){b(this,t),w(this,"component","FwzlPortal")}vare;returny(t,[{key:"createController",value:(e=s(i().mark((functiont(e,r,n){varo;returni().wrap((function(t){for(;;)switch(t.prev=t.next){case0:returno=newq(e,r,n),t.next=3,o.init();case3:returnt.abrupt("return",o);case4:case"end":returnt.stop()}}),t)}))),function(t,r,n){returne.apply(this,arguments)})}]),t}(),H=y((functiont(){b(this,t),w(this,"component","FwzlCustomList")})),K=O({name:"PortalDatePicker",props:{modelData:{type:g,required:!0},controller:{type:A,required:!0}},setup:function(t){vare=D("portal-date-picker"),r=t.controller;Object.assign(r,{data:S(r.data)});varn=v("2017-01-01"),o={disabledDate:function(t){returnv(t).isBefore(n,"day")}};returnj((function(){returnr.data.selectDate}),r.changeViewParams.bind(r)),{ns:e,options:o,onSelectDateChange:function(t){r.data.itemValue=0}}},render:function(){vart=this,e=this.controller.model,r=[this.ns.b(),this.ns.m(this.modelData.modelClass)];returnE("portlet-layout",{attrs:{controller:this.controller},class:r},[E("div",{class:this.ns.b("content")},[E("div",{class:this.ns.e("text")},[e.title||""]),E("i-date-picker",{class:this.ns.e("picker"),attrs:{type:"daterange",placeholder:"请选择日期",separator:" 至 ",clearable:!1,editable:!1,options:this.options},on:{"on-change":this.onSelectDateChange},model:{value:this.controller.data.selectDate,callback:function(e){t.$set(t.controller.data,"selectDate",e)}}}),E("i-radio-group",{class:this.ns.e("radio-group"),attrs:{type:"button"},on:{"on-change":this.controller.onItemValueChange},model:{value:this.controller.data.itemValue,callback:function(e){t.$set(t.controller.data,"itemValue",e)}}},[this.controller.items.map((function(e){returnE("i-radio",{class:t.ns.e("radio"),attrs:{label:e.value}},[e.text])}))])])])}}),W=O({props:{context:Object,params:{type:Object},modelPath:{type:String,required:!0},modal:{type:Object},noLoadDefault:{type:Boolean,required:!1}},setup:function(t){vare=k().proxy,r=D("custom-tab-exp-view"),n=D("view"),o=V(e,t.modelPath),c=L([]),u=L(""),l=L(!1),p=T(e),f={},d=function(){vart=s(i().mark((functiont(r){varn,a,s,d;returni().wrap((function(t){for(;;)switch(t.prev=t.next){case0:if(n=_(e),a=n.fullPath,f[u.value]=a,!1!==(null==(s=o.model.tabExpPanel.tabExpPages.find((function(t){returnt.name===r})))?void0:s.embedView.initialized)){t.next=7;break}returnt.next=7,s.embedView.init();case7:o.context.isRouter?(l.value=!0,f[r]?p.push(f[r]):(d=Object.assign(o.context.clone(),{toRouteLevel:o.modal.level+1}),ibiz.openView.root(s.embedView.source,d,o.params)),setTimeout((function(){l.value=!1,u.value=r}),0)):c.value.includes(r)||(c.value.push(r),u.value=r);case8:case"end":returnt.stop()}}),t)})));returnfunction(e){returnt.apply(this,arguments)}}();o.nerve.self.evt.on("created",(function(){varr=_(e),n=o.model.tabExpPanel.tabExpPages;if(o.context.isRouter){vari=t.modal.level+1,a=r.params["view".concat(i)];if(a){vars=n.find((function(t){returnz(t.embedView.source)===a}));s&&(u.value=s.name)}}if(n.length&&!u.value){varc=n[0].name;d(c)}}));varh=C((function(){returnObject.values(o.tabExpPages).map((function(t){returnt.key}))})),m={mode:a.EMBED};return{c:o,ns:r,ns2:n,onTabClick:d,lazyList:c,deactivateAll:l,activeTab:u,keyHistory:h,embedViewModal:m}},render:function(){vart=this,e=this.c,r=!0===this.c.context.isRouter;returnE("view-base",{class:[this.ns.b(),r?this.ns.m("route"):""],attrs:{controller:this.c},scopedSlots:{caption:function(){returnE("div",{class:t.ns2.b("caption")},[e.complete&&e.model.source.getPSSysImage()?[E("app-icon",{class:t.ns2.be("caption","icon"),attrs:{icon:e.model.source.getPSSysImage()}}),E("span",{class:t.ns2.be("caption","text"),attrs:{title:e.caption}},[e.caption])]:E("span",{class:t.ns2.be("caption","text"),attrs:{title:e.caption}},[e.caption]),e.complete&&E("i-radio-group",{class:t.ns.e("radio-group"),attrs:{type:"button"},on:{"on-change":t.onTabClick},model:{value:t.activeTab,callback:function(e){t.activeTab=e}}},[t.c.model.tabExpPanel.tabExpPages.map((function(e){if(t.c.tabExpPages[e.name])returnE("i-radio",{class:t.ns.e("radio"),attrs:{label:e.name}},[e.source.caption])}))])])}}},[this.c.complete&&[E("i-tabs",{class:this.ns.e("tab"),attrs:{name:this.c.model.codeName},on:{"on-click":this.onTabClick},model:{value:this.activeTab,callback:function(e){t.activeTab=e}}},[this.c.model.tabExpPanel.tabExpPages.map((function(e){varr=t.c.tabExpPages[e.name];if(r)returnE("i-tab-pane",{class:t.ns.e("tab-item"),attrs:{tab:t.c.model.codeName,label:e.source.caption,name:e.name}},[t.lazyList.includes(e.name)&&E("ViewShell",{attrs:{context:t.c.context,params:t.c.params,modal:t.embedViewModal,modelPath:e.embedView.source.modelPath},on:{neuronInit:t.c.nerve.onNeuronInit(e.name)},key:r.key})])}))]),r&&this.activeTab&&E("div",{class:this.ns.e("route-content")},[E("router-view",{key:this.c.tabExpPages[this.activeTab].key,on:{"neuron-init":this.c.nerve.onNeuronInit(this.activeTab)}},[function(e){varr=e.Component;returnr&&E("appKeepAlive",{attrs:{keyList:t.keyHistory}},[E(r)])}])])]])}}),$=O({name:"GrowthRateSpan",props:I(),setup:function(){return{ns:D("growth-rate-span")}},render:function(){returnE("div",{class:[this.ns.b()]},[E("rate-span",{attrs:{value:this.value}})])}}),J=O({name:"BwsdCustomList",props:{modelData:{type:x,required:!0},context:{type:Object,required:!0},params:{type:Object,default:function(){return{}}},mdCtrlActiveMode:{type:Number,default:2},isSelectFirstDefault:{type:Boolean,required:!1},defaultSelectKeys:{type:Array,required:!1},isExpView:{type:Boolean,required:!1}},setup:function(t){vare=k().proxy,r=D("bwsd-custom-list");return{c:R(e,t.modelData,t.context,t.params),ns:r}},render:function(){vart=this;returnE("control-layout",{attrs:{modelData:this.c.model}},[E("div",{class:this.ns.b()},[this.c.items.length?null:E("div",{class:this.ns.b("item")},["暂无数据"]),this.c.items.map((function(e,r){returnE("div",{class:t.ns.b("item")},[E("div",{class:t.ns.be("item","index")},["".concat(r+1,".")]),E("div",{class:t.ns.be("item","key")},[e.key||""]),E("div",{class:t.ns.be("item","value")},[e.value||""])])}))])])}}),Q=O({name:"FwzlPortal",props:{modelData:{type:P,required:!0},controller:{type:q,required:!0}},setup:function(t){vare=D("view-portlet");returnObject.assign(t.controller,{result:S(t.controller.result)}),{ns:e,ns2:D("fwzl-portal"),onNeuronInit:function(e){t.controller.setViewNeuron(e)}}},render:function(){vart=this,e=this.controller,r=[this.ns.b(),this.ns.m(this.modelData.modelClass),this.ns2.b()];returnE("portlet-layout",{attrs:{controller:this.controller},class:r},[E("div",{class:[t.ns2.b("content")]},[E("div",{class:t.ns2.e("text")},["总计退文"]),E("div",{class:t.ns2.e("value")},[e.result.data.ztws||0]),E("div",{class:t.ns2.e("text")},["件"]),E("div",{class:t.ns2.e("rate")},[E("rate-span",{attrs:{value:e.result.data.tqztwszf}})])]),E("ViewShell",{attrs:{context:e.viewContext,params:e.params,modal:{mode:a.EMBED},modelPath:e.model.embedView.source.modelPath},on:{neuronInit:this.onNeuronInit},key:e.model.embedView.codeName})])}}),X=O({name:"FwzlCustomList",props:{modelData:{type:x,required:!0},context:{type:Object,required:!0},params:{type:Object,default:function(){return{}}},mdCtrlActiveMode:{type:Number,default:2},isSelectFirstDefault:{type:Boolean,required:!1},defaultSelectKeys:{type:Array,required:!1},isExpView:{type:Boolean,required:!1}},setup:function(t){vare,r=k().proxy,n=R(r,t.modelData,t.context,t.params),o=D("fwzl-custom-list"),i=L([]),a=null===(e=n.model.source.getPSControlParam())||void0===e?void0:e.ctrlParams;returna&&a.COLOR&&(i.value=JSON.parse(a.COLOR)),{c:n,ns:o,colorList:i}},render:function(){vart=this;returnE("control-layout",{attrs:{modelData:this.c.model}},[this.c.complete&&(t.c.items.length?E("div",{class:t.ns.b()},[E("div",{class:t.ns.b("item-icon")},[t.c.items.map((function(e,r){returnE("div",{class:t.ns.b("item")},[E("div",{class:t.ns.be("item","icon"),style:{"--background":"".concat(t.colorList[r]||"#5190ff")}})])}))]),E("div",{class:t.ns.b("item-text")},[t.c.items.map((function(e){returnE("div",{class:t.ns.b("item")},[e.text&&E("div",{class:t.ns.be("item","text")},[e.text])])}))]),E("div",{class:t.ns.b("item-value")},[t.c.items.map((function(e){returnE("div",{class:t.ns.b("item")},[null!=e.value&&E("div",{class:t.ns.be("item","value")},[e.value])])}))]),E("div",{class:t.ns.b("item-percentage")},[t.c.items.map((function(e){returnE("div",{class:t.ns.b("item")},[e.percentage&&E("div",{class:t.ns.be("item","percentage")},[e.percentage])])}))]),E("div",{class:t.ns.b("item-rate")},[t.c.items.map((function(e){returnE("div",{class:t.ns.b("item")},[E("div",{class:t.ns.be("item","rate")},[E("rate-span",{attrs:{value:e.rate}})])])}))])]):E("div",{class:[t.ns.b(),t.ns.m("empty")]},["未有被退文部门"]))])}}),Z=O({name:"RateSpan",props:{value:{type:String}},setup:function(t){vare=D("rate-span"),r=L(""),n=L();returnj((function(){returnt.value}),(function(t){if(t&&parseInt(t,10)){if(t.startsWith("-"))returnr.value=t.slice(1),void(n.value="decrease");r.value=t,n.value="increase"}elser.value=""}),{immediate:!0}),{ns:e,text:r,type:n}},render:function(){if(this.text&&this.type)returnE("div",{class:[this.ns.b(),this.ns.m(this.type)]},[this.text])}});t("default",{mateUrl:e.meta.url,install:function(t){N.loadStyle(["/style.css"]),ibiz.register.view.register("VIEW_CUSTOM_GwxnIndexCSS",newM),t.component("RateSpan",Z),t.component("PortalDatePicker",K),ibiz.register.portletPart.register("PORTLET_CUSTOM_PortalDatePicker",newB),t.component("CustomTabExpView",W),ibiz.register.view.register("VIEW_CUSTOM_CustomTabExpView",newF),t.component("GrowthRateSpan",$),ibiz.register.editor.register("SPAN_GrowthRateSpan",newG),t.component("BwsdCustomList",J),ibiz.register.control.register("CUSTOM_BwsdCustomList",newY),t.component("FwzlPortal",Q),ibiz.register.portletPart.register("PORTLET_CUSTOM_FwzlPortal",newU),t.component("FwzlCustomList",X),ibiz.register.control.register("CUSTOM_FwzlCustomList",newH)}})}}}))}();