index.44590176.js 2.1 KB

1
  1. import"./remote-select.36ee67a3.js";import{ak as u,al as p,a as n,c as a,j as s,h as m,f as c,u as o}from"./index.4d061c66.js";import"./useNav.5e73c372.js";/* empty css *//* empty css */import{u as l}from"./use-page-search.0f272301.js";import{R as d}from"./status.2b37e8be.js";import{c as h}from"./column-helper.64ceba17.js";import{P as f}from"./page-auth.ffc7568b.js";import{P as F}from"./page-container.b859125f.js";import"./useAsync.df7387ce.js";import"./usePermission.8064505c.js";import"./btnList.6c44b4ef.js";import"./page-content.e0c7af12.js";import"./image.e35d846c.js";import"./hooks.9f8f44e2.js";import"./image.4c97dbe3.js";import"./index.e63aea62.js";import"./responseHandle.fe68d5aa.js";const g={formItems:[{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"lowtime",endProp:"uptime",startPlaceholder:"\u521B\u5EFA\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u521B\u5EFA\u7ED3\u675F\u65F6\u95F4"}},{field:"role",type:"select",placeholder:"\u89D2\u8272\u7C7B\u578B",options:h(d)},{field:"username",type:"input",placeholder:"\u8D26\u6237\u540D"}]},e=g,{VITE_PROXY_DOMAIN_REAL:_}=p();async function C(t){return u.request("post",`${_}admin/systemlist`,{data:t})}const E=[{type:"selection",width:55,hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{prop:"id",label:"\u65E5\u5FD7\u7F16\u7801",width:"100px"},{prop:"username",label:"\u64CD\u4F5C\u8D26\u53F7",minWidth:"100px"},{prop:"role",label:"\u7528\u6237\u89D2\u8272",minWidth:"100px"},{prop:"module",label:"\u6A21\u5757",minWidth:"100px"},{prop:"msg",label:"\u4E8B\u4EF6",minWidth:"200px"},{prop:"addtime",label:"\u521B\u5EFA\u65F6\u95F4",width:"160px"}],D={title:"\u64CD\u4F5C\u65E5\u5FD7",columns:E,apis:{httpList:C}},P=D,M=n({__name:"index",setup(t){const r="oplog",i={pageSearchHook:()=>l(void 0,void 0,e)};return(x,B)=>(a(),s(o(f),{pageName:r},{default:m(()=>[c(o(F),{hooks:i,"search-config":o(e),"content-config":o(P)},null,8,["search-config","content-config"])]),_:1}))}});export{M as default};