Files
aiot-platform-ui/apps/web-antd/dist/js/data-FmZNe4jQ.js
lzh cb81829d4c
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 24s
chore: build and deploy web-antd
2026-01-14 14:15:09 +08:00

2 lines
4.7 KiB
JavaScript

var p=Object.defineProperty,c=Object.defineProperties;var s=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var m=(o,e,t)=>e in o?p(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,l=(o,e)=>{for(var t in e||(e={}))u.call(e,t)&&m(o,t,e[t]);if(a)for(var t of a(e))f.call(e,t)&&m(o,t,e[t]);return o},n=(o,e)=>c(o,s(e));import{g as i}from"./rangePickerProps-DUeXxnB4.js";import{at as d}from"./bootstrap-CvQmCMXe.js";import{D as r}from"./dict-enum-DRf9W45H.js";function w(){return[{fieldName:"id",component:"Input",dependencies:{triggerFields:[""],show:()=>!1}},{fieldName:"name",label:"名字",rules:"required",component:"Input",componentProps:{placeholder:"请输入名字"}},{fieldName:"sex",label:"性别",rules:"required",component:"RadioGroup",componentProps:{options:d(r.SYSTEM_USER_SEX,"number"),buttonStyle:"solid",optionType:"button"}},{fieldName:"birthday",label:"出生日期",rules:"required",component:"DatePicker",componentProps:{showTime:!0,format:"YYYY-MM-DD HH:mm:ss",valueFormat:"x",placeholder:"请选择出生日期"}},{fieldName:"description",label:"简介",rules:"required",component:"RichTextarea"}]}function I(){return[{fieldName:"name",label:"名字",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入名字"}},{fieldName:"sex",label:"性别",component:"Select",componentProps:{allowClear:!0,options:d(r.SYSTEM_USER_SEX,"number"),placeholder:"请选择性别"}},{fieldName:"description",label:"简介",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入简介"}},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:n(l({},i()),{allowClear:!0})}]}function C(){return[{type:"checkbox",width:40},{field:"id",title:"编号",minWidth:120},{field:"name",title:"名字",minWidth:120},{field:"sex",title:"性别",minWidth:120,cellRender:{name:"CellDict",props:{type:r.SYSTEM_USER_SEX}}},{field:"birthday",title:"出生日期",minWidth:120,formatter:"formatDateTime"},{field:"description",title:"简介",minWidth:120},{field:"createTime",title:"创建时间",minWidth:120,formatter:"formatDateTime"},{title:"操作",width:280,fixed:"right",slots:{default:"actions"}}]}function S(){return[{fieldName:"id",component:"Input",dependencies:{triggerFields:[""],show:()=>!1}},{fieldName:"name",label:"名字",rules:"required",component:"Input",componentProps:{placeholder:"请输入名字"}},{fieldName:"score",label:"分数",rules:"required",component:"Input",componentProps:{placeholder:"请输入分数"}}]}function D(){return[{fieldName:"studentId",label:"学生编号",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入学生编号"}},{fieldName:"name",label:"名字",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入名字"}},{fieldName:"score",label:"分数",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入分数"}},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:n(l({},i()),{allowClear:!0})}]}function T(){return[{type:"checkbox",width:40},{field:"id",title:"编号",minWidth:120},{field:"studentId",title:"学生编号",minWidth:120},{field:"name",title:"名字",minWidth:120},{field:"score",title:"分数",minWidth:120},{field:"createTime",title:"创建时间",minWidth:120,formatter:"formatDateTime"},{title:"操作",width:280,fixed:"right",slots:{default:"actions"}}]}function g(){return[{fieldName:"id",component:"Input",dependencies:{triggerFields:[""],show:()=>!1}},{fieldName:"name",label:"名字",rules:"required",component:"Input",componentProps:{placeholder:"请输入名字"}},{fieldName:"teacher",label:"班主任",rules:"required",component:"Input",componentProps:{placeholder:"请输入班主任"}}]}function W(){return[{fieldName:"studentId",label:"学生编号",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入学生编号"}},{fieldName:"name",label:"名字",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入名字"}},{fieldName:"teacher",label:"班主任",component:"Input",componentProps:{allowClear:!0,placeholder:"请输入班主任"}},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:n(l({},i()),{allowClear:!0})}]}function x(){return[{type:"checkbox",width:40},{field:"id",title:"编号",minWidth:120},{field:"studentId",title:"学生编号",minWidth:120},{field:"name",title:"名字",minWidth:120},{field:"teacher",title:"班主任",minWidth:120},{field:"createTime",title:"创建时间",minWidth:120,formatter:"formatDateTime"},{title:"操作",width:280,fixed:"right",slots:{default:"actions"}}]}export{I as a,T as b,D as c,x as d,W as e,w as f,S as g,g as h,C as u};