import{d as u,V as _,e as d,c as h,o as f,w as t,j as n,W as C,l as b,X as g}from"./index-9PRMimni.js";import{B}from"./BasicForm-dL_oCSPM.js";import{u as P}from"./useForm-CKmgcynv.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";const H=u({__name:"index",setup(x){const{t:o}=_(),{push:s}=d(),l=[{field:"username",component:"NInput",label:o("common.userController.username"),componentProps:{placeholder:o("common.userController.placeholderUsername")}},{field:"phone",component:"NInput",label:o("common.userController.phone"),componentProps:{placeholder:o("common.userController.placeholderPhone")}},{field:"status",component:"NSelect",label:o("common.userController.status"),componentProps:{placeholder:o("common.userController.placeholderStatus"),options:[{label:o("common.userController.normal"),value:1},{label:o("common.userController.disable"),value:0}]}}],[m,{}]=P({schemas:l,labelWidth:120,gridProps:{cols:"4",xGap:"15"},showActionButtonGroup:!0,cacheKey:"detail"});async function p(r,e){console.log("values clear",r,e),e(),s("/")}return(r,e)=>{const a=B,c=C,i=g;return f(),h(i,{title:"测试"},{default:t(()=>[n(c,{bordered:!1,class:"mb-3 proCard"},{default:t(()=>[n(a,{onRegister:b(m),onSubmit:p},null,8,["onRegister"])]),_:1})]),_:1})}}});export{H as default};
