← Back
Editing: index-legacy28.js
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function n(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(e,n,r){return(n=function(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return n};var e,n={},r=Object.prototype,a=r.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),u=new C(r||[]);return i(a,"_invoke",{value:S(t,n,u)}),a}function v(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=p;var h="suspendedStart",d="suspendedYield",m="executing",y="completed",g={};function b(){}function w(){}function _(){}var x={};f(x,c,(function(){return this}));var k=Object.getPrototypeOf,j=k&&k(k(D([])));j&&j!==r&&a.call(j,c)&&(x=j);var E=_.prototype=b.prototype=Object.create(x);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(e,n){function r(o,i,u,c){var l=v(e[o],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&a.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(f).then((function(t){s.value=t,u(s)}),(function(t){return r("throw",t,u,c)}))}c(l.arg)}var o;i(this,"_invoke",{value:function(t,e){function a(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(a,a):a()}})}function S(t,n,r){var o=h;return function(a,i){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:e,done:!0}}for(r.method=a,r.arg=i;;){var u=r.delegate;if(u){var c=N(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var l=v(t,n,r);if("normal"===l.type){if(o=r.done?y:d,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=y,r.method="throw",r.arg=l.arg)}}}function N(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,N(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=v(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var i=a.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function D(n){if(n||""===n){var r=n[c];if(r)return r.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var o=-1,i=function t(){for(;++o<n.length;)if(a.call(n,o))return t.value=n[o],t.done=!1,t;return t.value=e,t.done=!0,t};return i.next=i}}throw new TypeError(t(n)+" is not iterable")}return w.prototype=_,i(E,"constructor",{value:_,configurable:!0}),i(_,"constructor",{value:w,configurable:!0}),w.displayName=f(_,s,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,f(t,s,"GeneratorFunction")),t.prototype=Object.create(E),t},n.awrap=function(t){return{__await:t}},O(L.prototype),f(L.prototype,l,(function(){return this})),n.AsyncIterator=L,n.async=function(t,e,r,o,a){void 0===a&&(a=Promise);var i=new L(p(t,e,r,o),a);return n.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},O(E),f(E,s,"Generator"),f(E,c,(function(){return this})),f(E,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=D,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return u.type="throw",u.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.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),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}function a(t,e,n,r,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function u(t){a(i,r,o,u,c,"next",t)}function c(t){a(i,r,o,u,c,"throw",t)}u(void 0)}))}}function u(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}System.register(["./index-legacy103.js?v=VERSION_NUMBER","./index-legacy112.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./index-legacy145.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./useMethods-legacy.js?v=VERSION_NUMBER","./use-socket-request-legacy.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER"],(function(t,e){"use strict";var r,a,c,l,s,f,p,v,h,d,m,y,g,b,w,_,x,k,j,E,O,L,S,N,P,T,C,D,A,I,q,G,M,R,U,F,J,H,B,V,K,Y,Q,W,$,z,X,Z,tt,et,nt,rt,ot;return{setters:[function(t){r=t._},function(t){a=t._},function(t){c=t.ay,l=t.u,s=t.n,f=t.L,p=t.K,v=t.aN,h=t.w,d=t.aO,m=t.M,y=t.p,g=t.aP,b=t.aQ,w=t.aR,_=t.aA,x=t.aS,k=t.aT,j=t.aU,E=t.c,O=t.J,L=t.ak,S=t.l,N=t.a0,P=t.e},function(t){T=t._},function(t){C=t.k,D=t.r,A=t.U,I=t.c,q=t.w,G=t.p,M=t.n,R=t.a4,U=t.G,F=t.q,J=t.v,H=t.e,B=t.A,V=t.y,K=t.x,Y=t.B,Q=t.H},function(t){W=t.u,$=t.a,z=t.b,X=t.e,Z=t.r,tt=t.C,et=t.t,nt=t.o,rt=t.N},function(t){ot=t.u},null,null,null],execute:function(){var at,it,ut=c().refs,ct=ut.customLimit,lt=ut.cpuAndMemData,st=ut.maxCPU,ft=ut.maxMem,pt=ut.maxGpus,vt=l(),ht=vt.mainHeight,dt=vt.enterpriseRec,mt=C({loading:!1,total:0,p:1,limit:Number(localStorage.getItem("dockercontainerlimit"))||20,usedList:[],search:""}),yt=D([]),gt=A([]),bt=D([]),wt=D("all"),_t=[{label:"启动",value:"start",event:W},{label:"重启",value:"restart",event:W},{label:"停止",value:"stop",event:W},{label:"强制停止",value:"kill",event:W},{label:"暂停",value:"pause",event:W},{label:"恢复",value:"unpause",event:W},{label:"删除",value:"delete",event:W}],xt=[{active:!0,content:"创建容器",event:function(){return $()}},{content:"日志管理",event:function(){return Ut()}},{content:"清理容器",event:function(){return Jt()}}].concat(u(dt.value?[{content:"安全检测",event:(at=i(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s({title:"安全检测",area:70,component:function(){return f((function(){return e.import("./index-legacy142.js?v=VERSION_NUMBER")}),void 0,e.meta.url)}});case 1:case"end":return t.stop()}}),t)}))),function(){return at.apply(this,arguments)})}]:[])),kt=function(){ct.value.container=!0,localStorage.setItem("dockercontainerlimit",String(mt.limit)),Rt(!1)},jt=function(){var t=i(o().mark((function t(e,n){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:p({loading:"正在设置容器状态,请稍候...",request:b({data:JSON.stringify({id:e.id,status:n})}),message:!0,success:Rt});case 1:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Et=function(){var t=i(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:p({loading:"正在获取容器目录,请稍候...",request:w({data:JSON.stringify({id:e.id})}),success:function(t){_("Path",t.data.path),window.location.href=window.location.origin+"/files"},error:function(t){m.error((null==t?void 0:t.msg)||"获取容器目录失败")}});case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ot=function(){var t=i(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,y({title:"删除容器【".concat(e.name,"】"),content:"删除容器【".concat(e.name,"】,是否继续操作?")});case 3:p({loading:"正在删除容器,请稍候...",request:x({data:JSON.stringify({id:e.id})}),message:!0,success:Rt}),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),Lt=function(){var t=i(o().mark((function t(e,n){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:p({loading:"正在设置容器置顶,请稍候...",request:k({type:"top"==n?"add":"del",container_name:e.name}),message:!0,success:function(){e.is_top="top"==n?1:0,qt()}});case 1:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),St=function(){var t=i(o().mark((function t(){var e,n,r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(mt.p=1,""!==mt.search){t.next=5;break}return mt.total=yt.value.length,Rt(!1),t.abrupt("return");case 5:e=mt.search.toLowerCase(),n=["name","id","image"],r=yt.value.filter((function(t){return n.some((function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.toLowerCase().includes(e)}))})),mt.total=r.length,gt.value=z({limit:mt.limit,list:r,p:mt.p})||[];case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Nt=D(X({reNameEvent:function(t){return Z(t)},realMonitorEvent:function(t){return tt(t)},terminalEvent:et,dirEvent:Et,logDataEvent:function(t){return Ut(t)},deleteDataEvent:Ot,conDetailEvent:nt,setStatusEvent:jt,openContainerBackups:function(t){return Ft(t)},openProxyDetails:function(t){return nt(t,"proxy")},changeTaskTopEvent:Lt,moreEvent:function(t,e){switch(t){case"terminal":et(e);break;case"reName":Z(e);break;case"realMonitor":tt(e);break;case"proxyDetails":nt(e,"proxy");break;case"dir":Et(e);break;case"log":Ut(e)}},setStatusTitle:(it=i(o().mark((function t(e){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("all"!==e){t.next=5;break}return wt.value=e,t.next=4,Rt();case 4:return t.abrupt("return",t.sent);case 5:gt.value=(null===(r=bt.value[e])||void 0===r?void 0:r.map((function(t){var e=yt.value.find((function(e){return e.id===t.id}));return n(n({},t),{},{backup_count:(null==e?void 0:e.backup_count)||0,remark:(null==e?void 0:e.remark)||""})})))||[];case 6:case"end":return t.stop()}}),t)}))),function(t){return it.apply(this,arguments)}),statusFilterKey:wt})),Pt=null,Tt=function(){var t=i(o().mark((function t(e){var n,r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{(n=e).data.container_stats_data&&At(n.data),n.end&&(null===(r=Pt)||void 0===r||r.socketRequest({params:{model_index:"btdocker",mod_name:"container",def_name:"get_all_stats",ws_callback:"get_all_stats"},onMessage:Tt}))}catch(o){}case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ct=function(){var t=i(o().mark((function t(){var e,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=void 0,null===(r=Pt)||void 0===r||r.socketDestroy(),Pt=ot("/ws_model"),n={model_index:"btdocker",mod_name:"container",def_name:"get_all_stats",ws_callback:"get_all_stats"},null===(e=Pt)||void 0===e||e.socketRequest({params:n,onMessage:Tt});case 3:case"end":return t.stop()}var r}),t)})));return function(){return t.apply(this,arguments)}}(),Dt=function(t){return t.id},At=function(t){if(t.container_stats_data){var e=t.container_stats_data;gt.value.forEach((function(t){if("running"===t.status){var n=e.find((function(e){return e.id==t.id}));n&&(lt.value[t.id]={cpu_usage:n.cpu_usage||0,mem_percent:n.mem_percent||0})}}))}},It=function(){var t;null===(t=Pt)||void 0===t||t.socketDestroy(),Pt=null,mt.loading=!1,mt.total=0,mt.p=1,mt.search="",mt.usedList=[],mt.limit=Number(localStorage.getItem("dockercontainerlimit"))||20,yt.value=[],gt.value=[],bt.value=[]},qt=function(){yt.value=yt.value.sort((function(t,e){return 1==t.is_top&&1!=e.is_top?-1:1!=t.is_top&&1==e.is_top?1:t.created_time>e.created_time?-1:1})),gt.value=z({limit:mt.limit,list:yt.value,p:mt.p})||[]},Gt=function(){setTimeout((function(){ht.value>900?mt.limit=20:mt.limit=10}),0)},Mt=!0,Rt=function(){var t=i(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e){t.next=3;break}return gt.value=z(n(n({},mt),{},{list:yt.value}))||[],t.abrupt("return");case 3:return Mt&&(mt.loading=!0),t.next=6,p({request:v(),data:{container_list:Array,grouped_by_status:Object,mem_total:Number,online_cpus:Number,gpu:Number},success:function(t){Mt=!1;var e=t.container_list;t.container_list.forEach((function(t){lt.value[t.id]={cpu_usage:0,mem_percent:0}})),yt.value=e,mt.total=e.length,gt.value=z(n(n({},mt),{},{list:e}))||[],mt.loading=!1,bt.value=t,st.value=t.online_cpus,ft.value=Number(h(Number(t.mem_total),!1,0,"MB")),pt.value=t.gpu||0}});case 6:return t.next=8,p({request:d(),data:Array,success:function(t){yt.value.forEach((function(e,n){var r=t.find((function(t){return t.id===e.id}));r&&(e.backup_count=r.backup_count,e.remark=r.remark)})),Ct()}});case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ut=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!yt.value.length)return m.error("容器列表为空");s({component:function(){return f((function(){return e.import("./index-legacy143.js?v=VERSION_NUMBER")}),void 0,e.meta.url)},title:"容器日志",area:92,compData:{row:t,list:yt.value}})},Ft=function(t){return s({component:function(){return f((function(){return e.import("./index-legacy144.js?v=VERSION_NUMBER")}),void 0,e.meta.url)},title:"备份容器 - ["+t.name+"]",area:79,compData:{row:t}})},Jt=function(){var t=i(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y({content:"将删除所有已停止、未使用的容器,是否继续?",title:"清理容器",width:"42rem",type:"check",check:{content:'删除<span class="text-danger">所有</span>容器,包含正在运行的容器',onConfirm:function(){var t=i(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:mt.loading=!0,p({request:g({type:e?1:0}),message:!0,success:Rt,error:function(){mt.loading=!1}});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}});case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Ht={class:"relative container-table-tab"},Bt={class:"flex items-center"},Vt=I({__name:"index",setup:function(t,e){var n=e.expose,u=c(),s=u.refs,f=s.refreshWs,p=s.isRefreshTableList,v=s.customLimit,h=u.resetRefresh,d=l().mainHeight,m=D(null);return q((function(){return f.value}),(function(t){t&&(f.value=!1,Ct())})),q((function(){return p.value}),(function(t){t&&(h(),Rt())})),G(i(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:Nt.value=j(JSON.parse(localStorage.getItem("dockerContainerTableColumn")||"[]")||[],Nt.value),Rt(),M((function(){v.value.container||Gt()}));case 3:case"end":return t.stop()}}),t)})))),n({init:Rt,destroy:It}),R((function(){return It()})),function(t,e){var n=T,o=E,i=O,u=L,c=S,l=N,s=a,f=r,p=U("bt-loading");return F(),J("div",Ht,[H(f,null,{"header-left":B((function(){return[V("div",Bt,[H(n,{options:K(xt)},null,8,["options"]),H(o,{class:"ml-[1.6rem]",onClick:K(rt)},{default:B((function(){return e[3]||(e[3]=[Y("需求反馈")])})),_:1},8,["onClick"]),H(o,{class:"ml-[1.6rem]",href:"https://www.bt.cn/bbs/thread-140412-1-1.html"},{default:B((function(){return e[4]||(e[4]=[Y(">>使用帮助")])})),_:1})])]})),"header-right":B((function(){return[H(i,{class:"!w-[26rem] mr-1rem",modelValue:K(mt).search,"onUpdate:modelValue":e[0]||(e[0]=function(t){return K(mt).search=t}),onSearch:K(St),placeholder:"请输入容器名、ID、容器镜像"},null,8,["modelValue","onSearch"]),H(u,{name:"dockerContainerTableColumn",column:K(Nt),tableRef:K(m)},null,8,["column","tableRef"])]})),content:B((function(){return[Q(H(c,{ref_key:"containerTable",ref:m,key:"containerTable",column:K(Nt),data:K(gt),"row-key":K(Dt),description:"容器列表为空","max-height":K(d)-230},null,8,["column","data","row-key","max-height"]),[[p,K(mt).loading],[p,"正在加载容器列表,请稍后...","title"]])]})),"footer-left":B((function(){return[H(l,{"table-ref":K(m),options:K(_t)},null,8,["table-ref","options"])]})),"footer-right":B((function(){return[H(s,{page:K(mt).p,"onUpdate:page":e[1]||(e[1]=function(t){return K(mt).p=t}),row:K(mt).limit,"onUpdate:row":e[2]||(e[2]=function(t){return K(mt).limit=t}),useStorage:!1,total:K(mt).total,onChange:K(kt)},null,8,["page","row","total","onChange"])]})),_:1})])}}});t("default",P(Vt,[["__scopeId","data-v-7a068085"]]))}}}))}();
Save File
Cancel