HEX
Server: nginx/1.26.1
System: Linux iZrj9cbdvwu1cot8sjlyzlZ 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64
User: www (1000)
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/useMethod12.js
import{n as e,Q as t,b as n}from"./utils-lib.js?v=1760490724";import{a as o,u as i}from"./column.js?v=1760490724";import{g as a}from"./useStore10.js?v=1760490724";import{V as r,e as s,C as l,n as m,an as d}from"./base-lib.js?v=1760490724";import{d as c,a as p}from"./useMethod10.js?v=1760490724";const u=n(),{refs:{typeList:_}}=a(),b=({closeAlarm:e,delDomain:t})=>r([o(),{label:"域名",prop:"domain",width:250},{label:"分组",width:180,isCustom:!0,render:e=>{const t=_.value.find(t=>t.id==e.type_id);return t?t.name:"未分组"}},{label:"解析数量",prop:"sbd_count",isCustom:!0},{label:"DNS接口",width:200,isCustom:!0,render:e=>{var t;return s("div",{class:"flex items-center"},[(null==(t=e.dns)?void 0:t.dns_name)?s("span",null,[e.dns.dns_name]):s("span",{class:"bt-link cursor-pointer",onClick:()=>c(e)},[l("未配置")]),s("div",{class:"el-divider el-divider--vertical"},null),s("span",{class:"bt-link cursor-pointer",onClick:()=>c(e)},[l("点击配置")])])}},{label:"到期时间",isCustom:!0,render:e=>{const t=(new Date).setHours(0,0,0,0),n=0!==e.endtime&&new Date(e.endtime).getTime()/1e3<t/1e3,o=0!==e.endtime&&new Date(Number(e.endtime)).getTime()-(new Date).getTime()<6048e5;return s("span",{class:"cursor-pointer "+(n?"bt-danger":o?"bt-warn":"bt-link"),onClick:()=>{w(e)}},[n?"已过期":0===e.endtime?"未设置":e.endtime])}},{prop:"report_id",label:"到期告警",render:t=>{const n=(new Date).setHours(0,0,0,0),o=0!==t.endtime&&new Date(t.endtime).getTime()/1e3<n/1e3;let i=""!=t.report_id;return s(d,{size:"small",modelValue:i,"onUpdate:modelValue":e=>i=e,disabled:(0===t.endtime||o)&&!i,onChange:n=>{n?(t.report_id="1",p({...t,cancel:()=>{m(()=>{t.report_id=""})}})):e(t)}},null)}},i([{onClick:e=>{e.dns_id?C(e):(u.error("请先配置DNS"),c(e))},title:"解析"},{onClick:e=>{var t;(null==(t=e.dns)?void 0:t.dns_name)?v(e):(u.error("请先配置DNS"),c(e))},title:"解析记录管理",width:120},{onClick:e=>{t(e)},title:"删除"}])]),D=()=>e({isAsync:!0,title:"DNS接口设置",area:70,component:()=>t(()=>import("./index394.js?v=1760490724"),__vite__mapDeps([]),import.meta.url)}),w=(n,o)=>e({title:"".concat(o&&o.length?"批量设置":"设置【".concat(n.domain,"】"),"到期时间"),area:46,component:()=>t(()=>import("./index395.js?v=1760490724"),__vite__mapDeps([]),import.meta.url),compData:{row:n,rowList:o},showFooter:!0}),C=n=>e({isAsync:!0,title:"【".concat(n.domain,"】快速解析"),area:60,component:()=>t(()=>import("./index396.js?v=1760490724"),__vite__mapDeps([]),import.meta.url),compData:{row:n},showFooter:!0}),v=n=>e({isAsync:!0,title:"【".concat(n.domain,"】解析记录管理"),area:110,component:()=>t(()=>import("./index397.js?v=1760490724"),__vite__mapDeps([]),import.meta.url),compData:{row:n}});export{C as a,v as b,D as d,w as s,b as u};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = []
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}