实现场景:

汇总展示员工的所有出勤异常情况

更改为按天显示

异常中心预置默认按照班段显示,如果想按天显示可通过修改元数据配置:

AttendData.meta.list.myUnusual.json
{
    "fields": [{
            "key": "section_name",
            "hide": true
        },
        {
            "key": "result_item",
            "hide": false,
            "sequence": 80
        },
        {
            "key": "attend_detail.attend_item",
            "meta_disabled": true,
            "sequence": 90
        }
    ],
    "relations": [{
        "key": "attend_detail",
        "meta_disabled": true
    }],
    "list_config": {
        "category_field": "result_item"
    }
}


  • 无标签