System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159"],function(t,e){"use strict";var a,l,n,u,r,s,i,o,c,m,v,p,d;return{setters:[function(t){a=t.l},function(t){l=t.c,n=t.r,u=t.e,r=t.g,s=t.aI,i=t.v,o=t.x,c=t.z,m=t.F,v=t.C,p=t.A,d=t.y},null],execute:function(){var e={class:"p-[2rem] pt-[1rem]"},f={class:"flex items-center mb-[0.8rem]"},g={class:"text-base ml-[1.2rem]"};t("default",l({__name:"index",props:{compData:{default:function(){return{resultData:[]}}}},setup:function(t){var l=t,D=n([{label:"名称",prop:"name"},{label:"结果",align:"right",render:function(t){var e=t;return u("span",{class:"".concat(e.status?"text-primary":"text-danger"),innerHTML:e.status?(null==e?void 0:e.msg)||"操作成功":(null==e?void 0:e.msg)||"操作失败"},null)}}]),x=n("操作"),y=r(function(){var t;return(null===(t=l.compData)||void 0===t||null===(t=t.resultData)||void 0===t?void 0:t.filter(function(t){return t.status}).length)||0}),b=r(function(){var t;return(null===(t=l.compData)||void 0===t||null===(t=t.resultData)||void 0===t?void 0:t.filter(function(t){return!t.status}).length)||0});return s(function(){var t,e;null!==(t=l.compData)&&void 0!==t&&t.resultColumn&&(D.value=l.compData.resultColumn),null!==(e=l.compData)&&void 0!==e&&e.resultTitle&&(x.value=l.compData.resultTitle)}),function(t,l){var n,r=a;return i(),o("div",e,[c("div",f,[l[0]||(l[0]=c("span",{class:"!text-primary !text-titleLarge svgtofont-el-circle-check-filled"},null,-1)),c("span",g,[t.compData.autoTitle?(i(),o(m,{key:0},[v(p(null===(n=t.compData)||void 0===n?void 0:n.autoTitle),1)],64)):(i(),o(m,{key:1},[v(" 批量"+p(d(x))+"完成！共"+p(t.compData.resultData.length)+"项，成功"+p(d(y))+"项，失败"+p(d(b))+"项。 ",1)],64))])]),u(r,{column:d(D),data:t.compData.resultData||[],"max-height":"360"},null,8,["column","data"])])}}}))}}});
