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/index87.js
import{c as Y,dc as Z,da as b,cT as y,_ as v,cU as $,cZ as z}from"./utils-lib.js?v=1777008528";import{_ as Q}from"./index118.js?v=1777008528";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang4.js?v=1777008528";import{B as te}from"./index218.js?v=1777008528";import{c as se,aI as C,r as oe,w as S,e as s,x as T,o as ae,n as re,j as r,k as m,p as t,v as i,q as l,y as n,C as p}from"./base-lib.js?v=1777008528";import{e as ie,y as le,J as ne,E as pe,g as B}from"./index3.js?v=1777008528";import{u as ce,c as ue,e as g,d as E,a as R,i as me}from"./useController13.js?v=1777008528";import{S as A}from"./useStore2.js?v=1777008528";import{i as fe}from"./useController8.js?v=1777008528";import{S as de,o as f,a as c,b as I,g as _e,c as he,d as xe,e as ke,f as be,m as ye,r as w}from"./useController29.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index175.js?v=1777008528";import"./index119.js?v=1777008528";import"./index.vue_vue_type_style_index_0_scoped_cdc7f4d3_lang.js?v=1777008528";import"./index116.js?v=1777008528";import"./site.js?v=1777008528";import"./ssl.js?v=1777008528";import"./useStore3.js?v=1777008528";import"./useController18.js?v=1777008528";import"./useMethod3.js?v=1777008528";import"./useController19.js?v=1777008528";import"./useMethod12.js?v=1777008528";import"./index192.js?v=1777008528";import"./useController20.js?v=1777008528";const ve={key:0,class:"flex items-center"},Ce={key:1,class:"flex items-center"},Se=se({__name:"index",setup(Te){const{adHideInfo:d,enterpriseRec:P}=Y(),{getSiteList:V}=A(),{activeType:O,isRefreshList:_}=C(A()),{proxyType:o}=C(de()),h=oe({});S(g,e=>{e!=null&&e.pluginInfo&&(h.value=e.pluginInfo)},{immediate:!0,deep:!0});const{BtOperation:L}=Z({options:[{type:"button",label:"添加反代",active:!0,onClick:I},{type:"custom",render:()=>s(te,{class:"mx-1rem",isRequest:!1,pluginInfo:h.value},null)},{type:"button",label:"网站统计总览",onClick:()=>R("all")}]}),N=$([me(),{label:"删除项目",value:"delete",event:async(e,a,u,k,X)=>{ye(u.value,X)}}]),{BtTable:D,BtSearch:F,BtRefresh:q,BtPage:H,BtColumn:W,BtBatch:j,refresh:U}=b({request:V,columns:[ie(),ce({label:"域名",type:O.value,openPlugin:f,onClick:e=>{c(e)}}),le({width:80,event:he,data:["关闭","开启"]}),{label:"代理地址",prop:"proxy_pass",minWidth:220,isCustom:!0,render:e=>s("span",{class:"flex justify-start whitespace-pre-line bt-link cursor-pointer"},[s("span",{class:"full-path",onClick:()=>{c(e,"urlProxy")}},[e.proxy_pass])])},...P.value?[ne({storageKey:"/site/reverse_proxy_day_metric",onClick:R})]:[],pe({table:"sites",width:200}),ue({onClick:e=>fe(()=>c(e,"ssl"))}),B([{onClick:e=>f(e,"monitor"),title:"统计",isHide:()=>!d.value.siteTableTotal},{onClick:e=>f(e,"bt_waf"),title:"WAF",isHide:()=>!d.value.siteTableWaf},{title:"设置",onClick:e=>c(e)},{title:"删除",onClick:e=>xe(e)}])],extension:[N,y(_)],empty:()=>s("span",null,[T("您的列表为空,您可以"),s("span",{class:"bt-link",onClick:I},[T("添加一个项目")])])}),{BtTable:G,refresh:x,BtRefresh:J,BtColumn:K,BtSearch:M}=b({request:_e,columns:[{label:"端口",prop:"listen_port",width:120},{label:"协议",prop:"protocol",isCustom:!0,width:80},{label:"目标",prop:"proxy_pass"},{label:"备注",prop:"ps"},B([{onClick:ke,title:"设置"},{onClick:e=>be(e,x),title:"删除"}])],extension:[y(_)]});return S(()=>w.value,e=>{e&&(x(),o.value!=="tcp"&&(o.value="tcp"),w.value=!1)}),ae(()=>{re(()=>{v(()=>import("./index258.js?v=1777008528"),__vite__mapDeps([]),import.meta.url),v(()=>import("./index259.js?v=1777008528"),__vite__mapDeps([]),import.meta.url)})}),(e,a)=>{const u=Q;return r(),m("div",null,[s(ee,{ref_key:"envRef",ref:g,onInit:t(U)},null,8,["onInit"]),s(u,null,{"header-left":i(()=>[s(t(L)),l("div",{class:"flex items-center ml-1rem",onClick:a[0]||(a[0]=(...k)=>t(E)&&t(E)(...k))},[...a[1]||(a[1]=[l("i",{class:"svgtofont-desired text-medium"},null,-1),l("span",{class:"bt-link"},"需求反馈",-1)])])]),"header-right":i(()=>[a[2]||(a[2]=l("div",{class:"flex items-center mr-[10px]"},null,-1)),t(o)==="http"?(r(),m("div",ve,[s(t(F),{class:"mr-[10px]",placeholder:"请输入域名或备注"}),s(t(q),{class:"mr-[10px]"}),s(t(W))])):n("",!0),t(o)==="tcp"?(r(),m("div",Ce,[s(t(M),{class:"mr-[10px]",placeholder:"请输入端口"}),s(t(J),{class:"mr-[10px]"}),s(t(K))])):n("",!0)]),content:i(()=>[t(o)==="http"?(r(),p(t(D),{key:0})):(r(),p(t(G),{key:1}))]),"footer-left":i(()=>[t(o)==="http"?(r(),p(t(j),{key:0})):n("",!0)]),"footer-right":i(()=>[t(o)==="http"?(r(),p(t(H),{key:0})):n("",!0)]),_:1})])}}}),Ye=z(Se,[["__scopeId","data-v-7176502f"]]);export{Ye as default};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = []
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}