ITSM

运维管理系统


工作安排

简要描述
  • 工作安排
请求URL
  • http://10.10.1.31:8080/ops/script/beonduty/getWorkArrange
请求方式
  • POST
参数
参数名 必选 类型 说明
paramShiftId string 班次id
paramUserId string 用户id
参数示例
{"paramShiftId":"","paramUserId":"f80279e3bf5d4bfa87bf8e2298062883"}
返回示例
{
    "errorCode": 0, 
    "message": "success", 
    "responseBody": {
        "result": [
            {
                "1": {
                    "color": "#CC00FF", 
                    "label": "D", 
                    "dutyStatus": "调休", 
                    "value": "acef900dd9e14f25afbdeff448c645a1"
                }, 
                "2": {
                    "color": "#CC00FF", 
                    "label": "D", 
                    "dutyStatus": "", 
                    "value": "acef900dd9e14f25afbdeff448c645a1"
                }, 
                "3": {
                    "color": "#FF5511", 
                    "label": "C", 
                    "dutyStatus": "", 
                    "value": "da658ada9a314ad984840a7e0159d3e1"
                }, 
                "4": {
                    "color": "#FF5511", 
                    "label": "C", 
                    "dutyStatus": "", 
                    "value": "da658ada9a314ad984840a7e0159d3e1"
                }, 
                "5": {
                    "color": "#FF5511", 
                    "label": "C", 
                    "dutyStatus": "", 
                    "value": "da658ada9a314ad984840a7e0159d3e1"
                }, 
                "6": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "7": {
                    "color": "#FF5511", 
                    "label": "C", 
                    "dutyStatus": "", 
                    "value": "da658ada9a314ad984840a7e0159d3e1"
                }, 
                "8": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "9": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "10": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "11": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "12": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "13": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "14": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "15": {
                    "color": "#FF0088", 
                    "label": "A", 
                    "dutyStatus": "", 
                    "value": "838b3a28bcb441789c101f29821bb47d"
                }, 
                "16": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "17": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "18": {
                    "color": "#FF0088", 
                    "label": "A", 
                    "dutyStatus": "", 
                    "value": "838b3a28bcb441789c101f29821bb47d"
                }, 
                "19": {
                    "color": "#FF0088", 
                    "label": "A", 
                    "dutyStatus": "", 
                    "value": "838b3a28bcb441789c101f29821bb47d"
                }, 
                "20": {
                    "color": "#FF0088", 
                    "label": "A", 
                    "dutyStatus": "", 
                    "value": "838b3a28bcb441789c101f29821bb47d"
                }, 
                "21": {
                    "color": "#FF0088", 
                    "label": "A", 
                    "dutyStatus": "", 
                    "value": "838b3a28bcb441789c101f29821bb47d"
                }, 
                "22": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "23": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "24": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "25": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "26": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "27": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "28": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "29": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "30": {
                    "color": "", 
                    "label": "休息", 
                    "dutyStatus": "", 
                    "value": "休息"
                }, 
                "31": {
                    "color": "#FF0000", 
                    "label": "B", 
                    "dutyStatus": "", 
                    "value": "72e3591edb9049c8a7ae029bfcd6cc89"
                }, 
                "thingDays": 0, 
                "overtimeDays": 0, 
                "userId": "afd700beeb4742099e3ca1453377115c", 
                "sureVacationDays": 10, 
                "name": "xiaosikai", 
                "vacationDays": 0
            }
        ]
    }, 
    "time": 1657100621030
}
返回参数说明
参数名 类型 说明
sureVacationDays int 本月假期天数
vacationDays float 本月假期已用
thingDays float 本月事假
overtimeDays float 本月加班

页面列表

ITEM_HTML