ITSM

运维管理系统


班次列表

简要描述
  • 班次列表
请求URL
  • http://10.10.1.31:8080/ops/script/beonduty/shiftList
请求方式
  • POST
参数
参数名 必选 类型 说明
name string 搜索班次名称
page obj 分页
page.pageNum int
page.pageSize int
参数示例
 {
    "page":{"pageNum":1,"pageSize":2}
}
返回示例
  {
    "errorCode": 0,
    "message": "success",
    "responseBody": {
        "result": {
            "data": [
                {
                    "color": "#CC00FF",
                    "createTime": "2022-07-01 11:14:17",
                    "name": "班次1",
                    "duty": [
                        {
                            "standard": "执行规范",
                            "num": 1,
                            "workItem": "工作项",
                            "standbyShift": "备岗班次"
                        },
                        {
                            "standard": "执行规范2",
                            "num": 2,
                            "workItem": "工作项2",
                            "standbyShift": "备岗班次2"
                        }
                    ],
                    "updateTime": "2022-07-01 11:14:17",
                    "startTime": "14:00",
                    "state": 0,
                    "endTime": "20:00",
                    "isVacation": true,
                    "uuid": "d59300b5b02744309b1c496d4defc081"
                },
                {
                    "color": "#CC00FF",
                    "createTime": "2022-06-23 09:47:31",
                    "name": "D",
                    "duty": [
                        {
                            "standard": "执行规范",
                            "num": 1,
                            "workItem": "工作项",
                            "standbyShift": "备岗班次"
                        },
                        {
                            "standard": "执行规范2",
                            "num": 2,
                            "workItem": "工作项2",
                            "standbyShift": "备岗班次2"
                        }
                    ],
                    "updateTime": "2022-06-23 09:47:31",
                    "startTime": "08:00",
                    "state": 0,
                    "endTime": "17:00",
                    "isVacation": true,
                    "uuid": "acef900dd9e14f25afbdeff448c645a1"
                }
            ],
            "page": {
                "total": 7,
                "pageSize": 2,
                "pageNum": 1
            }
        }
    },
    "time": 1656645754545
}
返回参数说明
参数名 类型 说明
uuid string uuid,为空新增则修改
name string 班次名称
color string 颜色
startTime string 签到时间,HH:mm
endTime string 签到时间,HH:mm
isVacation boolean 是否允许调休
duty list 班次职责
duty.num string 序号
duty.workItem string 工作项
duty.standard string 执行规范
duty.standbyShift string 备岗班次

页面列表

ITEM_HTML