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-legacy398.js
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);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)?t(e,n):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 t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function i(n,o,a,u){var i=o&&o.prototype instanceof l?o:l,s=Object.create(i.prototype);return r(s,"_invoke",function(n,r,o){var a,u,i,l=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,n){return a=t,u=0,i=e,d.n=n,c}};function y(n,r){for(u=n,i=r,t=0;!f&&l&&!o&&t<s.length;t++){var o,a=s[t],y=d.p,p=a[2];n>3?(o=p===r)&&(i=a[(u=a[4])?5:(u=3,3)],a[4]=a[5]=e):a[0]<=y&&((o=n<2&&y<a[1])?(u=0,d.v=r,d.n=a[1]):y<p&&(o=n<3||a[0]>r||r>p)&&(a[4]=n,a[5]=r,d.n=p,u=0))}if(o||n>1)return c;throw f=!0,r}return function(o,s,p){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&y(s,p),u=s,i=p;(t=u<2?e:i)||!f;){a||(u?u<3?(u>1&&(d.n=-1),y(u,i)):d.n=i:d.v=i);try{if(l=2,a){if(u||(o="next"),t=a[o]){if(!(t=t.call(a,i)))throw TypeError("iterator result is not an object");if(!t.done)return t;i=t.value,u<2&&(u=0)}else 1===u&&(t=a.return)&&t.call(a),u<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),u=1);a=e}else if((t=(f=d.n<0)?i:n.call(r,d))!==c)break}catch(t){a=e,u=1,i=t}finally{l=1}}return{value:t,done:f}}}(n,a,u),!0),s}var c={};function l(){}function s(){}function f(){}t=Object.getPrototypeOf;var d=[][a]?t(t([][a]())):(r(t={},a,function(){return this}),t),y=f.prototype=l.prototype=Object.create(d);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e}return s.prototype=f,r(y,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,u,"GeneratorFunction"),r(y),r(y,u,"Generator"),r(y,a,function(){return this}),r(y,"toString",function(){return"[object Generator]"}),(n=function(){return{w:i,m:p}})()}function r(e,t,n,o){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}r=function(e,t,n,o){function u(t,n){r(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(u("next",0),u("throw",1),u("return",2))},r(e,t,n,o)}function o(e,t,n,r,o,a,u){try{var i=e[a](u),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,o)}System.register(["./base-lib-legacy.js?v=1777008528","./index-legacy408.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./useController-legacy20.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useController-legacy19.js?v=1777008528","./site-legacy.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./useController-legacy13.js?v=1777008528","./useMethod-legacy12.js?v=1777008528","./index-legacy192.js?v=1777008528"],function(t,r){"use strict";var a,u,i,c,l,s,f,d,y,p,m,v,b,h,g,j,_,x,w,S,O,k;return{setters:[function(e){a=e.c,u=e.r,i=e.H,c=e.o,l=e.n,s=e.j,f=e.k,d=e.e,y=e.v,p=e.q,m=e.p,v=e.x,b=e.y,h=e.z,g=e.ad,j=e.ab},function(e){_=e.B},function(e){x=e.L,w=e.eQ,S=e.f,O=e.cZ},function(e){k=e.o},null,null,null,null,null,null,null,null,null,null],execute:function(){var r={class:"p-2rem"},T={class:"flex items-center"},A={key:0,class:"text-tertiary mt-[8px] ml-10rem"},C=a({__name:"index",props:{compData:{default:function(){}}},emits:["close"],setup:function(t,a){var O=a.expose,C=a.emit,D=S(),E=t.compData,G=E.rowData,P=(E.siteType,!!Array.isArray(G)),I=x().refreshSiteTable,M=C,Y=u(),q=i({edate:G.edate||""}),F={},V=function(e){return e.getTime()<Date.now()-864e5},H=function(){q.edate="",U(),B()},U=function(){var e=document.querySelector(".date .el-input__inner");e&&(e.value="永久"),null==e||e.blur()},z=function(e){e||U()},B=function(){var e,t=(e=n().m(function e(t){var r,o,a,u,i;return n().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,!P){e.n=3;break}return r=[],o=[],G.forEach(function(e){r.push(e.id)}),e.n=1,w({edate:q.edate?q.edate:"0000-00-00",sites_id:r});case 1:return a=e.v,Object.keys(a.error).forEach(function(e){o.push({name:e,status:!1})}),e.n=2,a.success.forEach(function(e){o.push({name:e,status:!0})});case 2:k({title:"批量设置到期时间",resultTitle:"设置到期时间",resultData:o}),I(),M("close"),e.n=5;break;case 3:return u=D.load("正在设置到期时间,请稍后..."),e.n=4,w({id:G.id,edate:q.edate?q.edate:"0000-00-00"});case 4:(i=e.v).data.status?(D.request(i),I()):D.error(i.data.msg),u.close(),M("close");case 5:e.n=7;break;case 6:e.p=6,e.v;case 7:return e.p=7,e.f(7);case 8:return e.a(2)}},e,null,[[0,6,7,8]])}),function(){var t=this,n=arguments;return new Promise(function(r,a){var u=e.apply(t,n);function i(e){o(u,r,a,i,c,"next",e)}function c(e){o(u,r,a,i,c,"throw",e)}i(void 0)})});return function(e){return t.apply(this,arguments)}}();return O({onConfirm:B}),c(function(){"0000-00-00"===G.edate&&(q.edate="",l(function(){U()}))}),function(t,n){var o=_,a=h,u=g,i=j;return s(),f("div",r,[d(i,{ref_key:"formRef",ref:Y,model:m(q),rules:F},{default:y(function(){return[d(u,{label:"到期时间",prop:"edate"},{default:y(function(){return[p("div",T,[d(o,{modelValue:m(q).edate,"onUpdate:modelValue":n[0]||(n[0]=function(e){return m(q).edate=e}),"value-format":"YYYY-MM-DD","disabled-date":V,class:"date",onChange:z,type:"date",placeholder:"选择日期"},null,8,["modelValue"]),d(a,{type:"default",class:"!ml-[.4rem]",onClick:H},{default:y(function(){return e(n[1]||(n[1]=[v(" 设为永久 ",-1)]))}),_:1})])]}),_:1})]}),_:1},8,["model"]),m(q).edate?(s(),f("div",A,"* 到期当天24点后过期")):b("",!0)])}}});t("default",O(C,[["__scopeId","data-v-0cf3bc99"]]))}}})}();