import{V as i,d as k,r as T,c as x,o as R,w as t,j as e,W as w,l as n,H as S,B as A,p as F,A as V,X as D}from"./index-9PRMimni.js";import{B as N}from"./BasicForm-dL_oCSPM.js";import{u as P}from"./useForm-CKmgcynv.js";import{B as W}from"./Table-0PViRYCf.js";import"./Render.vue_vue_type_script_lang-DKUYY0Zw.js";import"./SingleImageUpload-CNx4b9eC.js";import"./ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js";import"./componentSetting-DVhNDBTO.js";import"./ImageUpload-DUsnro3W.js";import"./vuedraggable.umd-Co2xEC3p.js";import"./BasicUpload.vue_vue_type_style_index_0_scoped_a4d0e930_lang-DxRbtP01.js";import"./tabsView-BXskTdVh.js";import"./BasicForm.vue_vue_type_style_index_0_scoped_b9e995ec_lang-CEvcLwxD.js";import"./propTypes-CebMRUpe.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"./usePageCache-DluHn7Yy.js";import"./Table.vue_vue_type_style_index_0_scoped_7b9e6ece_lang-BoW2DV_e.js";import"./componentMap-CElCaWis.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"./useTimeout-BxFilWvD.js";import"./Flex-CTSf12gq.js";const{t:m}=i(),q=[{field:"actionCode",component:"NInput",label:m("mdm.actionCode.formActionCode"),componentProps:{placeholder:m("mdm.actionCode.formActionCodeHint")}}],{t:c}=i(),H=[{title:c("mdm.actionCode.actionCode"),key:"actionCode",width:140},{title:c("mdm.actionCode.description"),key:"description",width:140}],ho=k({__name:"index",setup(I){const{t:p}=i(),l=T(),[d,{getFieldsValue:u}]=P({gridProps:{cols:6,xGap:15},schemas:q,labelWidth:"auto"});function _(o){console.log("handleSubmit",o)}function f(o){console.log("handleReset",o)}function b(){}async function C(o,a){return console.log("loadDataTable",o,a),{list:[],total:0}}return(o,a)=>{const g=N,s=w,h=A,y=S,B=D;return R(),x(B,null,{default:t(()=>[e(s,{bordered:!1,class:"mt-3 proCard"},{default:t(()=>[e(g,{onRegister:n(d),onSubmit:_,onReset:f},null,8,["onRegister"])]),_:1}),e(s,{bordered:!1,class:"proCard"},{default:t(()=>[e(n(W),{columns:n(H),request:r=>C(r,n(u)()),"row-key":r=>r.id,ref_key:"basicTableRef",ref:l,autoScrollX:!0,"virtual-scroll":""},{tableTitle:t(()=>[e(y,null,{default:t(()=>[e(h,{type:"primary",onClick:b},{default:t(()=>[F(V(n(p)("common.addText")),1)]),_:1})]),_:1})]),_:1},8,["columns","request","row-key"])]),_:1})]),_:1})}}});export{ho as default};
