import{b as t,A as s,c as r}from"./api.DMIi2eFH.js";import"./index.BKEMpsLA.js";import"./vue.YrNK8sx4.js";const d=function({crudExpose:o}){return{crudOptions:{layout:"custom",request:{pageRequest:async e=>await r(e),addRequest:async({form:e})=>await s(e),getDetail:async({row:e})=>await t(e.id)},search:{show:!1},toolbar:{show:!1},rowHandle:{show:!1},table:{show:!1},actionbar:{show:!1,buttons:{add:{show:!1}}},pagination:{show:!1},columns:{classroom:{title:"教室",type:"input",column:{minWidth:120},form:{component:{placeholder:"请填写教室"},rules:[{required:!0,message:"请填写教室"}]}},teacher_name:{title:"教师名字"+"test",type:"input",column:{show:!0,minWidth:120},form:{component:{placeholder:"请填写教师名字"},rules:[{required:!0,message:"请填写教师名字"}]}},datetime_label:{title:"星期",search:{show:!0},treeNode:!0,type:"input",column:{minWidth:120},form:{rules:[{required:!0,message:"名称必填项"}],component:{placeholder:"请输入名称"}}},time_label:{title:"上下午",type:"input",column:{minWidth:120,show:!0},form:{component:{placeholder:"请填写密码"},rules:[{required:!0,message:"请填写密码"}]}},semester_label:{title:"学期",type:"input",column:{show:!0,minWidth:120},form:{component:{placeholder:"请填写邮箱"},rules:[{required:!1,message:"请填写邮箱"}]}},classdetail:{title:"课程名称",type:"input",column:{show:!0,minWidth:120},form:{component:{placeholder:"请填写手机号"},rules:[{required:!0,message:"请填写手机号"}]}}}}}};export{d as createCrudOptions};
