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/alarm.js
import{c7 as b,cZ as x}from"./utils-lib.js?v=1777008528";import{c as E,aI as V,o as h,I as R,j as _,k as M,e as l,v as a,p as o,J as B,C as I,R as y,q as n,x as i,ap as D,ad as F,ab as H}from"./base-lib.js?v=1777008528";import{a2 as N}from"./index3.js?v=1777008528";import{H as S}from"./store.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";import"./store2.js?v=1777008528";const T={class:"p-[2.4rem] give-dialog"},A={class:"mt-1.6rem ml-2.4rem"},O={class:"list-disc"},U={class:"flex items-center"},j=E({__name:"alarm",setup(q,{expose:d}){const s=S(),{alarmRef:c,pushMsgRef:p,rules:f,msgForm:t,checkedLoad:u}=V(s);return h(async()=>{s.renderPushConfig()}),d({onCancel:s.onCancel,onConfirm:s.onConfirm}),(J,e)=>{const v=D,m=F,g=N,w=H,k=b,C=R("bt-loading");return _(),M("div",T,[l(w,{ref_key:"pushMsgRef",ref:p,model:o(t),"label-width":"80px",rules:o(f),onSubmit:e[2]||(e[2]=y(()=>{},["prevent"]))},{default:a(()=>[l(m,{label:"更新提醒",prop:"switch"},{default:a(()=>[l(v,{modelValue:o(t).switch,"onUpdate:modelValue":e[0]||(e[0]=r=>o(t).switch=r),name:"switch"},null,8,["modelValue"])]),_:1}),B((_(),I(m,{label:"告警方式",prop:"give"},{default:a(()=>[l(g,{ref_key:"alarmRef",ref:c,modelValue:o(t).give,"onUpdate:modelValue":e[1]||(e[1]=r=>o(t).give=r),class:"!w-[28rem]",limit:["sms"]},null,8,["modelValue"])]),_:1})),[[C,o(u)]])]),_:1},8,["model","rules"]),n("div",A,[n("ul",O,[n("li",null,[n("div",U,[e[4]||(e[4]=i("点击安装后状态未更新,尝试点击【",-1)),l(k,{onClick:o(s).refreshAlarmEvent},{default:a(()=>[...e[3]||(e[3]=[i("手动刷新",-1)])]),_:1},8,["onClick"]),e[5]||(e[5]=i("】",-1))])])])])])}}}),W=x(j,[["__scopeId","data-v-3ff51317"]]);export{W as default};