import"./remote-select.36ee67a3.js";import{ak as p,al as n,a as l,c as s,j as c,h as m,f as d,u as t}from"./index.4d061c66.js";import"./useNav.5e73c372.js";/* empty css                                                              *//* empty css                                                              */import{u as h}from"./use-page-search.0f272301.js";import{c as E,r as o}from"./column-helper.64ceba17.js";import{S as f}from"./status.2b37e8be.js";import{P as _}from"./page-container.b859125f.js";import{P as g}from"./page-auth.ffc7568b.js";import"./useAsync.df7387ce.js";import"./page-content.e0c7af12.js";import"./image.e35d846c.js";import"./hooks.9f8f44e2.js";import"./image.4c97dbe3.js";import"./index.e63aea62.js";import"./responseHandle.fe68d5aa.js";import"./usePermission.8064505c.js";import"./btnList.6c44b4ef.js";const r=[{id:"1",label:"\u8BFB\u5199"},{id:"2",label:"\u53EA\u8BFB"}],b={formItems:[{field:"group",type_field:"group_type",type:"input_group",otherOptions:{inputGroupOptions:[{value:"source_nickname",label:"\u6570\u636E\u6E90\u7528\u6237\u540D"},{value:"source_group_title",label:"\u6570\u636E\u6E90\u7528\u6237\u7EC4\u540D"},{value:"nickname",label:"\u5171\u4EAB\u7528\u6237\u540D"},{value:"group_title",label:"\u5171\u4EAB\u7528\u6237\u7EC4\u540D"}]}},{field:"type",type:"select",placeholder:"\u6570\u636E\u6743\u9650",options:E(r)}]},i=b,{VITE_PROXY_DOMAIN_REAL:C}=n();async function B(u={}){return p.request("post",`${C}admin/getDataShareList`,{data:u})}const w=[{type:"selection",width:55,hide:({checkList:u})=>!u.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:u})=>!u.includes("\u5E8F\u53F7\u5217")},{prop:"menu_list",label:"\u83DC\u5355\u6570\u636E",width:210,cellRenderer({row:u}){return u.menu_list.map(({menu_name:e})=>e).join(",")}},{prop:"source_nickname",label:"\u6570\u636E\u6E90\u7528\u6237",width:110},{prop:"source_group_title",label:"\u6570\u636E\u6E90\u7528\u6237\u7EC4",width:270},{prop:"nickname",label:"\u6570\u636E\u5171\u4EAB\u7528\u6237",width:110},{prop:"group_title",label:"\u6570\u636E\u5171\u4EAB\u7528\u6237\u7EC4",width:270},{prop:"type",label:"\u6570\u636E\u6743\u9650",width:"140",...o(r,"type")},{prop:"addtime",width:"145px",label:"\u521B\u5EFA\u65F6\u95F4"},{prop:"status",label:"\u72B6\u6001",width:"80px",...o(f)},{label:"\u64CD\u4F5C",fixed:"right",width:60,slot:"operation"}],F={title:"\u6570\u636E\u5171\u4EAB",columns:w,apis:{httpList:B}},y=F,X=l({__name:"index",setup(u){const e="dataShare",a={pageSearchHook:()=>h(void 0,void 0,i)};return(A,k)=>(s(),c(t(g),{pageName:e},{default:m(()=>[d(t(_),{hooks:a,"search-config":t(i),"content-config":t(y)},null,8,["search-config","content-config"])]),_:1}))}});export{X as default};
