1.字段显示情况(添加/编辑,列表展示,查询条件)
{ label: "更新时间", prop: "updateTime", editDisplay: false, //编辑是否展示 addDisplay: false,//新增是否展示
viewDisplay: false,//查看是否展示
hide:true,//列表隐藏
search: true, rules: [{ required: true, message: "请输入更新时间", trigger: "blur" }] }
2.范围查询 createTime字段的时间范围查询对应:createTimeRange
{ label: "创建时间", prop: "createTimeRange", type: "datetime", format: "yyyy-MM-dd hh:mm:ss", valueFormat: "yyyy-MM-dd hh:mm:ss", searchRange:true, hide: true, //列表不显示 addDisplay: false, editDisplay: false, viewDisplay: false, search: true, rules: [{ required: true, message: "请输入创建时间", trigger: "blur" }] },