Files
aiot-platform-ui/apps/web-antd/dist/js/data-BJiP2mIC.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
2.6 KiB
JavaScript

var p=Object.defineProperty,d=Object.defineProperties;var s=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var r=(o,e,t)=>e in o?p(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,i=(o,e)=>{for(var t in e||(e={}))c.call(e,t)&&r(o,t,e[t]);if(l)for(var t of l(e))u.call(e,t)&&r(o,t,e[t]);return o},a=(o,e)=>d(o,s(e));import{g as f}from"./rangePickerProps-DUeXxnB4.js";import{as as h,at as m}from"./bootstrap-CvQmCMXe.js";import{C as b}from"./biz-system-enum-BAorzMA8.js";import{D as n}from"./dict-enum-DRf9W45H.js";function g(){return[{fieldName:"id",component:"Input",dependencies:{triggerFields:[""],show:()=>!1}},{fieldName:"name",label:"分类名",component:"Input",componentProps:{placeholder:"请输入分类名"},rules:"required"},{label:"分类标志",fieldName:"code",component:"Input",componentProps:{placeholder:"请输入分类标志"},rules:"required"},{fieldName:"description",label:"分类描述",component:"Textarea",componentProps:{placeholder:"请输入分类描述"}},{fieldName:"status",label:"分类状态",component:"RadioGroup",componentProps:{options:m(n.COMMON_STATUS,"number"),buttonStyle:"solid",optionType:"button"},rules:h().default(b.ENABLE)},{fieldName:"sort",label:"分类排序",component:"InputNumber",componentProps:{min:0,placeholder:"请输入分类排序"}}]}function I(){return[{fieldName:"name",label:"分类名",component:"Input",componentProps:{placeholder:"请输入分类名"},rules:"required"}]}function O(){return[{fieldName:"name",label:"分类名",component:"Input",componentProps:{placeholder:"请输入分类名",allowClear:!0}},{fieldName:"code",label:"分类标志",component:"Input",componentProps:{placeholder:"请输入分类标志",allowClear:!0}},{fieldName:"status",label:"分类状态",component:"Select",componentProps:{options:m(n.COMMON_STATUS,"number"),placeholder:"请选择分类状态",allowClear:!0}},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:a(i({},f()),{allowClear:!0})}]}function W(){return[{field:"id",title:"分类编号",minWidth:100},{field:"name",title:"分类名",minWidth:200},{field:"code",title:"分类标志",minWidth:200},{field:"description",title:"分类描述",minWidth:200},{field:"status",title:"分类状态",minWidth:100,cellRender:{name:"CellDict",props:{type:n.COMMON_STATUS}}},{field:"sort",title:"分类排序",minWidth:100},{field:"createTime",title:"创建时间",minWidth:180,formatter:"formatDateTime"},{title:"操作",width:180,fixed:"right",slots:{default:"actions"}}]}export{O as a,g as b,I as c,W as u};