实现场景:

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

更改为按天显示

异常中心预置默认按照班段显示,如果想按天显示可通过修改元数据配置(如果一个班次有多个班段,而且需要打两次以上卡请按班段显示):

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


  • 无标签