@ -110,6 +110,8 @@
} else if (val == 'export') { // 导出
handleExport()
} else if (val == 'refresh') { // 刷新
tableObject.params.isSearch = false
tableObject.params.filters = ''
getList()
} else if (val == 'filtrate') { // 筛选
} else { // 其他按钮
@ -126,6 +126,12 @@ const buttonBaseClick = (val, item) => {
// tableObject.params = {
// isSearch: true,
// filters: searchData.filters
// }
@ -97,6 +97,15 @@ export const SampleCode = useCrudSchemas(reactive<CrudSchema[]>([
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
{
label: '操作',