import{p as i}from"./print-CT_2hrjP.js";import{d as m,h as d,o as _,i as c,j as n,w as t,p as o,W as u,H as f,B as g}from"./index-9PRMimni.js";const y={class:"n-layout-page-header"},C=m({__name:"print",setup(h){function s(){i({printable:[{name:"汪伟",email:"735869@gmail.com",phone:"186****5653"},{name:"雷秀英",email:"235656452@gmail.com",phone:"135****6536"},{name:"邹芳",email:"24586526@gmail.com",phone:"159****5869"}],properties:["name","email","phone"],type:"json"})}function l(){i({printable:["https://naive-ui-admin-docs.vercel.app/logo.png","https://naive-ui-admin-docs.vercel.app/logo.png"],type:"image",header:"Multiple Images",imageStyle:"width:100%;"})}return(v,e)=>{const a=u,p=g,r=f;return _(),d("div",null,[c("div",y,[n(a,{bordered:!1,title:"打印场景"},{default:t(()=>e[0]||(e[0]=[o(" json打印表格，图片打印 ")])),_:1})]),n(a,{bordered:!1,class:"mt-3 proCard"},{default:t(()=>[n(r,null,{default:t(()=>[n(p,{type:"primary",onClick:s},{default:t(()=>e[1]||(e[1]=[o("打印表格")])),_:1}),n(p,{type:"primary",onClick:l},{default:t(()=>e[2]||(e[2]=[o("打印图片")])),_:1})]),_:1})]),_:1})])}}});export{C as default};
