2024-11-06 15:53:40 +08:00
|
|
|
import{C as L,D as U,w as I,F as N,L as R,M as P,N as S,O as $}from"./element-plus.7e347b00.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang.af250dfd.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang.9359d0b1.js";import{u as q}from"./usePaging.6a6670f9.js";import{u as K}from"./useDictOptions.1aadc464.js";import{d as O}from"./log.894a36e0.js";import"./lodash.4e6d2a38.js";import"./index.9f7dd589.js";import{_ as Q}from"./edit.vue_vue_type_script_setup_true_name_logEdit_lang.e81fab62.js";import{d as E,s as Z,r as F,Z as z,o as p,c as G,U as o,L as r,u as e,R as w,M as H,K as B,a as b,j as J,Q as W}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.b7edee13.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";const X={class:"flex mt-4 justify-end"},Y=E({name:"logLists"}),Oo=E({...Y,setup(oo){const v=Z(),d=F(!1),l=z({admin_id:"",admin_name:"",url:"",create_time:"",start_time:"",end_time:""}),C=F([]),D=_=>{C.value=_.map(({id:t})=>t)},{dictData:g}=K(""),{pager:i,getLists:m,resetParams:V,resetPage:h}=q({fetchFun:O,params:l});return m(),(_,t)=>{const s=L,n=U,k=M,c=I,A=N,f=R,u=P,x=S,T=j,y=$;return p(),G("div",null,[o(f,{class:"!border-none mb-4",shadow:"never"},{default:r(()=>[o(A,{class:"mb-[-16px]",model:e(l),inline:""},{default:r(()=>[o(n,{label:"\u7BA1\u7406\u5458ID",prop:"admin_id"},{default:r(()=>[o(s,{class:"w-[280px]",modelValue:e(l).admin_id,"onUpdate:modelValue":t[0]||(t[0]=a=>e(l).admin_id=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7BA1\u7406\u5458ID"},null,8,["modelValue"])]),_:1}),o(n,{label:"\u7BA1\u7406\u5458\u540D\u79F0",prop:"admin_name"},{default:r(()=>[o(s,{class:"w-[280px]",modelValue:e(l).admin_name,"onUpdate:modelValue":t[1]||(t[1]=a=>e(l).admin_name=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7BA1\u7406\u5458\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(n,{label:"\u8BBF\u95EE\u94FE\u63A5",prop:"url"},{default:r(()=>[o(s,{class:"w-[280px]",modelValue:e(l).url,"onUpdate:modelValue":t[2]||(t[2]=a=>e(l).url=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BBF\u95EE\u94FE\u63A5"},null,8,["modelValue"])]),_:1}),o(n,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time"},{default:r(()=>[o(k,{startTime:e(l).start_time,"onUpdate:startTime":t[3]||(t[3]=a=>e(l).start_time=a),endTime:e(l).end_time,"onUpdate:endTime":t[4]||(t[4]=a=>e(l).end_time=a)},null,8,["startTime","endTime"])]),_:1}),o(n,null,{default:r(()=>[o(c,{type:"primary",onClick:e(h)},{default:r(()=>[w("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(c,{onClick:e(V)},{default:r(()=>[w("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),H((p(),B(f,{class:"!border-none",shadow:"never"},{default:r(()=>[b("div",null,[o(x,{data:e(i).lists,onSelectionChange:D},{default:r(()=>[o(u,{label:"ID",prop:"id","show-overflow-tooltip":""}),o(u,{label:"\u7BA1\u7406\u5458ID",prop:"admin_id","show-overflow-tooltip":""}),o(u,{label:"\u7BA1\u7406\u5458\u540D\u79F0",prop:"admin_name","show-overflow-tooltip":""}),o(u,{label:"\u64CD\u4F5C\u540D\u79F0",prop:"action","show-overflow-tooltip":""}),o(u,{label:"\u8BF7\u6C42\u65B9\u5F0F",prop:"type","show-overflow-tooltip
|