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/index-legacy144.js
!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||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(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,n,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(t,o,u,a){var i=o&&o.prototype instanceof l?o:l,s=Object.create(i.prototype);return r(s,"_invoke",function(t,r,o){var u,a,i,l=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(n,t){return u=n,a=0,i=e,d.n=t,c}};function p(t,r){for(a=t,i=r,n=0;!f&&l&&!o&&n<s.length;n++){var o,u=s[n],p=d.p,v=u[2];t>3?(o=v===r)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=e):u[0]<=p&&((o=t<2&&p<u[1])?(a=0,d.v=r,d.n=u[1]):p<v&&(o=t<3||u[0]>r||r>v)&&(u[4]=t,u[5]=r,d.n=v,a=0))}if(o||t>1)return c;throw f=!0,r}return function(o,s,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,v),a=s,i=v;(n=a<2?e:i)||!f;){u||(a?a<3?(a>1&&(d.n=-1),p(a,i)):d.n=i:d.v=i);try{if(l=2,u){if(a||(o="next"),n=u[o]){if(!(n=n.call(u,i)))throw TypeError("iterator result is not an object");if(!n.done)return n;i=n.value,a<2&&(a=0)}else 1===a&&(n=u.return)&&n.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=e}else if((n=(f=d.n<0)?i:t.call(r,d))!==c)break}catch(n){u=e,a=1,i=n}finally{l=1}}return{value:n,done:f}}}(t,u,a),!0),s}var c={};function l(){}function s(){}function f(){}n=Object.getPrototypeOf;var d=[][u]?n(n([][u]())):(r(n={},u,function(){return this}),n),p=f.prototype=l.prototype=Object.create(d);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,r(p,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(p),r(p,a,"Generator"),r(p,u,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(t=function(){return{w:i,m:v}})()}function r(e,n,t,o){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}r=function(e,n,t,o){function a(n,t){r(e,n,function(e){return this._invoke(n,t,e)})}n?u?u(e,n,{value:t,enumerable:!o,configurable:!o,writable:!o}):e[n]=t:(a("next",0),a("throw",1),a("return",2))},r(e,n,t,o)}function o(e,n,t,r,o,u,a){try{var i=e[u](a),c=i.value}catch(e){return void t(e)}i.done?n(c):Promise.resolve(c).then(r,o)}function u(e){return function(){var n=this,t=arguments;return new Promise(function(r,u){var a=e.apply(n,t);function i(e){o(a,r,u,i,c,"next",e)}function c(e){o(a,r,u,i,c,"throw",e)}i(void 0)})}}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./database-legacy.js?v=1777008528","./useStore-legacy4.js?v=1777008528","./useMethod-legacy5.js?v=1777008528","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,r){"use strict";var o,a,i,c,l,s,f,d,p,v,m,b,y,g,_,h,j,w,x,S,k,O,A,T,V,G,P,C,F,I;return{setters:[function(e){o=e.c,a=e.r,i=e.V,c=e.g,l=e.o,s=e.j,f=e.k,d=e.e,p=e.v,v=e.p,m=e.F,b=e.B,y=e.C,g=e.x,_=e.R,h=e.T,j=e.ad,w=e.am,x=e.an,S=e.ab},function(e){k=e.dm,O=e.k,A=e.M,T=e.c7,V=e.cZ},function(e){G=e.addModulesDatabase},function(e){P=e.g},function(e){C=e.o,F=e.u},function(e){I=e._},null,null,null,null],execute:function(){var r={class:"p-[24px]"},M=o({__name:"index",props:{compData:{default:function(){return{options:[]}}}},setup:function(n,o){var V=o.expose,M=n,D=P(),E=D.refs.tabActive,U=D.refreshTableList,q=a(),R=i(!1),B=a({name:"",db_user:"",password:k(16),dataAccess:"127.0.0.1",address:"",codeing:"utf8mb4",dtype:"MongoDb",ps:"",sid:0,listen_ip:"0.0.0.0/0",host:""}),H=a([]),L={name:[{required:!0,message:"请输入数据库名",trigger:["blur","change"]}]},N=c(function(){var e;return(null===(e=H.value.find(function(e){return e.id===B.value.sid}))||void 0===e?void 0:e.db_host)||""}),Z=function(e){B.value.db_user=e,B.value.ps=e},$=function(){var e=u(t().m(function e(n){return t().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,q.value.validate();case 1:return e.n=2,z();case 2:if(e.v){e.n=3;break}return e.a(2,!1);case 3:return e.n=4,O({loading:"正在添加数据库, 请稍后...",request:G(B.value,E.value),message:!0,success:function(e){e.status&&(n(),U())}});case 4:return e.a(2)}},e)}));return function(n){return e.apply(this,arguments)}}(),z=function(){var e=u(t().m(function e(){var n,r,o,u;return t().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,R.value=!0,e.n=1,F(B.value.sid);case 1:if(n=e.v,r=n.db_status,o=n.msg,u=n.err_msg,r){e.n=2;break}return A.error(u||o),e.a(2,!1);case 2:return R.value=!1,e.a(2,!0);case 3:e.p=3,e.v;case 4:return e.a(2)}},e,null,[[0,3]])}));return function(){return e.apply(this,arguments)}}();return l(u(t().m(function e(){var n,r,o;return t().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,null===(n=M.compData)||void 0===n?void 0:n.refresh();case 1:if(o=e.v){e.n=2;break}o=[];case 2:H.value=o,B.value.sid=null===(r=H.value[0])||void 0===r?void 0:r.id;case 3:return e.a(2)}},e)}))),V({onConfirm:$}),function(n,t){var o=h,u=j,a=w,i=x,c=T,l=S;return s(),f("div",r,[d(l,{disabled:v(R),model:v(B),ref_key:"addFormRef",ref:q,rules:L,onSubmit:t[2]||(t[2]=_(function(){},["prevent"]))},{default:p(function(){return[d(u,{label:"数据库名",prop:"name"},{default:p(function(){return[d(o,{class:"w-[38rem]",ref:"data_name",placeholder:"新的数据库名称",modelValue:v(B).name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return v(B).name=e}),onInput:Z},null,8,["modelValue"])]}),_:1}),d(u,{label:"添加至",prop:"sid",class:"!mb-0"},{default:p(function(){return[d(i,{class:"!w-[24rem]",modelValue:v(B).sid,"onUpdate:modelValue":t[1]||(t[1]=function(e){return v(B).sid=e})},{default:p(function(){return[(s(!0),f(m,null,b(v(H),function(e,n){return s(),y(a,{key:n,label:e.ps+(e.db_host?"("+e.db_host+")":""),value:e.id},null,8,["label","value"])}),128))]}),_:1},8,["modelValue"]),d(c,{class:"ml-[8px]",onClick:v(C)},{default:p(function(){return e(t[3]||(t[3]=[g("管理远程数据库",-1)]))}),_:1},8,["onClick"])]}),_:1}),d(u,{label:" ",class:"!mb-0"},{default:p(function(){return[d(I,{server:{sid:v(B).sid,ip:v(N)}},null,8,["server"])]}),_:1})]}),_:1},8,["disabled","model"])])}}});n("default",V(M,[["__scopeId","data-v-d25589f5"]]))}}})}();