import{d as z,r as o,a as E,Z as F,h as u,o as r,j as e,w as t,U as V,M as $,W as j,i as f,k as I,N as M,l as p,dA as O,c as P,aB as W,cB as q,H,B as S,p as X,h3 as Z,X as G,F as J}from"./index-9PRMimni.js";import{B as L}from"./Table-0PViRYCf.js";import{_ as Q}from"./TableAction.vue_vue_type_script_setup_true_lang-Bj_Y4LtN.js";import{_ as Y}from"./Modal.vue_vue_type_script_setup_true_lang-DbAc_0f7.js";import"./Table.vue_vue_type_style_index_0_scoped_7b9e6ece_lang-BoW2DV_e.js";import"./vuedraggable.umd-Co2xEC3p.js";import"./Render.vue_vue_type_script_lang-DKUYY0Zw.js";import"./componentMap-CElCaWis.js";import"./propTypes-CebMRUpe.js";import"./format-DgF6KtHk.js";import"./omit-B2_8Y6O_.js";import"./_flatRest-DBrd2CHT.js";import"./flatten-DeoUZLdb.js";import"./print-CT_2hrjP.js";import"./basicModal.vue_vue_type_script_setup_true_lang-CsJydKhW.js";import"./basicModal.vue_vue_type_style_index_0_lang-8QZP7ApW.js";import"./useModal-CO65vga3.js";import"./componentSetting-DVhNDBTO.js";import"./useTimeout-BxFilWvD.js";import"./usePageCache-DluHn7Yy.js";import"./tabsView-BXskTdVh.js";import"./Flex-CTSf12gq.js";import"./BasicForm-dL_oCSPM.js";import"./SingleImageUpload-CNx4b9eC.js";import"./ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js";import"./ImageUpload-DUsnro3W.js";import"./BasicUpload.vue_vue_type_style_index_0_scoped_a4d0e930_lang-DxRbtP01.js";import"./BasicForm.vue_vue_type_style_index_0_scoped_b9e995ec_lang-CEvcLwxD.js";import"./BasicSelect-C_uwzMkE.js";import"./BasicSelect.vue_vue_type_style_index_0_scoped_772d51cc_lang-Brp6PjEU.js";import"./dictionary-BRse4lkf.js";import"./index-DkvzUEqh.js";import"./index-kKnqLkWM.js";import"./AutoComplete-Dv1Bqed4.js";import"./TreeSelect-BZh2DeCh.js";import"./useForm-CKmgcynv.js";const ee={class:"w-full menu"},te={class:"py-3 menu-list"},ne={key:0,class:"flex items-center justify-center py-4"},Me=z({__name:"monitor",setup(oe){const g=o(),s=o(),l=o(""),y=o(!1),c=o([]),h=o([]),v=[{title:"ID",key:"id"},{title:"标题",key:"title"}],x=E({width:140,title:"操作",key:"action",fixed:"right",align:"center",render(n){return F(Q,{actions:[{label:"查看",onClick:C.bind(null,n)}]})}});async function k(n){console.log("selectedTree",n)}function b(n){console.log("onExpandedKeys",n),c.value=n}function B(){console.log("handleAdd"),s.value?.showModal(),s.value?.setProps({title:"新增填报"})}function C(n){console.log("handleCheck",n)}async function T(n){console.log("loadDataTable",n)}return(n,a)=>{const _=M,w=I,K=W,N=q,m=j,d=$,A=S,D=H,R=V,U=G;return r(),u(J,null,[e(U,null,{default:t(()=>[e(R,{cols:"1 s:1 m:1 l:4 xl:4 2xl:4",responsive:"screen","x-gap":12},{default:t(()=>[e(d,{span:"1"},{default:t(()=>[e(m,{segmented:{content:"hard"},bordered:!1,size:"small"},{default:t(()=>[f("div",ee,[e(w,{value:l.value,"onUpdate:value":a[0]||(a[0]=i=>l.value=i),placeholder:"请输入关键字搜索"},{suffix:t(()=>[e(_,{size:"18",class:"cursor-pointer"},{default:t(()=>[e(p(O))]),_:1})]),_:1},8,["value"]),f("div",te,[y.value?(r(),u("div",ne,[e(K,{size:"medium"})])):(r(),P(N,{key:1,"block-line":"",cascade:"","virtual-scroll":!0,pattern:l.value,data:h.value,expandedKeys:c.value,style:{"max-height":"650px",overflow:"hidden"},"onUpdate:selectedKeys":k,"onUpdate:expandedKeys":b},null,8,["pattern","data","expandedKeys"]))])])]),_:1})]),_:1}),e(d,{span:"3"},{default:t(()=>[e(m,{class:"mb-4 proCard"},{default:t(()=>[e(p(L),{ref_key:"rightTableRef",ref:g,columns:v,request:T,immediate:!1,"row-key":i=>i.id,actionColumn:x},{tableTitle:t(()=>[e(D,null,{default:t(()=>[e(A,{type:"primary",onClick:B},{icon:t(()=>[e(_,null,{default:t(()=>[e(p(Z))]),_:1})]),default:t(()=>[a[1]||(a[1]=X(" 新增 "))]),_:1})]),_:1})]),_:1},8,["row-key","actionColumn"])]),_:1})]),_:1})]),_:1})]),_:1}),e(Y,{ref_key:"modalRef",ref:s},null,512)],64)}}});export{Me as default};
