HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/group-add-projects-legacy.js
!function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return n(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):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 n(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function a(r,o,u,i){var a=o&&o.prototype instanceof f?o:f,l=Object.create(a.prototype);return e(l,"_invoke",function(r,e,o){var u,i,a,f=0,l=o||[],s=!1,p={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(n,r){return u=n,i=0,a=t,p.n=r,c}};function v(r,e){for(i=r,a=e,n=0;!s&&f&&!o&&n<l.length;n++){var o,u=l[n],v=p.p,y=u[2];r>3?(o=y===e)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=t):u[0]<=v&&((o=r<2&&v<u[1])?(i=0,p.v=e,p.n=u[1]):v<y&&(o=r<3||u[0]>e||e>y)&&(u[4]=r,u[5]=e,p.n=y,i=0))}if(o||r>1)return c;throw s=!0,e}return function(o,l,y){if(f>1)throw TypeError("Generator is already running");for(s&&1===l&&v(l,y),i=l,a=y;(n=i<2?t:a)||!s;){u||(i?i<3?(i>1&&(p.n=-1),v(i,a)):p.n=a:p.v=a);try{if(f=2,u){if(i||(o="next"),n=u[o]){if(!(n=n.call(u,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,i<2&&(i=0)}else 1===i&&(n=u.return)&&n.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=t}else if((n=(s=p.n<0)?a:r.call(e,p))!==c)break}catch(n){u=t,i=1,a=n}finally{f=1}}return{value:n,done:s}}}(r,u,i),!0),l}var c={};function f(){}function l(){}function s(){}n=Object.getPrototypeOf;var p=[][u]?n(n([][u]())):(e(n={},u,function(){return this}),n),v=s.prototype=f.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,e(t,i,"GeneratorFunction")),t.prototype=Object.create(v),t}return l.prototype=s,e(v,"constructor",s),e(s,"constructor",l),l.displayName="GeneratorFunction",e(s,i,"GeneratorFunction"),e(v),e(v,i,"Generator"),e(v,u,function(){return this}),e(v,"toString",function(){return"[object Generator]"}),(r=function(){return{w:a,m:y}})()}function e(t,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}e=function(t,n,r,o){function i(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?u?u(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(i("next",0),i("throw",1),i("return",2))},e(t,n,r,o)}function o(t,n,r,e,o,u,i){try{var a=t[u](i),c=a.value}catch(t){return void r(t)}a.done?n(c):Promise.resolve(c).then(e,o)}function u(t){return function(){var n=this,r=arguments;return new Promise(function(e,u){var i=t.apply(n,r);function a(t){o(i,e,u,a,c,"next",t)}function c(t){o(i,e,u,a,c,"throw",t)}a(void 0)})}}System.register(["./index-legacy118.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,e){"use strict";var o,i,a,c,f,l,s,p,v,y,d,m,g,b,h,j;return{setters:[function(t){o=t._},function(t){i=t.d3,a=t.f},function(t){c=t.getJavaSpringProject,f=t.groupAddProjects},function(t){l=t.c,s=t.r,p=t.bj,v=t.I,y=t.j,d=t.k,m=t.e,g=t.v,b=t.J,h=t.p},function(t){j=t.e},null,null,null],execute:function(){var e={class:"p-[2rem]"};n("default",l({__name:"group-add-projects",props:{compData:{}},emits:["close"],setup:function(n,l){var _=l.expose,w=l.emit,S=n,O=a(),x=w,k=s([]),A=s(!1),P=s([]),T=[j(),{prop:"name",label:"项目名称"}],G=function(t){P.value=t.map(function(t){return t.id})},E=function(t){var n=S.compData.projectList.map(function(t){return t.id});return t.filter(function(t){return!n.includes(t.id)})},D=function(){var t=u(r().m(function t(){var n,e;return r().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,A.value=!0,t.n=1,c();case 1:if(n=t.v,0!==(e=E(n.data)).length){t.n=2;break}return O.error("暂无可用项目"),x("close"),t.a(2);case 2:k.value=e,t.n=4;break;case 3:t.p=3,t.v;case 4:return t.p=4,A.value=!1,t.f(4);case 5:return t.a(2)}},t,null,[[0,3,4,5]])}));return function(){return t.apply(this,arguments)}}(),I=function(){var t=u(r().m(function t(){var n;return r().w(function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,0!==P.value.length){t.n=1;break}return O.error("请选择项目"),t.a(2);case 1:return t.n=2,f({group_id:S.compData.group_id,project_ids:JSON.stringify(P.value)});case 2:n=t.v,O.request(n),n.status&&(x("close"),S.compData.refreshEvent()),t.n=4;break;case 3:t.p=3,t.v;case 4:return t.a(2)}},t,null,[[0,3]])}));return function(){return t.apply(this,arguments)}}();return p(D),_({onConfirm:I}),function(n,r){var u=i,a=o,c=v("bt-loading");return y(),d("div",e,[m(a,null,{"header-left":g(function(){return t(r[0]||(r[0]=[]))}),"header-right":g(function(){return t(r[1]||(r[1]=[]))}),content:g(function(){return[b(m(u,{"max-height":300,column:T,data:h(k),onSelectionChange:G},null,8,["data"]),[[c,h(A)]])]}),"footer-left":g(function(){return t(r[2]||(r[2]=[]))}),_:1})])}}}))}}})}();