index.a3b7f347.js 2.6 KB

1
  1. import"./basic-form.vue_vue_type_style_index_0_scoped_d6f0d2ed_lang.3165143d.js";import{aJ as p,aK as n,aI as l,b as s,o as c,h as m,A as d,j as h,f as e}from"./index.4d3e3847.js";import"./useNav.afbe69e0.js";import"./image.7849d972.js";import{u as E}from"./use-page-search.da34a19a.js";import{c as _,r as o}from"./column-helper.adef10ea.js";import{P as f}from"./page-container.fe52a776.js";import{P as g}from"./page-auth.324b6f34.js";import"./useAsync.24db85a6.js";import"./hooks.428ba1c3.js";import"./validate.93ab4ac7.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";import"./btnList.6c44b4ef.js";const a=[{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:_(a)}]},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:t})=>t).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(a,"type")},{prop:"addtime",width:"145px",label:"\u521B\u5EFA\u65F6\u95F4"},{prop:"status",label:"\u72B6\u6001",width:"80px",...o(l)},{label:"\u64CD\u4F5C",fixed:"right",width:60,slot:"operation"}],A={title:"\u6570\u636E\u5171\u4EAB",columns:w,apis:{httpList:B}},F=A,K=s({__name:"index",setup(u){const t="dataShare",r={pageSearchHook:()=>E(void 0,void 0,i)};return(y,k)=>(c(),m(e(g),{pageName:t},{default:d(()=>[h(e(f),{hooks:r,"search-config":e(i),"content-config":e(F)},null,8,["search-config","content-config"])]),_:1}))}});export{K as default};