← Back
Editing: details3.js
import{b as t,h as e,f as i}from"./public.js?v=1753755607904";import{cY as s,w as r}from"./page_layout.js?v=1753755607904";import{g as p}from"./index79.js?v=1753755607904";import{s as a}from"./tools2.js?v=1753755607904";import{k as o,P as _,U as n,X as l,Q as u,W as m}from"./vue.js?v=1753755607904";import"./naive.js?v=1753755607904";import"./common.js?v=1753755607904";import"./__commonjsHelpers__.js?v=1753755607904";import"./rules.js?v=1753755607904";import"./index.vue_vue_type_script_setup_true_lang4.js?v=1753755607904";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1753755607904";import"./index.vue_vue_type_script_setup_true_lang5.js?v=1753755607904";import"./index.vue_vue_type_script_setup_true_lang.js?v=1753755607904";import"./index100.js?v=1753755607904";import"./index.vue_vue_type_script_setup_true_lang15.js?v=1753755607904";const d={class:"p-20px"},c=o({__name:"details",props:{list:{}},setup(o){const c=o,{t:j}=_(),{table:x,columns:y}=t([{key:"time_localtime",title:j("Waf.Report.index_13"),width:140},{key:"ip",title:j("Waf.Report.index_7"),width:120},{key:"server_name",title:j("Waf.Report.index_14"),width:120},{key:"ip_country",title:j("Waf.Report.index_8"),width:140,render:t=>t.ip_country||"--"},{key:"uri",title:"URI",ellipsis:{tooltip:!0},render:t=>s(t.uri)},{key:"filter_rule",title:j("Waf.Report.index_1"),width:140},e({width:80,options:t=>[{label:j("Public.Btn.Details"),onClick:async()=>{const{message:e}=await p({id:t.id});r(e)&&e.length>0&&a(e[0])}}]})]);return x.data=c.list,(t,e)=>{const s=i;return l(),n("div",d,[u(s,{"max-height":550,data:m(x).data,columns:m(y)},null,8,["data","columns"])])}}});export{c as default};
Save File
Cancel