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/index429.js
import{_ as D}from"./index206.js?v=1777008528";import{_ as N}from"./index181.js?v=1777008528";import{J as S,G as V,c7 as j,cZ as E}from"./utils-lib.js?v=1777008528";import{c as F,aI as I,g as L,o as O,a8 as R,j as a,k as i,p as t,F as p,q as o,s as n,e as r,v as h,x as b,B as U,y as q}from"./base-lib.js?v=1777008528";import{an as A}from"./index3.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";const G={class:"p-16px realTaskDialog"},H={class:"title"},J=["title"],K={class:"p-[1rem]"},M={class:"mt-[4px] flex justify-between items-center"},W={class:"flex"},Z={class:"mr-[25px]"},z={class:"title"},P={class:"truncate max-w-[36rem]"},Q={key:2,class:"wait"},X={class:"truncate"},Y=["onClick"],tt=F({__name:"index",props:{compData:{default:()=>({callback:()=>{}})}},emits:["close"],setup($,{emit:et}){const y=$,d=A(),{taskData:m}=I(d),{getLog:w,cancel:_,$reset:C}=d,e=L(()=>m.value[0]||{log:"",name:"",shell:""});return O(()=>{w()}),R(()=>{var c,s;C(),(s=(c=y.compData)==null?void 0:c.callback)==null||s.call(c)}),(c,s)=>{var g,f,x,v,k;const u=j,T=N,B=D;return a(),i("div",G,[t(S)(t(e).log)?(a(),i(p,{key:0},[o("div",H,[o("span",{class:"truncate max-w-[36rem]",title:t(e).shell},"正在下载:"+n(t(e).shell),9,J),r(u,{onClick:s[0]||(s[0]=l=>t(_)(t(e)))},{default:h(()=>[...s[2]||(s[2]=[b("取消",-1)])]),_:1})]),o("div",K,[r(T,{strokeWidth:3,percentage:Number(((g=t(e).log)==null?void 0:g.pre)||0),showText:!1},null,8,["percentage"]),o("div",M,[o("div",W,[o("span",Z,n((f=t(e).log)==null?void 0:f.used)+" / "+n(t(V)((x=t(e).log)==null?void 0:x.total)),1),o("span",null,"预计还要:"+n((v=t(e).log)==null?void 0:v.time),1)]),o("span",null,n((k=t(e).log)==null?void 0:k.speed)+"/s",1)])])],64)):(a(),i(p,{key:1},[o("div",z,[o("span",P,n("".concat(t(e).name,":").concat(t(e).shell)),1),r(u,{onClick:s[1]||(s[1]=l=>t(_)(t(e)))},{default:h(()=>[...s[3]||(s[3]=[b("取消",-1)])]),_:1})]),r(B,{content:t(e).log,isHtml:!0,class:"max-h-[18rem] h-[18rem]"},null,8,["content"])],64)),t(m).length>1?(a(),i("div",Q,[s[4]||(s[4]=o("div",{class:"title"},"等待执行任务",-1)),(a(!0),i(p,null,U(t(m).slice(1),l=>(a(),i("div",{class:"title item w-full !text-disabled items-center",key:l.id},[o("span",X,n("".concat(l.name,":").concat(l.shell)),1),o("span",{class:"svgtofont-el-close-bold text-danger cursor-pointer ml-1rem",onClick:st=>t(_)(l)},null,8,Y)]))),128))])):q("",!0)])}}}),_t=E(tt,[["__scopeId","data-v-76fc3765"]]);export{_t as default};