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-legacy86.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)}var e=["type_id"];function n(t){return function(t){if(Array.isArray(t))return r(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 r(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)?r(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 r(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}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",u=n.toStringTag||"@@toStringTag";function a(n,r,o,u){var a=r&&r.prototype instanceof l?r:l,s=Object.create(a.prototype);return i(s,"_invoke",function(n,r,o){var i,u,a,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(e,n){return i=e,u=0,a=t,p.n=n,c}};function v(n,r){for(u=n,a=r,e=0;!f&&l&&!o&&e<s.length;e++){var o,i=s[e],v=p.p,y=i[2];n>3?(o=y===r)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=v&&((o=n<2&&v<i[1])?(u=0,p.v=r,p.n=i[1]):v<y&&(o=n<3||i[0]>r||r>y)&&(i[4]=n,i[5]=r,p.n=y,u=0))}if(o||n>1)return c;throw f=!0,r}return function(o,s,y){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,y),u=s,a=y;(e=u<2?t:a)||!f;){i||(u?u<3?(u>1&&(p.n=-1),v(u,a)):p.n=a:p.v=a);try{if(l=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,a)))throw TypeError("iterator result is not an object");if(!e.done)return e;a=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(f=p.n<0)?a:n.call(r,p))!==c)break}catch(e){i=t,u=1,a=e}finally{l=1}}return{value:e,done:f}}}(n,o,u),!0),s}var c={};function l(){}function s(){}function f(){}e=Object.getPrototypeOf;var p=[][r]?e(e([][r]())):(i(e={},r,function(){return this}),e),v=f.prototype=l.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,i(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=f,i(v,"constructor",f),i(f,"constructor",s),s.displayName="GeneratorFunction",i(f,u,"GeneratorFunction"),i(v),i(v,u,"Generator"),i(v,r,function(){return this}),i(v,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:y}})()}function i(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}i=function(t,e,n,r){function u(e,n){i(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(u("next",0),u("throw",1),u("return",2))},i(t,e,n,r)}function u(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 a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function c(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 l(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function s(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function u(t){l(i,r,o,u,a,"next",t)}function a(t){l(i,r,o,u,a,"throw",t)}u(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./index-legacy118.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./useController-legacy13.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./useController-legacy8.js?v=1777008528","./index-legacy151.js?v=1777008528","./index.vue_vue_type_style_index_0_scoped_cdc7f4d3_lang-legacy.js?v=1777008528","./site-legacy.js?v=1777008528"],function(t,r){"use strict";var i,u,c,l,f,p,v,y,d,b,m,g,_,j,h,w,O,S,x,P,k,C,T,I,N,B,E,G,A,L,D,F,R,M,q,U,H,J,$,z,K,V,W,Q,X,Y,Z,tt,et;return{setters:[function(t){i=t.e,u=t._,c=t.M,l=t.cW,f=t.c,p=t.dc,v=t.da,y=t.i,d=t.cU},function(t){b=t._},function(t){m=t.r,g=t.g,_=t.c,j=t.aI,h=t.e,w=t.x,O=t.w,S=t.o,x=t.n,P=t.j,k=t.C,C=t.v,T=t.p,I=t.q},function(t){N=t.w,B=t.o,E=t.e,G=t.F,A=t.J,L=t.E,D=t.g},function(t){F=t.u,R=t.f,M=t.c,q=t.d,U=t.g,H=t.s,J=t.h,$=t.a,z=t.i,K=t.j,V=t.q,W=t.k},function(t){Q=t.u,X=t.S},function(t){Y=t.i},function(t){Z=t.u},null,function(t){tt=t.getNetVersion,et=t.getPluginInfo}],execute:function(){var nt=Q(),rt=nt.isRefreshList,ot=nt.siteInfo,it=X(),ut=it.editGeneralProject,at=it.addGeneralProject,ct=it.setSiteInfo,lt=function(){ot.value=null,i({title:"添加.Net项目",area:72,component:function(){return u(function(){return r.import("./index-legacy193.js?v=1777008528")},void 0,r.meta.url)},showFooter:!0})},st=function(t){ct(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),i({title:".Net项目管理["+t.name+"] -- 添加时间["+t.addtime+"]",area:[84,72],component:function(){return u(function(){return r.import("./index-legacy407.js?v=1777008528")},void 0,r.meta.url)}})},ft=(t("a",function(t){}),t("v",m([]))),pt=t("i",g(function(){return!!ot.value})),vt=t("n",m({project_path:"",project_name:"",port:"",project_cmd:"",run_user:"www",project_ps:"",release_firewall:!1,dotnet_version:"",is_power_on:!1,bind_extranet:!1})),yt=(t("b",function(){var t=s(o().m(function t(e,n,r){var i,u,l,s;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,r.value.validate();case 1:return i={data:JSON.stringify(a(a({},e.value),{},{is_power_on:e.value.is_power_on?1:0}))},u=ot.value?ut:at,t.n=2,u(i);case 2:return l=t.v,c.msg({dangerouslyUseHTMLString:!0,message:l.msg,type:l.status?"success":"error",duration:l.status?2e3:0,showClose:!l.status,customClass:"!max-w-[66rem]"}),rt.value=!0,t.a(2,l.status);case 3:return t.p=3,s=t.v,console.log(s),t.a(2,!1)}},t,null,[[0,3]])}));return function(e,n,r){return t.apply(this,arguments)}}()),t("o",function(){N({type:"all",path:vt.value.project_path,change:function(t){vt.value.project_path=t}})}),t("g",s(o().m(function t(){var e,n,r,i=arguments;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:return e=i.length>0&&void 0!==i[0]&&i[0],t.p=1,t.n=2,tt();case 2:if(n=t.v,ft.value=n.data.map(function(t){return{label:t,value:t}}),!e){t.n=3;break}return t.a(2,c.success("Net版本,刷新成功"));case 3:vt.value.dotnet_version=n.data[0],t.n=5;break;case 4:t.p=4,r=t.v,console.log(r);case 5:return t.a(2)}},t,null,[[1,4]])})))),dt=(t("c",s(o().m(function t(){var e,n,r;return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,yt();case 1:pt.value&&(e=ot.value,n=e.project_config,r=e.ps,Object.assign(vt.value,a(a({},n),{},{project_ps:l(r),bind_extranet:1===n.bind_extranet,is_power_on:1===n.is_power_on,port:n.port})));case 2:return t.a(2)}},t)}))),t("$",function(){Object.assign(vt.value,{project_path:"",project_name:"",port:"",project_cmd:"",run_user:"www",project_ps:"",release_firewall:!1,dotnet_version:"",is_power_on:!1,bind_extranet:!1})}),t("d",s(o().m(function t(){var e,n,r;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,et({sName:"dotnet"});case 1:return e=t.v,n=e.data,t.n=2,B({name:"dotnet",softData:n});case 2:t.n=4;break;case 3:t.p=3,r=t.v,console.log(r);case 4:return t.a(2)}},t,null,[[0,3]])})))),bt=_({__name:"index",setup:function(t){var i=f(),c=(i.mainHeight,i.enterpriseRec),l=X(),m=l.getSiteList,g=l.setSiteInfo,_=j(X()),N=(_.activeType,_.isRefreshList),B=_.siteInfo,Q=p({options:[{type:"button",label:"添加项目",active:!0,onClick:lt},{type:"button",label:".Net环境管理",onClick:dt},{type:"button",label:"网站统计总览",onClick:function(){return $("all")}}]}).BtOperation,tt=Z({key:"type_id",name:"Net分类",options:function(){return[{label:"全部分类",value:"all"}]},event:U,ignore:["0"],field:"type_name"}),et=d([z(),K({classList:W}),{label:"删除项目",value:"delete",event:V}]),nt=v({request:function(t){var n=t.type_id,r=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,e);return m(a(a({},r),{},{type_id:y(n)||"all"===n?"":n,table:"sites"}))},columns:[E(),F({onClick:function(t){st(t)}}),R({onClick:function(t,e){if("setting"!==e){var n=t.run?"stop":"start";H(t,"restart"===e?e:n)}else st(t,"state")}}),G()].concat(n(c.value?[A({storageKey:"/site/net_day_metric",onClick:$})]:[]),[L({table:"sites",width:200}),M({onClick:function(t){Y(function(){return st(t,"ssl")})}}),D([{title:"设置",onClick:function(t){st(t)}},{title:"删除",onClick:function(t){J(t)}}])]),extension:[tt,et],empty:function(){return h("span",null,[w("您的列表为空,您可以"),h("span",{class:"bt-link",onClick:lt},[w("添加一个项目")])])}}),rt=nt.BtTable,ot=nt.BtPage,it=nt.BtRefresh,ut=nt.BtSearch,at=nt.BtColumn,ct=nt.BtBatch,ft=nt.BtTableCategory,pt=nt.refresh,vt=nt.config;return O(N,function(){var t=s(o().m(function t(e){var n,r;return o().w(function(t){for(;;)switch(t.n){case 0:if(console.log("isRefreshList",e),!e){t.n=2;break}return t.n=1,pt();case 1:null!==(n=B.value)&&void 0!==n&&n.name&&(r=vt.data.find(function(t){return t.name===B.value.name}))&&g(r),N.value=!1;case 2:return t.a(2)}},t)}));return function(e){return t.apply(this,arguments)}}()),S(function(){x(function(){u(function(){return r.import("./index-legacy193.js?v=1777008528")},void 0,r.meta.url),u(function(){return r.import("./index-legacy407.js?v=1777008528")},void 0,r.meta.url)})}),function(t,e){var r=b;return P(),k(r,null,{"header-left":C(function(){return[h(T(Q)),I("div",{class:"flex items-center ml-1rem",onClick:e[0]||(e[0]=function(){return T(q)&&T(q).apply(void 0,arguments)})},n(e[1]||(e[1]=[I("i",{class:"svgtofont-desired text-medium"},null,-1),I("span",{class:"bt-link"},"需求反馈",-1)])))]}),"header-right":C(function(){return[h(T(ft),{class:"!w-[200px] mr-[10px]"}),h(T(ut),{class:"mr-[10px]",placeholder:"请输入项目名称或备注"}),h(T(it),{class:"mr-[10px]"}),h(T(at))]}),content:C(function(){return[h(T(rt))]}),"footer-left":C(function(){return[h(T(ct))]}),"footer-right":C(function(){return[h(T(ot))]}),_:1})}}}),mt=Object.freeze(Object.defineProperty({__proto__:null,default:bt},Symbol.toStringTag,{value:"Module"}));t("e",mt)}}})}();