import"./basic-form.vue_vue_type_style_index_0_scoped_d6f0d2ed_lang.3165143d.js";import{aI as l,aJ as o,aK as f,b as E,m as B,o as C,h as F,A as g,j as b,f as e}from"./index.4d3e3847.js";import"./useNav.afbe69e0.js";import"./image.7849d972.js";import{u as y}from"./use-page-search.da34a19a.js";import{c as s,r as p}from"./column-helper.adef10ea.js";import{P as A}from"./page-auth.324b6f34.js";import{P as _}from"./page-container.fe52a776.js";import"./useAsync.24db85a6.js";import"./hooks.428ba1c3.js";import"./validate.93ab4ac7.js";import"./btnList.6c44b4ef.js";import"./page-search.vue_vue_type_script_setup_true_lang.e284bf07.js";import"./basic-form.114da3ff.js";import"./page-content.1fdb6363.js";import"./index.a5d44002.js";import"./responseHandle.db1518c7.js";import"./xlsx.ed122d16.js";const d=[{id:"1",label:"\u7EC4\u5185\u5171\u4EAB \xB7 \u53EF\u7F16\u8F91"},{id:"2",label:"\u7EC4\u5185\u5171\u4EAB \xB7 \u53EA\u8BFB"},{id:"3",label:"\u4E0D\u5171\u4EAB"}],D={formItems:[{field:"title",type:"input",placeholder:"\u7528\u6237\u7EC4\u540D\u79F0"},{field:"nickname",type:"input",placeholder:"\u6210\u5458"},{field:"status",type:"select",placeholder:"\u72B6\u6001",options:s(l)},{field:"type",type:"select",placeholder:"\u5171\u4EAB\u7C7B\u578B",options:s(d)}]},c=D,{VITE_PROXY_DOMAIN_REAL:u}=f();async function x(t={}){return o.request("post",`${u}admin/getDataGroupList`,{data:t})}async function P(t={}){return o.request("post",`${u}admin/deleteDataGroup`,{data:t})}async function k(t={}){return o.request("post",`${u}admin/editDataGroup`,{data:t})}async function v(t={}){return o.request("post",`${u}admin/statusDataGroup`,{data:t})}const S=[{type:"selection",width:55,hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:t})=>!t.includes("\u5E8F\u53F7\u5217")},{prop:"title",label:"\u7528\u6237\u7EC4\u540D\u79F0"},{prop:"nickname",label:"\u6210\u5458"},{prop:"remark",label:"\u5907\u6CE8"},{prop:"type",label:"\u5171\u4EAB\u7C7B\u578B",...p(d,"type")},{prop:"status",label:"\u72B6\u6001",...p(l)},{prop:"creater",label:"\u521B\u5EFA\u4EBA"},{prop:"addtime",label:"\u521B\u5EFA\u65F6\u95F4",sortable:!0},{label:"\u64CD\u4F5C",fixed:"right",width:60,slot:"operation"}],$={title:"\u7528\u6237\u7EC4",columns:S,apis:{httpList:x,httpDelete:P,httpUpdate:k,httpStatus:v}},O=$,W=E({__name:"index",setup(t){const a="group",r="/interest/handoverDetail",{push:n}=B(),m={pageSearchHook:()=>y(void 0,void 0,c)},h={content:{preview:({id:i})=>n(`${r}?id=${i}`),create:()=>n(r)}};return(i,w)=>(C(),F(e(A),{pageName:a},{default:g(()=>[b(e(_),{hooks:m,events:h,pageName:a,"search-config":e(c),"content-config":e(O)},null,8,["search-config","content-config"])]),_:1}))}});export{W as default};
